Adding a delegate host through an SSH connection
- The account exists on both the master host and on the delegate host.
- The account has serviced CLI privileges.
- The account has either public key authentication or password authentication enabled on the master host and on the delegate host.
- Log in to the Control Center master host as a user with serviced CLI privileges.
Create a new resource pool:
Display the names of the existing resource pools.
serviced pool list
Create a new resource pool.
Replace Resource-Pool with the name of a new resource pool:
serviced pool add Resource-Pool
Set permissions on the new resource pool, if desired.
Replace Resource-Pool with the name of the new resource pool:
serviced pool set-permission --dfs=true --admin=true Resource-Pool
- Display the names of the existing resource pools.
Add a delegate host to a resource pool.
If the master and delegate host are configured for key-based access, the following command does not prompt you to add the delegate to the list of known hosts or to provide the password of the remote user account.Use the hostname or IP address to identify a Control Center host. If you use a hostname, all Control Center hosts must be able to resolve it, either through an entry in /etc/hosts or through a nameserver on the network. In the following example, replace Hostname-Or-IP with the hostname or IP address of a delegate host, and replace Resource-Pool with the name of a resource pool.
If the host is behind a router or firewall for network address translation (NAT), include the option --nat-address to specify the NAT device's hostname or IP address and port of the delegate host.
serviced host add --register Hostname-Or-IP:4979 Resource-Pool \ --nat-address==NAT-Hostname-Or-IP:NAT-Port