[Next] [Previous] [Up] [Top] [Contents]
21.3.6 NIS+ Setup
21.3.6.3 Replica Server
A replica server binds to a domain.
- 1. Become a client of the parent domain
# domainname wks.acs.ohio-state.edu.
# domainname > /etc/defaultdomain
# cp /etc/nsswitch.nisplus /etc/nsswitch.conf
# nisinit -c -H <domain server hostname>
- Start the daemon
# rpc.nisd -S 0
- Make the directories for the databases
# nismkdir -s <replica server hostname> acs.ohio-state.edu.
where
-s hostname specify hostname to be a replica server for the existing directory, <domain name>
- Replicate the domain
# /usr/lib/nis/nisping acs.ohio-state.edu.
Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]