- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11.11 NIS ypbind behaviour with ypset
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
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
08-17-2006 09:55 PM
08-17-2006 09:55 PM
HP-UX 11.11 NIS ypbind behaviour with ypset
I would like to use the ypset feature of ypbind to force NIS clients to particular NIS servers. I just wondered if anyone can confirm the behaviour of ypbind in the event of...
a) The preferred NIS server is unavailable when the NIS client starts,
b) If the peeferred NIS server becomes unavailable.
I assume that in both cases, ypbind will broadcast after the rpc timeout (40 secs?), and hopefully pick up another local NIS server. I'm afraid that I am unable to test this and cannot see any manuals, knowledgebase, forum hits which specify the behaviour in the event of a preferred NIS server problem.
Kit...
HP rp3440's running HP-UX 11.11
thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 10:27 PM
08-17-2006 10:27 PM
Re: HP-UX 11.11 NIS ypbind behaviour with ypset
Ideal:
a) The Master for the whole organization answers and all is well.
b) The Master for the organization answers and al is well.
In practice this depends on how you configured the entire organizaation. I have found my recent NIS experience is that when the preferred server is unavailable, users can't log in.
This makes it important that you test this scenario.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2006 10:58 PM
08-17-2006 10:58 PM
Re: HP-UX 11.11 NIS ypbind behaviour with ypset
If you define ypbind with ypset option and the pointed server failed, all its clients have problems with connections and commands responce time for all users grows till minutes.
AFAIK, broadcast is impossible in this case.
May be, you have a good reason for such a configuration, but my preference is NIS-slaves in each subnet, which permits broadcast connections for all clients.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2006 01:04 PM
08-19-2006 01:04 PM
Re: HP-UX 11.11 NIS ypbind behaviour with ypset
Your understanding of the ypbind -ypset behavior is correct. When you use the ypset syntax it forces the client to bind to a specific server, whether that server is on the local subnet or not.
If that server becomes non-responsive, the client will give up that binding and revert back to sending UDP broadcast packets. These can only be answered by an NIS server on the same subnet.
There is another preferred method of designating NIS servers that are not on the same subnet. You can use the "ypinit -c" command to specify a list of NIS servers to bind to. This allows you to configure multiple servers, even servers on different subnets, for the client to bind to. If the current server it is bound to fails it can contact one of the other servers in the list.
According to the ypinit man page:
-c Configures the local host as a NIS client, so
that the NIS client will attempt to bind to a
particular NIS server. Invocation of ypinit
with a -c option prompts the user to
construct a list of NIS servers, in the order
of preference, to which the client will try
to bind. This list of NIS servers is stored
in the file
/var/yp/binding/
order for ypbind to use this list of NIS
servers, ypbind should not be invoked with -
broadcast option. (see ypbind(1M) in
ypserv(1M)). If it is so desired that it is
not necessary for a NIS client to bind to a
NIS server in a particular list, the ypinit
-c installation mechanism could be ignored.
In my experience this is a much better way of controlling which NIS servers the clients will bind to, and what they will do in the event of a failure.
I hope this helps,
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
08-21-2006 07:29 AM
08-21-2006 07:29 AM
Re: HP-UX 11.11 NIS ypbind behaviour with ypset
Hopefully I will now be able to set the order in which NIS clients bind to NIS servers and they will still be able to re-bind using the broadcast method.
cheers!