- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS client with 2 distinct servers ?
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
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
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
05-05-2003 03:22 AM
05-05-2003 03:22 AM
Is there a way to define 2 NIS servers. The usuall choice is between broadcast or to connect directly to a specified machine - can i define 2 of those ?!
(HPUX11.22/11.00)
Lior./
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 03:28 AM
05-05-2003 03:28 AM
Re: NIS client with 2 distinct servers ?
You can only have one master in a domain. If the master isn't available you use the slave as defined in /etc/rc.config.d/namesvrs
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 03:31 AM
05-05-2003 03:31 AM
Re: NIS client with 2 distinct servers ?
U can only have one NIS master server in a domain.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 03:34 AM
05-05-2003 03:34 AM
Re: NIS client with 2 distinct servers ?
configure one as the master and the other as a slave.
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 04:19 AM
05-05-2003 04:19 AM
Re: NIS client with 2 distinct servers ?
Let me rewrite : I am an NIS CLIENT, need to configure 1st & 2nd servers (but not using broadcast method).
Please be specific/detailed.
Lior./
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 04:34 AM
05-05-2003 04:34 AM
Solutionoption "-c" for ypbind builds a list
of NIS servers to bind to.The list is created
in /var/yp/binding/
For more details read man page on ypbind.
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 04:38 AM
05-05-2003 04:38 AM
Re: NIS client with 2 distinct servers ?
with 11.00 NIS patch PHNE_24034 (last one - PHNE_28102 ).On 11.11 - PHNE_28103.
cheers
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 04:40 AM
05-05-2003 04:40 AM
Re: NIS client with 2 distinct servers ?
However, you can write your own script to change this at boot time by pinging the primary and secondary servers, and changing the variable as needed.
I have on occastion written scripts which look to see if yp is bound, and if not will kill ypbind, run ypset and check and bind to the appropriate server.
If you reboot and use the broadcast option, the clients will try and find the best server and bind to it. This is the recommended method.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 04:45 AM
05-05-2003 04:45 AM
Re: NIS client with 2 distinct servers ?
default method for configuring Sun Solaris NIS
clients afaik was ever - 'ypinit -c',Hp just followed Sun as NIS code comes from there."-c"
flag is pretty recent in hp-ux.
Regards,
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 04:47 AM
05-05-2003 04:47 AM
Re: NIS client with 2 distinct servers ?
"ypinit -c" not "ypbind -c".
man ypinit .
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 05:03 AM
05-05-2003 05:03 AM
Re: NIS client with 2 distinct servers ?
In the 10.20/11.00 systems this option did not exist, therefor I didn't try it anymore (ypinit -c).
Thanks for your help - it worked on 11.22 system.
Are there patches for 10.20/11.00.
Is there a reasinable way to test it (without taking down the master) ?
Lior./
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 05:21 AM
05-05-2003 05:21 AM
Re: NIS client with 2 distinct servers ?
It requires reboot and has (at least) 5 another
patches dependant on.
As to shutdown the master server - why should
you do that?ypinit -c is a client option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2003 05:37 AM
05-05-2003 05:37 AM
Re: NIS client with 2 distinct servers ?
1st - thanks for the patch information.
I wanted to know if there is a "nondistructive" way to test the client configuration ("without shuting down the 1st NIS machine/service).
Lior./