QVD 3.5.0 Installation Guide I
Total Page:16
File Type:pdf, Size:1020Kb
ABEGINNER’S GUIDE TO QVD 3.5.0 Installation QVD DOCUMENTATION <[email protected]> November 5, 2018 QVD 3.5.0 Installation Guide i Contents I QVD Installation Guide1 1 What is QVD? 2 1.1 Components and Architecture............................................3 1.1.1 QVD Client..................................................3 1.1.2 QVD Server.................................................4 1.1.3 QVD Administration.............................................4 1.1.4 PostgreSQL DBMS..............................................5 1.1.5 Shared Storage................................................5 1.1.5.1 General Storage..........................................5 1.1.5.2 KVM Storage Directories.....................................5 1.1.5.3 LXC Storage Directories.....................................6 2 Planning your QVD Solution 7 2.1 General Requirements................................................7 2.1.1 Ubuntu Linux.................................................7 2.1.2 SUSE Linux.................................................8 2.2 System Hardware Requirements...........................................9 2.3 Networking Requirements..............................................9 3 Installing the QVD Demo Virtual Machine 10 4 Installing and Configuring QVD DB 13 4.1 Installation...................................................... 13 4.2 Creating a user account................................................ 14 4.3 Creating the QVD database.............................................. 14 4.4 Changing PostgreSQL configuration......................................... 14 4.5 Base Configuration.................................................. 15 4.6 Installing the QVD tables............................................... 16 4.7 Testing access..................................................... 16 [email protected] i QVD 3.5.0 Installation Guide ii 5 Installing and Configuring QVD Server 17 5.1 Installation...................................................... 17 5.2 Setting Internal QVD Configuration Parameters................................... 18 5.3 Networking Requirements.............................................. 18 5.3.1 Set dnsmasq to be controlled by QVD.................................... 18 5.3.2 Configure IP forwarding........................................... 19 5.3.3 Configure a Network Bridge......................................... 19 5.3.4 Configure QVD for your Networking.................................... 20 5.4 Configuring SSL................................................... 21 5.4.1 Creating a self-signed certificate....................................... 21 5.4.2 Configure QVD to use the SSL Certificates................................. 22 6 Installing and Configuring QVD-WAT 23 6.1 Installation...................................................... 23 6.2 Running........................................................ 23 6.3 Add Your QVD Server Node............................................. 24 6.4 Installing Your First Image.............................................. 25 6.4.1 Download a demonstration Disk Image................................... 25 6.4.2 Load the image into QVD.......................................... 26 6.5 Adding Your First User................................................ 28 6.6 Attaching a Virtual Machine To A User....................................... 30 7 Installing and Configuring QVD Client 34 7.1 Downloading and Installing the Windows Client................................... 34 8 Additional Notes about Server Side Administration 40 8.1 Creating Your Own Image.............................................. 40 8.2 Making Changes To An Image............................................ 40 8.3 Configuring periodic tasks.............................................. 41 8.4 Authenticating Users Against LDAP......................................... 41 8.5 Managing A Virtual Machine As An Administrator................................. 41 8.6 LXC Virtualization inside QVD........................................... 42 9 Conclusion 43 [email protected] ii QVD 3.5.0 Installation Guide iii List of Figures 3.1 VirtualBox Appliance Import Settings Screen.................................... 11 6.1 The Node link in the QVD-WAT Navigation bar................................... 24 6.2 Adding a New QVD Server Node in the QVD-WAT................................. 25 6.3 The OS Flavours link in the QVD-WAT Navigation bar............................... 26 6.4 Adding an OS Flavour to QVD using the QVD-WAT................................ 26 6.5 The Disk Images link in the QVD-WAT Navigation bar............................... 27 6.6 Adding an Image to QVD using the QVD-WAT................................... 28 6.7 The Users link in the QVD-WAT Navigation bar................................... 29 6.8 Adding a User in the QVD-WAT........................................... 29 6.9 After Adding a User in the QVD-WAT........................................ 30 6.10 Editing a User in the QVD-WAT to Attach a Virtual Machine............................ 31 6.11 The New Virtual Machine link............................................ 31 6.12 Adding a Virtual Machine to a User in the QVD-WAT................................ 32 6.13 The Virtual Machine added to a User in the QVD-WAT............................... 32 6.14 The Virtual Machine has started and is running................................... 33 7.1 The Windows QVD Client Installer Wizard..................................... 35 7.2 The Windows QVD Client.............................................. 36 7.3 Enter the details for your QVD connection...................................... 38 7.4 A Gnome desktop loaded under QVD........................................ 39 [email protected] iii QVD 3.5.0 Installation Guide iv Revision Information [email protected] iv QVD 3.5.0 Installation Guide v Introduction In this guide we will provide an introduction to QVD and will present the basic steps that you will need to take in order to set up and configure QVD server and the various auxiliary components that you will make use of. This guide is intended to help administrators understand how to set QVD up from scratch in a demonstration environment. It will provide the most simple installation and configuration instructions that can be used to get started. It will not go into any detail about additional configuration steps or build functionality, as these details will be covered in the QVD Administration Manual Please note that while versions of QVD since version 3.1 are capable of supporting LXC virtualization, this guide will explain how to configure the environment for the default KVM virtualization, in order to keep things as simple as possible. If you are interested in configuring your QVD installation to take advantage of LXC, please refer to the chapter titled Using LXC Virtualization in QVD in the QVD Administration Manual QVD is under continuous development. While we try to keep all of our documentation up to date with the current version, it is possible that some new functionality is provided before the documentation has been updated. If there are sections in this document which are have become obsolete, or if you find that some of the instructions provided do not work as expected, please do not hesitate to contact us. [email protected] v QVD 3.5.0 Installation Guide 1 / 43 Part I QVD Installation Guide [email protected] 1 QVD 3.5.0 Installation Guide 2 / 43 Chapter 1 What is QVD? QVD (Quality Virtual Desktop) is a Linux focused VDI (Virtual Desktop Infrastructure). The software is designed to entirely virtualize the Linux desktop, so that client systems are able to connect to a central server to load their desktop environment and applications. This means that when users work from their local machine, all of the programs, applications, processes, and data used are kept on the server and run centrally. Virtualization offers a number of benefits: • Users can switch between computers on a network and continue to work as if still located at the same desktop, with full access to all of their applications and data • Administrators have greater control over the applications that are installed on user’s systems, and are able to manage user data more easily to perform backups and virus scans etc • It is easier for Administrators to provision new desktops and to deploy applications for new users • There is reduced downtime in the case of hardware failures • Users can make use of a variety of different devices to access their desktop and applications, including laptops, PCs and smartphones • Users can work securely with the same desktop and applications from a remote location without the requirement for a VPN • Improved overall system and data security • Reduced costs of hardware, maintenance and administration The QVD Server virtualizes each Linux Desktop. This can be achieved by using one of two virtualization technologies. Most commonly the Linux Kernel Virtual Machine (KVM) is used as a complete bare-metal hypervisor, however as of QVD 3.1, it is also possibly to take advantage of Linux Containers (LXC) to achieve operating-system level virtualization. This virtualization helps to keep each user’s environment as its own discrete entity, to improve security and stability. Virtualization allows you to serve multiple Operating Systems or environments to your users, depending on their requirements. These are loaded as independent Images on the QVD Server. In general, you will only load one or two images for all of your users. These images provide the base operating system