It isadvised that this procedure be done during a maintenance period, being that thezones will need to be shutdown before performing this procedure and the systemswill need to be rebooted for the changes to take affect.
First youneed to check the numbers in use on all nodes. You cannot change these tonumbers already in use.
Example:
From node1:
#grep vx /etc/name_to_major
vxportal304
vxdmp306
vxio303
vxspec305
vxfen301
From node2:
#grep vx /etc/name_to_major
vxdmp293
vxportal296
vxfen300
vxglm301
vxgms302
vxio307
vxspec308
Shutdown thezones:
#zlogin -C {zone-name}
- Enter zoneusername and password
- Issuecommand:
#shutdown -y -i0 -g0
- Exitzone:
# ~.
- Check forzone to be completely shutdown with the command:
#zoneadm list -icv
- zone willshow up as 'installed' instead of 'running' when it is completelyshutdown.
Example:
#zoneadm list -icv
IDNAME STATUS PATH BRAND IP
0global running / native shared
-zone1 installed /export/zone1 native shared
Selectunused numbers to be used for the vx major and minor numbers.
Example:
#grep 309 /etc/name_to_major
#grep 310 /etc/name_to_major
Now make thechange on all nodes:
Syntax:
#haremajor -vx major_number_vxio major_number_vxspec
Example
On Node1:
#haremajor -vx 309 310
Note: Youwill be prompted to continue, where you need to issue 'y' for Yes.
Reboot
On Node2:
#haremajor -vx 309 310
Note: youwill be prompted to continue, where you need to issue 'y' for Yes.
Reboot
Next checkstatus of zones, and start zones back up on nodes:
#zoneadm list -icv
Outputshould look like the following:
#zoneadm list -icv
ID NAMESTATUS PATH BRAND IP
0 globalrunning / native shared
- zone1installed /export/zone1 native shared
Now startzones:
Syntax:
#zoneadm -z {zone name} boot
Example:
#zoneadm - zone1 boot
Checkstatus:
#zoneadm list -icv
Outputshould look like the following:
#zoneadm list -icv
ID NAMESTATUS PATH BRAND IP
0 globalrunning / native shared
2 zone1running /export/zone1 native shared