1753812 Members
7790 Online
108805 Solutions
New Discussion юеВ

Nis binding

 
SOLVED
Go to solution
amar_12
Occasional Advisor

Nis binding

I have Sun servers as NIS master and slave( Ver 5.8) and I also have HP UX C8000 workstations
running 11.11. These HPUX boxes are not binding to primary master NIS server. They bind to NIS slave
by default if I shutdown slave it will bind to NIS master.

Anybody can help in this ?

Regards

Amar
3 REPLIES 3
Sudeesh
Respected Contributor

Re: Nis binding

Amar ypbind finds out the server running ypserv through network broadcast. Probably all HP machines are getting response from your slave server first. This may have some relations to your nework design and where these HP machines are located.

Sudeesh
The most predictable thing in life is its unpredictability
Warren_9
Honored Contributor
Solution

Re: Nis binding

hi,

agree with Sudeesh... should be some network problem.

set the primary server address in /etc/rc.config.d/namesvrs

YPBIND_OPTIONS="-ypset"
YPSET_ADDR="[primary server]"

GOOD LUCK!!
amar_12
Occasional Advisor

Re: Nis binding

Thanks for support
I myself found answer for that.
in /etc/rc.config.d/namesvrs I did the following changes
YP_BIND OPTIONS = " -ypset"
YP_BIND_ADDR="master server IP"

then the problem is solved

Thankx