Jump to content
Welcome to our new Citrix community!
  • Update Snapshot for Static Pooled Machine Catalog


    cugcblogs

    UddaveJajoo22Rnd.png.1280c5f3acecb1d1b39da8f61d9a0f08.png by Uddave Jajoo, Indianapolis CUGC Leader

    Usually with Citrix MCS, there is no specific option to update the snapshots for the dedicated machine catalogs (Static Pooled Catalogs). However, this blog post will help you further with this process of updating the snapshots on the static pool machine catalog.

    All you would need is the new snapshot for the master image or, even if the master image is changed to a different one, to point to the respective Hypervisor connection of the new master image with the snapshot details. Below are the steps to accomplish the task for updating static pooled machine catalog.

    1. Login to one of the DDC server, launch Citrix Studio Open PowerShell on the server as administrator and enter asnp Citrix*

    2. Run command Get-ProvScheme – This displays a list of Provisioning Scheme(s) from the XenDesktop site. Make a note of the MasterImageVM entry:

    PS C:\Users\UserName> Get-ProvScheme -ProvisioningSchemeName “CatalogName”    

    CleanOnBoot: False

    ControllerAddress: {controller1,controller2}

    CpuCount: 2

    DiskSize: 120

    MachineCount: 0

    MasterImageVM: XDHyp:\HostingUnits\ConnectionAndResourceName\MVM.vm\MVM-PRD1.snapshot 

    MasterImageVMDate: 9/21/2020 3:22:58 PM  

    image.png.7880d8206105fd8357d034caf77fdc5d.png

    3. Run the following command to display the list of snapshots on the virtual machine:

    PS C:\Users\UserName> Get-ChildItem -Recurse -Path ‘XDHyp:\HostingUnits\ConnectionAndResourceName\MVM.vm’

    image-1.png.c4bd237019bec1064d3a861b8ba81498.png

    PSPath: Citrix.Host.Admin.V2\Citrix.Hypervisor::XDHyp:\HostingUnits\ConnectionAndResourceName\MVM.vm\MVM-PRD2.snapshot

     

    PSParentPath: Citrix.Host.Admin.V2\Citrix.Hypervisor::XDHyp:\HostingUnits\ConnectionAndResourceName\MVM.vm

    PSChildName: MVM-PRD2.snapshot

    PSDrive: XDHyp

    PSProvider: Citrix.Host.Admin.V2\Citrix.Hypervisor

    PSIsContainer: True

    AdditionalData :

    FullName: MVM-PRD2.snapshot

    FullPath: XDHyp:\HostingUnits\ConnectionAndResourceName\MVM.vm\MVM-PRD2.snapshot

    Id: vm-XXXXXXXXXX

    IsContainer: True

    IsMachine: False

    IsSnapshotable: False

    IsSymLink: False

    Name: MVM-PRD2

    ObjectPath: /DataCenterName.datacenter/Citrix ClusterName.cluster/MVM.vm/MVM-PRD2.snapshot

    ObjectType: Snapshot

    ObjectTypeName: snapshot

    4. Run the following command to publish the details of the master virtual machine:

    image-2.png.b492cc8294c8faf34e538dc53a6a8271.png

    Publish-ProvMasterVmImage -ProvisioningSchemeName “%provisioningSchemeName%” -MasterImageVM “%templatePSPath%”

     

    Example:

    PS C:\Users\UserName> Publish-ProvMasterVmImage -ProvisioningSchemeName “CatalogName” -MasterImageVM “Citrix.Host.Admin.V2\Citrix.Hypervisor::XDHyp:\HostingUnits\ConnectionAndResourceName\MVM.vm\MVM-PRD2.snapshot

     

    TaskId: a9c5dad7-f812-462b-904c-9ceabffed6b3

    Active: False

    Host: ControllerName

    DateStarted: 9/30/2020 4:09:02 PM

    Metadata: {}

    Type: PublishImage

    Status: Finished

    CurrentOperation:

    TaskExpectedCompletion: 9/30/2020 4:12:08 PM

    LastUpdateTime: 9/30/2020 4:12:08 PM

    ActiveElapsedTime: 186

    DateFinished: 9/30/2020 4:12:08 PM

    TerminatingError:

    WorkflowStatus: Completed

    ProvisioningSchemeName: CatalogName

    MasterImage: XDHyp:\HostingUnits\ConnectionAndResourceName\MVM.vm\MVM-PRD2.snapshot

    HostingUnitName: ConnectionAndResourceName

    TaskState: Finished

    TaskStateInformation: Completed

    TaskProgress: 100

    Warnings: {}

    DiskSize: 120

     

    5. You can also monitor in the Studio actions pane the task will show up as Running with status updating catalog Image.

     

    Under Logging tab, you would be able to monitor the progress for update catalog.

     

    Reference – https://support.citrix.com/article/CTX129205


    User Feedback

    Recommended Comments

    Guest Update Snapshot – MCS Provision Static Pool Catalog in Azure using Citrix DaaS and PowerShell | BLOGS

    Posted

    […] my previous blog post – Update Snapshot for Static Pooled Machine Catalog, I highlighted a few steps on how to change the snapshot for an existing MCS provisioned static […]
    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...