Remote role deployment in Windows Server 2012 allows you to install and manage roles on multiple remote servers. Keep in mind the following about remote role deployment:
- Server Manager can add roles and features only on remote servers running Windows Server 2012.
- Server Manager can manage remote servers running Windows Server 2012, Windows Server 2008 R2, Windows Server 2008, or Windows Server 2003.
- Server Manager can manage up to 100 remote servers.
- Limiting the amount of event data collected by Server Manager increases server efficiency when managing large numbers of servers.
- Server Manager can receive only online or offline status from servers running Windows Server 2003.
To deploy roles to remote servers:
- Use Server Manager to create a server pool of the remote servers to manage.
- Use Manage As to change credentials when required to access a remote server. The following roles do not support Manage As:
- Remote Desktop Services (RDS)
- IP Address Management (IPAM)
When using these roles, you have to log on with the account that has rights to those servers.
The following table identifies remote role deployment tasks:
Task | Description |
Add domain servers to the server pool | To add domain servers to the server pool, right-click All Servers in Server Manager:
|
Manage non-domain servers | To install and manage roles on a workgroup server (a server not in the domain):
|
Deploy a role on a remote server | To deploy a role to a remote server:
|
Deploy a role to a VHD file | To deploy a role to a VHD file:
|
The Windows Remote Management WINRM command allows a server to accept remote commands from another server in the same domain. To use WINRM:
- On the managed server use the winrm quickconfig command.
- On the managing server, you send commands in the following format: winrs -r:remoteserver command. For example, to send the ipconfig command to a remote server named dc1, enter
winrs -r:dc1 ipconfig
You can use Deployment Image Servicing and Management (dism) commands to:
- Deploy a role to an offline image
- Find features in an image
- Enable features in an image
- Get the status of a feature
- Disable features in an image
- Remove features from an image
- Restore removed features in an image
- Unmount an offline image
You can also use answer files with the dism command.
- Answer files are typically used for an unattended install.
- To use an answer file, install the Windows Automated Installation Kit (WAIK).
- To create an answer file, use the Windows SIM utility.
- Answer files are saved as .xml files.
- On a running server, run dism and identify the answer file. For example, to use an answer file named myunattend.xml, the dism command is:
dism /online /Apply-Unattend:C:\answerfiles\myunattend.xml