Solaris Troubleshooting NIS : Adding a NIS slave server to existing NIS master’s maps

To add a slave server to an existing NIS domain do the following:

1. become root on master

2. cd /var/yp/`domainname`

3. /usr/etc/yp/makedbm -u ypservers > /tmp/tempfile

4. vi /tmp/tempfile
Add the new slave servers name on a new line twice in a row on the same line, i.e., slave1 slave1.

5. /usr/etc/yp/makedbm /tmp/tempfile  ypservers

6. Go to slave and run ypinit -s.

Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

You may also like...

1 Response

  1. September 16, 2015

    […] Read – Adding a NIS slave server to existing NIS master’s maps […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us