Microsoft RDS - Thoughts and walkthrough 1/3 - Introduction, architecture and installation Microsoft RDS - Thoughts and walkthrough 2/3 - Setup, security and optimization Microsoft RDS - Thoughts and walkthrough 3/3 - SP1 and Remote FX - Citrix Now everything is install, we need to configure and establish a communication between each component. Here we go, first we need to authorize TESTRDS1, TESTRDS2 and TESTRDSINFRA to exchange information about their RDS roles : On TESTINFRA, in the local group TS WEB Access Computers you need to add TESTRDS1 and TESTRDS2 serveurs : On TESTRDS1 and TESTRDS2, make sure to add TESTINFRA to the very same group Then on TESTINFRA, through the Server Manager console, you need to go in Remote Desktop Services  / Remote Desktop Connection Manager and then click on RD Web Access Server make sure all the machine are added : Now, still on TESTINFRA, web need to add the two Remote Session host servers to the Session Broker Computers local group This is now the DNS part, we need to create two (A) records, I chose applications and you'll need the two IP addresses of your RD servers. In my case it mean : TESTRDS1 = 192.168.0.11 and TESTRDS2 = 192.168.0.18 Now we need to configure the two session host servers (TESTRDS1 / TESTRDS2) to use the broker (TESTINFRA), to do so, on TESTRDS1 and TESTRDS2, go through the server manager console to the Remote Desktop Session Host Configuration and double click on the option, Member of farm in RD connection broker: And change as follow : And finally, configure RemoteApp (on TESTRDSINFRA) to Connect to the RD Server Farm (TESTRDS1 and TESTRDS2) Don't forget to make the change on both servers (TESTRDS1 & TESTRDS2) then we need to configure the Connection Broker for RemoteApp Programs (on TESTRDSINFRA) by changing the following options (right click on the main panel) and fill the information by the name you chose to add earlier in the DNS. We're done for the configuration part, now we can test (don't forget to publish some application), launch Internet Explorer and type the url of you Web Access server, for it look like : http://testrdsinfra.suomi.inc/rdweb Beside the warning we got because we didn't deploy any certificate, everything is working well and it looks good. I tested a bit and tried to connect with a old Wyse Sx0 / Winterm S30 and I faced a…

Microsoft RDS - Thoughts and walkthrough 1/3 - Introduction, architecture and installation Microsoft RDS - Thoughts and walkthrough 2/3 - Setup, security and optimization Microsoft RDS - Thoughts and walkthrough 3/3 - SP1 and Remote FX - Citrix With Microsoft Windows 2008 R2, Microsoft deliver an affordable application publishing system (XenApp like) for the micro size business and small business size company. Often these customers ask us : "Why XenApp is so expensive? Microsoft are doing the same !" and most of the time my answer is yes, Citrix are more expensive but if you really compare all the features, you'll see there is differences. And these differences are still huge but most of my SMB customers just need what Microsoft can bring with RDS at first. I mention at first, because once they taste the power of virtualization and the delivery in a blink of an eye, they can make the jump and check Citrix products out. I wrote this blog because I had to deploy a full Microsoft RDS architecture with Remote Desktop Session Host,  Remote Desktop Licensing, Remote Desktop Connection Broker and Remote Desktop Web Access and I think in less than one year this very same customer will call to request a XenApp or XenDesktop POC. So if I want this customer call next year, I need to do a good job so he will really use this RDS infrastructure and users will get use to being able to work from everywhere. For the one not use to 2008 R2 yet, terminology did change too : Previous name Name in Windows Server 2008 R2 Terminal Services Remote Desktop Services Terminal Server Remote Desktop Session Host (RD Session Host) Terminal Services Licensing (TS Licensing) Remote Desktop Licensing (RD Licensing) Terminal Services Gateway (TS Gateway) Remote Desktop Gateway (RD Gateway) Terminal Services Session Broker (TS Session Broker) Remote Desktop Connection Broker (RD Connection Broker) Terminal Services Web Access (TS Web Access) Remote Desktop Web Access (RD Web Access) Previous name Name in Windows Server 2008 R2 Terminal Services Manager Remote Desktop Services Manager Terminal Services Configuration Remote Desktop Session Host Configuration TS Gateway Manager Remote Desktop Gateway Manager TS Licensing Manager Remote Desktop Licensing Manager TS RemoteApp Manager RemoteApp Manager Now let's go for a basic setup with 3 machines (Microsoft Windows 2008 R2) 2 machines with the Remote Desktop Session Host role - TESTRDS1 & TESTRDS2 1 machine with Remote Desktop Connection Broker and Remote Desktop…

WP-XenServerStats - Wordpress Plugin for XenServer 1/2 WP-XenServerStats - Wordpress Plugin for XenServer 2/2 In the first part of this blog, I made a list about what I wanted to do, how to get the data and how to transport it from my XenServer (home) to my Web Host (Datacenter). Now I'll explain how I create one Wordpress plug-in (my first one) to show everything : It looks good, and even if it's really low level on the dev side in PHP and scripting, it works well. In Wordpress, there is this sidebar, on the right, if you want to add something you can chose to do it as widget, it's clean and not hard coded in the main Wordpress code, then you can easily keep this plug-in and keep it working without changing anything from a theme to another. I created a file named : wp-xenserverstats.php in a new directory : http://www.domainname.com/wp-content/plugins/wp-xenserverstats/wp-xenserverstats.php this is the main plug-in file and as you can read bellow, this is very very basic. So as you see, there is still some hard coded path... I try to get rid of that this week, and if someone can give me the tip, it will save me some time... I think you have everything to try to make it work on your side with some change. Of course if you want the information refresh automatically on your blog you need to setup a cron, I chose hourly for me, to run the script describe in the first part of this blog. You can download a zip file containing the plug-in directory with the bash script to gather all the data on your XenServer here : For some of you more skilled than me, maybe you would like to help, you can send me your modification or post comment here, I'll modify the blog entries or create a new blog if needed :) Here is the list about things I want to do to make this plugin easy to setup and use : Export all data in MySQL instead of files Use path variable for everything Adding more information : XenServer host version, Disk usage, Network usage, Memory usage Adding a graphic performance for the host and for each VMs I hope some of you will test that out and share the www their XenServer stats !

WP-XenServerStats - Wordpress Plugin for XenServer 1/2 WP-XenServerStats - Wordpress Plugin for XenServer 2/2 I got this idea when I saw Nick (Show And Tell : First vSphere Plugin for WordPress!) doing something I wanted to do for Citrix XenServer. Then before trying to do myself (I'm a very bad dev....) I've try to find someone who did it better than I would ever do... And no one did it(yet)... So here I am trying to make something nice and learning again something new (php / mysql / function etc...) just to show off my XenServer @ Home hypervisor stats. I got everything working, but I'm sure someone, better dev than me would make a really cleaner and efficient job. I've study Citrix XenServer 5.6 FP1 SDK documentation / references and this is hard (for me) to try to find a good way to handle and find values I'm looking for. So my first step was to list everything I wanted to see on my widget bar (the bar on the right on this blog) Here is the list : Show Hostname Show Number of CPU Show Memory amount Show Number of VMs Show Number of VMs On Show Number of VMs Off Show Number of VMs Paused Show Last data refresh update time Automatic information refresh every hour Storing these data in my MySQL database At first I needed to find a mechanism to get all those data the simplest way possible. As I told you, I'm not very comfortable yet with MySQL stuffs, so I'll do it the old way because there is really not much data and I think this is a good start. To get the amount of VMs running on my host it came very quicky a simple way to get it : And then using the same way, it was be very easy to get the Powered, Halted and Suspended ones : As you might have understand I'm listing VM with their status and I'm using the grep -c option to count the number of line in the result. Why I'm doing it that way ? Because I already know how to read a value from a text file in php and I won't burst my mind yet to try something else. If I'm able to transport this information from my XenServer to my Web Host, I'll be able to display it. I'm still…