Operating System - HP-UX
1826043 Members
3471 Online
109690 Solutions
New Discussion

Re: Cluster issue with bad autoraid

 
james gould
Frequent Advisor

Cluster issue with bad autoraid

Have to initialize an autoraid. Question is do I use the same commands to create the volume groups and logical volumes, since it looks to be different and they are not in the
fstab file. I think that it uses a package to load everything in, but need to be to create everything again and want to make sure everything is correct. System is running 10.20

Thanks
4 REPLIES 4
Victor Fridyev
Honored Contributor

Re: Cluster issue with bad autoraid

Hi,

In order to work with an autoraid, you have previously to build on it Logical UNits (LUNs). You will see each LUN as a disk. The simplest way to do this is SAM, its disk chapter. BTW, which autoraid do you have ?
When LUNs are created, you work with them exactly as you work with usual disks.

HTH
Entities are not to be multiplied beyond necessity - RTFM
james gould
Frequent Advisor

Re: Cluster issue with bad autoraid

Yes that is correct, no problem with creating the LUNs its the volume groups and
logical volumes since it will be in a cluster. Not sure how this is done since they are not mounted using the fstab file, and I am not sure where the device files are created.
Jose Mosquera
Honored Contributor

Re: Cluster issue with bad autoraid

Hi,

By default, any LV and FS involved into a package are defined into /etc/cmcluster//.cntl file. Inside this file pls check "VOLUME GROUPS" and "FILESYSTEMS" sections.

About cluster definition, also you need define the volume groups will be used by package applications via the vgchange -a e command. So define all "VOLUME_GROUP" items that you need and must be correspond with the previuos .cntl definition. This cluster definition file must be by default /etc/cmcluster/cluster.conf

Pls do not forget compile and distribute these files among involved nodes.

Rgds.
Ashwani Kashyap
Honored Contributor

Re: Cluster issue with bad autoraid

In a clustered environment , the clusterd file systems are not mounted during systems startup via fstab entries instead they are mounted by the MC service guard suring cluster startup or manual package startup by activating the volume group which are cluster aware .

IF you look at the file /etc/lvmrc and look at the entry AUTO_VG_ACTIVATE , that should be 0 , that means no volume groups except /dev/vg00 are activated during boot time . The rest of the volume groups are activated by the cluster itself when it starts up .

The cluster configuration files are kept in /etc/cmcluster . There ypu will see a file called cmclconf.ascii , which contains the list of cluster aware volumegroups and nodes . You will also see package directory under /etc/cmcluster . Inder each package directory , you will see at leas two files .package_name.conf and package_name.cntl . The conf file defines the package name and other charecteristics and the cntl files has all the logical volumes that are to be mounted on a mount point .

Please see the managing MC service Guard clusters Manual at www.docs.hp.com for detailed inforamtion about how a cluster works .