将客户端注册到代理
代理服务器可充当客户端的中介和软件包缓存。将客户端注册到代理与将其直接注册到 SUSE Multi-Linux Manager 服务器的过程类似,主要差异只有几处。
以下章节包含有关使用 Web UI、命令行命令或引导脚本将客户端注册到代理的信息,以及有关将客户端从一个 SUSE Multi-Linux Manager 代理移至另一个代理或 SUSE Multi-Linux Manager 服务器的过程。
Within the Web UI, proxy pages show information about clients. You can see a list of clients that are connected to a proxy by clicking the name of the proxy in , then select the Proxy subtab of the Details tab.
A list of chained proxies for a client can be seen by clicking the name of the client in , then select the Connection subtab of the Details tab.
1. 在代理之间移动客户端
无需重复注册过程,即可在代理之间移动 Salt 客户端和 Salt SSH 推送客户端。
|
链式代理无法移动。您应创建新代理,移动客户端,然后删除旧代理,而不是移动链式代理。 |
-
In the SUSE Multi-Linux Manager Web UI, navigate to the
System Detailspage for the client you want to move between proxies. -
Navigate to the
Connectiontab. Then follow theChange proxylink to see the drop-down menu. -
From the
New Proxydrop-down menu select the proxy you want the client to move to, and click Change Proxy.
-
在 SUSE Multi-Linux Manager Web UI 中,导航到,然后选中要移动的每个客户端,如此会将这些客户端添加到系统集管理器中。
-
Navigate to , and go to the tab.
-
From the
New Proxydrop-down menu select the proxy you want the clients to move to, and click Change Proxy.
The same functionality is also available with the system.changeProxy API call.
1.1. 背景信息
此功能对常规 Salt 客户端与 Salt SSH Push 客户端的作用有所不同。
1.1.1. 默认客户端
The function schedules a Salt state action, which modifies master: setting in the susemanager.conf Salt client configuration file to point to the new proxy. Then the function restarts the Salt client.
|
Changing |
当客户端重启并通过新代理重新连接时,服务器会在数据库中更新代理路径,并安排另一项操作来刷新通道 URL。
1.1.2. Salt SSH 推送客户端
该功能会立即在数据库中更新代理路径并安排新操作来刷新通道 URL。
2. 将客户端从代理移到服务器
If you want to move a client from a proxy to the server, select None from proxy list.