1834512 Members
2141 Online
110068 Solutions
New Discussion

NIS server migration!

 
SOLVED
Go to solution
Tomas Carlos_1
New Member

NIS server migration!

Hi everybody!!

In our site, we were using an HP9000
as NIS master server (serverA); HP/UX 11 is running there.

Last saturday we migrated the NIS services
to a Sun Netra 1125 (serverB)and everything
looked fine; the HP9000 is now an NIS SLAVE.

I ran a shell script to detect how many clients
were bound to the MASTER and how many to the SLAVES and this is what I got:

MASTER (Sun Netra serverB): 19 Clients bound.
SLAVE (HP9K serverA): 180 Clients bound.
SLAVE (HP9K serverC): 2 clients bound.
SLAVE (HP9K serverD): 3 clients bound.

As you can see, the current NIS server just
has 19 clients, while the slave (before it was the master) has 180 clients...

I would want to know why is that behaviour!!
I suppossed the new MASTER should has more bound clients.

About the servers:
serverB - Netra 1125 - Solaris 8
serverA - HP9000 - HP/UX 11
serverC - HP9000 - HP/UX 11
serverD - HP9000 - HP/UX 11

The ypbind process is configured to be executed
by broadcast..

I??ll really appreciate any help and ideas!!!
3 REPLIES 3
S.K. Chan
Honored Contributor
Solution

Re: NIS server migration!

It simply means serverA responded to a bind request faster than any other servers in that subnet. There is nothing to be concern about because this is how NIS mechanism work (broadcast mode), unless you specifically tell the NIS clients to bind to a particular server, there's nothing much you can do about it. I suppose if you disable serverA's service and let the clients to find another server to respond to their request to bind, then enble serverA's service after a while, you'll see a better "load balance" if you call it that.
Tomas Carlos_1
New Member

Re: NIS server migration!

Thanks S.K. Chan!!

I agree with your point of view.
Do you know a web link to find further information regarding the ypbind -> ypserv processes...

The man pages in both, solaris and HP dont
give me what I expect.. Maybe what I need is
how the broadcast works...

Thanks!

S.K. Chan
Honored Contributor

Re: NIS server migration!