Citrix Workspace Cloud and Lifecycle Management Design and Deploy

Citrix Workspace Cloud and Lifecycle Management Design and Deploy

Citrix Workspace Cloud and Lifecycle Management Design and Deploy

This post has already been read 10064 times!

Citrix released its Cloud Automation offering earlier this year that will change the way you think about deploying workloads for App, Desktop and Mobile delivery, it is called Citrix Workspace Cloud and I have to say, I think it is excellent.  I have been fortunate enough to have been on the initial test phase of the product and am now working my way through a trial phase.  There really is no limit to what you are able to do with this product, the only thing that will stop you is your own imagination (and possibly your scripting skills).  Another big plus is that whilst heavily focused on the Citrix Stack you are not limited to deploying only Citrix workloads.

This article is going to walk you through setting up an initial resource location then connecting your Workspace Cloud portal to a Microsoft Azure Cloud and deploying a server with 7Zip installed into your Cloud.  It is going to Focus on the Lifecycle Management part of the Citrix Workspace Cloud suite.

There are some pre-reqs to doing this.  You must have a Network, Storage Zone and CloudApp already set up in Azure and you should have a pre-build domain controller running in your Azure Subscription.

If you want to read more about Citrix Workspace Cloud then take a look at XenApp Blog here or the official Citrix Documentation here.  If you require additional help on setting up / installing or configuring Citrix Workspace Cloud then speak to Virtual Workspaces here.

I hope the article helps you get started with Citrix Workspace Cloud, as always please share and comment.

Build Guide

Log into your Domain Controller in Microsoft Azure.  Open up Internet Explorer and log into Workspace Cloud.

Navigate to Resource Locations from the CWC drop down list

01 - resource locations

Click on Add Workspace Cloud Connector

02 - CWC Connector

Click to download the Cloud Connector software and save it to your desktop

03 - download CWC Connector

Double click the download to install the software

04 - cwc on desktop

Let it authenticate to your cloud provider and finish the install

05 - running cwc

06 - cwc installing

From your Management PC, Open up Internet Explorer, Log into Workspace Cloud.

Navigate to Lifecycle Management from the CWC drop down

07 - lifecycle management

Click on Resource Locations

08 - resource management

Click Add Resource Location

09 - add resource location

Select Microsoft Azure

10 - add azure location

click the link to download the publisher settings for your Azure Subscription.  You will need to sign into your azure portal to download this.

NOTE: If you are a subscriber to more than one directory then you should edit the downloaded file and split the subscriptions into multiple files – this way you can be more specific about what subscription you build the blueprints into.

11 - publish settings

Locate the downloaded file and click on Upload

12 - upload

Click Add

13 - uploaded

Resource Location is added

14 - added

You should now be able to see your new Resource Location listed below.

15 - resource added

At this point you can either select one of the existing pre-build blueprints to install or design and build your own to deploy.

Click on Design and Deploy

16 - design and deploy

First we will add the script to install 7Zip to the server.  I cannot take credit for this script as Eric from xenappblog.com has already done an excellent job of writing this.  To get a copy of the script go to his excellent site here.

Click New Script

17 - new script

Fill out the script general details screen including any TAGS you want

18 - new script details

Paste a copy of the powershell script to install 7Zip Unattended

19 - paste script

Click next and add any parameters you want to be passed into the script

20 - script parameters

Click next and select if you want the script to run as a particular user

21 - script attachments

Click Finish and you will see your script is not available in Lifecycle management

22 - script added

NOTE: you will now see the TAGS you listed on the left hand side of the screen.  You can filter your scripts and blueprints by clicking on any of these.

23 - tags added

At this point the script is ready to go, you now need to design the blueprint.

Click New Blueprint

24 - new blueprint

Fill out the blueprint general options, tags and select the environments that you want to install the blueprint into.

25 - blueprint general details

Click Deploy

26 - blueprint design

From the Blueprint Designer list on the left Under Cloud Step, drag Server to the Steps location on the right hand side of the screen

27 - server step

Click the Recommended Config tab and here you can add any recommended configs you want to display during deployment.  Such as Machine Size in Azure!

28 - recommended config

From the Blueprint Designer list on the left Under My Script drag your Install 7Zip Script to the right hand side of the screen UNDER the server build step.  This should execute after the server has been built.

29 - add script task

From the Runs On tab click the select servers option.  This will enable you to let the blueprint know what servers you want to run the script on.

30 - select servers

Select 1. Server: All Servers.  This will run the Install 7Zip Script on any server you deploy using the above Server task.

31 - blueprint servers

Click on Done and Save.  You will now see the available blueprint in your portal.

32 - saved blueprint

Now we need to deploy the blueprint to our Azure Cloud.  From the drop down next to the blueprint select deploy.

33 - deploy blueprint

Then click on Start deployment setup

34 - start deployment setup

Give the deployment a name that is useful.  Note, you can select a pre-deployed config that you have saved here.  Currently we do not have one as this is the first deployment but this can save you a lot of time in the future is you save your deployment profiles.

35 - starting deplotment

Select the Resource Location your created earlier to deploy this blueprint into.

36 - deployment location

Click Continue for the pre-deployment check list

37 - continue deployment

Select the number of Virtual Machines you want to deploy

38 - vm numbers

Select the VM Tier for the Resource Location you want to use.

39 - vm tiers

From the list provided select Windows then the type of Windows machine that you want to deploy.  In this case we ae going to use Windows Server 2008 R2 (old school!!)

40 - select server vm

Give the machine a name and select the cloud service you want to install it into.  This must already be set up in your Microsoft Azure subscription and linked to a network, storage group and region.

41 - configure cloud options

Give an admin username and password.  NOTE: These must follow the Azure Minimum complexity requirements or the build will fail.  Also select to add the machine to a domain and fill out the details.  Add any custom port forwarding you require.

42 - configure domain

Click Next then Finish and review the build config

43 - finish config

44 - vm sizing

Click next to specify any custom parameters

45 - vm configuration

Click next then save the config as a pre-defined build profile.  This will speed upt he time to deployment in future as you can select this from the initial stage in future.

46 - save and deploy

Click next and finish to deploy the blueprint.

47 - deploy

You should now see the deployment in progress

48 - progress

If you switch to your Microsoft Azure portal you will see the new server being built.

49 - deploying

Click on the deployment to see a more detailed look at the deployment and the stage of deployment it is currently processing.

50 - progress

Once the server is built and registered Workspace Cloud will move to the next step “Install 7Zip”

51 - deploying 7zip

Eventually the deployment will finish.

52 - finished

You can see a overview status for the deployment from the portal

53 - proof of action

If you log into the server you will see that it is on the domain and has 7Zip installed.

54 - server running

That’s it, easy as that !!

Hope this helps some of you out.  As usual please share and comment.

Thanks
b@m

 

Leave a Reply

Your email address will not be published. Required fields are marked *