Saturday, October 1, 2016

Deploying VDI for RDS 2012 / 2012 R2

Deploying VDI for RDS 2012 / 2012 R2 

Applies to: Windows Server 2012 and 2012 R2
In previous articles, we looked at the deployment steps of a traditional form of Remote Desktop Services (RDS) for 2012 and 2012 R2. Now let’s take a look at the setup of VDI for a 2012 RDS farm. This will be broken down into three parts. In this first part, we will go through the process of deploying the RD Virtualization Host role to a single Hyper-V server in an existing 2012 RDS farm. Then in the second part, we will go through the process of creating a desktop collection and publishing a Windows 7 pooled VDI desktop. Finally in part three, we will go through the process of maintaining a desktop image for a pooled desktop. This portion will cover the maintenance and updating of the main image in a pooled VDI desktop environment.

Part I

Before we begin, we will first need a physical 2012 server with the Hyper-V role installed. In a production environment, a Hyper-V cluster is preferred, however for this example, we will be using a single Hyper-V server for our deployment. This is a single physical domain joined 2012 R2 server running Hyper-V called Lab01. The server must be physical and not a virtual machine. We will add this new RD virtualization host (RDVH) server to our existing RD farm.
To begin, open Server Manager and add the designated RDVH server to be managed.
12
Once added, go to Manage and select Add Roles and Features.
3
On the Before you Begin Screen, hit next.
4
On the select installation type screen, select Remote Desktop Services installation and hit next.
5
Since we are adding the Virtualization Host to an existing RDS farm which is already being managed with Server Manager in the server pool, it will automatically find the RD connection broker as it will be listed in the drop down. Select standard type and hit next.
6
For the deployment scenario, select virtual machine-based desktop deployment and hit next.
7
On the review role services page, hit next.
8
Since our farm is already configured, on the “Select RD Connection Broker server” and the “Select RD Web Access server” screens, the information is automatically added for you. Click next on both screens.
9 10
On the Specify RD Virtualization Host Server screen, let’s add our designated Hyper-V server. In this scenario, we are also going to allow the wizard to create a new virtual switch within Hyper-V to be used for our virtual desktops. This step is not required if a virtual switch was already configured on the Hyper-V server. To do so, check the box which says “Create a new virtual switch on the selected servers” and hit next.
11
On the confirmation screen, review the settings, then check the box “Restart the destination server automatically if required”. Hit Deploy.
12
Once it is finished, hit Close to close out of the wizard. If you now look in Hyper-V Manager, you will see a new virtual switch was created and will be used for the virtual desktops.
13
Now that we have our RD Virtualization Host server deployed, let’s go back into RDMS within Server Manager and edit the deployment properties of our farm.
14
Within the deployment properties, we now have two new sections. One is called Active Directory and the other Export Location.
15
Within the Active Directory section, this is where we can specify the default Active Directory Organizational Unit which will house our VDI desktops. In order for this to work, the RD Connection Brokers will require full control on the security of the OU. Ive already pre-created an OU called VDI, and when I select it, it will give me an error stating the permissions are not correct.
16
Depending on the level of security with the account you are logged in as, you can hit apply for the correct security permissions to be applied to the OU. In some cases, you may be using an account which does not have access to make this change. In these cases, you can click on Generate Script and it will generate a PowerShell script you can copy and send to an admin who has the correct administrative privileges who can run the script to apply to appropriate permissions.
17
When the correct permissions are made, you will see the following message stating it is configured with the appropriate permissions.
18
If we look at the security settings for the OU, you can see the correct permissions have been made. It will apply these permissions for each of the RD Connection Brokers in the farm since these will be the servers which will be facilitating the creation and deletion of the virtual desktops.
19
Finally, let’s look at the Export Location section. Here we can specify the folder where the virtual template, which is used to create the desktops, will be copied to. The default location will be shared on the active RD Connection Broker to a folder called RDVirtualDesktopTemplate. If you already have a folder designated for the virtual template, you can change it here and apply the changes.
20
Now with our RD Virtualization Host deployed, we are ready to move on and create a new collection to publish our VDI desktops.

Saturday, September 24, 2016

VMware Host Client 1.0 released with vSphere 6.0 Update 2

VMware Host Client 1.0 released with vSphere 6.0 Update 2

vSphere 6.0 continues to support the Windows-based vSphere Client (also known as C# Client, or the VI Client.) Customers now also have the option to use the HTML5-based VMware Host Client to perform host-based operations in its place.

What’s Available with VMware Host Client 1.0?

  • Support for  Virtual Machine hardware version 4 through 11
  • Support for VM lifecycle operations, such as deploying, configuring, and editing virtual machines of various complexity, including console access and snapshot management
  • Creating and managing network resources such as port groups, switches, NICs and firewalls.
  • Creating and managing storage resources such as datastores, adapters and devices
  • Managing host configurations such as running/stopping services and tuning of advanced host parameters to improve performance
  • Display of resource settings and graphs of cpu, memory, disk and network utilization
  • Display of events, tasks and logs of resource components to aid in troubleshooting
  • And most importantly, nothing to INSTALL – just point your browser (Chrome, IE, Firefox or Safari) to your host’s IP address and you’re up and running!

How to Access VMware Host Client?

You no need to install VMware Host Client separately, if you are running with ESXi 6.0 Update 2 because Host Client is shipped with ESXi 6.0 U2. Alternatively, if you are running the ESXi 6.0 without update 2, You will be able to download and install offline bundle of VMware Host Client 1.0 into the ESXi host and you can use the VMware Host Client.
VMware Host Client
My ESXi host is already upgraded to ESXi 6.0 Update 2 (Build 3620759). To manage the ESXi host using VMware Host Client, Simply type https:///Ui and Login with your ESXi root Credentials.
VMware Host Client
Once you are logged into host Client, You will be able to see the new rich and great look of VMware Host client similar to the view of vSphere Web client.
VMware Host Client
Below is Virtual Machine view of VMware Host Client.
VMware Host Client -ESXi 6.0 Update 2
Host Monitor View of VMware Host Client. This view allows you view the performance charts of ESXi host, Hardware Health status, Evets & tasks, Logs View and Notifications.
VMware Host Client -ESXi 6 Update 2
With VMware Host Client, You will be able to read the ESXi log files under Logs tab in monitor view. You no need to log in SSH session to read the ESXi logs. This is really a great effort!!
Vmware Host Client -read logs
Networking View of ESXi host in VMware Host Client will allow you  to View, create and configure Port Groups, Virtual Switches, VMkernel Nics, TCP/IP stacks and Firewall rules for ESXi.
VMware Host Client -ESXi 6.0 U2
Storage view of ESXi host in VMware host client allow you to view and add the datastores, Register a VM and allow you to browse the datastore and other options as same as vSphere client.
VMware Host Client -Storage view
Manage ESXi host view of Host Client. Manage Tab allows to configure various settings like Advanced settings, Hardware, Licensing Settings, Services , Security & Services , Swap configuration and Time & Date settings.
VMware Host Client -Manage
That’s it. We are done. I hope this post will help you get overview about VMware host client which is by default shipped in ESXi 6.0 Update 2. Let’s play around with Host client. Thanks for Reading!! Be social and share it in social media like Google+, facebook and twitter, if you feel worth sharing it.