Operating System - HP-UX
1823131 Members
3452 Online
109646 Solutions
New Discussion юеВ

Re: MC/Service Guard cmquerycl

 
Cliff Lim Kok Hwee
Regular Advisor

MC/Service Guard cmquerycl

Gd Day Forum,

Currently, I have to setup a MC/Service Guard pair (Primary nodeA Secondary nodeB) running HP-UX 11.00 on Service Guard 11.14

I am trying to generate the /etc/cmcluster/cluster.conf on the primary node A using the command

cmquerycl -w full -v -C /etc/cmcluster/cluster.conf -n nodeA -n nodeB

I had also added the hostname to /root/home/root/.rhosts on both servers

Query: I am getting the following errors upon running the cmquerycl command.

Begin checking the nodes...
Error: Permission denied to 127.0.0.1
Error: Permission denied to 16.173.22.38
Looking for other clusters ... Done
Error: Unable to establish communication to node nodeA
Failed to gather configuration information.

#nslookup 16.173.22.38
node2

Can anyone help advise?

Thanks/cliff
8 REPLIES 8
KapilRaj
Honored Contributor

Re: MC/Service Guard cmquerycl

root's home should be "/" isn't it ?

Kaps
Nothing is impossible
Ralph Grothe
Honored Contributor

Re: MC/Service Guard cmquerycl

I think your cluster nodes first need to become host based authentifiable (ooh, does such a adjective exist in English?)
Usually this is done by enabling passwordless rlogings through .rhosts.
Although I think that newer MC/SG releases also support passwordless SSH logins.
Madness, thy name is system administration
Nguyen Anh Tien
Honored Contributor

Re: MC/Service Guard cmquerycl

Hi Cliff
take following step
1. check .rhosts. If you use posfix shell it locate adn /.rhost ( you use /root/home/root/.rhosts, it look to be invalid.)
#vi /.rhost
nodeA root
nodeB root
2. Check /etc/hosts file
#vi /etc/hosts
16.173.22.38 nodeA
16.173.22.39 nodeB
3. Quyery again
#cmquerycl -v -C /etc/cmcluster/cluster.conf -n nodeA -n nodeB


IF ERROR STILL HAPPEND. PLS POST THE MESSAGE.
TIENNA

HP is simple

Re: MC/Service Guard cmquerycl

Why are you bothering with .rhosts files?

Serviceguard will use its own authentication anyway - create a file called /etc/cmcluster/cmclnodelist on both nodes an make sure the entries are as follows:

nodeA root
nodeB root

That should resolve any authentication problems...


HTH

Duncan

I am an HPE Employee
Accept or Kudo
Shantaram Sahyadri
Frequent Advisor

Re: MC/Service Guard cmquerycl

Hi,

create a file called cmclnodelist in each node in the path

/etc/cmcluster/

the contents of the file must look like

# cat /etc/cmcluster/cmclnodelist

serverA root
serverB root

also check /etc/inetd.conf file for lines containing hacl
all line related to hacl must be enabled
also ensure both the nodes are listed in /etc/hosts file of both systems.
this must solve the problem.
regards
Shantaram
If you dont change, you will be extinct
Geoff Wild
Honored Contributor

Re: MC/Service Guard cmquerycl

Do the cmnodelist - as well as make sure 127.0.0.1 is in /etc/hosts as well as both nodes.

See "Managing MC/ServiceGuard" for detailed steps:

http://docs.hp.com/en/B3936-90065/index.html

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Gordon  Morrison
Trusted Contributor

Re: MC/Service Guard cmquerycl

Cliff,
2 lines really stand out in your original question, though no-one seems to have commented on it:

cmquerycl -w full -v -C /etc/cmcluster/cluster.conf -n nodeA -n nodeB


#nslookup 16.173.22.38
node2

Shouldn't "node2" be "nodeB"?
Likewise, is nodeA defined as "node1" in some places? Discrepancies between DNS & /etc/hosts & .rhosts can cause all kinds of funny problems.
What does this button do?
baiju_3
Esteemed Contributor

Re: MC/Service Guard cmquerycl

Hi Cliff,

Ff remsh is not woking , you have to fix it first.

Check remsh nodeA from nodeB . If this does not work then update your .rhosts with correct nodename.

Also try by creating "/etc/cmcluster/cmclnodelist" file with entry "+" in it . This should work.

If possible upload your cluster config file in Forum.

Thanks,
bl.



Good things Just Got better (Plz,not stolen from advertisement -:) )