March 2

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

 


Copyright 2021. All rights reserved.

Posted March 2, 2012 by Timothy Conrad in category "SAN

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B