HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS server migration
Operating System - HP-UX
1833123
Members
3156
Online
110051
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
01-29-2002 07:55 AM
01-29-2002 07:55 AM
Currently, an HP-UX 10.2 box is the NIS server in our network. We want to switch, and make an HP-UX 11.0 machine the NIS master server and another HP-UX 11.0 the slave server. How do I 'unconfigure' the current server? How do I configure the new master and slave servers? Could I just copy the current NIS source files to the new master server? Are there any issues because of SUN and RedHat Linux clients in our network?
Carpe Diem!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 01:14 PM
01-29-2002 01:14 PM
Solution
At your new NIS master server do the following commands:
domainname [domainname]
ypinit -m (follow prompts)
edit /etc/rc.config.d/namesvrs
change NIS_MASTER_SERVER variable to 1 and add the domainname. If you are going to use a NIS slave you should also set the YPSET_ADDRESS to the master's IP in the namesvrs file.
At your new NIS slave:
domainname [domainname]
ypinit -s [master_server hostname]
edit /etc/rc.config.d/namesvrs
change NIS_SLAVE_SERVER to 1
change appropriate domainname and change YPSET_ADDRESS to slave server's IP.
In the /var/yp directory there are some pretty good predefined scripts which could be entered into cron to allow the slave server to update its NIS tables on a regular basis.
To disable your original NIS master:
run /sbin/init.d/nis.server stop
edit /etc/rc.config.d/namesvrs
change NIS_MASTER_SERVER to 0
Make sure your new NIS master has all the appropriate updates to things like /etc/hosts /etc/passwd /etc/group /etc/services, etc.
Good Luck.
Stev
domainname [domainname]
ypinit -m (follow prompts)
edit /etc/rc.config.d/namesvrs
change NIS_MASTER_SERVER variable to 1 and add the domainname. If you are going to use a NIS slave you should also set the YPSET_ADDRESS to the master's IP in the namesvrs file.
At your new NIS slave:
domainname [domainname]
ypinit -s [master_server hostname]
edit /etc/rc.config.d/namesvrs
change NIS_SLAVE_SERVER to 1
change appropriate domainname and change YPSET_ADDRESS to slave server's IP.
In the /var/yp directory there are some pretty good predefined scripts which could be entered into cron to allow the slave server to update its NIS tables on a regular basis.
To disable your original NIS master:
run /sbin/init.d/nis.server stop
edit /etc/rc.config.d/namesvrs
change NIS_MASTER_SERVER to 0
Make sure your new NIS master has all the appropriate updates to things like /etc/hosts /etc/passwd /etc/group /etc/services, etc.
Good Luck.
Stev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2002 02:15 AM
01-30-2002 02:15 AM
Re: NIS server migration
Hi
before doing ypinit in master server make sure that /ect/passwd, /etc/hosts, /etc/netgroups, /etc/mail/alias etc are uptodate, you can do a ypcat and get the files uptdated. thereafter you can do the ypinit
-RAJ
before doing ypinit in master server make sure that /ect/passwd, /etc/hosts, /etc/netgroups, /etc/mail/alias etc are uptodate, you can do a ypcat and get the files uptdated. thereafter you can do the ypinit
-RAJ
Let the choices you make today be the choices you can live with tomorrow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2002 11:38 AM
01-30-2002 11:38 AM
Re: NIS server migration
Thanks a lot for your help! I very much appreciate it!
Susi
Susi
Carpe Diem!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP