- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS issue with ypwhich
Categories
Company
Local Language
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
Forums
Discussions
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
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-06-2007 12:37 AM
тАО07-06-2007 12:37 AM
We have a ServiceGuard cluster with several packages and NIS configured such that one server is the Master, and the other is the Slave.
When I do a ypwhich on the Master, the Master server hostname is the ouput that I see onscreen. However, when I do the same on the Slave, the name of one of the packages is what is seen as opposed to the hostname of the Master.
How can I correct this so that the hostname of the Master is the onscreen output on the Slave? Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 01:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 02:57 AM
тАО07-06-2007 02:57 AM
Re: NIS issue with ypwhich
might be clearer than this description.
> How can I correct this [...]
What info would you like?
"ypwhich -m"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 03:14 AM
тАО07-06-2007 03:14 AM
Re: NIS issue with ypwhich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 03:20 AM
тАО07-06-2007 03:20 AM
Re: NIS issue with ypwhich
ypbind -ypset
(You can set the option with YPBIND_OPTIONS in /etc/rc.config.d/namesvrs for use at startup.)
To change the binding from the server:
ypset -h client server
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2007 09:23 AM
тАО07-06-2007 09:23 AM
Re: NIS issue with ypwhich
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2007 04:56 AM
тАО07-09-2007 04:56 AM
Re: NIS issue with ypwhich
The operating system for both servers is HPUX 11i v1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2007 05:03 AM
тАО07-09-2007 05:03 AM
Re: NIS issue with ypwhich
11i v1 and newer systems offer a preferred method of configuring a system to contact specific NIS servers - "ypinit -c". When you use this command it prompts you for a list of NIS servers in the order you want the client to bind to them. These systems can be on remote subnets, local subnets, etc.
In my opinion this is a far superior solution to using ypset or reverting to the normal UDP broadcasting mechanism, which is probably how you're getting bound to a package alias IP address.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2007 06:00 AM
тАО07-09-2007 06:00 AM
Re: NIS issue with ypwhich
I ran the ypinit command with the following syntax:
ypinit -s cosmos1
I had the procedure continue on non-fatal errors, and allowed for the existing directory to be overwritten.
There were several errors concerning the ethers.byaddr, ethers.byname, netmasks.byaddr, and bootparams files. I know the two ethers files can be safely ignored, but I am concerned about the latter two files.
I had also had two follow questions:
1. /etc/hosts file on the slave server does not match that of which is on the master. Can I simply copy the file that is on the master to the slave, or is there a better method?
2. /etc/passwd file on the slave server does not match that of which is on the master. Is that by design, or should the two be the same? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2007 06:24 AM
тАО07-09-2007 06:24 AM
Re: NIS issue with ypwhich
Now you're talking about setting up an NIS Slave and how to distribute maps. Is there another problem you're trying to solve or is this somehow related to the original thread topic?
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2007 08:01 AM
тАО07-09-2007 08:01 AM