Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Testing NIS slave server

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-19-2012
batas batas is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 23 July 2013, 1:37 PM EDT
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Testing NIS slave server

Hi guys,

In my Sol-10 i setup NIS server following the oracle doc and setup a Linux as NIS client all went ok.

I added another Sol-10 and configure it as a NIS slave server following the oracle doc again. and added the server on the yp.conf on my NIS client

How do i test if my NIS slave server is working?

I tried shutting down the NIS master server but in NIS client ypwhich still shows the maps on my NIS master.
Sponsored Links
    #2  
Old Unix and Linux 12-20-2012
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 3 July 2015, 10:36 PM EDT
Location: /dev/ph
Posts: 4,938
Thanks: 70
Thanked 460 Times in 426 Posts
Is the NIS slave listed in the ypservers map for the domain?

Code:
# ypcat -k ypservers

Sponsored Links
    #3  
Old Unix and Linux 12-21-2012
batas batas is offline
Registered User
 
Join Date: Mar 2011
Last Activity: 23 July 2013, 1:37 PM EDT
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Hi fpmurphy,

im not sure if this is in the doc that i followed "NIS slave listed in the ypservers map for the domain"

but running ypcat -k ypservers i only see the primary nis server...
    #4  
Old Unix and Linux 12-22-2012
GP81 GP81 is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 13 January 2014, 7:20 AM EST
Location: Warsaw, Poland
Posts: 65
Thanks: 0
Thanked 14 Times in 13 Posts
Did you configure client to use both servers when you setup client with
Code:
# ypinit -c

?
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to bind from a NIS slave server naw_deepak Solaris 2 09-10-2009 10:53 PM
Slave NIS server configuration change jit15975 AIX 0 07-24-2009 03:12 AM
Automount on NIS slave ibroxy SuSE 1 02-03-2009 05:18 AM
Automount on NIS slave ibroxy UNIX for Advanced & Expert Users 0 01-06-2009 04:07 AM
How can I know the NIS server is master or slave on Solaris 8 and 9 hiro-pon Solaris 5 02-18-2008 05:44 PM



All times are GMT -4. The time now is 12:25 AM.