Manually Migrating a Logical IP Address
VCS includes the haipswitch command to migrate the logical IP address from one interface to another. Usage:
# haipswitch -s MultiNICB resname
# haipswitch MultiNICB_res_name IPMultiNICB_res_name ip_address netmask from_physical_ip to_physical_ip
In the first form, the command shows the status of the interfaces for the specified MultiNICB resource. In the second form, the command uses the following steps:
-
Checks that both from and to interfaces are associated with the specified MultiNICB resource and the to interface is working. If not, the command aborts the operation.
-
Removes the IP address on the from logical interface.
-
Configures the IP address on the to logical interface.
-
Erases previous failover information created by MultiNICB for this logical IP address.
|