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

Specifying NIS+ Preference Rank Numbers

By default, all servers listed after the -a option are given a preference number of zero. To specify a different preference number, enclose the number in parentheses immediately after the server name like this: -a name(n). Where name is the name of the server and n is the preference number.

For example, assign the replica2 server a preference number of 3:

# nisprefadm -G -a replica2(3)

Note –

With some shells you may have to enclose the element in quotes like this: "name(n)".

See NIS+ Preference Rank Numbers for background information on the server preference rank numbers.