Operating System - HP-UX
1752794 Members
5936 Online
108789 Solutions
New Discussion юеВ

cmquerycl - Unable to determine local domain name

 
Taurian
Valued Contributor

cmquerycl - Unable to determine local domain name

Hi All,

I am deploying ServiceGuard on two nodes. I am following the McSGeSAP manual. I am stuck on the cmquerycl command. It returns the following error:

Warning: Unable to determine local domain name for ahlprddb
Looking for other clusters ... Done
Node ahlprddb is refusing Serviceguard communication.
Please make sure that the proper security access is configured on node
ahlprddb 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 ahlprddb resolves the IP address correctly.
Failed to gather configuration information.



OS is HP-UX B.11.23
ServiceGuard version is B.05.00


Learning from other posts I have already done the following for resolution, but to no avail:

1. Configured .rhosts and host.equiv files. Both nodes can now rlogin each other without passwords.
2. Installed patches PHNE_40955, PHSS_41622, PHSS_41682.

These steps, however, have not helped me. I am still stuck on the cmquerycl command.

Please HELP!!!!
8 REPLIES 8
Taurian
Valued Contributor

Re: cmquerycl - Unable to determine local domain name


Hi Guys,

Any idea on my issue?

I needed to add that I can nslookup successfully on both servers via hostname and IP.

Please help as soon as possible!
Manix
Honored Contributor

Re: cmquerycl - Unable to determine local domain name

Please add fully qualified host names FQDN in /etc/hosts as below

16.118.114.119 rx26-162.usa.hp.com rx26-162

check if /etc/cmclnodelist has entries for the
nodes.

Thanks

Manix
HP-UX been always lovable - Mani Kalra
Manix
Honored Contributor

Re: cmquerycl - Unable to determine local domain name

I mean try these steps ( to make it even clearer )


1. Hostanme entries in /etc/hosts

e.g.

IP1 hostaname1.domain.com hostaname1
IP2 hostaname2.domain.com hostaname2

2. touch /etc/cmcluster/cmclnodelist

and added hostname and root user there

e.g.

hostname1 root
hostname2 root

Thanks

Manix
3.
cmquerycl -C /etc/cmcluster/cluster-name.ascii -n hostname1 -n hostname 2
HP-UX been always lovable - Mani Kalra
Taurian
Valued Contributor

Re: cmquerycl - Unable to determine local domain name

Hi Manix,

Already tried both your suggessions but the problem still is the same.
Manix
Honored Contributor

Re: cmquerycl - Unable to determine local domain name

From one of the thread :-

Also check following:

/etc/services and /etc/inetd.conf

Serviceguard commands use network ports for commands that work on the local server or in conjunction with other servers in the cluster (or to be in the cluster). After Serviceguard is loaded, /etc/services should have 9 hacl lines:


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




/etc/inetd.conf should have 2:


hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd -p
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd -c


Serviceguard Manager uses this line in /etc/inetd.conf:

hacl-probe stream tcp nowait root /opt/cmom/lbin/cmomd cmomd -f /var/opt/cmom/cmomd.log




Insure these hacl ports are functioning:


# netstat -a | grep hacl
tcp 0 0 *.hacl-probe *.* LISTEN
tcp 0 0 *.hacl-cfg *.* LISTEN
udp 0 0 *.hacl-cfg *.*

run ..

#inetd -c
HP-UX been always lovable - Mani Kalra
Taurian
Valued Contributor

Re: cmquerycl - Unable to determine local domain name


Hi Manix,

Thanks for the reply.

I checked both files /etc/services and /etc/inetd.conf. Both contains the entries you've mentioned.

The netstat command outputs:

tcp 0 0 *.hacl-cfg *.* LISTEN
tcp 0 0 *.hacl-probe *.* LISTEN
udp 0 0 *.hacl-cfg *.*


Just a quick question if you don't mind.....I've installed Serviceguard SAP Extension for SAP on both the nodes. Is it necessary to install Serviceguard or is just the extension enough?
Taurian
Valued Contributor

Re: cmquerycl - Unable to determine local domain name


I've checked my system and Serviceguard version 11.18 is installed.

But the cmapplyconf command is giving me the error:

(check_versions): ERROR: Mismatched Serviceguard version "A.11.18.00" (via /usr/sbin/cmversion).
(check_versions): ERROR: You need at least A.11.19.



What could be the reason? The release notes for SGeSAP B.05.00 states compatibility with Serviceguard 11.18 and 11.19.
Taurian
Valued Contributor

Re: cmquerycl - Unable to determine local domain name

Hi,

I have moved the cmapplyconf question to a new thread: http://h30499.www3.hp.com/t5/Serviceguard/Implementing-ServiceGuard-extension-for-SAP/m-p/4737391#M19137


Please reply there if you can.

I finally issued the cmquerycl command for single node only and added the second node's info in the resulting file.

I hope this procedure is not wrong?