Change names and IP addresses


You may find it necessary to change the names and IP addresses of various system components, such as the management server or managed nodes. You can:

Change the IP address of a managed node

Follow these steps on the managed node:
  1. For DCE nodes only, check to see if the OPC_IP_ADDRESS setting is set in the opcinfo or nodeinfo file. The location of this file will be different, depending on your operating system.
    Note NOTE:
    HPOM does not set the OPC_IP_ADDRESS setting per default. If the OPC_IP_ADDRESS is manually created, be sure to update it.
  2. Change the IP address, and reboot if required by your OS.
  3. If you are changing the IP address of a DCE node and a reboot is not required by the OS, stop and restart the agent using opcagt -kill and opcagt -start so that the DCE agent uses the new IP address.
  4. Check the Network tab of the Node Properties dialog box for the node:

    If Notify management server if node communication address changes is selected, then no further action should be required. Check to see if the new IP address is shown in the IP address field. If not, correct the IP address.

  5. If Notify management server if node communication address changes is not selected, but IP address is selected, then you need to correct the IP address manually.
  6. If Domain Name(FQDN) is selected, verify that the old name resolves to the new address and leave the setting unchanged.

  7. Note NOTE:
    By default, after the management server resolves a node's domain name to an IP address, it stores this IP address in its node cache to increase performance. If Domain Name(FQDN) is selected, but Notify management server if node communication address changes is not selected, and you then change the node's IP address, the management server might continue to use the old IP address from its cache. To rebuild the management server's node cache, restart the OvEpMessageActionServer service. (For more details, see Optimize HPOM node name resolution.)

Change the Fully-Qualified Domain Name (FQDN) of a managed node

Follow these steps on the managed node to change the FQDN. During this process you may see several error messages stating that the agent cannot read the encrypted policies. After you have changed the name, reinstall the agent packages on the node to resolve the problem.

  1. Change the name of the node and reboot if required by your OS.
  2. On Windows nodes with DCE agents only. Change the name of the node in the following registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\OpenView\ITO\Hostname
  3. Check the Network tab of the Node Properties dialog box for the node:

    If the old name of the node was specified in the Primary node name field, correct it.

    If Notify management server if node communication address changes is selected, then no further action should be required. Check to see if the new node name is shown in the Domain Name(FQDN) field. If not, correct the name.

    If Notify management server if node communication address changes is not selected, but Domain Name(FQDN) is selected, then you need to correct the name manually. Make sure that the new name resolves to the IP address of the node.

  4. Check also the Message Identification tab to see if the old name of the node was specified there. If yes, correct it.
  5. Optional. Change the display name of the node in the General tab.
  6. For DCE nodes only. The agent encrypts several files using its short node name. If this changes, then the agent cannot read the encrypted files (policies, agent registration) anymore. Therefore the agent must be reinstalled.

Change the IP Address of the management server

Note NOTE:
The management server does not support running with dynamic IP address allocation (DCHP).
  1. If the IP address of the management server is used in server-to-node communication, open the properties of the node and change the IP address in the Network tab.
  2. Change the IP address, and reboot if required by your operating system.
  3. After you have changed the IP address, the old license cannot be used any more. You can temporarily use the 60-day trial license. However, you should move the license to the new IP address as soon as possible. Visit http://webware.hp.com/welcome.asp ( Move license to new server). You will need the original HP order number, the old IP address of the management server, the new IP address and the new hostname to successfully order a new license.

Change the Fully-Qualified Domain Name(FQDN) of the management server

  1. Deploy a flexible management policy to the nodes from the current management server to configure the management server's new name as a secondary management server of the nodes.

    For more details, see Configure action-allowed and secondary managers.

  2. Prepare all agents. To switch the name of the management server on every node, go to Tools HP Operations Manager Tools and use the Switch Management Server tool.

    Each node must be able to resolve the new management server name. For details, see the help topic Resolve the IP address of the management server.

  3. Stop all agent processes on the management server:

    opcagt -kill

  4. Exit all consoles and stop all management server processes:

    vpstat -3 -r STOP

  5. Open a command prompt on the management server and enter:

    ovconfchg -edit

    A text editor starts and displays the settings file.

  6. Search for all occurrences of the old management server name and replace them with the new name. Then save your changes and close the text editor.
  7. Use regedit to update the following registry keys. Change the old management server name to the new one:
  8. Change the hostname and reboot the system.
  9. Start the console and connect to the new management server name.
  10. Check the Network tab of the Node Properties dialog box for the management server:

    If the old name of the management server was specified in the Primary node name field, correct it.

    Check also the Message Identification tab to see if the old name of the management server was specified there. If yes, correct it.

    If Domain Name(FQDN) is selected, verify that the new name resolves to the IP address of the management server.

    Optional. Change the display name of the management server on the General tab.

  11. Update the Windows DCE agent package with the new server name:

    Open a command prompt and enter:

    SetMgmtServer

    The output will be similar to this:

    setmgmtserver
    Agent package 'C:\Program Files\HP 
    OpenView\\packages\Windows\OvEpMsgActAgt.FM'
    Management server name was updated from 'old_serv.rose.hp.com' 
    to 'hpom_serv.rose.hp.com'
    SYSTEM account installation: enabled
    Authentication enforcement:  disabled
    Forced user account switch:  disabled
    
  12. In the flexible management policy editor, delete the old management server name from the flexible management policy, and redeploy the policy.

Change the Fully-Qualified Domain Name (FQDN) of the management server in a cluster

  1. Before performing a change in the IP address, check to see whether any node is using the variable OPC_RESOLVE_IP to get the IP address of the management server. If so, those nodes have to be updated before performing the change on the management server. If the host name of the management server changes, be sure to also switch the management server name on all managed nodes using the "Switch Management Server" tool located in Tools HP Operations Manager Tools

    Each node must be able to resolve the new management server name. For details, see the help topic Resolve the IP address of the management server.

  2. Update the following registry keys with the virtual server name on all physical systems:
  3. Update the registry key HKLM\Software\Hewlett-Packard\OpenView\Common\MgmtServerIP with the virtual server IP address.
  4. Optional. If HP Reporter is installed, update the server name on all physical systems:
    1. In the console tree, right-click Operations Manager, and then click ConfigurearrowServer.... The Server Configuration dialog box opens.
    2. click Namespaces, and then click Reporter Integration. A list of values appears.
    3. Update the value Server name with the virtual server name.
    4. Click Apply.
  5. Start the Cluster Administrator from Administrative Tools.
  6. Select the HPOM group and take it offline.
  7. If the IP address, host name, or both have changed, open the HPOM IP Address resource or the HPOM Network Name resource and change the parameters of the resource accordingly.
  8. Run the following command:

    SetMgmtServer.exe /servername <virtual HPOM server name>

  9. In the Cluster Administrator, take the HPOM group online again.
  10. If not only the virtual IP/host name changed, but also the IP/host name of the physical hosts changed, follow the steps shown in Change the Fully-Qualified Domain Name (FQDN) of a node.

Change the FQDN or IP address in a flexible management environment