注册 openSUSE Leap Micro 客户端
本节包含有关注册运行 x86-64 和 aarch64 体系结构 openSUSE Leap Micro 操作系统的客户端的信息。
openSUSE Leap Micro 是一个超级可靠的轻量级操作系统,专为边缘计算而构建。它利用了 SUSE Linux Enterprise 的强化安全性和合规组件,并将它们整合到一个对开发人员友好的现代化、不可变操作系统平台。
openSUSE Leap Micro 使用事务更新。事务更新是原子更新(仅当所有更新都成功时,才应用所有更新)且支持回滚。它们不会影响正在运行的系统,因为在系统重引导之前,它们不会激活任何更改。此信息显示在子选项卡中。
For more information on transactional updates and rebooting, see https://documentation.suse.com/sles/15-SP7/html/SLES-all/cha-transactional-updates.html.
| 操作系统版本 | 产品名称 |
|---|---|
openSUSE Leap Micro 6.1 |
openSUSE Leap Micro 6.1 x86-64 |
openSUSE Leap Micro 6.1 |
openSUSE Leap Micro 6.1 aarch64 |
在 SUSE Multi-Linux Manager Web UI 中,导航到。
Locate the appropriate products for your client operating system and architecture using the search bar, and check the appropriate product. This will automatically check all mandatory channels. Also all recommended channels are checked as long as the
include recommendedtoggle is turned on. Click the arrow to see the complete list of related products, and ensure that any extra products you require are checked.单击 添加产品 并等待产品完成同步。
或者,您也可以在命令提示符处添加通道。此过程所需的通道包括:
| 操作系统版本 | 基础通道 |
|---|---|
openSUSE Leap Micro |
opensuse-leap-micro-5.3-pool |
在 SUSE Multi-Linux Manager 容器主机的命令提示符处,以 root 身份命令添加相应的通道:
mgrctl exec -- mgr-sync add channel <channel_label_1> mgrctl exec -- mgr-sync add channel <channel_label_2> mgrctl exec -- mgr-sync add channel <channel_label_n>系统会自动启动同步。如果您要手动同步通道,请使用以下命令:
mgrctl exec -- mgr-sync sync --with-children <channel_name>确保同步已完成,然后再继续操作。
1. 检查同步状态
In the SUSE Multi-Linux Manager Web UI, navigate to and select the
Productstab. This dialog displays a completion bar for each product when they are being synchronized.Alternatively, you can navigate to , then click the channel associated to the repository. Navigate to the
Repositoriestab, then clickSyncand checkSync Status.
要在跟踪日志前列出可用日志,请在容器主机上运行以下命令:
mgrctl exec ls /var/log/rhn/reposync/在 SUSE Multi-Linux Manager 容器主机的命令提示符处,以 root 身份检查通道日志文件的同步:
mgrctl exec -ti -- tail -f /var/log/rhn/reposync/<channel-label>.log每个子通道在同步过程中会生成自身的日志。您需要检查所有基础通道和子通道日志文件,以确保同步完成。
|
openSUSE Leap Micro 通道可能非常大。同步所需的时间可能长达数小时。 |
2. 注册客户端
|
openSUSE Leap Micro 客户端在注册后需要重引导。 Following the bootstrapping process, automatic booting is disabled on openSUSE Leap Micro. This change was implemented due to intermittent automatic reboots, which could occur before Salt could relay the results of applying the bootstrap salt state. 系统在完成注册后会自动安排重引导,但会遵循默认的重引导管理器维护时段。此时段在客户端注册后可能会持续几个小时。要加速 openSUSE Leap Micro 注册过程,请在注册脚本完成后手动重引导客户端。 |
要注册您的客户端,需要有引导储存库。系统默认会自动创建引导储存库,并且每天会为所有同步的产品重新生成该储存库。您可以在容器主机的命令提示符处手动创建引导储存库:
mgrctl exec -ti mgr-create-bootstrap-repo
有关注册客户端的详细信息,请参见 客户端注册。