How-To
News
Help
Forum

Using Virtualized Resources

The scope of this document is to provide a comprehensive overview of what is possible to achieve with virtualized resources and how to setup 2X to work with said virtualized resources.

By adding the VDI Host to the 2X Application Server one can manage the virtual machines on the VDI Host, create guest clones and publish virtual desktops and applications from virtual guests.

The 2X VDI Agent requires the following ports open to operate properly:

  • TCP: 30006 and 30007
  • UDP: 30006

Different hypervisors will require different configuration and setup processes. This is due to the fact that ever every platform works differently.  

Within this document, the necessary setup and configuration for the following Hypervisors will be covered:

  1. Microsoft HyperV VDI Host
  2. VMWare VDI Host with Vcenter
  3. vESXi VDI Host

Microsoft HyperV VDI Host

Adding a Microsoft Hyper-V hypervisor is in most cases the simplest of all deployments. In essence, the only prerequisites for successful operation are the following:

  1. A machine running Microsoft Hyper-V (instructions here: http://technet.microsoft.com/en-us/library/cc732470%28v=ws.10%29.aspx)
  2. Deployment of the VDI Agent role

Configuring a HyperV VDI Host

Configuration of a VDI host running Microsoft Hyper-V is possible as per the following steps:

  1. Highlight the VDI Hosts node from the navigation tree in the Farm category and from the Tasks drop down menu click Add
  2. In the first step of the wizard select MS Hyper-V from the VDI Type drop down menu and enter the hostname of the VDI host.

C:\documents\freelance\2x\training\Docs\New\screenshots\vdi_hyperv.png

  1. Click Next when ready and proceed with the wizard to install the VDI agent on the Host

VMWare VDI Host with Vcenter

Configuration of a VDI host running VMware vCenter is possible as per the following steps:

  1. Select the VDI Hosts node from the navigation tree in the Farm category and from the Tasks drop down menu click Add
  2. In the first step of the VDI Hosts wizard, select VMware vCenter from the VDI Type drop down menu and specify VC as VDI Host. Click Next  to proceed

C:\documents\freelance\2x\training\Docs\New\screenshots\vdi_host_1.png

  1. Like with other servers, proceed with the wizard to install the VDI Agent on the host machine where VMware vCenter is installed
  2. Once the VDI Agent is installed specify the credentials of the VMWare vCenter server so the product can connect to it

C:\documents\freelance\2x\training\Docs\New\screenshots\vdi_credentials.png

  1. Click OK to add the new VDI Host to the 2X Remote Application Server farm.

vESXi VDI Host

Configuration of a VDI host running vESXi is possible as per the following steps:

Note: If the VMWare ESX server is managed by VCenter which have a 2X VDI Agent installed on it there is no need to install the appliance on the ESX server.

Install 2X VDI Agent Appliance

The below procedure shows the first pre-requisite in order to manage a vESXi host. The 2X VDI Agent Appliance on the ESXi server will act as the VDI agent on the ESXi server.

This can be done as follows:

  1. Download the necessary Appliance from: http://www.2x.com/ras/downloadlinks/
  2. Extract the 2X_VDI_Agent_Appliance_vSphere
  3. Login to the VMWare vEXSi server using vSphere client
  4. Select Deploy OVF Template from the File drop down menu to launch the wizard
  5. Click Browse, browse to the OVF template 2X VDI Agent Appliance.ovf and click Open
  6. Proceed through the wizard and import the virtual machine
  7. Run the new 2X VDI Agent Appliance and open the Console
  8. If prompted, specify a new password for the root account once prompted

https://lh4.googleusercontent.com/9XhsG2CbsRDH84ZYB7czxvF9mx31iuLcGmNTmsWhIx7KzAHypSg1SB7_mZiL4i1UTKk4GayZ6PM0bG6foieDgHQmUzBsQXVdDwH1kGVMx41go0e9-7yuU3BHaRZHWsFSRVrBZrjbudg

  1. Select the option to configure network manually once prompted and use the below details:
  1. IP Address: 192.168.131.25
  2. Network Mask 255.255.255.0
  3. Gateway: 192.168.131.2
  4. Name Server: 192.168.131.111

https://lh5.googleusercontent.com/WUbvS8c4k9zniR5g0xxwSurl6HwD3HjZYwk31m0GQnyXnXqu8wPMs-zwpYvomvq9ifE1DlQ-pzIFRdzdiqVSSzbj3cKCmO7obu55x_XhNdjrrHj-7W9RgC7SsdDJ7ErWEBo4iE1x_eQ

  1. Click Apply once ready

Adding ESXi as a VDI Host

Once the appliance has been setup, the next step is to configure the server as a VDI host.

This can be done as follows:

  1. From the Farm category navigate to the VDI Hosts node and click Add from the Tasks drop down menu
  2. In the first step of the wizard, select VMware ESX from the VDI Type drop down menu and specify the VDI Host IP and the VDI Agent appliance IP in the VDI Agent input field

https://lh5.googleusercontent.com/OHeQAEfmHN946psY6RzM8ILEXS9AHQSocCtyZ3bvmAhlw6ylx7kDxkVhINwuHcmsUKWD5PIiCFiUMTKAlW9JAFAE6hhzBgw9md2h6zFsvYP-1_Zg18OpyKBSuhmaYCCgu8fzm1GNpcw

  1. In the Installing 2X VDI Agent dialog box specify the credentials of the VDI Agent machine (using root as username)

https://lh3.googleusercontent.com/khpWg4ReJ0JFIYUi5M3lSzBXSax62oog-ppUOvpmYDkXd_30EcJkHxXu3E05L2oJvk4_1y-VzHJxs7VW9fmscMXn5dTd3EZ5Wk8UmD-MU84YqQIqRbA-KXiAac-A8EQpQoUFER7VU-o

  1. Proceed with the wizard to add the server to the 2X Remote Application Server farm.

With these steps, an Administrator should have his desired VDI host configured and available within the 2X Console.

Managing Guests

Guests are the virtual machines running on the VDI Hosts. To manage the guests and publish resources from them, the 2X VDI Guest agent has to be installed on the guest machines.

To list and manage guests on a VDI host, highlight the Host in the 2X Console and click Virtual Guest Settings.

https://lh4.googleusercontent.com/TJn6kekWiCRo-9UdAllLJ0sJuGYDMij4BvGtLVe1ogk3hPk1TT0nxpiROGrRou-1il2C4Pwk-tyOYA6aLz_IkNlG-DzgY53d5fnLPIfuNNmWn-s6Am3ndltNmeNeDSq8Ot2PbMKvSOU

Default Guest Settings

To configure the default connection timeout and other settings related to the communication between the 2X Remote Application Server and the guest, select Default Settings from the Tasks drop down menu.

https://lh5.googleusercontent.com/ZAeQ1B6KFcL_cmAXAIbZjatD-etrlehNMi4PRrWTy5cIJoC2yy54yuzY3Z-0THq2RVI0CksEDkmENIUJJqqwMKGa8rm5n93-C6-DWqZZJpaPKm5MoSoBfm_oMCtb_5DqKvXdbb35iEo

Note: Default settings can be overridden when configured specifically on the guest.

Installing the 2X VDI Guest Agent

For the VDI Agent to communicate with the 2X Remote Application Server farm, the following ports should be open:

  • TCP: 30004
  • UDP: 30004

To install the 2X VDI Guest Agent:

  1. Power on the guest from the Virtual Guests List dialog box
  2. Highlight the guest and select Check Agent from the Tasks drop down menu
  3. Proceed with a normal 2X agent installation

https://lh3.googleusercontent.com/iTHImlVXRCRCqNIGvUrkMbHcr_2u9LtweGAkFIVR0FsHCGtJDZuCvuUglaHkk1Amcvh5jY7e09UxCFwKFH7Jpjmg6tWiYEv7fqK9mg87kD09XdBDxKnsx9ngbuh1nExX3j5u4yIGIhQ

Managing Guests Pools

Pools are used to manage extensive number of guests from VDI hosts. Pools can be managed from Pool Management tab in the VDI Hosts node.

Creating a New Pool

To create a new pool select Add from the Tasks drop down menu in the Pools section and specify a pool name.

Adding Members to a Pool

To add members to a pool, highlight the pool name from the Pools section and select the specific action from the Add in the Members section Tasks drop down menu.

Note: 2X Remote Application Server also supports native pools of certain virtualization solutions. Hence should you have a pool already setup on one of your VDI hosts, you can add that native pool to a 2X pool.

Publishing Resources from VDI Guests

You can publish both virtual desktops and applications (unique feature to 2X Remote Application Server) from VDI guests, or pools of VDI guests. By following this procedure you will be able to publish the notepad application from the bereavement vDesktopE1 guest:

  1. Click Add from the Publishing category to launch the publishing wizard
  2. In the first step of the wizard select Application
  3. In the second step of the wizard select Virtual Guest

  1. Proceed with the wizard and in the fourth step of the wizard specify the application details (click the browse () button to specify an application path)
  1. In the Virtual Guest Settings select Specific Guest and use the drop down arrow to select the guest vDesktop E1

  1. Click Finish to publish the application.

Note: The same procedure applies when publishing a desktop from a VDI guest.

Managing 2X Templates

2X Templates allow you to automatically create and deploy virtual guest clones when needed.

Creating a 2X Template

In this exercise you will create a 2X template from the vDesktopE1 guest machine:

  1. Navigate to the 2X Templates tab in the VDI Hosts node
  2. Select Add from the Tasks drop down menu
  3. Select vDesktopE1 from the Virtual Guests Lists and click OK

https://lh4.googleusercontent.com/ZKpvCyhkk8X9OgmbGBu09J55dAScIOy9xcEiVFruoVDAmMSz8w4tFvMwxGZQacsG48bhXwldwo7lBTpwwsq6-2kSCySIuMH-0TbzScsKBLQ-z1BEnOQAoeYb_QYF6r9ZqR0-a-R2TAM

  1. Once you install the 2X Guest Agent, click Make Template

https://lh3.googleusercontent.com/eQe4z9ebupZCoA2eFDN8oo_JBWVGTkQvA6joWdQytJJ62qIHir516eGsuCWvsaEPPsrks-XJHgo_dkH2c3Jc7yMuueo33XBkkq95S6FZRE18LrD7t4KPh2zdDM-SUZ5yiy866DBIOMc

Note: During the template generation process the guest machine will be powered off

  1. Once the template is ready, use the wizard to configure the guest templates by specifying:
  1. Template name
  2. Maximum number of guests
  3. Pre-created guests
  4. Guests names

https://lh5.googleusercontent.com/ov1nxv_CXwLexMqJkUg9zx4jmrLB6emgxkoDalA0ehDzyg8pDWScVeWi1UgnQP1V508eb8DpNIgjf6pishLe_jnHqVFBupPvhTYpE96r6lyfiWmtENKgAbexZycmot4WgLyfWstyUL8

  1. In the second step of the wizard you have to specify:
  1. Folder where the guest virtual templates will be created
  2. Pool Name

  1. In the third step of the wizard you have to specify SysPrep details, mainly:
  1. Owner Name
  2. Organization
  3. Administrator password
  4. Specify if virtual guests should be part of a workgroup or of a domain

https://lh4.googleusercontent.com/Xsp7uMxg7AVU9qSWJkewDRWRLZMqM3SB-xBy6r3LhTmVFFflqm7tIRgGyODNIXO2JmCPZy9xD97HSOcUgvZkRdbIBvkQ5qiyVy8l26XFR_lENZSLDbDUYFe53xV1lEgwhs6LyUFBTao

  1. In the last step of the wizard specify the operating system licenses used by the virtual guests.

At this stage you can proceed and publish desktops from the virtual guests.

Managing and Updating 2X Templates

Prior to updating a 2X template, for example to apply a number of security patches so new virtual guests are created with such patch installed, switch the template to maintenance mode by highlighting the template name and select Maintenance from the Tasks drop down menu.

Once this is done, an Administrator can choose to publish Desktops or Applications from Virtual machines, automatically create clones of a VM based off a template based upon user requests and have extensive management of resources published through the console.