As mentioned earlier, Hyper-V Server R2 is a hypervisor with no GUI interface, similar to VMware's ESXi and Citrix XenServer, which requires Hyper-V, SCVMM, or Hyper-V PowerShell configuration and management, this section focuses on the simple configuration you need to make before you manage Hyper-V Server R2. , please see the installation section for details.
http://ericxuting.blog.51cto.com/8995534/1582541
After the Microsoft Hyper-V Server R2 installation is complete, a basic configuration interface pops up. If you accidentally close the configuration interface, enter Sconfig at the prompt to open it. If even the cmd is accidentally turned off, you can press Ctrl+alt+delete key combination, select "Start Explorer", "File", new "Run New task", and then start Sconfig. Sconfig is a simple configuration that can be used to join a workgroup or domain, computer name, network, allow remote administration, and so on for this server. The Hyper-V server can also be shut down or restarted via Sconfig. However, you must be a member of the Administrators group to use Sconfig. Traditional cmd can also be manipulated using the command line, but it's a bit more complicated.
650) this.width=650; "height=" 395 "title=" clip_image002 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/ M02/54/26/wkiol1r5vmcitgfuaafz5mdsygm831.jpg "border=" 0 "/>
1. Change the Hyper-V Server computer name
1) Modify the computer name by accessing the Computer name Settings page from the main menu
Type "2> computer name", enter
650) this.width=650; "height=" 364 "title=" clip_image004 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image004 "src=" http://s3.51cto.com/wyfs02/ M00/54/26/wkiol1r5vmdz8tcbaaf0zn1wa_y150.jpg "border=" 0 "/>
Type the new computer name, enter, and click "Yes" to select Restart Server
650) this.width=650; "height=" 228 "title=" clip_image006 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image006 "src=" http://s3.51cto.com/wyfs02/ M01/54/26/wkiol1r5vmcx0powaacz0n-j2xs120.jpg "border=" 0 "/>
After the reboot is complete, log on to the server and view the modified computer name
650) this.width=650; "height=" 201 "title=" clip_image008 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image008 "src=" http://s3.51cto.com/wyfs02/ M02/54/26/wkiol1r5vmdrxxspaadtfv3f4tw343.jpg "border=" 0 "/>
2) Use CMD to modify the computer name
In cmd, type "hostname" first to view the current server name
650) this.width=650; "height=" 136 "title=" clip_image009 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image009 "src=" http://s3.51cto.com/wyfs02/ M00/54/26/wkiol1r5vmdccabjaab0vm_opbo534.jpg "border=" 0 "/>
Type the following command to modify the computer name and select "Y" to continue
netdom renamecomputer win-1l1pn8tpf8q/newname:bj-hv-03
650) this.width=650; "height=" 365 "title=" clip_image011 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image011 "src=" http://s3.51cto.com/wyfs02/ M01/54/26/wkiol1r5vmggsstbaaffkhehtla689.jpg "border=" 0 "/>
Restart the server using "Shutdown-r–t 00", after which the login server has verified that the modification is complete
650) this.width=650; "height=" 135 "title=" clip_image013 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image013 "src=" http://s3.51cto.com/wyfs02/ M02/54/26/wkiol1r5vmgwsqx9aac3iggjcgg157.jpg "border=" 0 "/>
3) Use PowerShell to modify the computer name
Enter PowerShell under CMD, enter PowerShell mode, use hostname to determine the current computer name, and then type "Rename-computer" to modify the computer name, type the new computer name, and use the "shutdown-r–t 00 "Restart the server, then the login server has verified that the modification is complete
650) this.width=650; "height=" 233 "title=" clip_image015 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image015 "src=" http://s3.51cto.com/wyfs02/ M00/54/26/wkiol1r5vmgsc9lsaaelxhjnjy0096.jpg "border=" 0 "/>
650) this.width=650; "height=" "title=" clip_image017 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image017 "src=" http://s3.51cto.com/wyfs02/ M01/54/26/wkiol1r5vmhs6oobaadcqi5qta4616.jpg "border=" 0 "/>
2. Configure the Hyper-V server network
1) Configure the Hyper-V server network through the main Menu settings interface
Type "8> network Settings" in the Server configuration interface, select the network adapter you want to configure, type the index number
650) this.width=650; "height=" 420 "title=" clip_image019 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image019 "src=" http://s3.51cto.com/wyfs02/ M01/54/27/wkiom1r5vdva4_svaaf5xezd7rw218.jpg "border=" 0 "/>
The network properties for the network adapter are listed.
650) this.width=650; "height=" 416 "title=" clip_image021 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image021 "src=" http://s3.51cto.com/wyfs02/ M02/54/27/wkiom1r5vdybyqdxaagdssdlpbi208.jpg "border=" 0 "/>
Configure the network adapter properties according to the options, and then reload the network adapter properties
650) this.width=650; "height=" "title=" clip_image023 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image023 "src=" http://s3.51cto.com/wyfs02/ M00/54/27/wkiom1r5vdzzc_1xaac58elbuzu781.jpg "border=" 0 "/>
2) Set the network properties using cmd command line
First to display the NIC information, use the command netsh interface IPv4 show interfaces. You can display information such as the connection status, the IDX number, and the name of the current computer's network card
650) this.width=650; "height=" 151 "title=" clip_image025 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image025 "src=" http://s3.51cto.com/wyfs02/ M01/54/27/wkiom1r5vdzxiogpaachup2lxta209.jpg "border=" 0 "/>
netsh interface ipv4 set address name=13 dress=192.168.100.20 mask=255.255.255.0 gateway=192.168.100.254
650) this.width=650; "height=" "title=" clip_image027 "style=" margin:0px;border:0px;padding-top:0px;padding-right : 0px;padding-left:0px;background-image:none; "alt=" clip_image027 "src=" http://s3.51cto.com/wyfs02/M02/54/27/ Wkiom1r5vd2at6dnaabdkzkez-m996.jpg "border=" 0 "/>
Use ipconfig to view IP addresses
650) this.width=650; "height=" 274 "title=" clip_image029 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image029 "src=" http://s3.51cto.com/wyfs02/ M00/54/27/wkiom1r5vd2wsqceaaefytvbfl4002.jpg "border=" 0 "/>
To set a static DNS server address for a network card
netsh interface ipv4 add dnsserver name= address= index=1
650) this.width=650; "height=" title= "clip_image031" style= "Margin:0px;border:0px;padding-top:0px;padding-right" : 0px;padding-left:0px;background-image:none; "alt=" clip_image031 "src=" http://s3.51cto.com/wyfs02/M01/54/27/ Wkiom1r5vd2jkd3kaaa9zu3_ova594.jpg "border=" 0 "/>
Using Ipconfig/all to view DNS information
650) this.width=650; "height=" 245 "title=" clip_image033 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image033 "src=" http://s3.51cto.com/wyfs02/ M02/54/26/wkiol1r5vmss5lwraae4y3znpz4677.jpg "border=" 0 "/>
3) Setting Network properties using Windows PowerShell
To view current NIC information using Windows PowerShell
Get-netipinterface
650) this.width=650; "height=" 293 "title=" clip_image035 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image035 "src=" http://s3.51cto.com/wyfs02/ M00/54/26/wkiol1r5vmsgqmyhaae6gkx34hw436.jpg "border=" 0 "/>
Run the command to configure the network adapter properties
New-netipaddress–interfaceindex 13–ipaddress-192.168.100.21–prefixlength 24
650) this.width=650; "height=" 504 "title=" clip_image037 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image037 "src=" http://s3.51cto.com/wyfs02/ M00/54/27/wkiom1r5vd7xzzhfaahimifwxle301.jpg "border=" 0 "/>
Setting up a DNS server with PowerShell
Set-dnsclientserveraddress–interfaceindex 13-serveraddresses 192.168.100.1
650) this.width=650; "height=" 422 "title=" clip_image039 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image039 "src=" http://s3.51cto.com/wyfs02/ M01/54/27/wkiom1r5vd7gqwxcaah6gbmwl2e090.jpg "border=" 0 "/>
3, configured as a domain member server
1) Join the Enterprise Active Directory environment via the main menu settings
Before I have set up the network environment for this server, you can now join the Hyper-V server to the Enterprise domain environment, type "1> domain/Workgroup", and change the domain/Workgroup membership by typing "D" to determine the affiliation with the environment
650) this.width=650; "height=" 416 "title=" clip_image041 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image041 "src=" http://s3.51cto.com/wyfs02/ M02/54/27/wkiom1r5vd_sbzdfaaf8pdtwgek737.jpg "border=" 0 "/>
Type Enterprise Active Directory domain name, authorized domain user account, enter
650) this.width=650; "height=" 107 "title=" clip_image043 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image043 "src=" http://s3.51cto.com/wyfs02/ M00/54/26/wkiol1r5vmwchodwaabriucq37k967.jpg "border=" 0 "/>
To ensure password security, no characters are displayed when the account password is entered
650) this.width=650; "height=" 106 "title=" clip_image045 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image045 "src=" http://s3.51cto.com/wyfs02/ M01/54/26/wkiol1r5vmwgrqkjaabw24dtyji873.jpg "border=" 0 "/>
After you restart the server, the Enterprise domain environment is displayed
650) this.width=650; "height=" 253 "title=" clip_image047 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image047 "src=" http://s3.51cto.com/wyfs02/ M02/54/26/wkiol1r5vmatcsh_aaet9uhr2n4879.jpg "border=" 0 "/>
2) Use CMD to join the Enterprise Active Directory environment
netdom join computername/domain:domainname/userd:username/passwordd:*
650) this.width=650; "height=" 129 "title=" clip_image049 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image049 "src=" http://s3.51cto.com/wyfs02/ M00/54/26/wkiol1r5vmacstadaab5mlge-_i045.jpg "border=" 0 "/>
3) Join the Enterprise Active Directory environment using Windows PowerShell
In Windows PowerShell, when you run Add-computer, you are prompted to join the domain and domain credentials, and then restart the computer when you are finished. You can restart the computer by using the command Restart-computer.
650) this.width=650; "height=" 447 "title=" clip_image051 "style=" margin:0px;border:0px;padding-top:0px; Padding-right:0px;padding-left:0px;background-image:none, "alt=" clip_image051 "src=" http://s3.51cto.com/wyfs02/ M01/54/26/wkiol1r5vmfxeo4yaafb4ucxipy918.jpg "border=" 0 "/>
Type the domain name and wait for the add domain to complete
650) this.width=650; "height=" 111 "title=" clip_image053 "style=" border:0px;padding-top:0px;padding-right:0px; Padding-left:0px;background-image:none, "alt=" clip_image053 "src=" http://s3.51cto.com/wyfs02/M02/54/26/ Wkiol1r5vmfg9z4laabecp3y4k4765.jpg "border=" 0 "/>
This article is from the "Xu Ting blog" blog, make sure to keep this source http://ericxuting.blog.51cto.com/8995534/1584566
Hyper-V Server R2 server configuration