EMC VNX VG2/VG8 Gateway Configuration Setup Guide
178
Change IP Addresses
EMC CONFIDENTIAL
16. Run the following command to stop the NBS service:
# /sbin/service nbs stop
17. Enter commands to modify the httpd_dic.conf file.
Example:
cat /nas/site/httpd_dic.conf | sed 's/128\.221\.252\./195.24.53./g'
> /tmp/httpd_dic.conf.$$
18. Examine /tmp/httpd_dic.conf.$$ for proper address substitution. If the
substitution was successful enter the following:
# mv -f /tmp/httpd_dic.conf.$$ /nas/site/httpd_dic.conf
19. Run the following command to mount the IDE /nas file system:
# mount /nas
20. Run the following command to change the primary subnet:
# /nasmcd/sbin/setup_enclosure -changeSubnet 0 <new primary
subnet>.0
Example:
/nasmcd/sbin/setup_enclosure -changeSubnet 0 195.24.53.0
21. Enter the following command to verify the new primary subnet:
# /sbin/ifconfig eth0
Sample output:
eth0 Link encap:Ethernet HWaddr 00:00:F0:9F:B8:A8
inet addr:<new primary subnet>.100 Bcast:<new primary subnet>.255
Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:281407 errors:0 dropped:0 overruns:0 frame:0
TX packets:439843 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:92844122 (88.5 Mb) TX bytes:516627770 (492.6 Mb)
22. Enter the following command:
# umount /nas/
23. Run the following command to restart the network service on the Control Station.
The new addresses you entered will take effect on the Control Station.
# /sbin/service network restart
24. Enter the following command to start the NBS service:
# /sbin/service nbs start
25. Confirm all the NBS services have started, by typing:
# ps -ef |grep nd-
Sample output:
root 5376 1 0 Oct02 ? 00:00:05 [nd-clnt 0 1]
root 5377 1 0 Oct02 ? 00:00:09 [nd-sndd 0 1]
root 5382 1 0 Oct02 ? 00:04:02 [nd-clnt 4 5]
root 5383 1 0 Oct02 ? 00:09:46 [nd-sndd 4 5]
root 5388 1 0 Oct02 ? 00:00:15 [nd-clnt 5 6]
root 5389 1 0 Oct02 ? 00:00:23 [nd-sndd 5 6]
26. Enter the following commands:
# mount /nbsnas
# mount /nas