1832595 Members
2900 Online
110043 Solutions
New Discussion

cmquerycl problem ...

 
Karthik S S
Honored Contributor

cmquerycl problem ...

I am trying to form a two node cluster (hp-ux 11.11, MCSG 11.14). The node names are "ram" and "shyam"
Both the nodes have .rhosts and cmclnodelist entries as follows,
------------------------------
ram root
shyam root
------------------------------

And I have also created a VG on node "ram" exported it to "shyam"

But, when I try to create the Cluster configuration file I am getting the following error,

------------------------------------------------------------
ram:/etc/cmcluster>cmquerycl -v -C cluster.asc -n ram -n shyam

Begin checking the nodes...
Looking for other clusters ... Done
Error: Unable to establish communication to node shyam
Failed to gather configuration information.
------------------------------------------------------------

The syslog.log output of the node "ram" is,
------------------------------------------------------------
Oct 29 14:14:59 ram cmclconfd[5094]: Unable to stat /etc/cmcluster/cmclconfig, N
o such file or directory
------------------------------------------------------------

Though I have not configured any cluster earlier on this machine. And there is no
cmclconfig file under /etc/cmcluster directory. I tried after creating a empty cmclconfig
file then also the cmquerycl throws the same error.

What could be the problem?

Thanks
Karthik
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
11 REPLIES 11
melvyn burnard
Honored Contributor

Re: cmquerycl problem ...

so what does nslookup shyam come back with?
and then nslookup ?
likewise on shyam, do nslookup ram and nslookup

Also, what happens if you run the same cmquerycl command on node shyam
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
George Petrides_1
Honored Contributor

Re: cmquerycl problem ...

OK,
first, from 'ram' do rlogin to 'shyam' if it asks you for a password then enter it and after you login to 'shyam' do a who -u to check the name that 'ram' identifies the other server as. If it is only IP address, make sure you enter it in the hosts file correctly. Also, the .rhosts needs to be in the root home directory. If the home directory is /home/root and you create /.rhosts then it won't work. Do vi ~/.rhosts and then enter then info. Also, you need to have an /etc/cmcluster directory on both servers. When finished with 'shyam' do the same thing for the other server (rlogin).
George
John Palmer
Honored Contributor

Re: cmquerycl problem ...

Hi,

The problem is:
'Error: Unable to establish communication to node shyam

Is shyam up and running?
Is it on the same subnet as ram?
Are you able to rlogin to each server from the other without being prompted for a password?

Regards,
John
Elif Gius
Valued Contributor

Re: cmquerycl problem ...

+Look for the .rhosts or cmclnodelist permissions

+Check the inetd.conf - maybe hacl-cfg is missing.

+nslookup problems - /etc/hosts should not start with the FQDN but with the short name then followed by the FQDN

Karthik S S
Honored Contributor

Re: cmquerycl problem ...

Hi all,

1. When I do a nslookup on both the nodes to the other it returns the corresponding IP.

2. I am able to do a rlogin to without being asked for the password (on both the nodes). When I do " who -u " after doing a rlogin it returns the correct hostname .rhosts is under root's home directory that is "/" on both the nodes.

3. I have tried running cmquerycl on the other node shyam but the results are the same !!

4. Both the nodes are on the same subnet and the heartbeat is configured using loopback cable on a different subnet.

I am really surprised what could be the problem ...

Thanks
Karthik
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Elif Gius
Valued Contributor

Re: cmquerycl problem ...

check for the file permissions .. they should be 444 ...
check if inted works correctly - check entries in inetd.conf
melvyn burnard
Honored Contributor

Re: cmquerycl problem ...

ok, one thing to test is to run a cmquerycl on each node, and just include that node, i.e. test the node itself.

Another question, do you have a router or any network device within the configuration that may be stopping UDP broadcasts?
Also, check the config for each of the lan cards, doo they have the same broadcast address?

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Marc Dijkstra
Trusted Contributor

Re: cmquerycl problem ...

Karthik,

Seems like a really silly question, but is MCSG installed on the other node??? I would assume it is otherwise the vgimport -s would not work...

The "Not found" error is wierd, as a cmclconfig will only be created on a cmapplyconf....

See if you can start the cluster daemon on shyam

/sbin/init.d/cmcluster start

MND
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila"
Karthik S S
Honored Contributor

Re: cmquerycl problem ...

Hi,

The problem is solved J
I just leant that one of my colleague has converted the node ???shyam??? as nisplus client. And in the nsswitch.conf he configured the hosts lookup as DNS. So we never doubted the configuration. Thanks for all your help.

Regards
Karthik
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
George Petrides_1
Honored Contributor

Re: cmquerycl problem ...

Karthik, it would be nice if you assigned points to all the answers...
George
Karthik S S
Honored Contributor

Re: cmquerycl problem ...

Hi George,

Sorry for the dealy. I was supposed 2 assign the points ... but just went out for a coffee ... ( in a relief that I could successfully configure the Cluster :-)

Anyways I will not assign any points to your last posting :-)

Thanks and regards,
Karthik
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn