Updating Control Center on the master host

Use this procedure to update Control Center on the master host to version 1.3.3.
  1. Log in to the master host as root, or as a user with superuser privileges.
  2. Save the current serviced configuration file as a reference.
    1. Rename the file.
      mv /etc/default/serviced /etc/default/serviced-pre-1.3.3
    2. Set permissions to read-only.
      chmod 0440 /etc/default/serviced-pre-1.3.3
  3. Install the new version of Control Center.
    With internet access:
    yum clean all && yum makecache fast
    yum --enablerepo=zenoss-stable install -y serviced-1.3.3
    Without internet access:
    yum install -y --enablerepo=zenoss-mirror \
      /opt/zenoss-repo-mirror/serviced-1.3.3-1.x86_64.rpm
  4. Make a backup copy of the new configuration file.
    1. Copy the file.
      cp /etc/default/serviced /etc/default/serviced-1.3.3-orig
    2. Set permissions to read-only.
      chmod 0440 /etc/default/serviced-1.3.3-orig
  5. Compare the new configuration file with the configuration file of the previous release.
    1. Identify the configuration files to compare.
      ls -l /etc/default/serviced*
      The original versions of the configuration files should end with orig, but you may have to compare the dates of the files.
    2. Compare the new and previous configuration files.
      Replace New-Version with the name of the new configuration file, and replace Previous-Version with the name of the previous configuration file:
      diff New-Version Previous-Version
      For example, to compare versions 1.2.0 and 1.3.3, enter the following command:
      diff /etc/default/serviced-1.2.0-orig \
        /etc/default/serviced-1.3.3-orig
    • If the command returns no result, restore the backup of the previous configuration file.
      cp /etc/default/serviced-pre-1.3.3 \
        /etc/default/serviced && chmod 0644 /etc/default/serviced
    • If the command returns a result, restore the backup of the previous configuration file, and then optionally, use the results to edit the restored version.
      cp /etc/default/serviced-pre-1.3.3 \
        /etc/default/serviced && chmod 0644 /etc/default/serviced

      For more information about configuring the master host, see Control Center configuration variables.

  • If you are upgrading a multi-host deployment, continue to the next procedure.
  • If you are upgrading a single-host deployment, start Control Center.
    systemctl daemon-reload && systemctl start serviced