1834518 Members
1912 Online
110068 Solutions
New Discussion

Service guard

 
SOLVED
Go to solution
samuel  fatoye
Occasional Contributor

Service guard

Starting to create my first cluster config but
get error with the cmclquery command persmission denied

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

How can i correct the error to the loopback address.

Thank you
You grow old when you stop doing things
8 REPLIES 8
Jeff Schussele
Honored Contributor

Re: Service guard

Hi Samuel,

Several things to check...

1) Make sure you can resolve the short hostnames of all cluster members. Having all members in /etc/hosts as well DNS is recommended.

2) Check your /etc/hosts file for proper entries - like
127.0.0.1 localhost loopback
111.222.111.222 hostname1 hostname.company.com
111.222.111.223 hostname2.company.com

etc......

3) MC/SG also needs either a .rhosts or cmclnodelist file of the form
hostname1 root
hostname2 root

etc...

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor
Solution

Re: Service guard

Sorry, that second host entry in /etc/hosts should look like

111.222.111.223 hostname2 hostname2.company.com

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Sridhar Bhaskarla
Honored Contributor

Re: Service guard

Hi Samuel,

As indicated by Jeff, you will need to have either .rhosts or cmclnodelist that includes the localhost.

#cd ~/root
#cat .rhosts
host1 root
host2 root

or

#cd /etc/cmcluster
#cat cmclnodelist

host1 root
host2 root

For security reasons, maintaining cmclnodelist is preferred.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
samuel  fatoye
Occasional Contributor

Re: Service guard

Dear Gurus,

Thank you for the suggestions. I have the necceary enteries on /etc/hosts file and ./rhosts . I can perform rlogin without passowrd from nodeA and nodeB.
I don't have the cmclnodelist file but created one as suggested. But the error still occurs .I think there must some other simply reason. Knowing well I am new to this I open to your suggestion.

Many thanks

- on the path to learning about service guard.

Samuel
You grow old when you stop doing things
Rita C Workman
Honored Contributor

Re: Service guard

Samual,

In your .rhosts file do you have ALL the hosts/nodes involved listed. Now that means on NodeA you must also have NodeA listed in your .rhosts file..same for others.
You must have ALL nodes listed in every .rhost file.

You need to only do the .rhosts -OR- the cmclnodelist...NOT BOTH.

Just a thought,
Rita
Michael Steele_2
Honored Contributor

Re: Service guard

What Jeff, Rita and the others have suggested should be followed. Failing this, reboot both of your servers since something may be locked up. If this fails rerun your set_parms command and check your LAN settings.

set_parms initial

...and verify and remake your LAN configuration files.

This problem appears to be confined to LAN 0 and not your 2ndary LANS.
Support Fatherhood - Stop Family Law
Sridhar Bhaskarla
Honored Contributor

Re: Service guard

Hi,

As I indicated before, you would need either .rhosts or cmclnodelist and the later takes precedence if both exist.

Since you are still getting the permission denied error, you may want to look at your syslog.log to see if there are any more errors.

One another place I would check is /var/adm/inetd.sec. Make sure you are not disallowing hacl-cfg. Look in /etc/inetd.conf for these entries as well.

If you enable connection logging of inetd using "inetd -l" option, you will get more details.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Michael Burbury
Frequent Advisor

Re: Service guard

Hi,

Check inetd.conf on each node for:

hacl-probe stream tcp nowait root /opt/cmom/lbin/cmomd cmomd -f /var/opt/
cmom/cmomd.log
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd -p
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd -c

When I installed the A11.13 MC Service Guard on one of my nodes, the "configure" scripts didn't appear to have run from the depot install.