Operating System - HP-UX
1827574 Members
2660 Online
109965 Solutions
New Discussion

Re: SG and NIS configuration

 
Andrea Carpani
Occasional Contributor

SG and NIS configuration

I'm trying to use NIS for passwd, group and hosts on a cluster with two nodes. The nis server is on a separate linux box. The clustering software works perfectly if I boot without NIS enabled.
If I use the NIS_CLIENT=1 option in /etc/rc.config.d/namesvrs and reboot nis will work fine, but a cmviewcl shows:cmviewcl : Cannot view the cluster configuration. Either this node is not configured in a cluster, or else 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.

Any hint?
Thanks, Andrea
7 REPLIES 7
PIYUSH D. PATEL
Honored Contributor

Re: SG and NIS configuration

Andrea Carpani
Occasional Contributor

Re: SG and NIS configuration

The problem comes with NIS not NFS.

Thanks anyway.
Andrea
Helen French
Honored Contributor

Re: SG and NIS configuration

Just a note:

I 've not worked on this type of setup, but for simplicity MC/SG suggests /etc/hosts file for name resolution instead of using NIS or DNS.

If you are using NIS/NIS+ in a cluster environment, it is strongly recommended that you use /etc/cmcluster/cmclnodelist file for validating inter-node access within the cluster instead of /.rhosts file. Check the setup documents for details (docs.hp.com).
Life is a promise, fulfill it!
PIYUSH D. PATEL
Honored Contributor

Re: SG and NIS configuration

Hi,

What Shiju told is right. In the MCSG manuals also nothing more is mentioned about its configuration with NIS servers.

It is recommended to use the /etc/hosts and /etc/cmnodelist files.

I dont know if anybody else has any ideas ??

Piyush
Giri Sekar.
Trusted Contributor

Re: SG and NIS configuration

Hi:

What is the message in the syslog? Please post that

Giri Sekar.
"USL" Unix as Second Language
Andrea Carpani
Occasional Contributor

Re: SG and NIS configuration

This is what comes in syslog after the init of inetd. I can't see anything really intresting.

May 29 19:27:30 dolcetto inetd[581]: rpc.100083/tcp: Added service, server /usr/dt/bin/rpc.ttdbserver
May 29 19:27:30 dolcetto inetd[581]: protocol = tcp
May 29 19:27:30 dolcetto above message repeats 21 times
May 29 19:27:30 dolcetto inetd[581]: Configuration complete
May 29 19:27:44 dolcetto pwgrd: Started at Wed May 29 19:27:44 2002, pid = 946
May 29 19:27:45 dolcetto diagmond[984]: started
May 29 19:27:46 dolcetto /usr/sbin/envd[990]: restart, and read the configuration file
May 29 19:27:49 dolcetto CM-CMD[1088]: /usr/sbin/cmrunnode -v


That's all.

Giri Sekar.
Trusted Contributor

Re: SG and NIS configuration

Hi:

Check the permissions on

/etc/services

/etc/inetd.conf

if you make any changes to inetd.conf restart inetd again.

Thanks
Giri Sekar.
"USL" Unix as Second Language