Upgrading a vDisk in Citrix Provisioning

One of the most common tasks in Citrix Provisioning Services is updating desktop or server images that we deliver to users, either to patch them, Add Apps, etc… In this document, we'll look at how to work with versioning and create a new vDisk update.

 

Citrix-Provisioining-Versionado-vDisk-01-Bujarra

When we have a base vDisk (o Version 0), we would have a .vhd file in the Warehouse (the vDisk), .pvp (vDisk properties) and a .lok file to block if in use. GOOD, to update the vDisk and apply some changes we will have to create a new version, for this, on the right-click vDisk > “Versions…”

 

Citrix-Provisioining-Versionado-vDisk-02-Bujarra

“New”,

 

Citrix-Provisioining-Versionado-vDisk-03-Bujarra

And he will have already created a new version for us (1) which will put it in Maintenance mode, and only the Target that is of the maintenance type will be able to boot said version in write mode and apply the changes we consider.

 

Citrix-Provisioining-Versionado-vDisk-04-Bujarra

So we take the Target that we will use to apply the changes and in its properties we must indicate that it is of type “Maintenance”.

 

Citrix-Provisioining-Versionado-vDisk-05-Bujarra

We start this team, During the boot we will see an informative menu to select which mode to boot. Select “1” to enter maintenance mode (Writing Mode) and make all the changes we need to the vDisk, whether operating system updates, Applications, etc… If we select “2” We started the machine in read-only mode and we wouldn't do anything 🙂

 

Citrix-Provisioining-Versionado-vDisk-06-Bujarra

Once all the changes have been applied to the vDisk, we must promote it to Test mode to test and validate it beforehand; or promote it to Production mode and put it directly to all users! So on the versioning of the vDisk we must select “Promote…”

 

Citrix-Provisioining-Versionado-vDisk-07-Bujarra

And optionally we can put it in Test mode to check that the machine will not have problems before putting it into production. “Test” & “OK”.

 

Citrix-Provisioining-Versionado-vDisk-08-Bujarra

We select a Target again and set it this time to Test mode and boot the system in read only and validate everything.

 

Citrix-Provisioining-Versionado-vDisk-09-Bujarra

We start the computer and select the option “1”,

 

Citrix-Provisioining-Versionado-vDisk-10-Bujarra

Once we have validated that the image is correct and we want to publish it to the rest of the users, this new version, we must finalize and promote it to production. “Promote”,

 

Citrix-Provisioining-Versionado-vDisk-11-bujarra

We will indicate when we will make it accessible to the teams that request it.

 

Citrix-Provisioining-Versionado-vDisk-13-Bujarra

We will be able to check in the store that it has created new .1.avhd and *.1.pvp files, These are the Delta files where all the changes of each version will be stored.

 

Citrix-Provisioining-Versionado-vDisk-12-Bujarra

In case we do not want to go back to a previous version and we want to optimize the image, We will have to merge all the files, To do this, click on “Merge…”

 

Citrix-Provisioining-Versionado-vDisk-14-bujarra

Select “Merged Updates” to unify updates from the ground up or “Merged Base” to also include the basis for updates.

 

Citrix-Provisioining-Versionado-vDisk-15-Bujarra

We wait while you unify the disks, The time will obviously depend on the modified volume.

 

Citrix-Provisioining-Versionado-vDisk-16-bujarra

Once we have the vDisk with the updated version and compacted into a single .vhd, we can if we want to delete the previous versions.

 

Citrix-Provisioining-Versionado-vDisk-17-bujarra

And we confirm that at the file level we only have the corresponding files!!!

 

Recommended Posts

Author

nheobug@bujarra.com
Autor del blog Bujarra.com Cualquier necesidad que tengas, Do not hesitate to contact me, I will try to help you whenever I can, Sharing is living ;) . Enjoy documents!!!