HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS netgroup not propogating on slave server
Operating System - HP-UX
1833707
Members
2398
Online
110063
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
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
11-23-2009 11:35 AM
11-23-2009 11:35 AM
NIS netgroup not propogating on slave server
Hi there --
We recently merged two NIS domains into one. The NIS master and slave servers of second domain were made into slaves to the master in the first domain.
I noticed that a change made to the netgroup file on the master did not appear in its counterpart on either of the slave servers. A check of the time stamps on the slave servers indicated the netgroup file on each was not updated from the master.
When the merge took place, the ypmake command was run on the master server, and the ypinit command was run on the slave servers. The domain user accounts were able to log into all servers without issue.
Is there an additional step(s) or command(s) that need to be run in order to synchronize all files between the slaves and the master? Thanks.
We recently merged two NIS domains into one. The NIS master and slave servers of second domain were made into slaves to the master in the first domain.
I noticed that a change made to the netgroup file on the master did not appear in its counterpart on either of the slave servers. A check of the time stamps on the slave servers indicated the netgroup file on each was not updated from the master.
When the merge took place, the ypmake command was run on the master server, and the ypinit command was run on the slave servers. The domain user accounts were able to log into all servers without issue.
Is there an additional step(s) or command(s) that need to be run in order to synchronize all files between the slaves and the master? Thanks.
A Journey In The Quest Of Knowledge
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2009 11:47 AM
11-23-2009 11:47 AM
Re: NIS netgroup not propogating on slave server
You need to manually update the ypservers map on the new NIS master and put in there the names of the new slave servers (the master and slave servers of the second domain).
The file is in /var/yp/domainname/ypservers.pag
1. Extract the contents of the map file into a text file
makedbm -u ypservers > ypservers.txt
2. Edit the ypservers.txt file and add the new slave servers
3. Create the new map files from the edited text file
makedbm ypservers.txt ypservers
4. Verify the contents of the new map file with "strings ypservers.pag"
5. Push the remaining maps as needed. You may have to force a push by touching each source file.
The file is in /var/yp/domainname/ypservers.pag
1. Extract the contents of the map file into a text file
makedbm -u ypservers > ypservers.txt
2. Edit the ypservers.txt file and add the new slave servers
3. Create the new map files from the edited text file
makedbm ypservers.txt ypservers
4. Verify the contents of the new map file with "strings ypservers.pag"
5. Push the remaining maps as needed. You may have to force a push by touching each source file.
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