Operating System - HP-UX
1838665 Members
5937 Online
110128 Solutions
New Discussion

Re: Can't configure node: hacl-cfg service not working?

 
SOLVED
Go to solution
Andreas D. Skjervold
Honored Contributor

Can't configure node: hacl-cfg service not working?

Hi

I've been trying to configure a node into a cluster but keeps getting:
# cmquerycl -v -C cluster1.config -n pompel -n marvin -q pilt

Begin checking the nodes...
Looking for other clusters ... Done
Error: Unable to establish communication to node pompel
Failed to gather configuration information.
---

I have checked that all SG files / configurations are in place:
-/etc/cmcluster/cmclnodelist
-/etc/inetd.conf and services
-/etc/nsswitch.conf , hosts

Now I'm testing the hacl-cfg connection and its not working:
# telnet localhost hacl-cfg
Trying...
telnet: Unable to connect to remote host: Connection refused

On my working nodes this connects and hangs (expected behavior)

What is wrong with my inetd configuration?

# grep hacl /etc/inetd.conf
hacl-probe stream tcp nowait root /opt/cmom/lbin/cmomd /opt/cmom/lbin/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

# grep hacl /etc/services
hacl-hb 5300/tcp # High Availability (HA) Cluster heartbeat
hacl-gs 5301/tcp # HA Cluster General Services
hacl-cfg 5302/tcp # HA Cluster TCP configuration
hacl-cfg 5302/udp # HA Cluster UDP configuration
hacl-probe 5303/tcp # HA Cluster TCP probe
hacl-probe 5303/udp # HA Cluster UDP probe
hacl-local 5304/tcp # HA Cluster Commands
hacl-test 5305/tcp # HA Cluster Test
hacl-dlm 5408/tcp # HA Cluster distributed lock manager

rgds
Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
5 REPLIES 5
Andreas D. Skjervold
Honored Contributor

Re: Can't configure node: hacl-cfg service not working?

netstat -a | grep hacl | grep LISTEN
on the faulty node gives no result !

On my working nodes:
tcp 0 0 *.hacl-probe *.* LISTEN
tcp 0 0 *.hacl-cfg *.* LISTEN

Have checked inetd.conf and restarted inetd.
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
bhavin asokan
Honored Contributor

Re: Can't configure node: hacl-cfg service not working?

bhavin asokan
Honored Contributor
Solution

Re: Can't configure node: hacl-cfg service not working?

hi,

if you are using NIS client see the following link.

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

specially authors remark at the end.

regds,
Andreas D. Skjervold
Honored Contributor

Re: Can't configure node: hacl-cfg service not working?

Solved !

Having been thru the inetd.conf and nsswitch setup several times, and each time restarting inetd with inetd -c without result I finaly killed the inetd and restarted it from /sbin/init.d/inetd and then the hacl-cfg LISTEN processes showed up.

Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
Andreas D. Skjervold
Honored Contributor

Re: Can't configure node: hacl-cfg service not working?

As stated in above post
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!