Change a subordinate (slave) server to a master server
Applies To: Windows Server 2003 R2
To change a subordinate (slave) server to a master server
Using the Windows interface
Using a command line
Using the Windows interface
Open Identity Management for UNIX.
If necessary, connect to the computer you want to manage.
In the console tree, click Server for NIS and view the list of Network Information Service (NIS) domains.
Select the domain you want to modify.
In the details pane, click NIS Servers, select the Windows server you want to make the new master server, and then click Promote.
Note
To open Identity Management for UNIX, click Start, point to All Programs, point to Identity Management for UNIX, and then click Identity Management for UNIX. Only an Active Directory domain controller can be promoted to be the master server. When you change a subordinate server to a master server, the previous master server automatically changes to a subordinate server.
Using a command line
Do one of the following:
To change a master server to a subordinate server, at a command prompt, type:
nisadmin [server] mkslave –m newMaster**–d** domainName –u username**–p** password
Or, to change a subordinate server to a master server, at a command prompt, type:
nisadmin [server] mkmaster –d domainName**–u** username –p password
Argument | Description |
---|---|
server |
The domain controller server that is hosting Active Directory. If not specified, the current server is used. |
newMaster |
The name of the new master server, required for the mkslave command. |
domainName |
The name of the domain for which the change is being made. |
username |
The name of the user who has administrator permissions on the server to be changed, if different from the current user. |
password |
The password for the user who has administrator permissions on the server to be changed. If the password is not supplied, you will be prompted for it. |
Note
To view the complete syntax for this command, at a command prompt, type nisadmin /?. Only an Active Directory domain controller can be promoted to be the master server.
See Also
Concepts
Master and subordinate (slave) modes
nisadmin