Deleting Orphaned Disks in Citrix XenServer 5.5

November 24, 2009

Recently I ran out of storage space on a Citrix XenServer because a number of local virtual disks had become orphaned and deleting them proved to be a little difficult, so, I thought it might be useful to share what I found lest others suffer the same issue.

I think the problem occurred because I removed disks which were attached to some VMs which had been created from templates, because I was using them with Provisioning Server and had run the XenConvert stage to copy the hard disk to the vDisk. This was so I could test that they worked without local disks, but didn’t want to delete them in case there was a problem.

I found two methods – the “hard” way and the “easy” way.  Guess which I found first?! ;)

Method 1.

From a console shell prompt run the command:

xe vdi-list

Note that vdi is short for “virtual disk image” in this context. This should result in a display similar to the following with one entry per storage item so will include ISO images as well as virtual disks. Note that this will list all items, not just orphaned ones. Pipe the output to “more” or redirect to a file and use “vi” or similar on the file produced to find the oprhaned items.

uuid ( RO)                : cb5781e0-c6f9-4909-acd6-5fd4b509d117
          name-label ( RW): Vista master for UIA
    name-description ( RW): Created by template provisioner
             sr-uuid ( RO): 72cc0d44-bea7-6c15-cf8d-c2965ca495b2
        virtual-size ( RO): 25769803776
            sharable ( RO): false
           read-only ( RO): false

Fortunately, I knew the name of the disks that were orphaned so passed their uuid values as an argument to the “xe vdi-destroy” command thus:

xe vdi-destroy uuid=cb5781e0-c6f9-4909-acd6-5fd4b509d117

The storage space freed up by deleting the disks will eventually be realized but to force this, you can manually instigate a re-scan of the containing storage repository. For this, we need to know the uuid of the storage repository which we have in in the “sr-uuid” field in the original “xe vdi-list” command above:

xe sr-scan uuid=72cc0d44-bea7-6c15-cf8d-c2965ca495b2

Method 2.

Add the disk to an existing VM and then delete the disk from the “Storage” tab in XenCenter for the VM when it is powered down :)

I hope this is of use to someone?…

 

 



Inaugural Meeting of the Northern VMware User Group

November 20, 2009

On Wednesday 18th November I had the pleasure of attending the inaugural meeting of the Northern VMware User Group (UK) at the Wellington pub in Leeds. There were about thirty five people in attendance, mostly administrators of VMware infrastructures, including some big ones, which was a pretty impressive turnout given the far from ideal weather conditions. A couple of VMware vExperts also attended the event.

A very informative presentation from Ross Bisby of b2net covering the details of investigating performance issues in ESX/ESXi environments kicked things off. Hats off to Ross for a top job given he was drafted in at the last minute. This was followed by informal breakout sessions covering topics such as VCP certification, iSCSI storage and VDI.  There was certainly a good deal of interest in VDI from many people there with a variety of experience from planning through testing to having, successfully, deployed it. It was encouraging too to find a number of the attendees already familiar with AppSense products.

Many thanks to the committee for organising such a successful event and to VMware and Veeam for sponsoring the bar – when in Rome …

Looking forward already to the next event!


AppSense Wins Best Desktop Software of 2009 at the TechWorld Awards

November 18, 2009

AppSense are very pleased to announce that AppSense Environment Manager 8.0 has won another high-profile award – The TechWorld Best Desktop Software Product of the year 2009.

The Techworld Awards reward innovation for all aspects of the IT industry and are evaluated on strategy, creativity, innovation and effectiveness. Winners are selected by an independent panel of judges consisting of highly respected individuals from the IT industry and Techworld editors.

This new award is a great achievement and comes only a short time after AppSense Environment Manager recently won Gold in the Desktop Virtualization category in the Best of VMworld 2009 Awards Program.  Combined, these awards, along with our recent record growth and ever strengthening relationships with Citrix, Microsoft and VMware confirm AppSense as the clear leader in the User Environment Management space.

Here is a copy of the AppSense Press Release to accompany this recent award:

AppSense Wins 2009 Techworld Award

AppSense Environment Manager 8.0 announced Desktop Software Product of the Year

 New York, NY – November 18, 2009 – AppSense, the leading provider of user environment management solutions for the enterprise, today announced that AppSense Environment Manager 8.0 has won the Desktop Software Product of the Year award as part of the Techworld Awards 2009. Recognizing both products and users, the Techworld Awards reward innovation for all aspects of the IT industry and are evaluated on strategy, creativity, innovation and effectiveness. Winners are selected by an independent panel of judges consisting of highly respected individuals from the IT industry and Techworld editors.

AppSense Environment Manager is the only enterprise solution that enables standardized desktop environments to be fully configured and personalized without the need for cumbersome profiles or scripts. From server-based computing environments through to virtual and physical desktops, AppSense Environment Manager ensures users always receive a consistent, predictable and personalized working experience. Full desktops can now be configured and business rules applied on-demand, enabling compliant, personalized virtual desktops to be quickly delivered to thousands of users at lowest possible cost. Additionally, AppSense technology is used in conjunction with many third party systems integrators, including CSC, HP, EDS, Dell and IBM.

“We are honored that AppSense Environment Manager has been recognized as the best solution to sit on the desktop by the Techworld editors and members of the IT community,” said Peter Rawlinson, vice president of worldwide marketing at AppSense. “AppSense’s unique approach represents a fundamental change in the way the corporate desktop is constructed and is a core solution in all desktop environments, providing a stable and consistent user environment. With the introduction of Microsoft Windows 7 and a huge uplift in VDI adoption, AppSense looks forward to continuing to provide enterprises with our award-winning solutions, allowing them to increase user productivity and dramatically decrease operational costs.” 

This award comes on the heels of the recent Gold award in the Desktop Virtualization category in the ‘Best of VMworld 2009’ awards for AppSense. For more information about the Techworld awards and to view a complete list of winners, please visit http://awards.techworld.com/2009/winners/.

About AppSense
Founded in 1999, AppSense is the leading provider of user environment management (UEM) solutions for enterprise organizations. UEM is a proven method of reducing desktop management costs by treating the user environment separate from the desktop and delivery method. This separation enables IT to standardize the corporate desktop and automate the delivery of the user’s working environment, significantly reducing operational costs. AppSense technology is used around the world by companies such as JPMorgan Chase, Lowes, United Airlines, Wachovia, Wal-Mart, ESPN and CB Richard Ellis. AppSense has main offices in New York and Manchester, England with additional offices in Palo Alto, London, Munich, Melbourne and Amsterdam.

PR Contact:
Heather Fitzsimmons
Mindshare PR
+1 (650) 947-7400
heather@mindsharepr.com

Please click on the TechWorld Winners Logo to be taken to the TechWorld Awards page to view the winners from other catagories.

Thanks to all those who have helped make Environment Manager the leading UEM solution that it is:)



User Installed Applications – won’t they just cause me a huge headache?

November 12, 2009

Do we really want to allow our users to have the ability to self provision / install applications? Won’t this just cause mayhem and anarchy? How will we ensure that we are licensed to install the applications that the users choses to install?

These are a small sample of some of the obvious and key issues that the IT administrator needs to seriously consider when thinking about allowing the user to install applications of their own choice.

Just this week, @HarryLabana asked the following question via twitter – “Are user installed apps a compliance nightmare waiting to happen?”. A very sensible question that effectively is asking, “WHY should we even consider allowing the user to install their own stuff?”

To labor on the need briefly, it is relatively simple as to why we need to cater for it (we don’t need to agree with it but we do have to accept it to a certain degree :-( ). Bottom line is that for years, there has been a challenge with packaging all the applications required by a user to conduct their daily duties. This is a challenge that traditional desktop managers have had for years, and now with desktop virtualization it is perhaps getting more noise. Unfortunately it is not going away any time soon, in fact may be getting worse as time progresses and the number of applications increases. If we choose to not allow users to install their own stuff, then how do we ensure that the user does not fall foul downstream of an application not being available and hence their inability to conduct their work? An obvious example would be the corporate user who uses Microsoft Live Meeting to conduct online meetings, who has a meeting booked with an organization that uses Citrix GoToMeeting. The GoToMeeting client would not be installed, and hence the user would only find this out 5 to 10 minutes before the session, and hence would be unable to join :-(

@coldroyd wrote about the various user installed applications a month or so ago and is well worth a read – http://appsense.wordpress.com/2009/10/05/what-is-a-user-installed-application-and-why-should-we-care/

So, now we have accepted that we need to cater in some form or another, we can move on to consider HOW. The key aspects to delivering users with the ability to install their own apps is CONTROL – it would be insane (most would argue) to allow ALL users with the ability to install their own stuff. Very quickly the enterprise would find themselves in a situation where literally 1000′s of applications have found their way in, and are posing a serious legal issue. It is [mostly] true that a typical enterprise using laptop devices has this very issue today, since the majority of users of laptop devices are administrators of them. There is usually a solid business reason [from years gone by] as to why the user is an administrator, whether that reason being a requirement to install printer drivers [pre Vista] or something like that. Typically, once a user has admin rights, it is nigh impossible to get them back again :-(.

Arguably this is all part of something called “User Rights Management” as well as “Personalization”. Both of these are clearly becoming markets in their own right with vendors appearing in it regularly, and many other vendors morphing their solutions to fit the model(s) also ;-)

In order to deliver against the need, but to do so in that all important controlled manner, we need to enable / allow for the following (there will be more – these are just the key areas);

  • Only allow certain users to install apps (AD group based / end point device based)
  • Only allow those users to install from certain [internal] network location(s) – that way the enterprise can control exactly WHAT a user who is authorized to install can install
  • Only allow those users to install applications from certain vendors
  • Full reporting is required to enable the administration team to be able to see what is out there in a quick snapshot
  • Full administrative override to enable rapid removal of any applications as necessary

The overriding point here is simple – user installed applications is NOT for everyone, but it will be for a significant portion of the user population, so we need to provision for it in some way – simply saying no will not cut it.


AppSense Spotlight on Citrix TV

November 4, 2009

Since first working with Citrix 10 years ago, AppSense have always found the partnership to be positive and productive.  I’m sure it’s not gone unnoticed however, that the AppSense-Citrix relationship has gone to a new level in 2009.  Key teams from both companies are working together to ensure the technology links seamlessly, joint events run efficiently and the combined solution is messaged clearly.

 Check out the Citrix TV pages to hear the latest about how AppSense and Citrix are working together; http://www.citrix.com/tv/#videos/1311

 


Follow

Get every new post delivered to your Inbox.