Use the vxrds changeip command for changing the host name or the IP of the Primary and Secondary RLINKs used for replication.
vxrds [-g <diskgroup>] changeip <local_rvg><sec_host>\[attribute=value...]
The argument sec_host is the name of the Secondary host as displayed by the vxrds printrvg command and is not optional.
The vxrds changeip command changes the host name or IP address of Primary and Secondary RLINKs as specified by the newpri and newsec attributes. These attributes are of the form attribute=value.
You can also use the vxrds set command to perform the same operation.
Syntax for vxrds changeip command
vxrds [-g <diskgroup>] changeip <local_rvg> <sec_host> \ [attribute=value...]
Example
vxrds -g vvrdg changeip rvg sec_host newpri=10.212.20.102 vxrds -g vvrdg changeip rvg sec_host newsec=10.212.20.105
Note: |
The vxrds changeip command can be used to set the Primary and Secondary replication IPs to non-existent IPs that are resolvable to a valid name. |
The following table describes the attributes that you can specify with the vxrds changeip command.
Table: Attributes for vxrds changeip command
More Information