Changing the cluster gateway address using the CLI

You can use the command-line interface (CLI) to change the gateway address for a cluster.

Perform the following steps to change the cluster gateway address:

  1. Issue the svcinfo lsclusterip command to list the current gateway address of the cluster.
  2. Record the current gateway address for future reference.
  3. Issue the following command to change an IPv4 cluster gateway address:
    svctask chclusterip -gw cluster_gateway_address -port cluster_port

    where cluster_gateway_address is the new gateway address for the cluster. The port parameter specifies which port (1 or 2) to apply changes to.

  4. Issue the following command to change an IPv6 cluster gateway address:
    svctask chclusterip -gw_6 cluster_gateway_address -port cluster_port

    where cluster_gateway_address is the new gateway address for the cluster. The port parameter specifies which port (1 or 2) to apply changes to.

Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.