Upgrading vDisks using Hyper-V
如果你从提供升级服务6。x to 7.1 or 7.6, this inline upgrade method is recommended because it is faster than re-imaging, and uses the least amount of storage.
Before upgrading using Microsoft Hyper-V, review the following requirements:
- General Hyper-V knowledge.
- Hyper-V must be installed (Hyper-V does not need to be installed on the Provisioning Server).
Note
Hyper-V upgrade does not support vDisks using 16 MB block size. When creating new vDisk images, the block size should be 2 MB or greater.
- On a Hyper-V server, uninstall previously installed Provisioning Services software.
- Install the newer version of Provisioning Services software.
- Copy a newly created VHDX file to the Hyper-V server:
- Create a new version of the vDisk.
- Promote the new version to test mode.
- Perform a merge base to test mode.
- Copy the VHDX from step c to the Hyper-V server
- Create a new virtual machine in the Hyper-V Manager.
- During the creation steps, attach the existing newvDisk.vhdx instead of using a new VHDX.
- Go into the properties of the newly created Hyper-V virtual machine (Action panel > Settings) and remove the Network adapter. Go to Add Hardware and add the Legacy NIC.
- Go to the Legacy NIC and attach it to the physical system’s NIC.
- Boot the virtual machine.
- Let the system install the new drivers, then reboot if prompted.
- Uninstall Provisioning Services target device software, then reboot.
- Optional: Install Hyper-V’s Integration Services. This is only necessary when the resulting VHDX must be bootable in both physical and virtual systems. While the virtual machine is on, go to Action, then choose Insert Integration Services set up disk, then install.
- Install Provisioning Services target device software.
- Choose to bind Provisioning Services to the inactive NIC (the physical NIC from the original target device). When installing Provisioning Services target device software on NT6.x systems within a multi-NIC environment, all available NICs can be used. Therefore bindcfg.exe is no longer required and no longer installed with target device software.
- Shut down the virtual machine.
- Go to the virtual machine’s properties (Action panel > Settings), then set it to boot to the legacy NIC first.
- Transfer the VHDX (newvDisk.vhdx) back to the Provisioning Server.
- From the Provisioning Service’s Console:
- Add the VHDX to the Provisioning Services database using the Add existing vDisk menu option.
- Add the Hyper-V virtual machine to the list of the target devices.
- Associate the vDisk with the appropriate target devices.
- Set the vDisk to Standard Image Mode
- 物理目标设备(假设这是引导set to PXE first), then the Hyper-V virtual machine.
The original vDisk is now upgraded and a common image for the physical and virtual machines has also been created.
Upgrading vDisks using Hyper-V
In this article
Copied!
Failed!