Professional Documents
Culture Documents
Configuring and Managing Hyper
Configuring and Managing Hyper
Management Considerations
Hyper-V servers are managed locally using the Hyper-V Manager interface or remotely using the Hyper-V Remote Server Administration Tools (RSAT) or System Center Virtual Machine Manager (SCVMM). If the configuration is a Hyper-V Failover Cluster, the Failover Cluster Management interface is used.
Configuration Settings
Configuring a Standalone Hyper-V Replica Server
1. 2. 3. 4. 5. In the Hyper-V Manager interface, Click on Hyper-V Settings in the Actions pane In the Hyper-V Settings dialog box, Click on Replication Configuration In the Details pane, Select Enable this computer as a replica server Choose an Authentication method to include the port that will be used (The default ports are 80 for HTTP and 443 for HTTPS). There are default firewall rules already in place that just need to be enabled when replication is enabled on the Hyper-V server. Configure Authorization and storage. This includes designating a specific location to store replica virtual machine files if the default location is not to be used. Should you not desire to allow all Primary servers to be serviced, there is an option to allow only specific servers (Primary servers) to send replication requests. If you want to allow all servers within the domain, a wildcard character can be used (e.g. *.contoso.com). When using a wildcard, only one storage location can be specified. If individual server entries are used, different storage locations for replica files can be configured. Complete all entries for the Primary Server, Storage Locations, and Security Tag information. Click Apply or OK when finished.
Complete this action across all nodes that will be members in the cluster
NOTE: The Failover Clustering feature can also be installed from the command line interface (CLI) by using the Deployment Image and Service Management (DISM) command line tool. At a command prompt, type: dism /online /enable-feature /featurename:Failover-Clustering. A reboot is not required to complete the installation. After the Failover Clustering feature is installed and a Failover Cluster is created, the Hyper-V Replica Broker Role needs to be configured. To create the Hyper-V Replica Broker role: 1. 2. 3. 4. 5. 6. 7. Open the Failover Cluster Manager interface (located under Tools in the Server Manager Menu bar) In the left-pane, connect to the cluster With the name of the cluster highlighted in the left-hand pane, click on Configure Role in the Actionspane The High Availability Wizard initializes Select Hyper-V Replica Broker in the Select Role screen Complete the wizard by providing a properly formatted NetBIOS name and IP address (as needed) which serves as the connection point (Client Access Point (CAP))when configuring virtual machines for replication Ensure the Role comes Online and is able to failover between all nodes in the cluster
This action implements the configuration across all nodes in the cluster. Keep in mind this does not automatically enable the correct firewall rules in each node of the cluster nor does it properly configure authentication if certificates are being used. Those actions will have to be completed by the administrator on each node in the cluster. When using certificate based authentication in a Failover Cluster, all of the cluster nodes and the Client Access Point (CAP) supporting the Hyper-V Replica role will need machine certificates.
Figure 1: Microsoft Hyper-V Server 2008 Main Installation Dialog 4. Select the installation language, time and currency format, and the keyboard and input language, and then click Next (Figure 2).
Figure 2: Microsoft Hyper-V Server 2008 Install Windows Dialog 5. To begin the installation, click Install Now (Figure 3).
Figure 3: Microsoft Hyper-V Server 2008 Install Now Option 6. Review the license terms, select I accept the license terms if you agree to them, and then click Next (Figure 4).
Figure 4: Microsoft Hyper-V Server 2008 License Terms Option 7. Click the Custom installation button (Figure 5). The Upgrade option is disabled because Microsoft Hyper-V Server 2008 does not support upgrading from another version of Windows.
Figure 5: Microsoft Hyper-V Server 2008 Installation Type Option 8. Select a disk and partition to install Microsoft Hyper-V Server 2008, and then click Next to continue (Figure 6).
Figure 6: Microsoft Hyper-V Server 2008 Hard Drive Options 9. The automated installation process begins (Figure 7).
Figure 7: Microsoft Hyper-V Server 2008 Installation Initiation 10. After the installation process completes, a logon screen will display (Figure 8).
Figure 8: Microsoft Hyper-V Server 2008 Logon Screen When you log on for the first time, you may be required to change the local administrator password. After log on, a command line configuration tool automatically launches to allow you to modify the default system settings.
Domain or Workgroup Membership Computer name Network Settings Local Administrators Windows Update Settings Download and Install Windows updates Remote Desktop Regional and Language Options Date and Time As shown in Figure 9, the HVConfig menu also allows you to take the following actions:
Log Off User Restart Server Shut Down Server Exit to Command Line.
3. 4. 5.
Type the domain name, and then press Enter. Type in a domain account that has credentials to add a computer to the domain (example:contoso\administrator), and then press Enter. To perform the domain join, the configuration tool launches the Netdom.exe utility in a new command window, and you are prompted with Type the Password Associated with the Domain User. Type in the password, and then press Enter. If the domain is successfully joined, you are prompted with You must restart your computer to apply these changes, Restart now? Click Yes to accept and reboot.
6.
4.
5.
Type in 1 to configure the network adapter IP address, and then press Enter. You are prompted to specify a DHCP or static IP address. Type in D to select a DHCP address or S to specify a static IP address. If you select option D, then the server will get an IP address, subnet mask, and gateway from a DHCP server. If you select option S, then you are prompted for a static address to assign to the network adapter. Type in the static IP address in dotted decimal form, and then press Enter. Next, type in the subnet mask, and then press Enter. Finally, type in the default gateway, and then press Enter. Follow these steps to configure the IP addresses for the DNS servers:
1. 2. 3. 4. 5.
Type in 2 to configure the DNS server IP addresses, and then press Enter. Type in the IP address of the preferred DNS server, and then press Enter. Click OK when the preferred DNS server is configured and a dialog displays stating Preferred DNS server set. Type in the IP address of the alternate DNS server, and then press Enter. Click OK when the alternate DNS server is configured and a dialog displays stating Alternate DNS server set. Follow these steps to clear the current DNS server entries:
1.
Type in 3 to clear the current DNS entries, and then press Enter.
2.
Click OK when a dialog that says DNS servers removed. DNS servers will be automatically obtained from the network appears. After all the changes to the network settings are complete, you can return to the main menu by typing in 4 and pressing Enter.
3.
1. 2. 3.
At the Enter Number to Select an Option prompt, type 7 to select the Remote Desktop option, and then pressEnter. Type in E, and then press Enter. Select one of the two options: a. Type 1 to enable remote desktop for clients running remote desktop client version 6.0 or higher using the more secure network level authentication, and then press Enter. b. Type 2 to enable remote desktop for clients running remote desktop clients lower than version 6.0 using less secure authentication, and then press Enter.
4.
Click OK when you are prompted with a dialog box that reflects your selection. Follow these steps to disable remote desktop:
1. 2. 3.
At the Enter Number to Select an Option prompt, type 7 to select the Remote Desktop option, and then pressEnter. Type in D, and then press Enter. Click OK when you are prompted with Remote Desktop disabled.
1. 2.
At the Enter Number to Select an Option prompt, type 11 to select the Restart Server option, and then pressEnter. Click Yes when you are prompted with a dialog that states Are you sure you want to restart?.
Conclusion
In this article, you learned how to install Microsoft Hyper-V Server 2008 and use the HVConfig.cmd menu to configure basic server settings.