Operating System - HP-UX
1833172 Members
3745 Online
110051 Solutions
New Discussion

Can't create new cluster !

 
Bruno Bossier_1
Regular Advisor

Can't create new cluster !

#cmquerycl -n oraqty1a -n oraqty1b -C /etc/cmcluster/oracluqty1.config -v

Begin checking the nodes...
Looking for other clusters ... Done
Error: Node oraqty1a is refusing Serviceguard communication.
Please make sure that the proper security access is configured on node
oraqty1a through either file-based access (pre-A.11.16 version) or role-based
access (version A.11.16 or higher) and/or that the host name lookup
on node oraqty1a resolves the IP address correctly.
Failed to gather configuration information.

oraqty1a:/#ps -ef|grep cm
root 1278 1 0 09:43:31 ? 0:00 /usr/lbin/cmsnmpd
root 7478 3342 0 12:24:31 pts/ta 0:00 grep cm

It must be something stupid, but I can't find why.

Bruno
25 REPLIES 25
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

And when I run /sbin/init.d/cmcluster start, then I see this in syslog.log :

CM-CMD[7356]: Request from bin on node oraqty1a to start the cluster on this node failed: not authorized.

Security issue ?

Sunil Sharma_1
Honored Contributor

Re: Can't create new cluster !

Hi,


You have to either use .rhosts or cmclnodlist file to give access.


Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Shaikh Imran
Honored Contributor

Re: Can't create new cluster !

hi,

Have Tried this :
#cmquerycl -w local -n oraqty1a -n oraqty1b -C /etc/cmcluster/oracluqty1.config -v

Also have confirmed that your user,group,cmclnodelist(or hosts) etc..,
configurations are proper

Regards,


I'll sleep when i am dead.
Sunil Sharma_1
Honored Contributor

Re: Can't create new cluster !

Please see this thread for more information

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=684239

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
melvyn burnard
Honored Contributor

Re: Can't create new cluster !

Which version of Serviceguard are you using?
Have you set up hte .rhosts or cmclnodelist files on ALL nodes, and included ALL nodes in the cluster?

Also check that nslookup oraqty1a comes back with the correct ip address, and vice versa
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

Created /etc/cmcluster/cmclnodelist with just a + in it, but still does not work. Also created a .rhosts file on both nodes, but still does not work.

This is weird, because I used to create a cluster at another site just using .rhosts.
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

oraqty1a:/#nslookup oraqty1a
Using /etc/hosts on: oraqty1a

looking up FILES
Name: oraqty1a.central.fluxys.int
Address: 172.22.5.42
Aliases: oraqty1a

Changed /etc/hosts so that oraqty1a is before oraqty1a.central.fluxys.int, but problem persists.
Shaikh Imran
Honored Contributor

Re: Can't create new cluster !

hi

Have you tried with -w local option as mentioned above ?

Regards,
I'll sleep when i am dead.
bhavin asokan
Honored Contributor

Re: Can't create new cluster !

hi

the procedure for clustering is attached .
pls see something is missed.

Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

Yes, but same problem ...
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

Always the same problem ....

Just to be sure : should there any Serviceguard daemons being running ? When I execute /sbin/init.d/cmcluster start, it gives me the following error in syslog.log :

CM-CMD[8039]: Request from root on node oraqty1a to start the cluster on this node failed: not authorized.

And what should the permission be on /etc/cmcluster ?

oraqty1a:/etc/cmcluster#ls -ld /etc/cmcluster
dr-xr-xr-x 4 bin bin 96 Sep 17 13:00 /etc/cmcluster

bhavin asokan
Honored Contributor

Re: Can't create new cluster !

hi,

i think you havn't created the /etc/hosts.equiv file with both host names in it.

regds,

Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

No change, still the same problem ....
bhavin asokan
Honored Contributor

Re: Can't create new cluster !

hi,

about daemons


â ¢ /usr/lbin/cmclconfdâ Serviceguard Configuration Daemon
â ¢ /usr/lbin/cmcldâ Serviceguard Cluster Daemon
â ¢ /usr/lbin/cmlogdâ Serviceguard Syslog Log Daemon
â ¢ /usr/lbin/cmlvmdâ Cluster Logical Volume Manager Daemon
â ¢ /opt/cmom/lbin/cmomdâ Cluster Object Manager Daemon
â ¢ /usr/lbin/cmsnmpdâ Cluster SNMP subagent (optionally running)
â ¢ /usr/lbin/cmsrvassistdâ Serviceguard Service Assistant Daemon
â ¢ /usr/lbin/cmtapedâ Serviceguard Shared Tape Daemon
â ¢ /usr/lbin/qsâ Serviceguard Quorum Server Daemon

cmsnmpd
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

OK, but should any of these daemons be running before I can start creating a new cluster by executing the cmquerycl command to create an ASCII file ...

bhavin asokan
Honored Contributor

Re: Can't create new cluster !

hi

sorry i think the above is not displaying properly.first check the serviceguard daemon is installed properly.some of major daemons for cluster is attached.

#swlist ServiceGuard

use cmquerycl -v to show th existing clusters.

regds,
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

Serviceguard is installed, but no clusters created yet as I'm trying to create one.

Bruno
bhavin asokan
Honored Contributor

Re: Can't create new cluster !

kill the cmsnmpd daemon and apply the command again

regds,
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

Already did that. No cm daemons running, but problem still there.
Sunil Sharma_1
Honored Contributor

Re: Can't create new cluster !

What is your OS and MCSG version?

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

HP-UX 11.11
MCSG 11.16
Shaikh Imran
Honored Contributor

Re: Can't create new cluster !

Hi bruno,
very sorry still you are in problem but,
have you read this release notes.


http://www.docs.hp.com/hpux/onlinedocs/B3935-90075/B3935-90075.html

It says something about ACL's instead of cmclnodelist &
also talks about some ports
If you have not already read this i will
advise you read it as it will not take much time.


Regards,



I'll sleep when i am dead.
Geoff Wild
Honored Contributor

Re: Can't create new cluster !

Did you follow the steps in "Managing Serviceguard Version A.11.16, Eleventh Edition, June 2004 ":

http://docs.hp.com/hpux/pdf/B3936-90079.pdf

In particular, "Preparing Your Systems".

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.
Bruno Bossier_1
Regular Advisor

Re: Can't create new cluster !

Yes, I followed the instructions according to the books.