標籤:windows server 2016
環境準備:DC虛擬機器改名-安裝AD網域服務
storage虛擬機器改名-安裝-ISCSI目標伺服器
為N1-N4啟用嵌套虛擬化:Set-VMProcessor -VMName n1 -ExposeVirtualizationExtensions $true
啟動N1-N4虛擬機器
啟動後通過Powershell安裝Hy per-V功能和容錯移轉叢集
Enter-PSSession -VMName n1 -Credential administrator
Get-WindowsFeature *hyper*
Install-WindowsFeature Hyper-V,Failover-Clustering -Restart
重複以上操作在N1-N4為虛擬機器安裝功能
Enter-PSSession -VMName DC -Credential administrator
Install-WindowsFeature RSAT-Hyper-V-Tools,Hyper-V-PowerShell,RSAT-Clustering -Restart
在DC中安裝Hyper-V和容錯移轉叢集的MMC遠端管理工具
net user administrator [email protected]
配置IP地址:串連到DC
查看網卡串連狀態:Get-NetIPInterface | fl connectionstate,ifIndex
更改電腦名稱:Rename-Computer -NewName N4 -Restart
get-netipaddress
New-NetIPAddress -InterfaceIndex 3 -IPAddress 10.1.1.1 -PrefixLength 8 -DefaultGateway 10.1.1.254-
Set-DnsClientServerAddress -InterfaceIndex 3 -ServerAddre sses 10.1.1.1
add-computer -computername N1 -domainname contoso.com –credential contoso\administrator -restart –force
核心安裝版:Sconfig
儲存環境配置:配置ISCSI目標伺服器
配置叢集節點使用共用儲存:叢集節點串連共用儲存(powershell)
start-service msiscsi 啟動ISCSI服務
new-iscsitargetportal -targetportaladdress "192.168.0.5" (ISCSI目標伺服器IP)
get-iscsitarget (查看串連的IQN)
connect-iscsitarget -nodeaddress “目標IQN”
使用共用儲存(初始化,格式化)(遠程)
使用powershell命令配置磁碟(節點)
使用伺服器管理員的遠端管理(圖形化)
650) this.width=650;" src="https://s4.51cto.com/wyfs02/M01/04/B7/wKiom1mkM3bDXvdaAAEonJ-ymW4710.png-wh_500x0-wm_3-wmp_4-s_555777474.png" title="untitled.png" alt="wKiom1mkM3bDXvdaAAEonJ-ymW4710.png-wh_50" />
本文出自 “濤哥的部落格” 部落格,請務必保留此出處http://zanghaitao.blog.51cto.com/818585/1960311
windows server 2016 課程講義 (五)