Monday, January 28, 2013

How to change VG state HP UX & LINUX

Hi Friends,

Below are some options which we can use for changing Volume Group in HP UX or LINUX.

# vgchange -a n /dev/vg03 # Deactivate volume group
# vgchange -c y /dev/vg03 # Enable volume group for HA cluster
# vgchange -c y -S y /dev/vg03 # Enable volume group for HA cluster and mark as sharable
# vgchange -a e /dev/vg03 # Activate volume group in exclusive mode
# vgchange -a s /dev/vg03 # Activate volume group in shared mode
Activate all volume groups; activate marked for membership in a HA cluster in exclusive mode:
# vgchange -a y
Activate all volumes, marked for membership in a HA cluster in exclusive mode:
# vgchange -a e


Love Sharing
Amit Chopra

 

No comments: