Changing your operating system host name

Each partition, including the Full System Partition, must have a unique host name that can be resolved. If you want to change the host name of a partition, you must also change the operating system host name.

Host names cannot be reused between the Full System Partition and the logical partitions. To change the operating system host name, complete the following steps:

  1. Run the lsrsrc command as follows:
    /opt/rsct/bin/lsrsrc ManagementServer Hostname
    If the partition is managed by multiple HMCs, multiple entries might exist because each HMC has its own entry.
    The output will be similar to the following:
      resource 1:
               Hostname       = "hmc1.mydomain.mycompany.com"
  2. For each entry, use the rmrsrc to remove the host name shown.
    For example, run the following command:
    /opt/rsct/bin/rmrsrc -s 'Hostname = "hmc1.mydomain.mycompany.com"' ManagementServer
    You can verify that all entries have been removed by running the lsrsrc command again.
  3. Run the rmcctrl command as follows:
    /opt/rsct/bin/rmcctrl -z
  4. Change the host name of the partition.
  5. Run the following command:
    /opt/rsct/bin/rmcctrl -A