To change a subordinate server to a master server
Using the Windows interface
To change a subordinate server to a master server by using Windows |
-
Open the Identity Management for UNIX management console by clicking Start, pointing to Administrative Tools, and then clicking Microsoft Identity Management for UNIX.
You can also open the Identity Management for UNIX management console from within Server Manager, by expanding Roles and then Active Directory Domain Services in the hierarchy pane, and then selecting Microsoft 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 Services 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
To change a subordinate server to a master server by using the 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
- To change a master server to a subordinate
server, at a command prompt, type:
The following placeholders are arguments used with the nisadmin command to promote a subordinate server to a master server, or demote a master server to a subordinate server.
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 /?. |
For more information about the command-line method of performing this procedure, see nisadmin.