Deploying guests
You can use Microsoft Hyper-V Manager or Microsoft System Center Virtual Machine Manager (SCVMMY) to deploy guests.
Deploying with Hyper-V Manager
If the host is managed by Hyper-V Manager, complete the following steps to create a VM:
- Open Microsoft Hyper-V Manager.
- Click in the Actions panel.
- When you are prompted for a location for the VM, choose the volume that is on the LUN that you created in Configuring storage.
- If you are using a VHD
- Locate the hard disk on a volume that is on the LUN through the virtual port.
- If you are using a pass-through disk
- It is better that the disk be from a virtual port, be offline, and be configured as MBR disk type.
Deploying with SCVMM
- Select the host that has the virtual port active when you are prompted for the host on which to place the guest.
- Click Browse and select the LUN that you created when you are prompted for a location for the files.
|
Note: Refresh the disks or check the host to make sure that the disk
is online and formatted if you
do not see the LUN.
|
- Configuring the Host (Microsoft Hyper-V) Server
-
To configure the host (Microsoft Hyper-V) server, complete the following steps:
- Install one of the following operating systems:
- Microsoft Windows Server 2008 x64
- Windows Server 2008 R2
- Microsoft Windows Server 2012
- Microsoft Windows Server 2012 R2
- Install the Microsoft Hyper-V role on the Windows server using the Server Manager, and then restart the server.
- Disable
automount for the disks on the host. Issue the following
commands:
C:\>diskpart DISKPART>automount disable - To allow for remote administration on the physical host, enable the Windows firewall.
- Install the MPIO driver that ships with Windows Server 2008.
- Install the MPIO driver that your storage vendor supplied.
- Install and configure the Microsoft Hyper-V guest OS using the Microsoft Hyper-V Manager. The guest OS can be Windows Server 2008 or later.
- Download and install Microsoft Visual C++ 2008 SP1 Redistributable Package on physical host. The package can be downloaded from the Microsoft website:
Note: The x86 and x64 versions must both be installed. - Install one of the following operating systems:
- Configuring IBM® Storage Support for Microsoft VSS and VDS using Hyper-V
To configure IBM Storage Support for Microsoft VSS and VDS using Hyper-V, complete the following steps:
- Log on to the Microsoft Hyper-V guest OS.
- Install the IBM Storage Support for Microsoft VSS and VDS.
- Add the host IP address to the VM host file.
- Set the parameters to access the host server. For this step, you need the host server domain,
user name, and password. The following list provides information about the settings and the relevant commands.
- To set the user name, issue the ibmvcfg set vmusername command (hyper-V host user name, which can manage hyper-V)
- To set the password, issue the ibmvcfg set vmpassword command (hyper-V host user password)
- To set the domain, issue the ibmvcfg set vmdomain command (hyper-V host user domain)
- To view the configuration settings, issue the ibmvcfg showcfg command
- Provide the following privileges for the user:
- Access WMI on the host Server
- Query WMI objects in the following name spaces: root/cimv2, root/wmi, root/default, and root/virtualization.
- Create a process with class Win32_Process in root/cimv2.
- Manage the resources in the root/virtualization name space.
Note: After the configuration is set, the service must be restarted using the following commands in order for the configuration to take effect:The above commands will stop both VSS VDS and the IBM VSS HW Provider. Both services will start automatically in later use.net stop vssnet stop ibmvss
- Configuring source volumes using Microsoft Hyper-V
-
To configure source volumes using Microsoft Hyper-V, complete the following steps:
- Shut down the guest OS and add the iSCSI Controller to the guest OS.
- Add the pass-through disk drive to the guest OS.
Note: The guest OS can be in the running state. But it is suggested that the disks be in the offline state on the host so that they can appear in the physical hard box combo box.
- Log on to the guest OS.
- Create a volume on the newly added hard disk and assign a drive letter or mount point to the volume.
- Taking snapshots using Microsoft Hyper-V
- Before you take a snapshot of the volume on the guest OS, issue the following command to check to see whether the configuration is correct:
ibmvcfg testsnapshot X:Note: Theibmvcfg testsnapshot X:command supports one or more drive letters or mount points. In the example command, X: is the driver letter or mount point to take the snapshot.The procedures to take, delete, mask, resynchronize, and import snapshots are the same as the procedures for the physical host. The provider attaches the target LUNs to the physical host and then assigns it to the guest OS as a pass-through disk when taking or importing a snapshot. When deleting or masking a snapshot, the IBM VSS Hardware Provider removes the target LUN from the guest OS before detaching it from the physical host.