NIS client bindings

I am working on configuring new NIS domain on my network. The master and slave servers work fine, but I need to find a solution for the clients that will switch to the next available slave server if the current one goes down. I cannot use ypbind -broadcast due to network security rules at my company. I see that the client will switch by itself but it takes about 30-60 seconds and during that time the sytem is really slow (even ps -ef hangs). Is there some kind of solution out there to jump to next available yp slave/master faster? I know Red Hat Linux ypbind does that without problems. I can't find anything like this for Solaris systems.
P.S.
I have Solaris 7, 8 and 9
Any help will be appreciated.
Thanks

I found the failure by my self...
The keyserv itself has been replaced... I copied this file from an identical maschine and everything works fine.
I hope this helps someone...
greetz & best regards
xxx

Similar Messages

  • Solaris 10 NIS Client user account home directory

    Hi all,
    I am newbie of NIS in solaris and i am setting up NIS(central authentication of user) ,So related to this i have setup and server and client but
    i am getting problem while accessing user account in client side.
    in client side i can login user which i have created in server but it is not able to find its home dir .even though i added user with the -m option on server and home dir of user is created in server side .
    *(No directory! Logging in with home=/)*which i have created in NIS server.
    also i am not able to create any directories or files in the client system it says.
    bash-3.00$ mkdir a
    mkdir: Failed to make directory "a"; Permission deniedBoth the server and client have same domainname and NIS service is also running properly.
    on the server side this is the entry of the /etc/auto_home
    # Copyright 2003 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # ident "@(#)auto_home 1.6 03/04/28 SMI"
    # Home directory map for automounter
    +auto_home
    * SS09:/export/home/&here SS09 is the NIS server name and i can see it both server and client side .
    bash-3.00$ ypwhich
    SS09
    bash-3.00$
    bash-3.00$
    bash-3.00$ svcs nis/client
    STATE          STIME    FMRI
    online         11:53:05 svc:/network/nis/client:defaultSo please help me regarding this ...
    Thanks
    anuj
    Edited by: anuindia on Apr 16, 2009 11:02 PM
    Edited by: anuindia on Apr 16, 2009 11:03 PM

    Look over on http://docs.sun.com for the NIS guide for your version of Solaris.
    alan

  • Solaris nis client can't connect to Windows 2008 NIS Server across subnets

    I have been using Microsoft Windows Server for NIS for years to centralize some accounts accessing Solaris and Linux OS.
    Windows 2003 R2 Indentity Management for UNIX version of Server for NIS was last working version with Solairs.
    After upgrading Domain to Windows 2008 all Solaris clients that are on different subnets fail to bind and connect to NIS servers now.
    These servers already were setup using ypinit -c to manually add the NIS servers to connect to and prior to Windows 2008 this worked.
    Now no Solaris nis clients on different subnets (no firewall between) can connect , but other Unix/Linux OS connect fine.
    Is this a known issue and can we get a resolution as it seems only Solaris is affected?

    Hi Mid.Hudson-IT,
    Before we begin ,we should ensure we have configured the printer server correctly .
    Here is a link for reference of configuring the printer server .
    Print server role: Configuring a print server
    https://technet.microsoft.com/en-us/library/cc775791(v=ws.10).aspx
    "I can map all of the printers on the network to the print server as-well as install the drivers correctly and I can resolve the IP and server name via DNS"
    From this sentence ,I can`t figure out whether you have tried to ping the server both with the IP adress and name adress from the client ?
    If we can ping the print server from the client,we can ensure the connection to the printer server is good .
    Then we can try to install the printer driver directly to have a check .In the adress bar of Windows Explorer ,input "\\server name \the printer name"
    If we cannot ping the print server ,we should troubleshoot the network issue firstly.
    We also can check the event viewer for more information to troubleshoot this issue .
    Best regards

  • NIS client issues

    Hello,
    I have a Solaris 10 machine that doesn't want to bind to my NIS server. Here's some relevant information:
    bash-3.00#ypwhich
    ypwhich: can't communicate with ypbind
    bash-3.00#svcs
    maintenance     9:58:10 svc:/network/nis/server:default
    maintenance     9:58:17 svc:/network/nis/client:default
    maintenance    10:00:50 svc:/network/nfs/client:default
    bash-3.00# svcs -x network/nis/client
    svc:/network/nis/client:default (NIS (YP) client)
    State: maintenance since Mon Nov 03 09:58:17 2008
    Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
       See: http://sun.com/msg/SMF-8000-KS
       See: ypstart(1M)
       See: /var/svc/log/network-nis-client:default.log
    Impact: This service is not running.
    bash-3.00# svcs -x network/nis/server
    svc:/network/nis/server:default (NIS (YP) server)
    State: maintenance since Mon Nov 03 09:58:10 2008
    Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
       See: http://sun.com/msg/SMF-8000-KS
       See: ypserv(1M)
       See: /var/svc/log/network-nis-server:default.log
    Impact: This service is not running.
    bash-3.00# svcs -x network/nfs/client
    svc:/network/nfs/client:default (NFS client)
    State: maintenance since Mon Nov 03 10:00:50 2008
    Reason: Method failed repeatedly.
       See: http://sun.com/msg/SMF-8000-8Q
       See: mount_nfs(1M)
       See: /var/svc/log/network-nfs-client:default.log
    Impact: This service is not running.
    bash-3.00# tail /var/svc/log/network-nis-client\:default.log
    [ Nov  3 09:31:13 Leaving maintenance because clear requested. ]
    [ Nov  3 09:31:13 Enabled. ]
    [ Nov  3 09:31:13 Executing start method ("/lib/svc/method/yp") ]
    /lib/svc/method/yp: ypbind is already running.
    [ Nov  3 09:31:13 Method "start" exited with status 96 ]
    [ Nov  3 09:58:17 Leaving maintenance because clear requested. ]
    [ Nov  3 09:58:17 Enabled. ]
    [ Nov  3 09:58:17 Executing start method ("/lib/svc/method/yp") ]
    /lib/svc/method/yp: ypbind is already running.
    [ Nov  3 09:58:17 Method "start" exited with status 96 ]Any ideas?
    Thanks!
    Edited by: JohnnyUtah on Nov 3, 2008 10:14 AM

    Nevermind - its working now.
    If anybody is having similiar problems, here's a few things to check
    1. Make sure the NIS server is correctly entered in /etc/hosts.
    2. cp /etc/nsswitch.nis to /etc/nsswitch.conf
    3. Run a ypinit -c and specify your NIS server.
    Thanks.

  • NIS client problem?

    I have tried to configure an Ultra 45 as a NIS client to a NIS server in our small local network. If i run all configurations when the host is running (non NIS) it all works fine and it connects to the NIS server for host/user/passwd information etc.
    But, when I reboot the host the booting is stopped immediately after writing: "NIS domain name is ...." on the screen.
    The screen goes black and the host is not reachable.
    Anyone had this problem ?
    The Ultra 45 is running Solaris10, but the NIS server is a Solaris 8 host...
    /ulf

    I'm not sure why you would want the client to not bind to the slave and only to the master. That's the whole point of having slave servers.
    Just rerun ypinit -c on the client if you want to change which server the client binds to.
    If your slave server is not working right, fix it.

  • NIS client issues with 10.4.x

    Please, will some Apple tech please respond!
    I have used NIS client on OS X for quite a while now, and recently bought more than 50 new iMacs for our school user environment. I rely on NIS to work, and it has in previous version of your OS. (Please don't tell me not to run NIS. I do not have time to set up OD right now, and too much of my network already relies on NIS.)
    The current x86 10.4 release uses a non-linear startup process that causes certain network services not to come up in the right order, and thus rendering a system inoperable. This doesn't exhibit itself consistently, but once a system is on and operable, the problem will not occur, unless the system deep sleeps or is rebooted.
    Help? Can I provide you with anything? Just ask. I will do the best I can. I want to continue loving Apple hardware...

    Hi cmoredock;
    On this forum you are not talking to Apple. You are talking to other users like yourself.
    If you truly want to talk to Apple, you should try here.
    Allan

  • NIS client howto?

    Is there a (current and accurate) howto available for setting up an xserve running 10.5.5 (patched up to today) as an NIS client with automounted nfs home directories?
    I have a large network of linux and solaris machines, need to add this one xserve box to it in some useful way. Some of the NIS tools appear to exist on the box ('ypwhich' for example, but running it just hangs) however all the instructions I've found on the internet are either for earlier versions of the OS or contain wrong information or references that don't appear to match this version of the OS.
    If NIS doesn't work I'll take AD instead but it looks like the concensus on the net is that AD integration is broken anyway.

    I found the failure by my self...
    The keyserv itself has been replaced... I copied this file from an identical maschine and everything works fine.
    I hope this helps someone...
    greetz & best regards
    xxx

  • Change nis client hostname issues

    Hi All,
    I have changed one nis client hostname from old_hostname to new_hostname in /etc/hosts file on the nis server. After changing, "ping" cannot find new_hostname.domain but find the new_hostname (without domian) and the old_hostname.domain. It seems that the IP node is still occupied by the old_hostname. Do I have to reboot the server or run any command to activate the change? What is wrong with this?
    Any help is much appreciated.
    regards
    vlsi

    With the command " ypmatch new-hostname hosts.byname" it returns " IP new-hostname" but "ypmatch old-hostname hosts.byname" returns "IP old-hostname.domain". Something is wrong here. How to update the hostname plus the domain information is the key problem. Any help?
    best regards
    vlsi

  • Change NIS client hostname

    Dear All,
    I am trying to change one NIS client hostname but keep its IP unchanged. What I did is changing the hostname in the hosts file of NIS server and changing the hsotname on the client too. With 'ping' command, the new hostname of the client can be recognized only within the domain, but outside the domain the client is still named as the old hostname, after changing its hostname. I don't know how to activate the change .
    Any help would be much appreciated.
    vlsi

    With the command " ypmatch new-hostname hosts.byname" it returns " IP new-hostname" but "ypmatch old-hostname hosts.byname" returns "IP old-hostname.domain". Something is wrong here. How to update the hostname plus the domain information is the key problem. Any help?
    best regards
    vlsi

  • Could not as NIS client

    hi
    i have configured NIS master in one solaris machine and another as NIS client. i could login as switch user in master server but could not login as NIS client in client machine
    error comes like this : invalid username
    plz suggets this

    hello there,
    we are having a similiar error when we have our interfaces running...
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing the request to rfc-client: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[XI_RFC_Receiver]21502d803b9e3f9d92fafc831576669a is exhausted. The current pool size limit (max connections) is 10 connections.</SAP:AdditionalText>
    We know that XI_RFC_Receiver is a communication channel that is defined in the integration directory.  We see that there is a parameter Maximum connection on the RFC channel that is set to 10.  We are thinking of increasing this value to 12 or 15 or 20.  Do you know the the impact of changing this parameter?

  • NIS Client Issue

    I am attempting to set up a Solaris 9 NIS client of a Solaris 8 Master Nis Server.
    After configuring the client I run the ypwhich command and I get the following error message: Domain 'domainname' not bound on 'clienthostname'
    All other yp commands I try hang.
    I have done the following:
    On Client:
    added NIS domain name to /etc/domainname file.
    - added Master NIS server name to client etc/hosts file
    - ran ypinit -c
    - started ypbind and rebooted.
    On NIS Server:
    - added client hostname to NIS Server map (Using Make) ran ypinit -c - started ypbind and rebooted.
    Client is Solaris 9, Master NIS server is Solaris 8 ---
    Any Ideas?
    Thank you in advance,
    Evan

    Shouldn't the domainname be identified in /etc/defaultdomain
    and Not /etc/domainname .

  • Home directories on NIS clients show "NOBODY" for group and owner

    Hi,
    I recently changed 10 clients from an old NIS server (running Solaris 7!) to a new one (running Solaris 10).
    All my clients log on through NIS and mount their home directories OK, but when you do a ls -l it shows all files as having the owner and group as "nobody".
    I am guessing this has to do with the NIS maps, or auto_home or something, but I keep going around in circles.
    FROM CLIENT:
    $ ls -l
    total 14
    drwxr-xr-x 2 nobody nobody 4 Sep 11 14:46 Desktop/
    drwxr-xr-x 2 nobody nobody 2 Sep 11 14:46 Documents/
    -rw-r--r-- 1 nobody nobody 136 Sep 11 13:07 local.cshrc
    -rw-r--r-- 1 nobody nobody 157 Sep 11 13:07 local.login
    -rw-r--r-- 1 nobody nobody 174 Sep 11 13:07 local.profile
    -rw-r--r-- 1 nobody nobody 33 Sep 11 14:51 test
    FROM SERVER
    nisserver # ypcat auto.home
    nisserver # ypcat auto.master
    auto.home -nobrowse
    -hosts -nosuid,nobrowse
    nisserver # ypcat -x
    Use "passwd" for map "passwd.byname"
    Use "group" for map "group.byname"
    Use "project" for map "project.byname"
    Use "networks" for map "networks.byaddr"
    Use "hosts" for map "hosts.byname"
    Use "ipnodes" for map "ipnodes.byname"
    Use "protocols" for map "protocols.bynumber"
    Use "services" for map "services.byname"
    Use "aliases" for map "mail.aliases"
    Use "ethers" for map "ethers.byname"

    Darren,
    Yes. The clients are Solaris 10 as well. And the domain is the same on both server and clients.
    The files should be owned by real users.
    If a user ssh's into the server directly, the permissions display properly. But on the clients it is nobody. Other than the permission displaying wrong, I haven't noticed any permission-related restrictions on the clients.
    -Jim
    Edited by: cr8rface on Sep 22, 2008 10:30 AM

  • NIS client lookup for NIS master server problem

    Dear All,
    I have solaris OS 10 installed on NIS master and slave server and also client. Sometimes, my client cannot work properly. Although it is configured to lookup for NIS master as the server, it lookup for slave server instead occasionally. It will be alright after reboot. Please advise.
    Any help is much appreciated.
    best regards
    vlsi

    I'm not sure why you would want the client to not bind to the slave and only to the master. That's the whole point of having slave servers.
    Just rerun ypinit -c on the client if you want to change which server the client binds to.
    If your slave server is not working right, fix it.

  • Oracle 8i NIS+ client support

    What are the implications of introducing NIS+ naming service in Oracle 8i, Solaris 7 environment? Does oracle support this?
    --Saro.                                                                                                                                                                                                                                                                       

    Gurhan,
    I think it has nothing to do setting the JRE enviroment .from what I could remember is you have to install a JRE enviroment patch..
    If you check you insallation documentation..
    it tell you where to get the patch from..and I also think that you have to create symbolic link...
    If you need more info on this..I could send you the URL..where you could get the patch..
    send me an email..if you need futher assistance..I could then send you the url to get the patches from...
    good luck.
    shah

  • Sharing /usr/local and NIS server and client

    I have two sun v880 with solaris 9 one is nis server and other nis client . The nis master sharing /usr/local with nis client. I need that one sun will be backup from other, if one stop working other continuos. What is que best practice for to do this, stop de nis service and copy /usr/local of one to other? Change nis client to nis slave? I don't have experience with solaris.

    Do you only have 2 machines total?
    You discuss two separate services: NIS and filesharing.
    For NIS, all that is required is that you set up a slave. The slave continues to serve data (but not update it) while the master is down.
    Sharing /usr/local is different. If it's just these 2 machines, instead of NFS I might set up rsync to copy the data over periodically.
    Darren

Maybe you are looking for