標籤:windows server 解決方案 管理員 伺服器
Windows Server 2012 中的DHCP 容錯移轉允許管理員部署具有原生高可用的 DHCP 服務,這一功能的主要目標如下:
Windows Server 2012 中的DHCP 容錯移轉允許管理員部署具有原生高可用的 DHCP 服務,這一功能的主要目標如下:
總是在商業網路上提供 DHCP 服務可用性。
如果一個 DHCP 伺服器無法再串連上,DHCP 用戶端可以通過聯絡商業網路上的另一台 DHCP 伺服器,延長它當前 IP 位址上的租約。
在 Windows Server(R) 2008 R2 中,為 DHCP 伺服器部署提供了兩個高可用性的選項。但這兩個解決方案都有各自的缺點:
缺點:需要使用SAN儲存,增加部署成本和維護成本。
缺點:但如果用戶端需要續租一個IP地址,卻找不到原有的DHCP伺服器時,用戶端無法從另一台DHCP伺服器續租地址,只能等待地址到期。
DHCP failover 可以被配置成下列兩種模式:
現在測試一下配置負載共用模式:
我有兩台DHCP伺服器:
win2012-1 (沒有加域,DHCP server) 10.10.10.11/24
win2012-2.demo.local (Domain Controller, DNS, DHCP) 10.10.10.12/24
在DHCP 管理主控台,可以看到DHCP伺服器win2012-2.demo.local 已經配置好了IP scope (10.10.10.0 demo scope). 在DHCP服務win2012-1 上,還沒有配置IP scope.
650) this.width=650;" style="width:650px;height:427.013px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102519165.gif" border="0" width="650" />
右鍵 10.10.10.0 demo scope, 點擊 configure failover
650) this.width=650;" style="width:650px;height:425.967px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102519866.gif" border="0" width="650" />
選擇需要配置的區間(scope)
650) this.width=650;" style="width:509px;height:556px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102520604.gif" border="0" />
添加 partner server, win2012-1, 下一步
650) this.width=650;" style="width:504px;height:552px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102520346.gif" border="0" />
配置具體的failover setting, 我選擇Load Balance 模式,建立一個shared secret, 剩餘保持預設。這樣,兩個DHCP各負責"demo scope 10.10.10.0"50%的ip 地址。
650) this.width=650;" style="width:513px;height:556px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102521281.gif" border="0" />
瀏覽設定,點擊完成。
650) this.width=650;" style="width:509px;height:557px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102522967.gif" border="0" />
DHCP failover 就配置完成了。
650) this.width=650;" style="width:507px;height:555px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102522364.gif" border="0" />
現在回到DHCP控制台,可以看到DHCP 伺服器win2012-1 已經有一個IP 範圍了。
650) this.width=650;" style="width:650px;height:430.023px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102523281.gif" border="0" width="650" />
在server win2012-1下,右鍵 IPv4 under , 點擊 failover 頁面, 可以看到相關的配置資訊。
650) this.width=650;" style="width:650px;height:429.532px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102524140.gif" border="0" width="650" />
也可以點擊edit,看詳細資料或者更改配置。
650) this.width=650;" style="width:650px;height:467.544px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102525568.gif" border="0" width="650" />
右鍵IPv4, 點擊 display statistics,可以看到當前的IP地址租用情況,這裡可以顯示兩個DHCP伺服器的相關情況。
650) this.width=650;" style="width:650px;height:424.767px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102526501.gif" border="0" width="650" />
如果想取消DHCP failover, 右鍵scope, 選擇 deconfigure failover
650) this.width=650;" style="width:650px;height:375.556px;" alt="\" src="http://www.it165.net/uploadfile/2013/0423/20130423102526107.gif" border="0" width="650" />
Windows server 2012 R2 DHCP failover配置