Serviceguard
cancel
Showing results for 
Search instead for 
Did you mean: 

cmcheckconf & cmapplyconf failure

 
SOLVED
Go to solution
Mohamad Rezwan
Occasional Contributor

cmcheckconf & cmapplyconf failure

Hi all,

I'm trying to add a new package to my existing cluster. I'm getting this particular error.

Warning: Volume group /dev/vg00 is configured differently on node svrhpc01 than on node svrhpc02
Error: Volume group /dev/vg00 on node svrhpc02 does not appear to have a physical volume corresponding to /dev/dsk/c1t2d0 on node svrhpc01 (1844246061032891381).
Error: Volume group /dev/vg00 on node svrhpc02 does not appear to have a physical volume corresponding to /dev/dsk/c2t2d0 on node svrhpc01 (1844246061032984030).
Warning: Volume group /dev/vg00 is configured differently on node svrhpc02 than on node svrhpc01
Error: Volume group /dev/vg00 on node svrhpc01 does not appear to have a physical volume corresponding to /dev/dsk/c1t2d0 on node svrhpc02 (11784746651032891381).
Error: Volume group /dev/vg00 on node svrhpc01 does not appear to have a physical volume corresponding to /dev/dsk/c2t2d0 on node svrhpc02 (11784746651032984375).
Warning: The volume group /dev/vg00 is activated on more than one node:
svrhpc01
svrhpc02
Warning: Volume groups should not be activated on more than one node.
Use vgchange to de-activate a volume group on a node.
cmcheckconf : Error found while gathering the cluster information.

*************************

Both nodes have it's own /dev/vg00..with the same /etc/lvmtab settings..after exporting and importing the volume group that involved in the cluster.

Can somebody help me?.

Thanks,

Rezwan
Malaysia
7 REPLIES 7
Christopher McCray_1
Honored Contributor

Re: cmcheckconf & cmapplyconf failure

Hello,

Can you please provide some background info:

What version OS?
Version of SG?

Can you post the output of the following from both nodes:

/etc/lvmtab
/etc/cmcluster/cluster.ascii
ll /dev/*/gr*

Last question, are the disks that make up vg00 external?

Chris
It wasn't me!!!!
Rajeev Shukla
Honored Contributor

Re: cmcheckconf & cmapplyconf failure

Can you also give a brief idea as what steps you are follwing.
Bascially you need to generate the package scripts using "cmmakepkg" command (ascii and control file) and then edit as per your requirements and then do "cmheckconf" and the "cmapplyconf".
let us know at what stage you are getting these errors.
And as stated version of Service guard and OS.

Cheers
rajeev
Mohamad Rezwan
Occasional Contributor

Re: cmcheckconf & cmapplyconf failure

 
avsrini
Trusted Contributor

Re: cmcheckconf & cmapplyconf failure

Hi Rezwan,
Seems your cluster configuration is having problem. You have included
vg00 as a cluster vg in your setup. If this is the root volume group, then you cant have it as cluster volume.

Just delete the vg00 entry from your configuration, things should be ok. Also
this is just a warning, and
not a error. This is normal,
you can leave it, if you dont want to make any changes. Your cluster will function ok.

Srini.
Be on top.
Rajeev Shukla
Honored Contributor
Solution

Re: cmcheckconf & cmapplyconf failure

I think there is some problem with the cluster file. Just 1. do a few things get the cluster config fist by doing..
cmgetconf.
2. make the changes to cmclconfig.ascii and then do cmcheckconf and then cmapplyconf for cluster(not for package)
3. do cmmakepkg to get a template cntl and sh file for package.
4. make changes and then do cmcheckconf and then cmapplyconf for package.
Mohamad Rezwan
Occasional Contributor

Re: cmcheckconf & cmapplyconf failure

Thanks rajeev.

After I've done cmgetconf and then run cmcheckconf -v -k -C cmclconf.ascii, i can don't get any errors anymore.
Rajeev Shukla
Honored Contributor

Re: cmcheckconf & cmapplyconf failure

Hi Rezwan,
If your problem has solved, how about assigning some points to people who spent their valuable time for you.

Cheers
Rajeev