Environment Preparation: DC Virtual Machine Renaming - installation AD Domain Services
Storage Virtual Machine Renaming - installation -ISCSI Target Server
to be N1-n4 To enable nested virtualization: set-vmprocessor-vmname n1-exposevirtualizationextensions $true
Start N1-n4 Virtual Machines
-
after startup through powershell installation hy per-v features and failover clustering
-
Repeat the above operation in n1-n4 install features for virtual machines
-
enter-pssession-vmname DC -credential Administrator
-
install-windowsfeature rsat-hyper-v-tools,hyper-v-powershell,rsat-clustering -restart
in the DC installed in Hyper-V and failover clustering. MMC Remote Administration Tools
NET user administrator [email protected]
Configure IP address: Connect to DC
To view the NIC connection status: Get-netipinterface | FL connectionstate,ifindex
To change the computer name: rename-computer-newname N4-restart
Get-netipaddress
new-netipaddress-interfaceindex 3-ipaddress 10.1.1.1-p Refixlength 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
Core installation:sconfig
Storage Environment configuration: Configuration ISCSI Target Server
Configure cluster nodes to use shared storage: Cluster nodes connect shared storage ( PowerShell )
Start-service MSISCSI Start ISCSI Service
new-iscsitargetportal-targetportaladdress "192.168.0.5" (ISCSI target server IP)
Get-iscsitarget ( View connected IQN)
connect-iscsitarget-nodeaddress " Target IQN "
Use shared storage (initialize, format) (remote)
Configuring Disks (nodes) using PowerShell commands
Remote administration using Server Manager (graphical)
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 "/>
This article is from the "Ko Tao blog" blog, please be sure to keep this source http://zanghaitao.blog.51cto.com/818585/1960311
Course notes for Windows Server 2016 (v)