Starting and registering the master host (single-host deployment)

Use this procedure to start the master host in a single-host deployment after upgrading Control Center to version 1.5.0. This procedure also includes steps to create and register the authentication credentials the master needs for its role as a delegate.
  1. Log in to the master host as root, or as a user with superuser privileges.
  2. Determine whether serviced is configured to start when the system starts.
    systemctl is-enabled serviced
    • If the result is enabled, proceed to the next step.
    • If the result is disabled, enter the following command:
      systemctl enable serviced
  3. Verify the settings in the serviced configuration file.
    grep -E '^\b*[A-Z_]+' /etc/default/serviced
  4. Start serviced, and then monitor the startup.
    During this startup, serviced invokes docker pull to retrieve its updated images.
    systemctl daemon-reload && systemctl start serviced \
      && journalctl -u serviced -f -o cat
    Do not proceed to the next step until the following message is displayed:
    Host Master successfully started
  5. Obtain the host ID of the master host.
    1. Display the host IDs of all Control Center hosts.
      serviced host list | cut -c-85
    2. Record the host ID of the master host.
  6. Create authentication credentials for the master host, and register the credentials.
    Replace Host-ID with the host ID of the master host:
    serviced key reset --register Host-ID