Creating vhdx for hyper-v, 2 creating vhdx for hyper-v – Dell XC Web-Scale Converged Appliance User Manual

Page 64

Advertising
background image

64

Wyse Datacenter Appliance XC for vWorkspace

10.1.2

Creating VHDX for Hyper-V

NOTE: Solution is provided on the basis of using full clones for persistence (Standard provisioning) and
recommended disk format is VHDX. If using linked clones and rapid provisioning is necessary, you must
use VHD format with this version of vWorkspace.

1. Open PowerShell and go to the path where you want the template VM to be stored.
2. Run the following command to create a VHDX file for the template VM using the following

necessary specifications. Replace “VMName.vhdx” with the full path and name for the VHDX file.
new-vhd -path "VMName.vhdx" -dynamic -SizeBytes 25GB -
PhysicalSectorSizeBytes 512 -LogicalSectorSizeBytes 512 -BlockSizeBytes
2MB

3. Create a desktop VM using the desired vCPUs and vRAM allocation and attach the newly created

VHDX file to the VM.

To create a desktop VM template for Hyper-V configuration:

1. Log in to any of the hosts in the cluster and start Server Manager.
2. In Server Manager, from the Tools menu, select Hyper-V-Manager.
3. In Hyper-V Manager, connect to the local server.
4. Right-click the name of the local server in the left pane and click NewVirtual Machine.
5. On the Specify Name and Location page of the New Virtual Machine wizard, type the name and

location of the VM. The location is the Nutanix SMB share for your compute container (for
example, \\nutanix-cluster\ds_compute).

6. On the Specify Generation page, specify Generation 1 and click Next.
7. On the Assign Memory page, type the amount of startup memory according to your needs

(optionally, type the setting from the Hyper-V Desktop VM Example Configuration table). Click
the Use Dynamic Memory for this virtual machine check box, and then click Next.

8. On the Configure Networking page, select the “ExternalSwitch” vSwitch. Click Next.
9. On the Connect Virtual Hard Disk page, select the Use an existing virtual hard disk option.

Type or browse to the location of the virtual disk you created using the VHDX Creation Steps for
Hyper-V. Click Next.

10. On the Installation Options page, select the Install an operating system later option. Click

Finish.

11. After creating the VM, right-click the VM in the Virtual Machines pane and select Settings.
12. Click Memory and adjust the settings according to your requirements (optionally, type the

settings from the Hyper-V Desktop VM Example Configuration table).

13. In the VM settings, click Network Adapter in the Hardware pane, and enable virtual LAN

identification. Enter the VLAN ID for your desktop VLAN, if applicable.

Advertising