Open 24h/24
Follow us:

Grid posts 2 col + sidebar

Virtualization trend to the max
Microsoft Office (Exchange) 365 – RDSH Myth 20 Comments

For many years now, the everything in cloud is happening more and more, among all the services / software available as a services, most of the vendor are promising a cheaper way to manage their software and a much more simple way to manage it.. I know some of you will disagree with what I writing about and some will agree, this is a view from my experience on the field :) A couple of weeks ago I launched a small poll on Twitter asking this question : "Why Do you think companies are moving to Exchange 365 ?" Here are the results : "It's less complex" won the poll follow by "it's a fashion" and then "it's cheaper"... I tend to agree with everything here, because if you get rid of a complete Exchange infrastructure with all the people you need to architecture and manage it, it will be cheaper and less complex for sure ! But this is just a dream without complexity of companies and without user's usage of their Outlook. What I try to point here is : Moving to Exchange 365 is not as easy as it seems, some company do have a "basic" Outlook / Exchange usage and it won't bring issues but most of the companies I saw have had issue because Microsoft and Microsoft's Partner did not capture the way users were used to work with their Outlook mail software. The picture above is the "put everything into the Cloud, you will save money" ideal. This ideal is true and can be reached when you know your users work habits and already have an organised mail infrastructure. But this ideal can be easily broken If it looks easy on the paper or in a Powerpoint presentation, simple things can break this kind of project into pieces and make it fails.. How ? Here is a list (to be completed :D ) Outlook plugins Online Mode RDSH environment Bad Architecture decision / Consulting ... ... Outlook plugins is the work enemy of the Cloudification because it means in 90% of the case you'll be forced to keep Outlook mail client, it's a road block for OWA adoption... Once you're stuck with the Outlook mail client, you need to deal with the Online or Cache mode with Exchange 365... Piece of cake right ? Workstation / Laptop --> Cache mode enable, no problem ! But what about…

Post Citrix Synergy / E2Evc Dublin 2016 20 Comments

May and June are very busy with conferences every years, this year was no exception. Attending this kind of event is very important for the kind of work we are doing. Knowing what's happening in the technology world and keeping touch with all the people willing to share their knowledge and experiences have always been very useful to gather 6 months of information in only few days. Citrix Synergy 2016 - Las Vegas First thing first, Citrix Synergy in Las vegas ! As a CTP, Synergy always have a special flavour because I get to know so many things from Citrix my brain is melting for 48hours and I need few days to digest everything :) This year Citrix made several announcement and beside the usual renaming and marketing bullshit, if I had one announcement to keep, that would be the Microsoft thing. Many people I met asked me about that, what do I think and what should we need to read between the line. My answer had been direct and surprise some of you :) I think Microsoft understand the value Citrix will add to accelerate the adoption of VDI (ie Windows 10 in Azure) The protocol, the acceleration the experience Citrix will bring is obvious. Are we tending toward a Windows 365 product ? The answer is as simple as a yes. A lot of Citrix Partner have been confused with this announcement, and we can easily understand why as Citrix is taking this part of business away from certain partner mouth. Of course it's not yet publicly said and it will maybe never be ;) Citrix need to make things clear for everyone and give customers and partners the big picture, one day or another. What I read between the line is Citrix and Microsoft announce they will be the only one to deliver Windows 10 in a DaaS mode and only in Azure, it is true indeed, they will be the only one but only for few months. Give some time to Vmware, Oracle or whatever company forced to deliver Windows 2012r2 desktop as a Service because of Microsoft licensing limitation, few anti-trust trial and Windows 365 Windows 10 will be available from everyone, everywhere. Another thing about the Microsoft Citrix thingy to understand is some of Citrix products overlap on Microsoft ones. As Citrix already got rid of many products, I think we will see in the…

Set acls remotely to a VDI / RDSH Delivery Group 7 Comments

In the same way as the previous blog post, some more automation to maintain a VDI/RDSH environment, and get back to a controlled and clean environment. This blog is a follow up to Remotely clean up Virtual Machines drives – XenDesktop , Expand virtual machines hard disk – automation , XenDesktop XenApp 7.x – vmware / ad / delivery group notes and descriptions sync . I had to automate an action to place ACLs on the D: drive using Powershell and icacls. This script is using XenDesktop / XenApp command to list all the Virtual Machines with SessionSupport value equal to SingleSession, it means the VDI only in my case. If you want to check the list of Virtual Machines you targeted you can use this command : If you want to target a specific XenDesktop Delivery Group, then just adapt the previous line : Once you know the target, you can execute the following script. Using this script assume Virtual Machines are switched on. If you have suggestion, and/or comment, share your though !

Remotely clean up Virtual Machines drives – XenDesktop 10 Comments

Following up the previous blogs XenDesktop XenApp 7.x – vmware / ad / delivery group notes and descriptions sync and Expand virtual machines hard disk – automation and continue in automated task, I had to clean up the D: drive of different XenDesktop Delivery Group. As there was no security restriction on the D: drive some users used it as a repository for some of their project... That caused some issues : Users complain of losing their working data from a session to another (pooled VDI, new logon = new vm) Some disk space notification where displayed to random users... Calls where raise to the helpdesk support team Beside hiding the D: drive to avoid non necessary access (ie : non system access) check this blog to do so : Citrix XenApp – Hiding system drives part 1/2 an automated task had to be performed to "clean" this D: drive The variable $XDDC is the FQDN of a Delivery Controler, $Exclusion is the files and folder you want to exclude from being removed. For example : the directories "logs" "pvsvm" "System Volume Information" "$RECYCLE.BIN" and the files "dedicateddumpfile.sys" "pagefile.sys" and "vdiskdif.vhdx" will be ignore from the delete process. Most of these files and directory are system protected anyway it's more to avoir error during script execution. Once you have a clear list of what you need and want to keep you can proceed to the next step.   This script will clean everything which is not in the $Exclusion list so be careful when you run the script. This script assume all the targeted VM are switched ON of course. Leave a comment bellow if you have an idea how to improve this script !

Expand virtual machines hard disk – automation 7 Comments

Sometimes, at some customers's place, with an infrastructure already in place (XenApp with PVS or XenDesktop VDI pooled with PVS) the D: drive is too small. The drive where you redirect Windows Event Logs, Logs (UPM for example and/or other applications - services) This is a drive where page file is often redirected as well and even memory dump file generated. PVS cache can also be on this drive : Cache on device RAM with overflow on Hard Disk When RAM is zero, the target device write cache is only written to the local disk. When RAM is not zero, the target device write cache is written to RAM first. When RAM is full, the least recently used block of data is written to the local Write Cache disk to accommodate newer data on RAM. The amount of RAM specified is the non-paged kernel memory that the target device consumes. Cache on device Hard Disk The cache on local HD is stored in a file on a secondary local hard drive of the device. It gets created as an invisible file in the root folder of the secondary local HD. The cache file size grows, as needed, but never gets larger than the original vDisk, and often not larger than the free space on the original vDisk. It is slower than RAM cache, but faster than Server cache and works in a HA environment. The lack of space on this drive will bring some slowness in user's session and this drive needs to be expanded a bit to get back a normal user experience. To expand these disks two actions need to be done : Expand the Virtual Machine hard disk - in this example vmware Virtual Machines Expand the disk within the Operation System (Windows) In addition to the following script, psexec tool (Microsoft Sysinternal) is used to execute remotely the diskpart command listed in a text file (diskpart.txt) which is upload to the Virtual Machines. Targeted Virtual Machines need to be powered on. Psexec.exe and Diskpart.txt needs to be in the same folder as the Powershell script, of course you can specify their path as it suits your need.   This script is using XenDesktop / XenApp command to list all the Virtual Machines with SessionSupport value equal to SingleSession, it means the VDI only in my case. If you want to check the lust of Virtual Machines…

XenDesktop XenApp 7.x – vmware / ad / delivery group notes and descriptions sync 9 Comments

Several times i had the need to synchronise Virtual Machine notes (vmware) with Active Directory Computer description. As in big environment, different team are managing each of these components, the need to be able to link an Active Directory computer account to a vm with XenApp / XenDesktop delivery group has often been seen as useful. Delivery group name : Desktop123 Virtual Machine note (vmware) : Desktop123 Active Directory account Description : Desktop123 The idea is to simply synchronise the information through the platforms so everyone knows quickly what machine does what. In this particular example that was about XenApp Servers and XenDesktop VDI. You will need a machine where : XenDesktop 7.x SDK (Powershell is installed) vmware PowerCli installed RSAT role deployed as well Thank to Rodolphe Herpeux who simplified the first version of this script I wrote.