Details
This article provides information on creating a new App Volumes AppStack/Package template VHD with higher disk capacity. The default size being 20 GB.
Solution
Please follow below steps to create a template.vhd file of size > 20 GB ( default)Step 1:
Login “Horizon Universal Console” > Settings & Capacity >Click on PODIn POD Tab - you will see file share "2". Hover the cursor on value “2” to get the staging fileshare name.
Step 2:
Login into azure portal - search for file share name which we got from Horizon Universal console
Or Click on Storage Account and Select your respective storage account > Click on File Shares
Template will be stored in Staging folder > Click on Staging file share to Open
Step 3:
In staging fileshare of your pod under cloudvolumes/packages_templates you will find template.vhd file.
Create a copy (download) and upload same in azure portal as “backup”. Example : template_backup.vhd
Step 4:
Log into a plain vanilla image vm with admin privilege, where no AV (AppVolume) agent is running. In the example shown below, template.vhd file is kept under C:\ directory. Open command prompt as an administrator, launch the cli based diskpart utility and select the vhd file.
expand vdisk maximum=40960
The value specified in this command is in MBs. In this example, the disk size is set to 40 * 1024 = 40960 MB ( 40GB)
attach vdisk and note down the volume number.
select the volume identified in previous step, extend it and verify the resulting size of the volume.
detach the disk
Step 5:
Upload the newly created vhd in azure portal on same path “Staging > cloudvolumes > packages_templates > template.vhd” and select overwrite while uploading in azure. It will overwrite the existing template
Hence, we will get new template with 40GB storage instead of 20GB.Step 6:Create New App Capture & verify, whether you are able to view new attached CVApps Disk size is same as what we want.