Deskpool Quick Start Based on Hyper-V Server 2012 R2 Version: V2.1.x Shenzhen Jieyun Technology Co., Ltd (www.jieyung.com) Last updated on March 18, 2015
Copyright Shenzhen Jieyun Technology Co., Ltd. 2013. All rights reserved. Any party or individual shall not copy or disseminate this document in part or in whole without our written permission. Other trademarks or registered trademarks mentioned in this document are owned by their respective holders.
Table of Contents 1 PREFACE... 4 2 SYSTEM PREPARATION... 4 2.1 DESKPOOL INSTALLATION PACKAGE... 4 2.2 DESKPOOL THIN CLIENT... 5 2.3 HYPER-V SERVER 2012 R2 OPERATING SYSTEM... 5 2.4 HYPER-V SERVER DRIVERS... 5 2.5 WINDOWS IMAGE... 6 2.6 DHCP SERVICE... 6 2.7 ACTIVE DIRECTORY DOMAIN SERVICES (OPTIONAL)... 6 2.8 BASIC REQUIREMENTS IN NETWORK AND HARDWARE PLATFORM FOR DESKPOOL DEPLOYMENT... 6 3 RAPID DEPLOYMENT OF DESKPOOL DESKTOP SYSTEM... 7 3.1 INSTALLING HYPER-V SERVER 2012 R2 OPERATING SYSTEM AND DRIVERS... 7 3.2 DESKPOOL SETUP WIZARD... 8 3.3 IMPORTING VIRTUAL MACHINE... 9 3.4 INSTALLING DESKPOOL... 14 3.5 INSTALLING WINDOWS VIRTUAL DESKTOP... 18 3.6 DESKPOOL INITIALIZATION WIZARD... 19 3.6.1 System Initialization... 20 3.6.2 Creating a Template... 21 3.6.3 Creating a Desktop Pool... 23 3.6.4 Creating a User... 24 3.7 LOG ON DESKPOOL VIRTUAL DESKTOP... 25 4 FREQUENTLY ASKED QUESTIONS FOR DESKPOOL DEPLOYMENT... 27 4.1 HOW TO CHANGE THE ROOT PASSWORD OF THE DESKPOOL VIRTUAL MACHINE... 27 4.2 HOW TO CHANGE THE ADMIN PASSWORD OF DESKPOOL MANAGEMENT SYSTEM... 27 4.3 ADMINISTRATOR ACCOUNT OF THE VIRTUAL DESKTOP TO BE IMPORTED... 28 4.4 HOW TO TURN ON THE REMOTE DESKTOP OPTION... 28 4.5 HOW TO ENABLE THE "FILE AND PRINTER SHARING" FEATURE... 29 4.6 HOW TO ADD WINDOWS FIREWALL EXCEPTIONS... 29 4.7 CONFIGURE THE LOCAL SECURITY POLICY OF WINDOWS XP TO "CLASSIC" MODE... 30 4.8 CLOSE THE UAC SETTINGS FOR WINDOWS 7 USERS... 31 4.9 ADD THE REMOTEFX 3D VIDEO ADAPTER FOR A VIRTUAL MACHINE... 31 4.10 CONFIGURE THE DESKPOOL VIRTUAL MACHINE TO START AUTOMATICALLY... 32 4.11 MANUALLY CONFIGURE THE IP ADDRESSES OF THE DESKPOOL VIRTUAL MACHINE... 33 4.12 ENABLE OR STOP BUILT-IN DHCP SERVICE OF DESKPOOL... 34 Page 3 of 35
1 Preface This manual is a quick start about how to deploy Deskpool desktop virtualization system over the Microsoft Hyper- V Server 2012 R2 operating system. The readers should have basic knowledge of Windows Server operating system. With respect to understanding the contents of this manual, some experience in the use of virtualization platform will be of great help. This manual just describes the deployment of Deskpool in one server and the cluster is not involved. This manual contains: 1. System Preparation 2. How to quickly deploy Deskpool desktop virtualization system on one server 3. Frequently asked questions regarding Deskpool deployment Other references: 1. "Deskpool Administrator Guide" 2. "Deployment and Management of Windows Server 2012 Hyper-V", by Ma Bofeng Format description: XXX Menu or button names XXX Window names 2 System Preparation This section describes the software environment, network environment and hardware platforms required for deployment of Deskpool desktop virtualization system over the Hyper-V Server 2012 R2 operating system. 2.1 Deskpool Installation Package Deskpool desktop virtualization management system is published in the form of a virtual machine and deployed as a virtual machine. Before deployment, users need to acquire the Hyper-V 2012 R2-based Deskpool installation package from Jieyun Technology. The following are directories and files of the installation package. Run Setup.exe to start the Deskpool Deployment Wizard. Name Type Description Readme.txt File Instruction files Setup.exe File Deskpool Deployment Wizard 7z Directory Contain Decompression tool (open source software) 5nineManager Directory Free Hyper-V management tool from the third party Deskpool Directory Contain installer of Deskpool virtual machine, can be executed independently. Tools Directory Contain support tools for Deskpool deployment Documents Directory Contain documents of Deskpool desktop management system Page 4 of 35
Deskpool management system supports three licensing modes: (1) Trial license: a trial license allows 90 day free use without restrictions. (2) Commercial license: commercial license permanently allows certain number of desktops to be connected concurrently. Commercial license means the permanent right to use the purchased Deskpool version, including corresponding software upgrades and system patches. (3) Free license: free license allows users permanently use Deskpool with some restrictions. 2.2 Deskpool Thin Client Deskpool desktop virtualization system is built on Microsoft RDP Desktop Protocol and RemoteFX Graphical Enhancement Protocol, and supports two desktop accessing methods: (1) Certified Deskpool thin clients, including thin clients of X86 and ARM platforms. (2) Web browser. Users may use IE, Firefox, Chrome and other browsers in the Windows operating system or Firefox browser in Linux and Mac operating systems to access Deskpool virtual desktops. Note: RDP client plug-in is required if you are using Firefox in Linux and Mac operating systems to log in to Deskpool. 2.3 Hyper-V Server 2012 R2 Operating System Hyper-V Server 2012 R2 is a bare-metal virtualization operating system of Microsoft, and the users may download ISO installer of Hyper-V Server 2012 R2 from the official website. Note: Download ISO document of Hyper-V Server 2012 R2. To build remote desktops supporting vgpu features, you need to purchase the commercial license for remote desktop virtualization host services. 2.4 Hyper-V Server Drivers There are mainly three kinds of Windows drivers required: (1) Motherboard drivers: Any Server or PC is generally comes with a motherboard driver CD; if not, it is recommended to use third-party driver management software to automatically install the motherboard drivers. (2) NIC driver: Any server or PC with integrated NIC is generally comes with a NIC driver CD; if not, it is recommended to use third-party drive management software to automatically install the motherboard drivers. (3) Graphics driver: If RemoteFX vgpu features are required, you need to have a CPU that supports SLAT features and install a GPU card or use the integrated graphics card, in which case you need to install the appropriate drivers in Windows Server, generally such drivers are provided by graphics card manufacturers. Note: Windows 8.1 drivers can also be used on Hyper-V Server 2012 R2. If the appropriate driver is not installed, the yellow warning sign for corresponding device status will pop up in the Device Manager. If the drivers are not installed correctly, virtual machines and virtual networks may not work stably or Page 5 of 35
suffer from poor performance. 2.5 Windows Image Deskpool desktop virtualization platform currently supports two desktop images: Windows XP 32bit Professional Edition and above Windows 7 32bit and 64bit Professional Edition and above To build Deskpool full version desktop systems, it is recommended to purchase Windows Volume Licensing. Users can also use the trial version and other authorized versions of Windows to build the Deskpool desktop virtualization system. Note: To enable vgpu features, Enterprise or Ultimate Edition of Windows 7 host with SP1 is required. Subsequent versions of Deskpool will support Windows 8.x, please pay attention to information published by Jieyun technology. 2.6 DHCP Service To build the network environment for deployment of the Deskpool desktop virtualization, DHCP services are required for providing dynamic IP allocation to virtual machines. If there is no DHCP server, please refer to Section 4.12 of this manual to enable built-in DHCP service of the Deskpool virtual appliance. Note: Make sure that the other network environment settings, such as the router's settings, will not affect the normal operations of DHCP service. 2.7 Active Directory Domain Services (optional) Deskpool desktop virtualization system can connect to Microsoft Active Directory Domain Control Services, so as to provide domain management features and user authentication for virtual desktops. If no Active Directory Domain service is configured, Deskpool will manage virtual desktops through local workgroup mode. Please refer to Deskpool Administrator Guide for more information. 2.8 Basic Requirements in Network and Hardware Platform for Deskpool Deployment 1) Basic server hardware requirements. To build a system that supports four or five desktops, the minimum hardware configuration is recommended as follows: X86 dual-core, 2.0GHz or more, CPU must support hardware virtualization and SLAT features (if the RemoteFX vgpu feature is required); 8GB of memory or more; 15K RPM, SAS 3Gbps, 146GB hard disk capacity or more One or more Gigabit Ethernet port(s) Page 6 of 35
2) Basic network requirements: 100M switch or better (100M/1000M Hybrid switch at the minimum, in which the gigabit ports are used for server connection and 100M ports are used for connecting thin clients. HUB is not recommended). Note: If not aiming for better performance experience, Deskpool can be deployed in PC environment with lower configurations. Use multi-port binding on a server with multiple ethernet ports to enhance network performance. To enable RemoteFX vgpu features on the virtual desktop, the server CPU must support SLAT, which is compatible with processors from both Intel and AMD, but under different naming. In the case of Intel, it is called EPT and supported since the Nehalem architecture (from Xeon E55xx); in the case of AMD, it is called RVI and supported from Barcelona, a third-generation Opteron processor. For detailed description on how to enable RemoteFX vgpu feature on Hyper-V Server 2012, please refer to: RemoteFX vgpu Setup and Configuration Guide for Hyper-V Server 2012. 3 Rapid Deployment of Deskpool Desktop System There are four steps below to quickly deploy Deskpool desktop virtualization system based on Hyper-V Server 2012 R2: (1) Install Hyper-V Server 2012 R2 operating system and drivers (2) Run Deskpool Deployment Wizard (3) Install the Windows virtual desktop (optional) (4) Starting from the initialization navigation, complete the configuration of Deskpool. Among the above four procedures, (3) can be skipped if a virtual desktop has been introduced in step (2) for creation of Deskpool desktop template. A Windows virtual desktop installed in step (3) will be used to create the Deskpool desktop template (Golden Image). Users may choose to install Windows XP or Windows 7 system. 3.1 Installing Hyper-V Server 2012 R2 Operating System and Drivers There are four steps to install the Hyper-V Server: (1) Install Hyper-V Server 2012 R2 operating system on the server. Note: For more information, please go to Microsoft's official website: http://technet.microsoft.com/enus/library/hh831620.aspx or refer to "Windows Server 2012 Hyper-V Virtualization Deployment and Management Guidelines." It is recommended to manage the server by using administrative tool of the remote server, and please access the website to download the administrative tool: http://www.microsoft.com/zhcn/download/details.aspx?id=28972. It is recommended that users conduct remote management for the virtual machine on the Hyper-V Server by using remote Hyper-V manager, and the Hyper-V managers are arranged in the Windows Page 7 of 35
8 and Windows Server 2012. (2) Install motherboard drivers: All motherboard drivers, including drivers for all modules on the motherboard can be found in the driver CDs provided by the Server or PC motherboard manufacturers. If no such CD is available, please go to the vendor's official website to download corresponding motherboard driver package or use "Driver Genius" and other supporting software to install the motherboard drivers. (3) Install GPU driver: The server can use either independent GPU card or integrated graphics. The corresponding GPU driver must be installed for the Hyper-V platform to use shared GPU resources. The GPU graphics card manufacturers will provide the appropriate driver package (if RemoetFX vgpu feature is not deployed on the virtual machine, then GPU card is not necessary). (4) System update: It is recommended to install the latest system upgrade after finishing the installation of Hyper-V Server 2012 R2. Users can also complete system update after the deployment of Deskpool if operations are not affected thereby. 3.2 Deskpool Setup Wizard Run the Setup.exe file of Deskpool Setup Wizard in the command line window of Hyper-V Server. As shown in Figure 3-1, the Wizard will guide the user through the deployment of Deskpool in the server, which mainly comprises four steps: Installation of Hyper-V role and tools: Wizard automatically checks whether Hyper-V role and tools have been installed on the server, if not, it will automatically force the installation of Hyper-V role and tools. If the same have been installed, the Wizard will skip this step. The wizard will restart the system after installing the Hyper-V role and continue its execution after the system restarts Installation of the Remote Desktop Virtualization Host Service: A fee-based service of Microsoft, which is only necessary in case of GPU virtualization desktop. After installing the Remote Desktop Virtualization Host Services, the wizard will restart the system and continue its execution after the system restarts. Importing of virtual machine: To save time of system deployment, users may import the desktop virtual machine previously backed up from another Deskpool system, which can be directly used to create Deskpool desktop template. Installation of Deskpool desktop management system: Complete the installation of Deskpool desktop management system to get a Deskpool virtual machine with time stamp information. Page 8 of 35
Figure 3-1 Deskpool installation wizard 3.3 Importing Virtual Machine Please skip this step if there is no need to import any virtual machine. Importing a virtual machine means to import a VHDX file of such virtual machine, which is generally backed up from another Deskpool system for the purpose of directly use it to create a Deskpool desktop template. below: Note: If there are multiple linked clones of a virtual machine, the administrator needs to "merge" such VM during the backup process to get a complete VHDX file. As shown in Figure 3-2, starting from the Wizard, a virtual machine can be imported through the four major steps listed Enter the name of the virtual machine, as shown in Figure 3-2 There are three ways to get the VHDX file: (1) Select local VHDX files in the server directly, generally, there is no virtual machine created by such files. (2) Copy files from an external storage devices to the server, the external storage device usually refers to USB storage device. (3) Unpack the compressed VHDX file. In case of volume compression (7-Zip compression utility) with multiple files, please select the file numbered 001 to extract the VHDX file. As shown in Figure 3-4 ~ 3-6. Configure the virtual machine, specify vcpu and memory specifications; Confirm to continue installation. Page 9 of 35
Figure 3-2 Input the name of the virtual machine To avoid confusion, make sure the virtual machine name entered as shown in Figure 3-2 will not cause duplication of name on the current server. Figure 3-3 Select a virtual machine file As shown in Figure 3-3, if there is certain local VHDX file in the current server can be used directly to create the virtual machine, please select such file directly and click [Next]. Page 10 of 35
Figure 3-4 Select extracted file As shown in Figure 3-4. If the VHDX file to be imported is contained in a compressed file (or sub-volume compressed files) stored on an external storage, please choose the [Unzip] function to decompress the file to the designated extraction path. Figure 3-5 Extracting virtual machine files As shown in Figure 3-5. The Installation Wizard is using the 7-Zip decompression tool to extract the compressed VHDX file to the specified path. Page 11 of 35
Figure 3-6 Extracted virtual machine files As shown in Figure 3-6. The Installation Wizard has extracted the compressed VHDX file to the specified path. After which the name of such VHDX file is shown on the position identified by the red box as shown in Figure 3-6. Figure 3-7 Input the virtual machine's specifications As shown in Figure 3-7. The Installation Wizard shall guide the user to enter the virtual machine's specifications: Number of vcpus and memory size. More vcpus and memory can deliver more powerful virtual machine. Page 12 of 35
Figure 3-8 Select a virtual switch As shown in Figure 3-8. If the current server does not have a virtual switch, please click the [Create] button to create one. A virtual switch is usually tied to a physical network port. Figure 3-9 Confirm the tasks of the wizard system. As shown in Figure 3-9, click [OK] to start creating a virtual machine and install the Deskpool desktop management Page 13 of 35
3.4 Installing Deskpool As shown in Figure 3-10, the Deskpool Installation Wizard has entered the Deskpool virtual machine installation phase. In wizard default it is recommended to install the free version of Hyper-V manager, that is, 5nineManager. Figure 3-10 Start the installation of Deskpool Users can also run separately the Deskpool_Hyper-V_2012R2_vxxx.msi installation file under the Deskpool directory of the installation disc to start the installation of Deskpool virtual machine, the process of which is as follows: If Deskpool Installation Wizard appears as shown in Figure 3-10, Click [Next] to start the installation wizard; Figure 3-11 Start the installation of Deskpool As shown in Figure 3-11, select the installation path for Deskpool, where the Deskpool virtual machine and DeskpoolService software packages will be stored; Page 14 of 35
Figure 3-12 Select the installation path for Deskpool As shown in Figure 3-13, click [Next] to start the installation of Deskpool virtual machine. Figure 3-13 Confirm installation Installation Process Page 15 of 35
Figure 3-14 Installation progress As shown in Figure 3-15, during the installation process, the Wizard prompts the user to set the storage path for desktop virtual machine files and the network of Deskpool virtual machine, in which case you can choose the virtual switch created in the Section 3.2 or create a new one. Figure 3-15 Select the storage path and virtual network Note: Deskpool virtual network refers to the virtual network that communicates with the Deskpool virtual machine, generally such network shall connect to a network port of the server. With respect to network planning, please make sure that the desktop virtual machines, thin clients and Deskpool virtual network are connected with each other. As shown in Figure 3-16, the installation is complete, click [Close] to exit the installation wizard. Page 16 of 35
Figure 3-16 Installation complete The users may see Deskpool virtual machine created by Wizard from the 5nineManager window if the 5nineManager is installed before. As shown in Figure 3-17, the dual Deskpool virtual machines are adopted, the users may use browser to access the address to enter the Deskpool management system after opening console window of the virtual machine to display the IP address in red box as shown in figure 3-17 therein. Note: The users may also check the IP address of the Deskpool virtual machine by using the remote Hyper-V manager if the 5nineManager was not installed before. Figure 3-17 Check IP address of the Deskpool virtual machine Page 17 of 35
Note: The users may refer to the Section 4.11 and Section 4.12 to set static IP and enable built-in DHCP service for the virtual machine by the console window of the virtual machine as shown in figure 3-17 and restart the Deskpool virtual machine if the network environment has no DHCP server. It is recommended to reserve a fixed IP address for the Deskpool virtual machine. Users can set a static IP for the virtual machine or bind the MAC address of the virtual machine to an IP address on the DHCP server. The timestamp information in the name of Deskpool virtual machine will be different, it is recommended not to modify the name. Deskpool virtual machine is based on CentOS 6.4. The default password for the root user is "deskpool". It is recommended for administrators to change the password in a timely manner. For more information, please refer to Section 4.1 of this manual. It is recommended to install only one Deskpool virtual machine instance on a single sever. 3.5 Installing Windows Virtual Desktop Please skip this step if a desktop virtual machine available for creation of Deskpool Template (Golden Image) is imported as per Section 3.3 or a Windows virtual machine is installed for the same purpose. For installing the virtual desktop, you may refer to http://technet.microsoft.com/en-us/library/hh846766.aspx or Deployment and Management of Windows Server 2012 Hyper-V. In case RemoteFX vgpu features of the virtual desktop are required, you need to add RemoteFX 3D video adapter to the Windows virtual machine, please refer to Section 4.9 for the specifics. Before the virtual desktop could be imported as a Deskpool template, there are some conditions should be met. Please refer to the following notes for the details, as well as the Deskpool Template Tool. Note: The following are basic conditions and settings for the Windows virtual desktop to be available for creation of Deskpool Template: The Windows virtual desktop is running. It must be an activated Enterprise Edition with SP1 patch or higher. Hyper-V integration service must be installed. It acquires dynamic IP from the DHCP server. There shall be no checkpoint in the virtual machine. All checkpoints shall be removed. Make sure you have the administrator account and password for the virtual desktop and the password cannot be empty. For specifics, please refer to Section 4.3. Enable the "Remote Desktop" option of the virtual desktop and do not enable the Network Level Authentication feature. For specifics, please refer to Section 4.. Turn on the "File and Printer Sharing" feature of the virtual desktop, see Section 4.5 for the specifics, and also the cross-subnet sharing function in case the Deskpool virtual machine and virtual desktop are in different subnets. The "Remote Desktop" and "File and Printer Sharing" shall be allowed through the Windows Firewall, see Section 4.6 for the specifics. Page 18 of 35
In the case of Windows XP system, make sure to adopt the "classic" mode of local security settings, refer to Section 4.7 for the specifics. "Deskpool Template Tool" - the diagnostic and configuration tool for Deskpool virtual desktop template. Before creating a template, you can use this tool to quickly and easily check whether the virtual desktop meets the above conditions and automatically complete the basic settings of the virtual desktop. Please access the following URL to download this tool: http://deskpool-vm-ip/downloads, in which the Deskpool-VM-IP is the IP address of Deskpool virtual appliance. 3.6 Deskpool Initialization Wizard Deskpool desktop management system provides a complete Initialization Wizard. Users could quickly finish the Deskpool installation at first time. Run the browser on a Windows host and enter the IP address of Deskpool virtual machine in the address bar: https://deskpool-ipaddress, then enter the login page. Please install Jieyun RDP plugin before logging in. Note: Deskpool management system adopts the https protocol by default. Please trust the connection. Upon your first visit to the login screen, you d better to download and install the Jieyun RDP plugin by following the link shown at the lower right corner of Figure 3-18. Figure 3-18 Deskpool login page The default administrator login account is: Username: admin Password: deskpool As shown below, the wizard window will automatically pop up upon your first login to the Deskpool system: Page 19 of 35
Figure 3-19 Deskpool wizard prompt window The wizard consists of four major tasks, and each can be divided to several steps. Users may complete these tasks in order by following the wizard guide: (1) System initialization (2) Create a template (3) Create a desktop pool (4) Create a user 3.6.1 System Initialization Click on the start button shown by the wizard prompt window to start the system initialization task. As shown in Figure 3-20 below, the main steps of the system initialization will be shown on screen, click [Continue] to start the system initialization task. Figure 3-20 Wizard for system initialization As shown in Figure 3-21, system initialization can be completed in four steps: Hypervisor: Select Hyper-V type and enter the IP address of Windows Server and the Administrator password obtained as per Section 3.1; Page 20 of 35
Storage & Network: Local storage and network resources will be shown in the drop-down list. Please select storage and network used by the desktop virtual machine; Cluster: Creation of a new Deskpool cluster is chosen by default; User database: In default the local user database will be used. In case the Active Directory domain is selected, please refer to "Deskpool Administrator Guide" for guidance. Figure 3-21 System Initialization Wizard 3.6.2 Creating a Template After completing the system initialization, the wizard will prompt the user to start creating templates as shown in Figure 3-22. During the process the golden image will be created. Figure 3-22 Prompts for creating a template As shown in Figure 3-23, there are five steps to create a template: Import image: Select the Windows virtual desktop prepared as per Section 3.3 or 3.5, enter the name of the new template and description information, then start importing image (In case the image cannot be imported, please modify the settings of Windows virtual desktop by reference to the prompt message). Note: Only a running Windows virtual desktop meets the conditions described in Section 3.5 can be imported, and users can use Deskpool Template Tool to make the virtual desktop importable. Page 21 of 35
Installing the agent: In default, the agent will be installed automatically. In case of manual agent installation, please refer to "Deskpool Administrator Guide". Edit the template: When editing the template, the user can click on [Connect] to log into template image and install the application softwares. Click [Verify] to confirm the check list, then enter the next step. Note: If [Connect] button does not work, check if Jieyun RDP plug-in is installed, refer to Figure 3-18. Prepare the template: During the template preparation step, you need to make sure whether this template is for "Dedicated & Shared Desktops" or just for the "Shared Desktops", for more information on desktop types, please refer to "Deskpool Administrator Guide"; Template test: To determine the usability of the template, the user can click on the [Connect] and use the RDP protocol to connect to a test virtual desktop cloned from this template, then click [Save Template] to save it or click [Back] to re-edit it. Figure 3-23 Wizard for template creation (the agent will be installed automatically) The dialog shown in Figure 3-24 is for showing the progress and status of template creation. Figure 3-24 Progress and status dialog for template creation Page 22 of 35
3.6.3 Creating a Desktop Pool After a successful template creation, the Wizard then prompts the user to create a desktop pool as shown in Figure 3-25. Desktop pool is the basic model of Deskpool system, meaning a collection of virtual desktops created on the same template and with the same specifications, the same type as well as maintenance strategies, refer to "Deskpool Administrator Guide" for detailed description of the pool model. Figure 3-25 Wizard prompt for creating a pool As shown in Figure 3-26, there are two steps to create a desktop pool: Basic information: Enter the name and description of the pool and select for the pool the template created as per Section 3.6.2; specify the memory, vcpu specifications, RemoetFX options and resolution settings of each virtual desktop in the pool; enter the prefixes and suffixes of the virtual desktop name. Refer to "Deskpool Administrator Guide" in case change of other default settings is required. Configure policy: Enter the maximum parameter of virtual desktop in the pool and the parameter of prestarted virtual desktop. Refer to "Deskpool Administrator Guide" if change to the default reset policy is required. Figure 3-26 Wizard for creating a desktop pool Note: Only when the template selected for the desktop pool requires has the RemoetFX 3D video adapter, the options switch for [Enable RemoteFX vgpu] and monitor configuration tab will appear on the Desktop Pool <Basic Information> window. Page 23 of 35
3.6.4 Creating a User After creating the desktop pool, Deskpool wizard will guide the user to enter the account management page as shown in Figure 3-27. Figure 3-27 Add a user Enter user name, password and first name, and then select a pool to finish. If no pool is assigned, the user will be associated with the "default" pool. Figure 3-28 User list At this point, the Deskpool deployment is finished. You may view the overview of the current virtual desktop system on the <desktops> page. Note that remote connection is only available when the VM is "running" state. Figure 3-29 Overview of virtual desktops Page 24 of 35
Figure 3-30 Overview of pool 3.7 Log on Deskpool Virtual Desktop After completing the above steps, the user can log into the Deskpool virtual desktops by a browser. As shown in Figure 3-31, the user accesses the Deskpool login page through Windows IE browser: Figure 3-30 Deskpool login page Enter the name and password of the new user added as per Section 3.6.4, then log in to Deskpool system and go to the virtual desktop connection page as shown in Figure 3-32. For users login at the first time, only the name of the pool will be shown at the central desktop icon, as no desktop has been assigned to the user yet. The user may click on the center screen of the desktop icon or the [Connection] button in the menu, after which the system will automatically assign a virtual desktop from the pool to the user. Page 25 of 35
Figure 3-32 Connect the virtual desktop at first time As shown in Figure 3-33, protocol can be set through the [Settings] button. Jieyun RDP plugin is required for using the Jieyun RDP protocol and the browser shall support opening of RDP files if use of RDP protocol is required. Figure 3-33 Setting desktop protocol Click on the desktop icon or [connection] menu to connect to a Windows virtual desktop. As shown in Figure 3-34, under the local user database mode, you need to enter the Windows administrator account used for template creation since the authentication of Windows desktop and Deskpool system is not unified. The authentication of Windows Page 26 of 35
desktop and Deskpool system is unified under the Active directory domain database mode, in which case you may refer to the "Deskpool Administrator Guide". Figure 3-34 Windows login 4 Frequently Asked Questions for Deskpool Deployment 4.1 How to Change the Root Password of the Deskpool Virtual Machine Make sure the Deskpool virtual machine is running and execute the commands shown below in the connection window of Hyper-V manager. You can also log into Deskpool virtual machine through other SSH tools. The default password for the root user is "deskpool". [root@localhost ~]# passwd Changing password for user root New password: Enter the new password here Retype new password: Verify the new password here passwd: all authentication tokens updated successfully. 4.2 How to Change the Admin Password of Deskpool Management System Enter into the <system> page and click [Change Password] button. You may enter the old password and new password in the dialog and click [OK] to change the admin password shown as the following figure. Page 27 of 35
Change the admin password 4.3 Administrator Account of the Virtual Desktop to be Imported It is recommended for the user to provide the "Administrator" account and password of the Windows virtual desktop when importing it to Deskpool; you can also provide other local accounts with administrator account type. Note: If administrator account is used when importing Windows XP virtual desktop, you must set a password for the Administrator account (blank password is not allowed), and set the administrator account as active; at the same time, the local security policy (refer to Section 4.7 of this manual) shall be set at the "classic" mode. If a local account with administrator account type is used when importing Windows 7 virtual desktop, the Microsoft User Access Control (UAC) must be closed, please refer to Section 4.8 of this manual. For more information, please refer to Microsoft Technical Support: http://support.microsoft.com/kb/951016 4.4 How to Turn on the Remote Desktop Option The figure below shows the ways to turn on the remote Desktop option in the Windows7 and Windows XP desktops respectively: Note: Please check the option "Allow connections from computers running any version of Remote Desktop" when enabling the remote desktop feature of Windows 7. Page 28 of 35
Enabling the remote desktop feature of Windows 7 and Windows XP 4.5 How to Enable the "File and Printer Sharing" Feature The "File and Printer Sharing" of Windows XP is enabled by default, you may check by entering the window of Network Connection Properties. As for Windows 7, please refer to the following figure to enable the "File and Printer Sharing" feature. Enabling File and Printer Sharing in Windows 7 4.6 How to Add Windows Firewall Exceptions Page 29 of 35
Setting firewall exceptions in Windows XP Setting firewall exceptions in Windows XP 4.7 Configure the Local Security Policy of Windows XP to "Classic" Mode In Windows XP desktop, click [Control Panel] -> [Administrative Tools] -> [Local Security Settings], the <Local Security Settings> window as shown below will appear. Select [Local Policies] -> [Security Options] to enter the window of <Network access: Sharing and security model for local accounts> to set "Classic - local users authenticate as themselves". Page 30 of 35
Configure local security to classic mode under Windows XP 4.8 Close the UAC Settings for Windows 7 Users Select "Never notify" in the window of <User Account Control Settings> as shown below through [Control Panel] -> [User Accounts and Family Safety] -> [User Account] in Windows 7. Change the UAC settings for Windows 7 user 4.9 Add the RemoteFX 3D Video Adapter for a Virtual Machine In order to add a RemoteFX 3D video adapter in the Windows virtual machine over the Hyper-V 2012 R2 platform, the following conditions need to be met: The Windows virtual desktop must be Enterprise Edition, Ultimate Edition of Windows7 or Windows8. Page 31 of 35
The Windows virtual machine must be shut down; Server CPU must support SLAT feature (Xeon E55xx or a later CPU has this feature); The server has a GPU card or integrated GPU resources; Motherboard and GPU drivers are installed correctly. Remote Desktop Virtualization Host Service is installed on the Windows Server. Select the already closed Windows virtual machine in Hyper-V Manager and open the settings window as shown on the left. Firstly add the RemoteFX 3D video adapter for the virtual machine, as shown on the right, secondly configure the maximum number of monitors and maximum monitor resolution of the RemoetFX 3D video adapter, the default configuration can be used directly. If required, click [remove] as shown on the right to remove the RemoteFX 3D video adapter. Add the RemoteFX 3D video adapter 4.10 Configure the Deskpool Virtual Machine to Start Automatically Select the Deskpool virtual machine in Hyper-V Manager and open the Settings dialog as shown below, then set the automatic start action of the virtual machine to "Always Start ". Page 32 of 35
Change the user's UAC settings 4.11 Manually Configure the IP Addresses of the Deskpool Virtual Machine There are two ways to change the IP address of the Deskpool virtual machine By reference to the "Deskpool Administrator Guide", enter the <Server Properties> dialog in Deskpool management system, then click [Network Settings] to complete the dynamic IP or static IP settings. Or log into Deskpool virtual machine as a root user and follow the steps below to change the IP address of the virtual machine: 1) Open ifcfg-eth0 file [root@localhost network-scripts]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 2) Edit ifcfg-eth0 file If DHCP is used, the following settings can be used as reference: DEVICE=eth0 #NIC interface name TYPE=Ethernet # NIC type ONBOOT=yes #Whether to automatically load when the system starts BOOTPROTO=dhcp # Enable dynamic address protocol If static IP is used, the following settings can be used as reference: TYPE=Ethernet #NIC type DEVICE=eth0 #NIC interface name ONBOOT=yes #Whether to automatically load when the system starts BOOTPROTO=static # Enable static address protocol IPADDR=192.168.1.5 #NIC IP address NETMASK=255.255.255.0 #NIC network address GATEWAY=192.168.1.1 # NIC gateway address DNS1=10.203.104.41 # NIC DNS address Page 33 of 35
BROADCAST=192.168.1.255 #NIC broadcast address 3) Save changes to the ifcfg-eth0 file and restart the network services: [root@localhost network-scripts]# /etc/init.d/networking restart 4.12 Enable or Stop Built-in DHCP Service of Deskpool The DHCP server is required to provide dynamic IP service in deploying Deskpool desktop virtualized environment; and usually, the independent DHCP server is installed in the network, or the DHCP service is provided by the router. Users can start the DHCP service of the Deskpool virtual machine if DHCP service is not available in the network environment, to provide dynamic IP distribution service for the Deskpool desktop virtualized system. Note: Users shall make sure whether the current network environment has other DHCP service before starting the DHCP service of the Deskpool virtual machine because the Deskpool system cannot work normally if many DHCP servers exist in the network. Static IP shall be set for Deskpool virtual machine first before starting the DHCP service. Users shall make sure the distribution scope of the IP address will not conflict with the static IP in the network when configuring the DHCP service of the Deskpool virtual machine. DHCP service of the Deskpool virtual machine shall be stopped in time when the independent DHCP service is deployed for the network environment. Enable the DHCP service of the Deskpool virtual machine, including following steps: 1) Log in the Deskpool virtual machine with identity of root user. 2) Copy dhcpd.conf.sample to /etc/dhcpd.conf, and modify according to need. [root@localhost ~]# cd /etc/dhcp/ [root@localhost dhcp]# cp dhcpd.conf.sample dhcpd.conf cp: overwrite `dhcpd.conf'? y [root@localhost dhcp]# cat dhcpd.conf subnet 192.168.1.0 netmask 255.255.255.0 #Subnet and subnet mask { range 192.168.1.100 192.168.1.200; #Allocation interval of dynamic IP option routers 192.168.1.1; # Gateway address default-lease-time 3600; #Default IP lease time, second max-lease-time 7200; #Maximum lease time, second } The above-mentioned commands show configuration of default DHCP and some of the following configurations can be added according to need: option domain-name-servers 202.106.0.20 8.8.8.8; #DNS setting option domain-name "deskpool.com"; #Setting of default domain option broadcast-address 192.168.1.255; #Broadcast address 3) Enable DHCP service [root@localhost etc]# service dhcpd start 4) Set DHCP service to start automatically Page 34 of 35
[root@localhost etc]# chkconfig dhcpd on Stop DHCP service of Deskpool virtual machine, including following steps: 1) Log in the Deskpool virtual machine with identity of root user; 2) Stop DHCP service [root@localhost etc]# service dhcpd stop 3) Cancel automatic start of DHCP service [root@localhost etc]# chkconfig dhcpd off Page 35 of 35