- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to provide master and slave server in /etc...
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
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
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
тАО04-30-2005 05:43 AM
тАО04-30-2005 05:43 AM
is it right to configure nis clients as:
#vi /etc/yp.conf
domain domainname server 10.0.0.1 # master nis
domain domainname server 10.0.0.2 # slave nis
domain domainname server 10.0.0.3 # slave nis
Thanks n Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-30-2005 07:48 PM
тАО04-30-2005 07:48 PM
Re: how to provide master and slave server in /etc/yp.conf ?
check the "use nis" option and give an address of nis server...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2005 12:17 AM
тАО05-01-2005 12:17 AM
Re: how to provide master and slave server in /etc/yp.conf ?
Yes i know abt authconfig utility.. but dear there in "use nis" option it just ask abt the Domain:------ and Server:----- i.e it just ask abt a "single" server(and i think that must be a master nis).
I wana know that what should i do to configure the clients, so that if master is offline then the clients will automatically contact for slave server(s) without doing BROADCAST.
Especially if anyone of u write me the syntax of /etc/yp.conf to configure the client.
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2005 04:13 PM
тАО05-01-2005 04:13 PM
Solutionypserver 10.0.0.1
ypserver 10.0.0.2
ypserver 10.0.0.3
ypbind man page (ypbind(8)) on FC3 says
---
After a binding has been established, ypbind will send YPPROC_DOMAIN requests to the current NIS server at 20 seconds intervals. If it doesn├в t get an response or the NIS server tells that he doesn├в t has this domain any longer, ypbind will search a new NIS server.
You could tell ypbind to use network broadcasts to find a new server, what is insecure, or you could give it a list of known, secure servers.
---
From this it looks like it won't do broadcast unless you tell it to via /etc/yp.conf or ypbind command line option.
If your NIS servers are not in production yet, you can test this out by running ypbind with -debug option on the client and disabling network interface on NIS master server. ypbind on the client should re-bind to the second server on the list in /etc/yp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2005 12:19 AM
тАО05-02-2005 12:19 AM
Re: how to provide master and slave server in /etc/yp.conf ?
Other option would be running ypbind with broadcast option. In that case /etc/yp.conf file will be ignored and will pickup the available server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2005 07:04 AM
тАО05-04-2005 07:04 AM
Re: how to provide master and slave server in /etc/yp.conf ?
First syntax/method of /etc/yp.conf:
domain domainname server 10.0.0.1# master nis
domain domainname server 10.0.0.2 # slave nis
domain domainname server 10.0.0.3 # slave nis
Second syntax/method of /etc/yp.conf:
ypserver 10.0.0.1
ypserver 10.0.0.2
ypserver 10.0.0.3
Thanks Dear Alexander, Ermin Borovac, and Srikanth A.
Regards
Maaz