System Management of windows server 2016 (5)
Environment preparation: rename DC virtual machine-install AD domain service
Storage virtual machine renamed-install-ISCSI target server
Enable nested virtualization for N1-N4: Set-VMProcessor-VMName N1-ExposeVirtualizationExtensions $true
Start the N1-N4 virtual machine
Install Hy per-V features and failover clustering through Powershell after startup
Enter-PSSession-VMName N1-Credential administrator
Get-WindowsFeature * hyper*
Install-WindowsFeature Hyper-V,Failover-Clustering-Restart
Repeat the above to install functions for the virtual machine in N1-N4
Enter-PSSession-VMName DC-Credential administrator
Install-WindowsFeature RSAT-Hyper-V-Tools,Hyper-V-PowerShell,RSAT-Clustering-Restart
Install MMC remote management tools for Hyper-V and failover clusters in DC
Net user administrator P@ssw0rd
Configure IP address: connect to DC
Check the connection status of Nic: Get-NetIPInterface | fl connectionstate,ifIndex
Change the computer name: 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
Core installation version: Sconfig
Storage environment configuration: configuring ISCSI target server
Configure cluster nodes to use shared storage: cluster nodes connect to shared storage (powershell)
Start-service msiscsi starts the 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)
Use the powershell command to configure disks (nodes)
Remote management using server manager (graphical)