Changing the Unified Manager host name in Red Hat Enterprise Linux

At some point, you might want to change the host name of the Red Hat Enterprise Linux machine on which you have installed Unified Manager. For example, you might want to rename the host to more easily identify your Unified Manager servers by type, workgroup, or monitored cluster group when you list your Red Hat Enterprise Linux machines.

Before you begin

You must have root user access to the Red Hat Enterprise Linux machine on which Unified Manager is installed.

About this task

You can use the host name (or the host IP address) to access the Unified Manager web UI. If you configured a static IP address for your network during deployment, then you would have designated a name for the network host. If you configured the network using DHCP, the host name should be taken from the DNS server.

Regardless of how the host name was assigned, if you change the host name and intend to use the new host name to access the Unified Manager web UI, you must generate a new security certificate.

If you access the web UI by using the server's IP address instead of the host name, you do not have to generate a new certificate if you change the host name. However, it is the best practice to update the certificate, so that the host name in the certificate matches the actual host name. The new certificate does not take effect until the Red Hat Enterprise Linux machine is restarted.

If you change the host name in Unified Manager, you must manually update the host name in OnCommand Workflow Automation (WFA). The host name is not updated automatically in WFA.

Steps

  1. Log in as the root user to the Unified Manager Red Hat Enterprise Linux machine that you want to modify.
  2. Stop the Unified Manager software and the associated MySQL software by entering the following commands in the order shown: service ocieau stopservice ocie stopservice mysqld stop
  3. If you are using a Red Hat 7.x system, change the host name using the Linux hostnamectl command: hostnamectl set-hostname new_FQDN
    Example
    hostnamectl set-hostname nuhost.corp.widget.com
  4. If you are using a Red Hat 6.x system, change the host name following these steps:
    1. Edit the HOSTNAME parameter in the /etc/sysconfig/network file to specify the new fully qualified domain name (FQDN), and save the file: HOSTNAME=new_FQDN
      Example
      HOSTNAME=nuhost.corp.widget.com
    2. If there is an entry in the /etc/hosts file listing your IP address with the old host name, change it to the new name: ip-address new_FQDN new_hostname
      Example
      10.10.10.54 nuhost.corp.widget.com nuhost
    3. Change the host name using the Linux hostname command: hostname new_FQDN
      Example
      hostname nuhost.corp.widget.com
  5. Regenerate the HTTPS certificate for the server:/opt/netapp/essentials/bin/cert.sh create
  6. Restart the network service: service network restart
  7. After the service is restarted, verify whether the new host name is able to ping itself: ping new_hostname
    Example
    ping nuhost
    This command should return the same IP address that was set earlier for the original host name.
  8. After you complete and verify your host name change, restart Unified Manager by entering the following commands in the order shown: service mysqld startservice ocie startservice ocieau start