Go to ...

Techpository

A Better Technical Repository

RSS Feed

V7000: Fixing the Management ip with the CLI


If the management ip gets changed to something inaccessible you can fix this problem through the CLI

1) Log into the problem V7000 through the service ip using putty or another terminal application

2) Take a look at the current cluster IP configuration

svcinfo lsclusterip
cluster_id cluster_name location port_id IP_address subnet_mask gateway IP_address_6 prefix_6 gateway_6
00000200A0131313 v7000_B local 1 0.0.0.0 0.0.0.0 0.0.0.0
00000200A0131313 v7000_B local 2
00000200A0121212 v7000_A remote 1 192.168.1.10 255.255.255.0 192.168.1.1
00000200A0121212 v7000_A remote 2
3) Enter the correct  IP, Gateway, and Subnet Mask with the following commands:

svctask chclusterip -clusterip 192.168.1.20 -port 1
svctask chclusterip -gw 192.168.1.1 -port 1
svctask chclusterip -mask 255.255.255.0 -port 1

4) Verify your changes
svcinfo lsclusterip
cluster_id cluster_name location port_id IP_address subnet_mask gateway IP_address_6 prefix_6 gateway_6
00000200A0131313 v7000_B local 1 192.168.1.20 255.255.255.0 192.168.1.1
00000200A0131313 v7000_B local 2
00000200A0121212 v7000_A remote 1 192.168.1.10 255.255.255.0 192.168.1.1
00000200A0121212 v7000_A remote 2