- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Migrating NIS server
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 11:25 PM
07-11-2006 11:25 PM
Migrating NIS server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2006 11:43 PM
07-11-2006 11:43 PM
Re: Migrating NIS server
I am sure this thread will be able to help you know, the links are still active, I just checked them.
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=999839
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 12:14 AM
07-12-2006 12:14 AM
Re: Migrating NIS server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 12:19 AM
07-12-2006 12:19 AM
Re: Migrating NIS server
Regards,
jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 01:33 AM
07-12-2006 01:33 AM
Re: Migrating NIS server
For this i was planning to make one client as new master ( this condition there wil be two master in same domain is this posibel).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 01:47 AM
07-12-2006 01:47 AM
Re: Migrating NIS server
Actually you have one master, that is going to be gone, that's ok becuase you have a slave that is going to take over.
You have two clients, one of them you are going to configure as a Master, that's ok, becuase when the master comes up, the Slave ( actual master ) is going to be back as the Slave.
So the correcto configuration is 1 master, 1 slave and one client, thinking also the master is also a client.
For more info take a look a this page
http://docs.hp.com/en/5991-1153/ch04s01.html
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 02:04 AM
07-12-2006 02:04 AM
Re: Migrating NIS server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 10:25 PM
07-12-2006 10:25 PM
Re: Migrating NIS server
The following instructions assume you have the old server and the new available at the same time. They also assume your NIS directory is called /var/yp/source (as mine is).
1. Transfer the contents of /var/yp/source on the old server to the same directory on the new.
2. Copy /var/yp/Makefile and /usr/sbin/ypinit from the old to the new.
3. vi /etc/rc.config.d/namesvrs on the new master. Set NIS_MASTER_SERVER=1. Set YPPASSWD_OPTIONS="/var/yp/source/passwd -m passwd PWFILE=/var/yp/source/passwd".
4. Edit the same file on the old server set NIS_MASTER_SERVER=0 and YPPASSWD_OPTIONS="/var/yp/source/fakefile -m passwd PWFILE=/var/yp/source/fakefile".
5. Run ypinit -m on the new server.
6. Run /sbin/init.d/nis.server start on the new server.
7. Run /sbin/init.d/nis.server stop on the old server.
8. Log into a random selection of clients and type ypwhich. They should be bound to the new master. As an additional check, try ypwhich -m which should show all the maps as belonging to the new server.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 10:28 PM
07-12-2006 10:28 PM
Re: Migrating NIS server
check this thread.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1038099
Regards,
Robert-Jan