- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Why only 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
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
04-13-2004 09:28 PM
04-13-2004 09:28 PM
but why can I bind to my NIS Server only
with the option -ypset or -ypsetme ?
Thank you
Ralf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 09:36 PM
04-13-2004 09:36 PM
Re: Why only with -ypset
Are your NIS servers and Slave servers on the same subnet ?
In other words do you NIS slave servers on every subnet ?
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 09:45 PM
04-13-2004 09:45 PM
Re: Why only with -ypset
NIS Slave is: 10.200.220.XX
is this a problem ?
Thank you
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 09:49 PM
04-13-2004 09:49 PM
Re: Why only with -ypset
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 09:51 PM
04-13-2004 09:51 PM
Re: Why only with -ypset
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 09:58 PM
04-13-2004 09:58 PM
Re: Why only with -ypset
NIS slave is on the 10.200.220.x
Is your locale server/wokstation on one of the above ranges, for example 10.200.220.x12
or is your server on a different subnet.
NIS likes to have a slave on every subnet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 10:07 PM
04-13-2004 10:07 PM
Re: Why only with -ypset
I have all my workstations in 10.200.200.XX
and only my NIS Server is in 172.30.200.60
and now ?
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2004 10:56 PM
04-13-2004 10:56 PM
Solution----
HP-UX 11.00 includes
a new NDD value that controls how many routers a broadcast packet will
cross. The following command was issued to check the NDD value:
ndd -get /dev/ip ip_max_bcast_ttl
NDD was set to the default value, which is 1. The following command was
used to modify this value to 3:
ndd -set /dev/ip ip_max_bcast_ttl
This allows a broadcast packet to cross three routers. broadcast should
be enabled on the routers! If this is not possible, then either use
ypset, or use a local NIS server.
Note: THE RECOMMENDATION IS TO HAVE AN NIS SERVER ON THE LOCAL
SUBNET
---
HTH,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2004 02:20 AM
04-15-2004 02:20 AM
Re: Why only with -ypset
Check to see if your 11.x ypbind man page includes the info in the next paragraph In a nutshell, HP added the SUN ypbind /ypinit functionality to specify the NIS Servers in a "ypservers" file:
Client requests drive the binding process. As a request for an unbound domain comes in, the ypbind process broadcasts on the network, if the file /var/yp/binding/
If the binding should be established by broadcasting, at least one ypserv process must exist on every network. If the file /var/yp/binding/
** How to check to see if you have this functionality:
First, make certain your domainname has been specified. For example:
# domainname
test.com
Then,
As root, use the command:
/usr/newconfig/usr/sbin/ypinit -c
If you receive a usage error, you can't use the ypservers file and will need to continue to use YPSET as before.
OTHERWISE you will see this output:
# /usr/newconfig/usr/sbin/ypinit -c
If it is desired that NIS client, has to bind to a particular NIS server, a
list of NIS servers should be constructed. Please continue to add the names of
NIS servers in the order of preference, one per line. When done with the list,
type a
next host to add:
...fill in the names of the servers.
You will need to do this on every NIS client. Or if all the NIS clients have the patched ypbind/ypinit, you can rcp/rdist the /var/yp/binding/
ASIDE: I suggest using /usr/newconfig/usr/sbin/ypinit, since the ONC cumulative ("NFS") patch installs the updated ypinit script in /usr/newconfig/usr/sbin/ypinit only. This is because /usr/sbin/ypinit is often customized on NIS Servers, e.g. to add new maps or delete them. So, you will need to check /usr/newconfig/usr/sbin/ypinit against the version in /usr/sbin/ypinit and resolve any customizations on NIS Slave/masters if any. Save /usr/sbin/ypinit to /usr/sbin/ypinit.orig, then cp -p /usr/new/config/usr/sbin/ypinit /usr/sbin/ypinit, and edit the (now updated) /usr/sbin/ypinit.
Hope that helps,
-> Brian Hackley