ptg6432687 280 9 Installing and Getting Familiar with Virtual Machine Manager 2008 VMM 2008 Installation Each VMM component (server, Administrator console, self-service portal, library, and local agent) can be installed on the same or different servers, depending on the organization’s needs. The following example depicts installing the VMM server component on a Windows Server 2008 x64 Standard Edition member server. SQL Express Edition will be installed, and the VMM library will be hosted on the same server. Installing VMM Server and the SQL Server Express Database on Windows Server 2008 Begin by inserting the VMM 2008 media in the server. Setup will run and display the options for installation, as shown in Figure 9.2. Click Server from the Setup menu. The setup program will copy files needed during setup to the server and will prepare the Setup Wizard to run. Read the license terms. If you agree, select to accept the agreement to install VMM server. If Microsoft Update has not been configured on the VMM server, the Setup Wizard will recommend enabling it. Microsoft Update offers security and important updates for both Windows and VMM 2008. Make the appropriate selection and click Next. The next screen offers to join the Customer Experience Improvement Program (CEIP). This program is used by Microsoft to help improve the quality, reliability, and performance of FIGURE 9.2 The VMM Setup menu. Download at www.wowebook.com ptg6432687 281 VMM 2008 Installation 9 Microsoft products and services; however, some anonymous data may be transmitted to Microsoft. Make the appropriate selection and click Next. Next, enter the product registration information. Here you enter your username and company. Click Next. The Prerequisite Checker runs to check that the software required by VMM server is installed on the server, as shown in Figure 9.3. If the server fails the Prerequisite Checker, the Setup Wizard tells you what you need to fix it. When it runs successfully, click Next. In the Installation Settings window, select the path where the VMM program files will be installed. The default path is C:\Program Files\Microsoft System Center Virtual Machine Manager 2008. Change the path if necessary and click Next. The SQL Server Settings screen, shown in Figure 9.4, is where the administrator selects the database to use. The default selection is to install the VMM database on an existing SQL Server 2005 computer. If this option is chosen, the administrator must supply the follow- ing information: FIGURE 9.3 The Prerequisite Checker. Download at www.wowebook.com ptg6432687 282 9 Installing and Getting Familiar with Virtual Machine Manager 2008 . SQL server name . Username and domain . Password . SQL instance (new or existing) . SQL database (new or existing) If the administrator chooses to use SQL Server 2005 Express Edition, select the path where the database will be installed. The default location, as shown in Figure 9.4, is C:\Program Files\Microsoft System Center Virtual Machine Manager 2008\DB. Click Next to continue. The Library Share Settings screen allows the administrator to specify the default share for the VMM library. This is the network share that holds resources available for creating VMs. The default library share name is MSSCVMMLibrary, and VMM will default to creating a new library share on the VMM server in C:\ProgramData\Virtual Machine Manager Library Files. Change this path if necessary. The alternative setting is to use an existing library share. The administrator may choose to do this if there is an existing VMM library on another server or Windows cluster. Click Next to continue. FIGURE 9.4 SQL Server settings. Download at www.wowebook.com ptg6432687 283 VMM 2008 Installation 9 FIGURE 9.5 Port Assignments screen. The Port Assignments screen, shown in Figure 9.5, allows the administrator to specify which ports to use for connections. The default port assignments are as follows: . VMM Server Connection: 8100 . Agent Connections: 80 . File Transfers: 443 The final screen in the Setup Wizard is the Summary of Settings. Here, the administrator can review the settings that were chosen in the Setup Wizard. Review the settings and click Previous to go back or Install to perform the VMM server installation. Setup will install the prerequisites if necessary, and install the VMM server component. The installation may take several minutes, depending on the options that were selected. If an error occurs during installation, click the Error tab on the Installation window to review the error and take appropriate action. After the VMM server component is installed, two new services are installed and started. The VMMService is the heart of the VMM server, and the VMM agent service provides management services for VMM. Download at www.wowebook.com ptg6432687 284 9 Installing and Getting Familiar with Virtual Machine Manager 2008 Besides Windows PowerShell 1.0 and the Microsoft Windows Automated Installation Kit, which are both prerequisites for VMM server, nothing is added to the Windows Start menu. To interact with the VMM server, the administrator must install the VMM Administrator console. Installing the VMM Administrator Console The VMM Administrator console can be installed on Windows Server 2008 (except Server Core), Windows Server 2003 SP2, Windows XP SP2, or Windows Vista. Begin by inserting the VMM 2008 media in the server. Setup will run and display the menu for installation. Click Administrator Console under Setup, as shown in Figure 9.6. The setup program will copy files needed during setup to the server and will prepare the Setup Wizard to run. Read the license terms carefully. The license agreement must be accepted to install the VMM Administrator console. Click Next. If Microsoft Update has not been configured on the VMM server, the Setup Wizard will recommend enabling it. Microsoft Update offers security and important updates for both Windows and VMM 2008. Make the appropriate selection and click Next. The next screen offers to join the Customer Experience Improvement Program (CEIP). If the Administrator console is being used to connect to a VMM server that is already partici- pating in the CEIP, the administrator console will automatically be enrolled in the CEIP. Click Next to continue. The Prerequisite Checker will run to check that the software required by the VMM Administrator console is installed on the computer. If the computer fails the Prerequisite FIGURE 9.6 Selecting the Administrator Console in Setup. Download at www.wowebook.com ptg6432687 285 VMM 2008 Installation 9 Checker, the Setup Wizard will tell you what you need to do to fix it. When it runs successfully, click Next. In the Installation Settings window, select the path where the VMM program files will be installed. The default path is C:\Program Files\Microsoft System Center Virtual Machine Manager 2008. Change the path if necessary and click Next. The Configuration Settings window allows the administrator to configure the port that the VMM Administrator console will use to connect to the VMM server. The default port is 8100. Accept or change the default port and click Next. The final screen in the Setup Wizard is the Summary of Settings, shown in Figure 9.7. It allows the administrator to review the settings that were chosen in the Setup Wizard. Review the settings and click Previous to go back or Install to perform the VMM Administrator console installation. Setup will install the prerequisites if necessary, and install the VMM administrator console component. The installation may take several minutes, depending on the options that were selected. If an error occurs during installation, click the Error tab on the Installation window to review the error and take appropriate action. FIGURE 9.7 Summary of Settings screen. Download at www.wowebook.com ptg6432687 286 9 Installing and Getting Familiar with Virtual Machine Manager 2008 When the installation completes, the Setup Wizard will offer to create a shortcut on the desktop to the VMM Administrator console, and you can optionally open it when the wizard closes. There is also a link to check for the latest VMM updates from Microsoft. Installing the Self-Service Portal The VMM self-service portal can be installed on all versions of Windows Server 2008 (including Server Core) and all versions of Windows Server 2003 SP2. The self-service portal requires IIS 6.0 or specific IIS 6.0 components, depending on the operating system the self-service portal is installed on. For Windows Server 2003, install the Windows IIS 6.0 component. For Windows Server 2008, add the Web Server (IIS) role and the IIS 6 Metabase Compatibility and IIS 6 WMI Compatibility server role services. Make sure that these prerequisites are met before installing the self-service portal. Begin by inserting the VMM 2008 media in the server. Setup will run and display the menu for installation. Click Self-Service Portal under Setup, as shown in Figure 9.8. The setup program will copy files needed during setup to the server and will prepare the Setup Wizard to run. Read the license terms carefully. The license agreement must be accepted to install the VMM self-service portal. Click Next. If Microsoft Update has not been configured on the VMM server, the Setup Wizard will recommend enabling it. Microsoft Update offers security and important updates for both Windows and VMM 2008. Make the appropriate selection and click Next. The Prerequisite Checker will run to check that the software required by the VMM self- service portal is installed on the computer. If the computer fails the Prerequisite Checker, FIGURE 9.8 Selecting the Self-Service Portal in Setup. Download at www.wowebook.com ptg6432687 287 VMM 2008 Installation 9 the Setup Wizard will tell you what you need to do to fix it. When it runs successfully, click Next. In the Installation Settings window, select the path where the VMM program files will be installed. The default path is C:\Program Files\Microsoft System Center Virtual Machine Manager 2008. Change the path if necessary and click Next. The Web Server Settings screen, shown in Figure 9.9, allows the administrator to specify the VMM server that the self-service portal will connect to. The default port it will use to communicate with the VMM server is TCP port 8100. Set a new port or leave the default. Here the administrator can also specify the TCP port for the self-service portal and whether to use a host header for portal access. NOTE If the Windows firewall is turned on, the Setup Wizard will attempt to add a firewall exception for the web server port. Click Next to continue. FIGURE 9.9 Web Server Settings screen. Download at www.wowebook.com ptg6432687 288 9 Installing and Getting Familiar with Virtual Machine Manager 2008 The final screen in the Setup Wizard is the Summary of Settings. It allows the administra- tor to review the settings that were chosen in the Setup Wizard. Review the settings and click Previous to go back or Install to perform the VMM self- service portal installation. Setup will install the prerequisites if necessary, and install the VMM self-service portal component. Installation of the Local Agent The VMM local agent must be installed on every Microsoft Hyper-V and Virtual Server host computer that will be managed by VMM 2008. VMM 2008 can “push” the local agent to hosts that are members of the same domain that the VMM 2008 server belongs to using the VMM administrator console. The administrator must install the VMM local agent manually on workgroup servers in the perimeter network (DMZ) to be managed by VMM 2008. To manually install the VMM local agent, insert the VMM 2008 media in the server to manage. Setup will run and display the menu for installation. Click Local Agent under Setup. The setup program will copy files needed during setup to the server and will prepare the Setup Wizard to run. Read the license terms carefully. The license agreement must be accepted to install the VMM local agent. Click Next. In the Destination Folder window, accept or change the path where the VMM program files will be installed. The default path is C:\Program Files\Microsoft System Center Virtual Machine Manager 2008. Click Next. The Configuration Settings screen, shown in Figure 9.10, allows the administrator to configure the ports that VMM server will use to communicate to this host and the port the host will use to transfer files between the VMM server and host computers. Accept the default port of 80 for VMM server communication and 443 for file transfers, or change them and click Next. The Security File Folder screen, shown in Figure 9.11, is used to configure a security file that will allow the VMM server to communicate and manage a nondomain host server in a perimeter network. Select the check box for This Host Is in a Perimeter Network and enter and confirm an encryption key. A security file will be placed in the C:\Program Files\Microsoft System Center Virtual Machine Manager 2008 folder that will be imported into the managing VMM server. Click Next. In the Host Network Name screen, select how the VMM server will contact the host. You can choose either hostname or IP address. Enter the appropriate information and click Next. Finally, click Install to install the VMM local agent software. A new VMM agent service will be installed and started on the host server. Click Finish to complete the installation. Download at www.wowebook.com ptg6432687 289 VMM 2008 Installation 9 FIGURE 9.10 Configuration Settings screen. FIGURE 9.11 Security File Folder screen. Understanding the VMM Administrator Console The VMM Administrator console is the primary management interface for VMM 2008, host server, and VM management. It is an MMC application that runs on top of Windows PowerShell. The VMM command shell has more than 60 commandlets (cmdlets) that are specific to VMM 2008. This section covers the basic functions of the Administrator console. Overview of the Administrator Console The Administrator console, shown in Figure 9.12, consists of the view buttons on the lower left, the view area above the view buttons, the Results pane in the top middle, the Detail pane below the Results pane, and the Actions pane on the right. Download at www.wowebook.com . the VMM library will be hosted on the same server. Installing VMM Server and the SQL Server Express Database on Windows Server 2008 Begin by inserting the VMM 2008 media in the server. Setup will. different servers, depending on the organization’s needs. The following example depicts installing the VMM server component on a Windows Server 2008 x64 Standard Edition member server. SQL Express. latest VMM updates from Microsoft. Installing the Self-Service Portal The VMM self-service portal can be installed on all versions of Windows Server 2008 (including Server Core) and all versions