Operating System - HP-UX
1837091 Members
2360 Online
110112 Solutions
New Discussion

Can i add a new package even if there are errors in cmcheckconf???

 
Fenny_1
Super Advisor

Can i add a new package even if there are errors in cmcheckconf???

Hi All,
When am doing cmcheckconf it's reporting some problems related to LVM. Is it possible that i can add a new package in cluster while having these errors??

Your urgent response on this is highly apreciated. Thanks in advance
7 REPLIES 7
Torsten.
Acclaimed Contributor

Re: Can i add a new package even if there are errors in cmcheckconf???

Probably not.
I would recommend to solve the problems first anyway.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Ninad_1
Honored Contributor

Re: Can i add a new package even if there are errors in cmcheckconf???

I dont think so, because when you do a cmapplyconf, it again verifies the configuration before actually applying it. So the only way is to correct the errors and then apply the configuration.

Regards,
Ninad
Steven E. Protter
Exalted Contributor

Re: Can i add a new package even if there are errors in cmcheckconf???

Shalom,

You can add them but they won't run until the errors are resolved. So the real answer is no.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Stanimir
Trusted Contributor

Re: Can i add a new package even if there are errors in cmcheckconf???

Depends on errors, send us the output....
Fenny_1
Super Advisor

Re: Can i add a new package even if there are errors in cmcheckconf???

Below is the ouput of cmcheckconf
tppora02:/etc/cmcluster#cmcheckconf -v -C cluster.ascii

Checking cluster file: cluster.ascii
Checking nodes ... Done
Checking existing configuration ... Done
Gathering configuration information ... Done
Gathering configuration information ... Done
Gathering configuration information ..
Gathering storage information ..
Found 257 devices on node tppovw01
Found 194 devices on node tppovw02
Found 307 devices on node tppora01
Found 281 devices on node tppora03
Found 366 devices on node tppora02
Found 350 devices on node tppora04
Found 162 devices on node tppora05
Found 241 devices on node tppora06
Analysis of 2158 devices should take approximately 25 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 21 volume groups on node tppovw01
Found 15 volume groups on node tppovw02
Found 18 volume groups on node tppora01
Found 17 volume groups on node tppora03
Found 18 volume groups on node tppora02
Found 17 volume groups on node tppora04
Found 23 volume groups on node tppora05
Found 29 volume groups on node tppora06
Analysis of 158 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
.....
Gathering Network Configuration .............. Done

Error: The volume group called /dev/xpvgsiedata1 on node tppora01 is called /dev/BC1_xpvgsiedata1 on other nodes.
Error: The volume group called /dev/xpvgsiedata1 on node tppora03 is called /dev/BC1_xpvgsiedata1 on other nodes.
Error: The volume group called /dev/xpvgsiedata1 on node tppora02 is called /dev/BC1_xpvgsiedata1 on other nodes.
Error: The volume group called /dev/xpvgsiedata1 on node tppora04 is called /dev/BC1_xpvgsiedata1 on other nodes.
Error: The volume group called /dev/xpvgsieapp on node tppora01 is called /dev/BC1_xpvgsieapp on other nodes.
Error: The volume group called /dev/xpvgsieapp on node tppora03 is called /dev/BC1_xpvgsieapp on other nodes.
Error: The volume group called /dev/xpvgsieapp on node tppora02 is called /dev/BC1_xpvgsieapp on other nodes.
Error: The volume group called /dev/xpvgsieapp on node tppora04 is called /dev/BC1_xpvgsieapp on other nodes.
Error: The volume group called /dev/xpvgsiedata5 on node tppora02 is called /dev/BC1_xpvgsiedata5 on other nodes.
Error: The volume group called /dev/xpvgsiedata5 on node tppora04 is called /dev/BC1_xpvgsiedata5 on other nodes.
Error: The volume group called /dev/xpvggendata1 on node tppora01 is called /dev/BC2_xpvggendata1 on other nodes.
Error: The volume group called /dev/xpvggendata1 on node tppora03 is called /dev/BC2_xpvggendata1 on other nodes.
Error: The volume group called /dev/xpvggendata1 on node tppora02 is called /dev/BC2_xpvggendata1 on other nodes.
Error: The volume group called /dev/xpvggendata1 on node tppora04 is called /dev/BC2_xpvggendata1 on other nodes.
Error: The volume group called /dev/xpvggenapp on node tppora01 is called /dev/BC2_xpvggenapp on other nodes.
Error: The volume group called /dev/xpvggenapp on node tppora03 is called /dev/BC2_xpvggenapp on other nodes.
Error: The volume group called /dev/xpvggenapp on node tppora02 is called /dev/BC2_xpvggenapp on other nodes.
Error: The volume group called /dev/xpvggenapp on node tppora04 is called /dev/BC2_xpvggenapp on other nodes.
Error: The volume group called /dev/xpvggendata5 on node tppora01 is called /dev/BC2_xpvggendata5 on other nodes.
Error: The volume group called /dev/xpvggendata5 on node tppora03 is called /dev/BC2_xpvggendata5 on other nodes.
Error: The volume group called /dev/xpvggendata5 on node tppora02 is called /dev/BC2_xpvggendata5 on other nodes.
Error: The volume group called /dev/xpvggendata5 on node tppora04 is called /dev/BC2_xpvggendata5 on other nodes.
Warning: The volume group /dev/BC1_xpvgsiedata1 is activated on more than one node:
tppovw01
tppora02
Warning: The volume group /dev/BC1_xpvgsieapp is activated on more than one node:
tppovw01
tppora02
Warning: The volume group /dev/BC1_xpvgsiedata5 is activated on more than one node:
tppovw01
tppora02
Warning: The volume group /dev/xpvgtibapp is activated on more than one node:
tppora01
tppora02
Warning: Volume group /dev/xpvgtibdata is configured differently on node tppora01 than on node tppora03
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t2d6 on node tppora01 (32147000661180771383).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t2d6 on node tppora01 (32147000661180771383).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t2d7 on node tppora01 (32147000661180771398).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t2d7 on node tppora01 (32147000661180771398).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t3d0 on node tppora01 (32147000661180771423).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t3d0 on node tppora01 (32147000661180771423).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t3d1 on node tppora01 (32147000661180771429).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t3d1 on node tppora01 (32147000661180771429).
Warning: Volume group /dev/xpvgtibdata is configured differently on node tppora03 than on node tppora01
Warning: Volume group /dev/xpvgtibdata is configured differently on node tppora03 than on node tppora02
Warning: Volume group /dev/xpvgtibdata is configured differently on node tppora03 than on node tppora04
Warning: Volume group /dev/xpvgtibdata is configured differently on node tppora02 than on node tppora03
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t2d6 on node tppora02 (32147000661180771383).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t2d6 on node tppora02 (32147000661180771383).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t2d7 on node tppora02 (32147000661180771398).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t2d7 on node tppora02 (32147000661180771398).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t3d0 on node tppora02 (32147000661180771423).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t3d0 on node tppora02 (32147000661180771423).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t3d1 on node tppora02 (32147000661180771429).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t3d1 on node tppora02 (32147000661180771429).
Warning: Volume group /dev/xpvgtibdata is configured differently on node tppora04 than on node tppora03
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c26t2d6 on node tppora04 (32147000661180771383).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c27t2d6 on node tppora04 (32147000661180771383).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c26t2d7 on node tppora04 (32147000661180771398).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c27t2d7 on node tppora04 (32147000661180771398).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c26t3d0 on node tppora04 (32147000661180771423).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c27t3d0 on node tppora04 (32147000661180771423).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c26t3d1 on node tppora04 (32147000661180771429).
Error: Volume group /dev/xpvgtibdata on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c27t3d1 on node tppora04 (32147000661180771429).
Warning: Volume group /dev/xpvgtibdata1 is configured differently on node tppora01 than on node tppora03
Error: Volume group /dev/xpvgtibdata1 on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t2d5 on node tppora01 (32147000661180523594).
Error: Volume group /dev/xpvgtibdata1 on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t2d5 on node tppora01 (32147000661180523594).
Warning: Volume group /dev/xpvgtibdata1 is configured differently on node tppora03 than on node tppora01
Warning: Volume group /dev/xpvgtibdata1 is configured differently on node tppora03 than on node tppora02
Warning: Volume group /dev/xpvgtibdata1 is configured differently on node tppora03 than on node tppora04
Warning: Volume group /dev/xpvgtibdata1 is configured differently on node tppora02 than on node tppora03
Error: Volume group /dev/xpvgtibdata1 on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c30t2d5 on node tppora02 (32147000661180523594).
Error: Volume group /dev/xpvgtibdata1 on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c29t2d5 on node tppora02 (32147000661180523594).
Warning: Volume group /dev/xpvgtibdata1 is configured differently on node tppora04 than on node tppora03
Error: Volume group /dev/xpvgtibdata1 on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c26t2d5 on node tppora04 (32147000661180523594).
Error: Volume group /dev/xpvgtibdata1 on node tppora03 does not appear to have a physical volume corresponding to /dev/dsk/c27t2d5 on node tppora04 (32147000661180523594).
Warning: Volume group /dev/vgcsafscan is configured differently on node tppora05 than on node tppora06
Warning: Volume group /dev/vgcsafscan is configured differently on node tppora06 than on node tppora05
Warning: Volume groups should not be activated on more than one node.
Use vgchange to de-activate a volume group on a node.
cmcheckconf : Unable to reconcile configuration file cluster.ascii
with discovered configuration information.
tppora02:/etc/cmcluster#

I would appreciate if someone help me to rectify the errors as well
Stanimir
Trusted Contributor

Re: Can i add a new package even if there are errors in cmcheckconf???

So, sorry to say that, but your cluster
is not configured appropriatelly ,I thing.

Anyway, if you say, that it working, try:

#cmcheckconf -v -P .conf

And if you dont have errors:
#cmapplyconf -v -P .conf

to add the package to cluster.

Regards
skt_skt
Honored Contributor

Re: Can i add a new package even if there are errors in cmcheckconf???

.keep the VG active on primary node with cluster aware(vgchnage -c y vgname;vgchnage -a y). Keep the Vg(same name as primary) just cluster aware on the alternate nodes.make sure you are importing the VGs on the alternate nodes with the latest information from primary node.

update the package directory sync with primary on all alternate nodes.