Operating System - HP-UX
1848533 Members
3376 Online
104033 Solutions
New Discussion

Re: sg cluster of 2 HP Integrity VM's

 
SOLVED
Go to solution
joseph pareti
Frequent Advisor

sg cluster of 2 HP Integrity VM's

I keep getting an "access denied" error when trying to reach the quorum server (version a.03.00.00 (3)

sg 11.18

i have 2 cluster nodes and 1 quorum server:
#asosw078.deu.hp.com 16.58.249.143 (node)
#asosw111.deu.hp.com 16.58.249.176 (node)
#tcosw020.deu.hp.com 16.58.249.234 (qs)

# cmcheckconf -C $SGCONF/J_M_cluster.config -v
...
Unable to probe cluster configuration. Unable to connect to quorum server at tcosw020 from node asosw078: Permission denied.
Check the syslog file for more information.
Unable to probe cluster configuration. Unable to connect to quorum server at tcosw020 from node asosw111: Permission denied.


#tail /var/adm/syslog/syslog.log
...
Dec 18 13:18:02 asosw111 cmclconfd[6804]: Version reply error from quorum server at 16.58.249.234: access_denied.
Dec 18 13:18:02 asosw111 cmclconfd[6804]: Unable to probe quorum server 16.58.249.234. Permission denied.


I have set up .rhosts on all nodes and on the qs, so that remsh works in any direction. I have also distributed the ssh keys so that root can login from any of the 3 hosts to any other host w/o password prompt.

I am also including the cluster config file
11 REPLIES 11
melvyn burnard
Honored Contributor
Solution

Re: sg cluster of 2 HP Integrity VM's

have you set up the Quorum Server with it's authorization file?
It has to have this, it does NOT need .rhosts to work
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
joseph pareti
Frequent Advisor

Re: sg cluster of 2 HP Integrity VM's

yes I did
#cat /etc/cmcluster/qs_authfile
heartbeat1.abc.de.efg
tcosw017.deu.hp.com
heartbeat2.abc.de.efg
tcosw018.deu.hp.com
asosw111
asosw078

I am not sure if there is a version skew, the qs is on hp-ux v3, the 2 cluster nodes are on hp-ux v2.
melvyn burnard
Honored Contributor

Re: sg cluster of 2 HP Integrity VM's

and what does the qs log say?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Torsten.
Acclaimed Contributor

Re: sg cluster of 2 HP Integrity VM's

For Compatibility see the "Quorum Server Compatibility Matrix"

http://docs.hp.com/en/6202/QSSupportMatrix.pdf


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!   
joseph pareti
Frequent Advisor

Re: sg cluster of 2 HP Integrity VM's

# tail /var/adm/qs/qs.log
---

Dec 18 13:09:54:0:Access denied to host: 16.58.249.143
Dec 18 13:09:54:0:Access denied to host: 16.58.249.176
Dec 18 14:00:15:0:Access denied to host: 16.58.249.143
Dec 18 14:00:15:0:Access denied to host: 16.58.249.176
Dec 18 14:20:17:0:Request for lock /sg/cluster1 succeeded. New lock owners: tcosw017,tcosw018
root@tcosw020:/root>
melvyn burnard
Honored Contributor

Re: sg cluster of 2 HP Integrity VM's

well that tells me that the QS is working correctly, and that it is unable to rexolve the two hostnames you have added in.
when you added them in to the qs_auth file, did you restart the QS?
and can the QS server correctly reslove those hostnames to ip addresses abnd vice versa?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
joseph pareti
Frequent Advisor

Re: sg cluster of 2 HP Integrity VM's

>did you restart the qs

no, i didn't; how can I do it? there is an entry in /etc/inittab that restarts it if it dies, but i see no "qs" process on the system

root@tcosw020:/root> grep qs /etc/inittab
qs:345:respawn:/usr/lbin/qs >> /var/adm/qs/qs.log 2>&1
root@tcosw020:/root>
melvyn burnard
Honored Contributor

Re: sg cluster of 2 HP Integrity VM's

Well asuming you are in runst a 3,4 or 5, it should be running, and your log file indicates it is:
Dec 18 14:20:17:0:Request for lock /sg/cluster1 succeeded. New lock owners: tcosw017,tcosw018


Do ps -ef |grep qs to check this.
To restart it, either kill the resultant PID from the previous step, or try doing init q

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
joseph pareti
Frequent Advisor

Re: sg cluster of 2 HP Integrity VM's

indeed, killing the processes "qc" has solved the problem, the server is respawned and apparently has read the modified config file. Thanks to all of you.
melvyn burnard
Honored Contributor

Re: sg cluster of 2 HP Integrity VM's

glad you sorted it out.
If yoyu are happy that all is fixed, please close this thread by clicking teh Close Thread button
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
joseph pareti
Frequent Advisor

Re: sg cluster of 2 HP Integrity VM's

Many thanks to everyone.