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.3.3. This procedure also includes steps to create and register the authentication credentials the master needs for its role as a delegate.
- Log in to the master host as root, or as a user with superuser privileges.
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
Verify the settings in the serviced configuration file.
grep -E '^\b*SERVICED' /etc/default/serviced
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 catDo not proceed to the next step until the following message is displayed:
Host Master successfully started
Obtain the host ID of the master host.
Display the host IDs of all cluster hosts.
serviced host list | cut -c-85
- Record the host ID of the master host.
- Display the host IDs of all cluster hosts.
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