Home > Articles > Networking

Solaris Naming Services Architecture

Close Window

Tom BialaskiMichael Haines

Learn more…

Sorry, this author hasn't written any articles.

Sorry, this author doesn't have anything for sale.

Sorry, this author hasn't posted any blogs.

NIS High Availability Architecture Features

The main high availability feature of NIS is master-slave data replication. All updates are performed on the master, then propagated to the slaves. If one of the NIS servers fails, an NIS client can bind to another one. However, if the master NIS fails, no updates can occur until it comes back online or another NIS master is created. This may seem like a severe restriction, but in practice the information stored in NIS maps is relatively static, so a few hours of downtime is usually acceptable.

How the NIS client handles the failover from one NIS server to another is determined by the method it uses to bind to its NIS server. FIGURE 2-4 and FIGURE 2-5 illustrate how NIS client failover is handled with both the Broadcast and Specified Server methods.

FIGURE 2-4 NIS Client Failover with the Broadcast Method

FIGURE 2-5 NIS Client Failover with the Specified Server Method

In the Broadcast method, the NIS client sends out a broadcast to locate an NIS server in the domain of which it is a member. The client then binds to the first server that responds to the broadcast. If the NIS server to which the NIS client binds to fails, then the next time an NIS look up is performed, the operation will time out and the client will issue another ypbind broadcast.

In the Specified Server method, the NIS client maintains a list of potential NIS servers. When the client boots, it attempts to bind to the first server in the list. If that server is unavailable, then the client attempts to bind to the next server in the list and so on. The downside of this method is that the time-out period can be lengthy, which gives the impression that the service is down.

A form of load balancing can be achieved with the Broadcast method since the least busy NIS server will respond to the clients ypbind request. The disadvantage is that multiple NIS servers must reside on each subnet.

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Jennifer  BortelWin FREE iPhone Developer Books and Videos- Introducing @InformIT Giveaways
By Jennifer Bortel on February 5, 2010 No Comments

Apples’s recent iPad announcement made our hearts flutter so we couldn’t resist making an announcement of our own!

Today marks the first ever @InformIT Giveaway!

We’ll regularly post a video like this one profiling spectacular prizes we’re giving away—from books and videos to T-shirts and other exciting stuff. Check out the video below to see the giveaways for today, and then scroll down for more prize details and instructions on how to win them!

So Far So Good
By John Traenkenschuh on February 2, 2010 No Comments

So far, Win 7 is making a thoroughbred of what has been a plough mule laptop

Dustin Sullivan"Every OSX developer should have this book on their desk."
By Dustin Sullivan on February 1, 2010 No Comments

That was the sentence Mike Riley ended his recent Dr Dobb's CodeTalk review of Cocoa Programming Developer's Handbook with.

See All Related Blogs

Informit Network