Saturday, February 21, 2015

Passed Project+ Certification Exam

Another class done towards my bachelor's degree, another certification attained. The Project+ exam was relatively straightforward. The training material provided by my university was much more difficult than the actual exam, which I suppose was a good thing - it prepared me well for the test. It also helped that I am engaged in projects at work, and utilize project management methodologies every day.

I now move onto my final two courses - Technical Writing and then my capstone project. The end is near!

Monday, February 16, 2015

Reuse AD machine accounts for RDS VDI

Just a quick tip. When you recreate pooled VDI in RDS, such as when updating the golden image, RDS will actually delete the Hyper-V VM and create a new one, as well as delete the AD machine account, and create a new one. This can pose a problem if you place your VDI machine accounts as members of AD security groups - that group membership will be lost when the VDI is updated.

In order to prevent this behavior, you can use the Enable-RDVirtualDesktopADMachineAccountReuse PowerShell cmdlet. This cmdlet prevents the RD connection broker from creating a new AD machine account, instead opting to reuse the existing machine account. This way, any existing group memberships will still be present after the VDI has recomposed.

Thursday, February 12, 2015

Upgrade RDS 2012 to 2012 R2

Recently I was tasked with upgrading an RDS 2012 environment to RDS 2012 R2. We had been having issues with the connection brokers and the Virtualization Host Agent Service on several VDI hosts. After consulting with several Microsoft Solution Architects and our TAM, the decision was made to upgrade the connection brokers and VDI hosts to 2012 R2 in order to address some of the issues we were experiencing.

In researching the upgrade path from RDS 2012 to 2012 R2, I discovered that Microsoft had published a series of TechNet articles describing the steps required to perform an upgrade to a live environment. Those articles can be found here - http://technet.microsoft.com/en-us/library/dn479239.aspx

Reading through these articles, I found the descriptions of several of the steps to be quite vague. Certain steps had little detail, and I was having trouble following the upgrade procedure. I also performed several searches and couldn't find any solid articles or blog postings detailing how to perform an in-place upgrade. There were several guides available on how to setup an RDS 2012 R2 environment from scratch, but not much in the way of performing an upgrade to an existing RDS 2012 environment.

After some trial and error, I was able to successfully upgrade the connection broker servers from 2012 to 2012 R2, with minimal downtime to the RDS environment. I wanted to share my upgrade experience in more detail than what is contained solely in the TechNet articles.