10.14 Changing the IP Address of a Cluster Resource

Typically, IP addresses for cluster resources are assigned for the life of the resource. You can modify the IP address of a cluster resource if desired. For example, you might need to assign a cluster and its resources to a different IP subnet.

Your setup must meet the following prerequisites:

  • The resource must be in the Offline state in order to change its IP address.

  • The new IP address must be unique in the network and available. It must satisfy the requirements described in Section 4.2, IP Address Requirements.

  • eDirectory must be running and working properly when you attempt to modify the IP address for the cluster resource.

Use the procedures in this section to modify the IP address for cluster resources:

10.14.1 Pool Cluster Resource

You can change the IP address of a pool cluster resource by using the Protocols page in the resource’s Properties in the Clusters plug-in for iManager. Ensure that you take the pool cluster resource offline before attempting to change its IP address. When you save the change, the load, unload, and monitor scripts are automatically updated with the new IP address. It also automatically updates the resource’s IP address that is stored in its NCP Virtual Server object.

  1. In iManager, select Clusters > My Clusters.

  2. Select the cluster that you want to manage.

    If the cluster does not appear in your list, add the cluster to your list as described in Section 8.2, Setting Up a Personalized List of Clusters to Manage.

  3. On the Cluster Manager page, select the check box next to the pool cluster resource that you want to manage, then click Offline.

    Wait until the resource reports an Offline status before continuing.

  4. Select the pool cluster resource to open its Properties page.

  5. Select the Protocols tab.

  6. In the IP Address field, type the new IP address for the cluster resource in IPv4 dotted decimal format (four octets of the address expressed individually in decimal and separated by periods).

    For example, type:

    10.10.10.43
  7. Click OK to save and apply the changes.

    The Cluster Options page opens. The new IP address is displayed for the pool cluster resource.

  8. (Optional) Verify that the IP address has been changed in the pool cluster resource’s load, unload, and monitor scripts.

    1. On the Cluster Options page, select the cluster resource to open its Properties page, then select the Scripts tab.

    2. Select the Load, Unload, and Monitor options in turn, and review the scripts to verify that the resource IP address has been changed in all of the relevant places.

  9. Select the Cluster Manager tab.

  10. On the Cluster Manager page, select the check box next to the pool cluster resource, then click Online.

    Wait until the resource reports an Online status before continuing to ensure that the resource is working properly.

10.14.2 Non-Pool Cluster Resources

The properties for non-pool cluster resources do not include a Protocols page. You can change the IP address of a non-pool cluster resource by changing the IP address value for the RESOURCE_IP variable in its load, unload, and monitor scripts.

  1. In iManager, select Clusters > My Clusters.

  2. Select the cluster that you want to manage.

    If the cluster does not appear in your list, add the cluster to your list as described in Section 8.2, Setting Up a Personalized List of Clusters to Manage.

  3. On the Cluster Manager page, select the check box next to the non-pool cluster resource that you want to manage, then click Offline.

    Wait until the resource reports an Offline status before continuing.

  4. Select the cluster resource to open its Properties page.

  5. Change the IP address value for the RESOURCE_IP variable in the load, unload, and monitor scripts:

    1. Select the Scripts tab.

      It automatically opens to the Load Script page.

    2. On the Load Script page, type the new IP address in the RESOURCE_IP variable, then click Apply.

    3. Click Unload Script, type the new IP address in the RESOURCE_IP variable, then click Apply.

    4. Click Monitor Script, type the new IP address in the RESOURCE_IP variable, then click Apply.

    5. Click OK to return to the Cluster Options page.

  6. Select the Cluster Manager tab.

  7. On the Cluster Manager page, select the check box next to the cluster resource, then click Online.

    Wait until the resource reports an Online status before continuing to ensure that the resource is working properly.