HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

n
nisserver(1M) nisserver(1M)
EXAMPLES
To set up a root master server for domain hp.com. :
root_server# /usr/lib/nis/nisserver -r -d hp.com.
For the following examples make sure that the new servers are NIS+ clients and
rpc.nisd is running
on these hosts before executing
nisserver.
To set up a replica server for domain hp.com. on host hpreplica :
root_server# /usr/lib/nis/nisserver -R -d hp.com. -h hpreplica
To set up a non-root master server for domain xyz.hp.com. on host hpxyz with the NIS+ groupname as
admin-mgr.xyz.hp.com. :
root_server# /usr/lib/nis/nisserver -M -d xyz.hp.com. \
-h hpxyz -g admin-mgr.xyz.hp.com.
To set up a non-root replica server for domain xyz.hp.com. on host hpabc:
hpxyz# /usr/lib/nis/nisserver -R -d xyz.hp.com. -h hpabc
WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported.
LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming ser-
vices based on LDAP.
AUTHOR
nisserver was developed by Sun Microsystems, Inc.
SEE ALSO
nis+(1), nisgrpadm(1), nismkdir(1), nisaddcred(1M), nisclient(1M), nisinit(1M), nismkdir(1),
nispopulate(1M), nissetup(1M), rpc.nisd(1M).
HP-UX 11i Version 2: August 2003 2 Hewlett-Packard Company Section 1M557