在第二個資料中心中安裝輔助域控。
Add-WindowsFeature -Name ad-domain-services –IncludeManagementTools
Install-ADDSDomainController -DomainName itservice.vip -DatabasePath c:\windows\NTDS -LogPath c:\windows\NTDS -InstallDns -ReplicationSourceDC AD01.itservice.vip -SiteName "Datacenter2" -SafeModeAdministratorPassword (ConvertTo-SecureString "P@ssw0rd" -AsPlainText -Force) -Confirm:$false -NoRebootOnCompletion:$false -Credential (Get-Credential itservice\administrator)
1、安裝Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit
<a href="http://s3.51cto.com/oss/201711/08/3b9b66cbe06b4a709c22d3dcc215e101.jpg" target="_blank"></a>
<a href="http://s3.51cto.com/oss/201711/08/ccaf8a9b389866e4fdf35806c8aee870.jpg" target="_blank"></a>
2、安裝必要元件
Install-WindowsFeature AS-HTTP-Activation,Desktop-Experience,NET-Framework-45-Features,RPC-over-HTTP-proxy,RSAT-Clustering,RSAT-Clustering-CmdInterface,RSAT-Clustering-Mgmt,RSAT-Clustering-PowerShell,Web-Mgmt-Console,WAS-Process-Model,Web-Asp-Net45,Web-Basic-Auth,Web-Client-Auth,Web-Digest-Auth,Web-Dir-Browsing, Web-Dyn-Compression,Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,Web-Http-Tracing,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Lgcy-Mgmt-Console,Web-Metabase,Web-Mgmt-Console,Web-Mgmt-Service,Web-Net-Ext45,Web-Request-Monitor,Web-Server,Web-Stat-Compression,Web-Static-Content,Web-Windows-Auth,Web-WMI,Windows-Identity-Foundation
<a href="http://s3.51cto.com/oss/201711/08/5c94689a70c4b502e41e96edcf469f43.jpg" target="_blank"></a>
Setup /mode:install /role:mb /mdbname:DB01 /IAcceptExchangeServerLicenseTerms /InstallWindowsComponents
<a href="http://s3.51cto.com/oss/201711/08/d014f5930b035f2884c20bf9d09d2cc9.jpg" target="_blank"></a>
本文轉自 jialt 51CTO部落格,原文連結:http://blog.51cto.com/jialt/1979951