1838240 Members
3380 Online
110125 Solutions
New Discussion

Re: making cluster

 
khilari
Regular Advisor

making cluster

Hi people, i made the shared volume and now that i am using cmquerycl i am getting the following errors.
# cmquerycl -v -C /etc/cmcluster/clus1.config -n newFIN -n newPC_LA

Begin checking the nodes...
Error: Permission denied to 127.0.0.1
Warning: Unable to determine local domain name for newFIN
Looking for other clusters ... Done
Error: Node newFIN is refusing Serviceguard communication.
Please make sure that the proper security access is configured on node
newFIN 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 newFIN resolves the IP address correctly.
Failed to gather configuration information.
3 REPLIES 3
Stephen Doud
Honored Contributor

Re: making cluster

Create a /etc/cmcluster/cmclconfig file on EVERY node and load it thus:
root
root
... etc.

Then make certain that the "hosts" line in /etc/nsswitch.conf is configured this way:

hosts: files dns

Then edit /etc/hosts on each node, listing EVERY IP that is fixed to any NIC on any node in the cluster.

Verify that 'hostname' produces the simple hostname and NOT the fully qualified domain name.
Doug O'Leary
Honored Contributor

Re: making cluster

Hey;

You have to ensure that both systems resolve the hostnames and ip addresses in exactly the same way. Normally, this is done through configuring /etc/resolv.conf to point to a valid dns server and to have /etc/nsswitch.conf point host name resolution to files first then dns. Once that's done, update both systems' /etc/hosts file with all IPs and names for each host.

man 4 nsswitch.con
man 4 resolv.conf

for more details.

You'll also need to set up a temporary root level trust relationship between each host *and* for itself. Ensure you can remsh to each node from each node.

After all that, rerun your cmquerycl; you'll probably have better luck. Once the cluster is up and running, you should be able to remove the root level trust relationship.

Finally, http://www.olearycomputers.com/ll/mcsg has some good information on serviceguard - clustser/package creation checklists, symptoms resolutions, etc.

Good luck.

Doug O'Leary

------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
Prashanth.D.S
Honored Contributor

Re: making cluster

Hi Khilari,

Pls check "ident" configuration this may not have been configured properly.

As of now it might be updated as:

/etc/services: ident 113/tcp auth tap # RFC 1413
/etc/inetd.conf: auth stream tcp wait bin /usr/lbin/identd identd -w -t120

Try changing files to:

/etc/services: ident 113/tcp auth tap # RFC 1413
/etc/inetd.conf: ident stream tcp wait bin /usr/lbin/identd identd


Check "inetd -c" cmquerycl should be successful now.

Prashanth