Alessandro over at virtualization.info commented that we need to do a better job communicating the value and capabilities of Workflow Studio:
http://www.virtualization.info/2009/09/release-citrix-workflow-studio-20.html
I have to admit, I have been focused on talking about the new version and features (I'm excited about them.) There are lots of places though where we do talk about the capabilities that Workflow Studio enables for our customers:
On the main product page for Workflow Studio we cover the 5 use cases that customers typically use Workflow Studio for:
- Power management - Reduce power consumption in the datacenter.
- User provisioning - Automate the process of provisioning users.
- Dynamic resource allocation - Detect changes in user traffic patterns and automatically re-configure server resources for on-demand access.
- Disaster recovery - Automate failover and recovery procedures.
- Product automation - Automate repetitive tasks and ensure best practices are followed.
I am also taking each of the bullets from the original post announcing the availability of Workflow Studio 2.0 and going into more detail. I just posted Automate XenApp with Workflow Studio where I talk about some of the use cases that we based the new XenApp libraries on. I will have some sample workflows posted with video tutorials as well.
I wrote The Three Audiences of Workflow Studio back in February, but it is still just as relevant with the current version of Workflow Studio. 'Scripting guys' and developers will find a lot to like in Workflow Studio, but you don't need to be one to benefit from Workflow Studio. The drag-and-drop interface and standard way of accessing all the Citrix product APIs (as well as PowerShell, Windows, WMI, etc.) opens up access to a much broader range of people.
The Workflow Studio 2.0 Video Tutorial Series provides an introduction, an architectural overview, and an installation/configuration guide for getting started and should help save you time as you consider how to deploy Workflow Studio.
Also, I want to clarify the availability of Workflow Studio as an anonymous comment left there indicates there may be some confusion. Workflow Studio is included as part of ALL editions of the Citrix Delivery Center products - not just Platinum. Workflow Studio comes with all of the below:
- XenApp Advanced, Enterprise, or Platinum edition
- XenDesktop Standard, Advanced, Enterprise, or Platinum edition
- NetScaler Standard, Enterprise, or Platinum edition
- Essentials for XenServer Enterprise and Platinum editions
- Essentials for Hyper-V Enterprise and Platinum editions
As always leave me your feedback in the comments or email me directly...
|
XenApp Expert Series - Informational, News, Interviews (2009) The show where we interview the experts to get you the latest research and technology news on XenApp application virtualization. Host Vinny Sosa (@vinnysosa) interviews Citrix Architect Juliano Maldaner (@jmaldaner) on the Power and capacity management features coming in XenApp 5 Feature Pack 2. How it works, why is it important and general technical musings are prevalent in this information packed episode. Episode 5, Season 1. |
|
- Listen to archived episodes:
|
XenApp Expert Series - Informational, News, Interviews (2009) The show where we interview the experts to get you the latest research and technology news on XenApp application virtualization. Host Vinny Sosa (@vinnysosa) interviews Citrix Architect Juliano Maldaner (@jmaldaner) on the Power and capacity management features coming in XenApp 5 Feature Pack 2. How it works, why is it important and general technical musings are prevalent in this information packed episode. Episode 5, Season 1. |
|
I am posting the Q&A for the TechTalk we had on XenApp Power and Capacity Management. It was well attended (more than 50 customers and partners) with lots of time for Q&A. Check out the webinar recording if you were not able to attend.
(You can follow me on twitter)
Q) How does a combination of XenServer with virtual XenApp work? So, is it possible to first shut down the unnecessary XenApp servers and then the unnecessary physical servers running XenServer?
A: Power and Capacity Management does not manage the XenServers themselves. It only manages XenApp servers. So, if you have no virtual XenApp servers running on a XenServer it will still be powered on. Why? You may still have non-XenApp workloads running there like web servers or e-mail servers, etc. But you can use other management tools to power manage the hypervisor.
Q) Will it be possible to install the PCM agent in a "standard" provisioning server image?
A: Yes. Power and Capacity management works with Wake on LAN which is how provisioning server works to deliver images to bare metal. Wake on LAN is supported in addition to virtual machines for Power and Capacity Management.
Q) So, Can I provision my XenApp servers with provisioning server and the collector gets the different names of the server or is a special configuration needed?
A: Yes. When you install the agent, there is a configuration for Wake on LAN or Virtual machines. You select Wake on LAN and configure accordingly for the image you are creating.
Q) Must I also choose "Wake on LAN" if the provisioned XenApp server is a virtual server on XenServer?
A: You can have a single PVS image to work across physical or virtual deployments. Even when using PVS, if you are booting servers via XenServer, you would choose XenServer. If you are booting via Wake on LAN on the physical hardware then you would choose Wake on LAN
Q) Can PCM and SCOM work together?
A: Out of the box, we are not planning any integration with operations manager. However, everything being done through the GUI can be done through WMI, so this can be customized.
Q) Should the concentrator be installed on a XenApp server?
A: No. You do not want to install this on a XenApp server that hosts users sessions. You won't be able to power manage it if you do. Also, concentrators can manage servers across farms so you want a farm-independent server if you can do so.
Q) Instead of number of sessions, is there a way to set the Capacity by percentage of Server resource utilization e.g. CPU, RAM, Page File Usage?
A: Yes. We are enabling you to use nominal capacity (sessions) or load evaluator and have this all calculated as a percentage of load evaluator. This will be enabled in the final release but is not available in the technology preview.
Q) In terms of new session distribution, what takes precedence, the XenApp load evaluator or the Power and Capacity Management evaluator?
A: Power and Capacity Management takes precedence for server power on/off and consolidation only. For load distribution, the XenApp load evaluators are used.
Note that PCM adjusts the load evaluation for servers that are not selected to receive sessions. PCM will keep up to "Minimum Available Servers" available for logon. Other servers' load evaluators will be set to 20,000 (you will see that if you run QFARM /load).
Q) I am wondering how server monitoring will have to be modified to allow for servers "shutting down" and suppressing alerts. Do you have any examples of solutions?
A: EdgeSight already differentiates between planned and unplanned reboots. Since reboots initiated by PCM will be planned reboots, you should be able to create alerts only for unplanned reboots
Q) Can you please explain the process of draining a server. We publish the desktop so we have some users logged on for 8+ hours. Also we have shift workers.
A: PCM selects up to "Minimum Available Servers" to accept logons. All other servers have their LE values set to 20,000 and therefore won't be selected to host apps/desktops. When an available server reaches the optimal load, the server with highest load, but under optimal load, is chosen to receive logons.
Draining is a side-effect of the model above. As shift workers start to login, they will do so on the highest loaded servers under optimal load policy. As the previous shift logoff, their servers will automatically drain until empty. The new shift will only consume enough servers to meet its demand.
Q) If you provision server through PVS with the agent already installed and configured for a workload called "office 2003", if you want to change the workload to "office 2007" would you need to change or create a new PVS image to reflect this change?
A: Workloads can be assigned via GPO, so it's possible to use the same PVS image for more than one PCM workload. In the example above, if Office was virtualized via App-V or Streaming, then the same image could be used.
Don't forget to register for next Thursday's (July 23rd, 1-2pm EDT) TechTalk on XenApp power and capacity management. We will not bore you to death with slide ware. Majority of the presentation will be a live demo with lots of time for Q&A. You will learn
- How to better manage your XenApp capacity (and subsequently save some power as well)
- How to simplify XenApp server maintenance (software patching etc) by understanding how capacity management does load consolidation
- How this feature can simplify migrating users to new XenApp server farms
- And how easy it is to implement this solution in your "existing" XenApp server farms

Last month we released the Power and capacity management tech preview for XenApp. If you're using server-side application virtualization and delivery with XenApp, then you'll want to check it out. We've put out a couple of blog posts (1 | 2), a demo, and a couple of videos on it including a XenApp Expert Series video and audio episode with Sridhar Mullapudi (Product Manager). We also have a new episode coming up in July with Juliano Maldaner (the Architect). What's more, both of these rock stars are getting together to do a TechTalk on this same topic.
The TechTalk is going to cover the features, functions and components of Power and capacity management and the guys will also talk about how to deploy it for virtual server infrastructures or physical machines using Wake on LAN. They'll even provide some tips on using this technology to help with migrations.
The great thing about this vs. the other content we've created already is that there's a Q&A at the end so if you're interested in the technology, now's the time to ask your questions.
| Stay Updated! Follow XenApp... |
During the Tech Preview of Workflow Studio, the most popular posts I had were around using Workflow Studio to create a green data center:
- Green Data Center - Support for Wake On LANhttp://community.citrix.com/x/RQUgAg
- Green Data Center - Getting the power back on
http://community.citrix.com/x/AQUgAg
- Green Data Center - Shutting Down a Windows Server
http://community.citrix.com/x/9IUNAg
- Green Data Center - Shutting Down a XenServer Host
http://community.citrix.com/x/1IAVAg
I wanted to review these very popular posts and talk about how the most recent versions of Workflow Studio can be leveraged for these tasks.
Wake On LAN
Support for WakeOnLAN was included in the activity library pack made available in April with version 1.1. The WakeOnLAN activity is in the 'Networking' library and in the 'Networking' folder in the Designer once installed:

Shutting Down a Windows Server
In the Tech Preview post, I talked about two methods of shutting down a computer. One of those two methods - LaunchProcess - is available as part of the library pack that was released in April (under Windows), but also in that pack is a Shutdown activity that manages this for you. The Shutdown Windows activity is in the Networking library with Wake On LAN.
Shutting Down a XenServer host
In the Tech Preview post, I talked about several activities for interfacing with XenServer VMs and the XenServer host. These activities are all part of the library pack from April. These activities are in the 'Citrix XenServer' library and in the 'Citrix XenServer' folder in the Designer once installed:

The host activities Disable-Host and Shutdown-Host that were in the Tech Preview post are not available yet, but will be in the next update to this library.
If you are using Workflow Studio to manage power in your environment, drop me a line and let me know how it is going. If you aren't using it, let me know what we can do to make it easier for you.
XenApp Expert Series - Informational, News, Interviews (2009) The show where we interview the experts to get you the latest news on XenApp application virtualization. Host Vinny Sosa (@vinnysosa) interviews XenApp Product Manager Sridhar Mullapudi (@sridharcitrix) on the new technology preview for Power and Capacity Management and why the technology is such a boone for customers. Episode 1, Season 1.
Download XenApp technology previews
View the Demo of Power and Capacity Management Install, Configuration, and Function

We are pleased to announce the availability of the XenApp Beta and Technology Preview center on Citrix.com. It's a simple area that you can visit regularly to access the latest Beta and Technology Preview software available for Citrix XenApp.
Accessing the software may require a MyCitrix login. Each technology preview may have different guidelines, support mechanisms, and documentation so be sure to visit each linked page for more information. Please let us know if this page is useful and how we can improve it.
Hear about XenApp Technology Preview Announcements via the following resources:
- XenApp product home page- http://citrix.com/xenapp
- XenApp Tech Preview center- http://citrix.com/xenapp/techpreviews
- XenApp in Twitter-
http://twitter.com/xenappjunkie - XenApp Blogs- http://citrix.com/xenapp/blogs
Thanks!
Sincerely,
The Citrix XenApp Product Team
What if, you can dynamically scale up or scale down your XenApp servers based on user load? What if, you could avoid over-provisioning your XenApp servers but also meet the occasional peak capacity demand? What if, you can consolidate XenApp user sessions on fewer servers to reduce power consumption and simplify server maintenance? These are the type of questions we heard from our customers and partners that led to the creation of XenApp Power and Capacity Management feature. The Technology Preview is available now and you can evaluate it on Presentation Server 4.5 and XenApp 5 releases.
So, how does it work? XenApp administrators can define server workloads/silos, specify the capacity requirements for each workload and sit back to watch the system automatically consolidate sessions across fewer servers, power up servers as needed and power down idle capacity. Or, admins can just turn the light off when no one is home e.g. create a simple schedule to power on servers at 8 am in the morning and power them down at 7 pm in the evening. Try it out and let us know.

Watch my Citrix TV video showcasing this technology at Synergy 2009. We think this technology will play a key role in our vision towards autonomic farm management and would like to hear more from you. Check out the Tech Preview and give us your comments/feedback. You can use the support forum for any technical issues with this release.
NOTE: For this Tech Preview release, we are supporting Wake-on-LAN power control for physical servers and using the XenServer API power commands for XenServer virtual workloads. We do support Microsoft Hyper-V and VMWare ESX for load consolidation but this Tech Preview release does not support power management for these virtualization platforms.
In a previous post I covered how to integrate Wake On LAN into your workflow, but how many people are currently using Wake On LAN or at least know that the majority of their servers support it?





