Operating System - HP-UX
1834080 Members
2368 Online
110063 Solutions
New Discussion

Re: Activating a VG outside of a cluster

 
Brian Ruisi
Occasional Contributor

Activating a VG outside of a cluster

I have a HA cluster with a VA7400 Raid shared by both nodes. I am using HPUX 11.0 and the cluster is setup and running. I had some extra space in one of the redundancy groups on the raid, so I created a LUN with it. The VG is not part of the cluster, and will be used for storage of data not essential for the cluster. It is only accessible to the one node that I am setting it up on. I tried creating the VG and LVM using SAM and through command lines, but I have the same problem when I reboot. The VG doesn't activate or mount. I can manually activate and mount it, but it doesn't do it automatically on boot. I verified the settings to mount on boot. I see the errors for the mounting, saying the device doesn't exist, I assume because the VG wasn't activated. Is there a problem creating LVM's on a raid that is used by a cluster? The other VG's on the raid are handled by the cluster, but this one isn't.
Any help would be greatly appriciated...

Thanks in advance.
5 REPLIES 5
BFA6
Respected Contributor

Re: Activating a VG outside of a cluster

Hi,

I think you need to add the volume group into the custom activation section of /etc/lvmrc

Regards,

Hilary
John Poff
Honored Contributor

Re: Activating a VG outside of a cluster

Hi,

The nodes in your cluster probably have the AUTO_VG_ACTIVATE flag set to 0 in /etc/lvmrc. You might need to go down to the custom_vg_activation function in /etc/lvmrc and add an entry for your new VG so that it will get activated when the system boots.

JP
Dietmar Konermann
Honored Contributor

Re: Activating a VG outside of a cluster

Check /etc/lvmrc. I believe that your config includes AUTO_VG_ACTIVATE=0. In this case you need to add the VG to the function custom_vg_activation at the bottom of that file.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
BFA6
Respected Contributor

Re: Activating a VG outside of a cluster

Also make sure you have the filesystems in /etc/fstab.

Hilary
Helen French
Honored Contributor

Re: Activating a VG outside of a cluster

The file you need to edit is /etc/lvmrc. Check the value of AUTO_VG_ACTIVATE (might be 0) and if yes, then add your new vg information to custom_vg_activation section. If you read the file carefully, it will describe you the steps.
Life is a promise, fulfill it!