System Administration Guide: Naming and Directory Services (FNS and NIS+)

How to Change a Server's Preference Number

    Run nisprefadm with the -m server=server(new) option.


#nisprefadm -L|-G -C name -m oldserver=newserver(n)

Where:

For example, on the deneb machine, to change the number given to the replica6.manf server to 2 in deneb's local client_info file:


deneb# nisprefadm -L -m replica6.manf=replica6.manf(2)