1834149 Members
2389 Online
110064 Solutions
New Discussion

SG node not autostarting

 
SOLVED
Go to solution
Carol Garrett
Trusted Contributor

SG node not autostarting


When I reboot a node in my SG cluster now only vg00 activates and mounts, not my SG volume groups. What do I have to change to get them to start also ?
3 REPLIES 3
Stefan Farrelly
Honored Contributor
Solution

Re: SG node not autostarting


To activate all VG's on bootup set AUTO_VG_ACTIVATE=1 in /etc/lvmrc. But for an SG node you dont necessarily want this else it will try to activate volume groups which may belong to other nodes in the cluster, so instead make a change to the section in /etc/lvmrc called custom_vg_activation and in here add in a vgchange -a y but only for the VG which is supposed to be mounted on this node - ie. whichever VG has its home on this node.
Im from Palmerston North, New Zealand, but somehow ended up in London...
melvyn burnard
Honored Contributor

Re: SG node not autostarting

Is the node set to auto join the cluster?
check /etc/rc.config.d/cmcluster and ensure it is set to 1 for auto start
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Carol Garrett
Trusted Contributor

Re: SG node not autostarting


We dont want our package to autostart on boot, just the filesystems mounted for it so ive modified /etc/lvmrc and it works fine. Thanks.