Monday, February 6, 2012

Update Master Image on private mode

1) Open powershell from Desktop Director. Type dir





2) type "cd .\HostingUnits"
3) type dir
4)Look for "PSChildname" then type "cd .\TCI-Xen-Storage"

5)Type dir, look for the VM template you want to use for the update. E.g.
cd '.\Windows 7 x86 Template.vm'


6)Type "cd Windows 7 x86 Template.vm"


6) Type dir, take note of the "PSChildName". In our case it is original.snapshot.


7) Type "cd original.snapshot". and then type dir. Look for "PSChildname"
7) Type Get-ProvScheme, look for the catalog that needs to be updated. Take a note of the "ProvisioningSchemeName".

8) Now Type Publish-ProvMasterVMImage -ProvisioningSchemeName "IT Windows 7 x86_TCI-Xen-Storage" -MasterImageVM "XDHyp:\HostingUnits\TCI-Xen-Storage\Windows 7 x86 Template.vm\1252012.snapshot"


Where in my specific case:

"IT Windows 7 x86_TCI-Xen-Storage" = <ProvisioningSchemeName from last>
"
XDHyp:\HostingUnits\TCI-Xen-Storage\Windows 7 x86 Template.vm\8242011.snapshot"
= MasterImageVM


No comments:

Post a Comment