1760078 Members
2385 Online
108889 Solutions
New Discussion юеВ

Cmquery

 
SOLVED
Go to solution
wayne_104
Regular Advisor

Cmquery

Hi

I have inherited a cluster. I am trying to do a cmquery to rebuild the ascii file.

However i get the below errors.

I have varified that the cmnodelist exists in /etc/cmcluster.

there are entries in ~/.rhosts
the /etc/hosts file is correct.

I have checked the inetd thing telneted on telnet localhost 5302 got response.

there is no logs in /var/adm syslog.

what does cmquery do when Gathering network information?

cmquerycl -v -k -C /etc/cmcluster/cmclconfig.ascii -n alsmp1 -n alsmp2
Looking for other clusters ... Done
Gathering storage information
Found 22 devices on node alsmp1
Found 22 devices on node alsmp2
Analysis of 44 devices should take approximately 5 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Found 7 volume groups on node alsmp1
Found 7 volume groups on node alsmp2
Analysis of 14 volume groups should take approximately 1 seconds
0%----10%----20%----30%----40%----50%----60%----70%----80%----90%----100%
Volume group /dev/vg00 is configured differently on node alsmp1 than on node alsmp2
Volume group /dev/vg00 on node alsmp2 does not appear to have a physical volume corresponding to /dev/disk/disk5_p2 on node alsmp1 (a22383084756d0e1).
Volume group /dev/vg00 is configured differently on node alsmp2 than on node alsmp1
Volume group /dev/vg00 on node alsmp1 does not appear to have a physical volume corresponding to /dev/disk/disk5_p2 on node alsmp2 (fff8f11f4756d4a2).
The volume group /dev/vg00 is activated on more than one node:
alsmp1
alsmp2
Volume groups should not be activated on more than one node.
Use vgchange to de-activate a volume group on a node.
Gathering network information
Beginning network probing
Completed network probing
Failed to gather configuration information.
15 REPLIES 15
Matti_Kurkela
Honored Contributor

Re: Cmquery

"Rebuild the ASCII file"? Why can't you simply use the cmgetconf command to get an ASCII version of the current cluster configuration?

MK
MK
wayne_104
Regular Advisor

Re: Cmquery

i was trying to get to an aggregated network but when i modified the current ascii file and did a check came back with errors.

So decided to do a cmquerycl to see if it could give me some idea of what the problem may be. BTW i am at patch level september 2010.
Benoy Daniel
Trusted Contributor

Re: Cmquery

why it is trying to compare VG00 in both the nodes..Looks liek you have put vg00 in the package ASCII file. Please get this removed and try again.
wayne_104
Regular Advisor

Re: Cmquery

hi
I am trying to create the ascii file.
cmquerycl -v -k -C /etc/cmcluster/cmclconfig.ascii -n alsmp1 -n alsmp2.

the vg00 drives are local drives on each node.
Turgay Cavdar
Honored Contributor

Re: Cmquery

Hi,
The problem here is "The volume group /dev/vg00 is activated on more than one node". SO you should first correct this error. Possibly on both hosts VGID of vg00 are same.Did you use dd or bcv of vg00 on the later host? If yes then you should go to LVM maintenance mode and run vgchid command.
wayne_104
Regular Advisor

Re: Cmquery

Hi

As i Said inherited this system so not sure what they did.

But those can be discarded as errors as the cluster is up and running and no problems exist surly?
Turgay Cavdar
Honored Contributor
Solution

Re: Cmquery

Hi,
Check on both hosts for VGID:

# vgexport -s -v -p -m vg00.map vg00 1>/dev/null 2>&1 ; grep VGID vg00.map
wayne_104
Regular Advisor

Re: Cmquery

Looks like they the same so they must have done a dd or mirrored disk.


node 1 VGID fff8f11f4756d4a3

node 2 VGID fff8f11f4756d4a3
Turgay Cavdar
Honored Contributor

Re: Cmquery

I think you should go with vgchid...