1833757 Members
2479 Online
110063 Solutions
New Discussion

Answer this Please

 
Sundar_7
Honored Contributor

Answer this Please

Hi All,

Can any of U experts help me by answering the folllowing Question ?

* How a Hp-Ux NIS Client connects to a

HP-UX NIS server

I have a bit of idea on these things

* U have to set the domainname same as
the server

* start NIS Client daemon ypbind in the

client..

Then the ypbind daemon will broadcast a

request to bind to the NIS server

The Question is...

Do we have to specify the NIS Server's

IP Address anywhere..

in SUN Solaris I learned ypbind is having

a -C option to spcify the NIS Server..

in Hp I tried and found nothing is there..


So Please clear me whether do we have to really specify the NIS Server's IP address or simply becoz of the broadcast by the ypbind..it is getting binded to the ypserv.

Thanks and waiting

Sundar
Learn What to do ,How to do and more importantly When to do ?
4 REPLIES 4
KapilRaj
Honored Contributor

Re: Answer this Please

hi,

just run sam --> Networking &communications --> Actions --set domain name---"Domain Name"


You don't hv to put server's ipaddress

kaps
Nothing is impossible
Rob Smith
Respected Contributor

Re: Answer this Please

Hi, you do not have to the specify the primary or slave server's ip address anywhere. Hope this helps.

Rob

Learn the rules so you can break them properly.
Wieslaw Krajewski
Honored Contributor

Re: Answer this Please

Hi,

The minimal number of steps to configure NIS client:

1. edit the file /etc/rc.config.d/namesvrs putting
NIS_CLIENT=1
NIS_DOMAIN=name_of_NIS_domain

2. run
/sbin/init.d/nis.client start

If you have an NIS server in the same subnet as your NIS client, it is enough. If however there is not NIS server in the same subnet, must specify in the same file the following variables:

YPBIND_OPTIONS="-ypset"
YPSET_ADDR="ip_address_of_nis_server"

Rgds.
Permanent training makes master
Ravi_8
Honored Contributor

Re: Answer this Please

Hi,
if both client and server on the same subnet then specifying domain name will do all jobs.since the NIS master server will bind to the domain ( ip of both will be the same).if they are on diffrent subnet then you have to specify the ip of NIS server in /etc/rc.config.d/namesvrs file.
never give up