Registering a host using a file

Use this procedure to create the authentication credentials that hosts require, and to register the credentials by using a file.

Start this procedure on the Control Center master host:

  1. Gain access to the Control Center host, through the console interface of your hypervisor, or through a remote shell utility such as PuTTY.
  2. Start a command-line session as root.
    1. In the Appliance Administration menu, select Root Shell.
    2. Select Run, and then press Enter.
    The menu is replaced by a command prompt similar to the following example:
    [root@hostname ~]#
  3. Display the host IDs of all Control Center hosts.
    serviced host list | cut -c-85
    The host ID is in the first column of the output.
  4. Create and distribute credentials files for delegate hosts.
    Repeat the following substeps for each delegate host in your deployment.
    1. Create authentication credentials for a delegate host.
      Replace Host-ID with the host ID of a delegate host identified in the preceding step:
      serviced key reset Host-ID
      The command creates a unique credentials file in the local directory.
    2. Copy the credentials files to each delegate host.
      Use a file transfer utility such as scp to copy the files. Once copied to a delegate host, the credentials file is not needed on the master host and can be deleted.
  5. Install the credentials on delegate hosts.
    On each delegate host in your deployment, complete the following substeps:
    1. Log in to a delegate host as root, or as a user with superuser privileges.
    2. Use the Down Arrow key to select Root Shell, and then press Enter.
      The menu is replaced by a command prompt similar to the following example:
      [root@resmgr ~]#
    3. Install the credentials.
      Replace Credentials-File with the pathname of the credentials file:
      serviced host register Credentials-File
    4. Delete the credentials file.
      The file is no longer needed on the host.
      Replace Credentials-File with the pathname of the credentials file:
      rm Credentials-File
To return to the Appliance Administration menu, enter the exit command.