- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NIS problem
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-22-2002 10:17 PM
04-22-2002 10:17 PM
Thanks in advance
Annie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2002 11:13 PM
04-22-2002 11:13 PM
Re: NIS problem
You should see the ypservers.dir and ypservers.pag files there.
Use /usr/sbin/makedbm - u ypservers to display the content of the ypservers-map on both servers (master and client). They should have the same content.
Hartmut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 01:05 AM
04-23-2002 01:05 AM
Re: NIS problem
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 01:31 AM
04-23-2002 01:31 AM
Re: NIS problem
NIS will work across subnets provided gateway
forwards broadcasts. The NIS binding problems can arise because of high forwarding delay , in some gateways ( reasons being high load , less memory etc).
So it is generally recommended to place one NIS server per subnet. Or if you want your
serverin other subnet , use powerful routers
( gateways).
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 01:35 AM
04-23-2002 01:35 AM
Re: NIS problem
Thanks,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 01:47 AM
04-23-2002 01:47 AM
Re: NIS problem
Thanks very much for your reply. But the problem is all the servers ( include NIS master and slave server, all NIS clients) are on one subnet. I also checked the nis server use the command "/usr/sbin/makedbm ypservers",
the output looks like this:
koalapcc koalapcc
whalepcc
YP_LAST_MODIFIED 1006761379
YP_MASTER_NAME koalapcc
by the way,koalapcc is my nis master server name and whalepcc is my nis slave server name.
Could anyone please give me some hints on this problem? whether there is some patch should be installed on NIS master,NIS slave or NIS clients?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 03:08 AM
04-23-2002 03:08 AM
Re: NIS problem
i see as a binding problem only. I think for some clients master server answers first and for some servers slave server responds first. Is this problem is random on your NIS clients ?. what is the system load on your master server and slave server ?.
enable rpc.sprayd in /etc/inetd.conf on both servers .
#inetd -c
use spray command to throw packets on master
server and client server. whose response is
slow ?.
if you shutdown slave server , what does all the NIS clients show as NIS server now ?.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 09:32 PM
04-23-2002 09:32 PM
Solutionkoalapcc koalapcc
whalepcc whalepcc YP_LAST_MODIFIED 1006761379 YP_MASTER_NAME koalapcc
You only have one "whalepcc" in the second line. I think that is not ok.
What is the output of "ypcat -k ypservers".
You should see:
koalapcc koalapcc
whalepcc whalepcc
This is how things look in my environment. Can someone validate this?
Hartmut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 09:55 PM
04-23-2002 09:55 PM
Re: NIS problem
koalapcc koalapcc
whalepcc whalepcc
I would suggest you tweak/edit ypservers and re-push the map out.
# cd /var/yp/
# makedbm -u ypservers > ../nis-server-list
# vi ../nis-server-list
==> edit by adding another "whalepcc" entry
# makedbm ../nis-server-list ypservers
# /var/yp/ypmake
==> Push it out to the slaves.
On the slaves server, check the timestamp for ..
/var/yp/
/var/yp/
# yppush -v ypservers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2002 10:07 PM
04-23-2002 10:07 PM
Re: NIS problem
Thanks very much for your reply. Now this problem is sloved. I first use " /usr/sbin/makedbm -u ypservers > tempfile". and then edit tempfile like this
koalapcc koalapcc
whalepcc whalepcc
.........
.......
Then use the command "/usr/sbin/makedbm tempfile ypservers". Then it works.
and thanks very much for Hartmut instruction. and thanks everyone for your reply.
Have a nice day!
Annie