Client Registration to a Proxy
Proxy servers can act as a broker and package cache for clients. Registering clients to a proxy is similar to registering them directly to the Uyuni Server, with a few key differences.
These sections contain information on registering clients to a proxy using the Web UI, commands on the command line, or a bootstrap script. There are also procedures how you can move clients from one Uyuni Proxy to another one or to the Uyuni Server.
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 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 Connection
subtab of the Details
tab.
1. Move Clients Between Proxies
You can move clients (Salt) and Salt SSH push clients between proxies without the need to repeat the registration process.
You cannot move chained proxies. Instead of moving a chained proxy, create a new proxy, move the clients, and delete the old proxy. |
-
In the Uyuni Web UI, navigate to the
System Details
page for the client you want to move between proxies. -
Navigate to the
Connection
tab. Then follow theChange proxy
link to see the drop-down menu. -
From the
New Proxy
drop-down menu select the proxy you want the client to move to, and click Change Proxy.
-
In the Uyuni Web UI, navigate to
and check each client to move, this adds the clients to the system set manager. -
Navigate to
, and go to the `` tab. -
From the
New Proxy
drop-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. Background Information
The effect of this function differs between normal Salt clients and Salt SSH push clients.
1.1.1. Default Clients
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 |
When the client restarts and reconnects via the new proxy, the server updates the proxy path in the database and schedules another action for refreshing the channel URLs.
1.1.2. Salt SSH Push Clients
The function updates the proxy path immediately in the database and new action for refreshing the channel URLs is scheduled.
2. Move Clients from Proxies to the Server
If you want to move a client from a proxy to the server, select None
from proxy list.