Operating System - HP-UX
1833760 Members
2144 Online
110063 Solutions
New Discussion

cluster commands not working in cluster node

 
Sreer
Valued Contributor

cluster commands not working in cluster node

Hi Gurus,

After creating a new /etc/resolv.conf file in my clusternode, the cluster commands are not working!!

Iam getting the following errors:

server1:/#cmviewcl
Permission denied to 127.0.0.1
cmviewcl: Cannot view the cluster configuration: No such file or directory.
Either this node is not configured in a cluster, user doesn't have
access to view the cluster configuration, or there is some obstacle
to viewing the configuration. Check the syslog file for more information.
For a list of possible causes, see the Serviceguard manual for cmviewcl.
server1:/#

After this I created the /etc/nsswitch.conf file and put DNS before files..still issue persists!!

From the error logs it tells:

server1:/#tail -f /var/adm/syslog/syslog.log
Apr 13 07:59:51 server1cmclconfd[13466]: Unable to resolve local hostname server1to determine the domain name
Apr 13 07:59:52 server1cmclconfd[13467]: Unable to resolve local hostname server1to determine the domain name
.

Do you have any info about this issue?

thanks in advance.
Regds
Sree

4 REPLIES 4
Benoy Daniel
Trusted Contributor

Re: cluster commands not working in cluster node

Did you put both the server entry in /etc/hosts file?
SoorajCleris
Honored Contributor

Re: cluster commands not working in cluster node

Hi,

The server is not resolving the hostnames.

What is nslookup says?

check nsswitch.conf and /etc/hosts

Try to resolve all the cluster nodes from the server.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Bill Hassell
Honored Contributor

Re: cluster commands not working in cluster node

It is critically important that your local node be able to resolve (look up) it's own name and IP address. The resolv.conf file gives this authority to another computer (the DNS servers) which is generally a detriment to reliable operation. Always use files then DNS and of course, /etc/hosts MUST contain the local server's IP, hostname and aliases.

Did you change the name or domain for this server? If so, you'll need to update your cluster config files too.


Bill Hassell, sysadmin
singh sanjeev
Trusted Contributor

Re: cluster commands not working in cluster node

AS all suggested above please check that ur hostname /package aliases are getting resolve properly on the system.

your achieve via edditing /etc/hosts
Sanjeev Singh