HP CloudSystem Matrix 7.x White Paper | Page 4

HP Solutions White Paper - CloudSystem Matrix 7.x.
Download
Page  of 16
4.5, 1509 votes
background image

Creating Windows Virtual Machine images for use with ESXi compute clusters in HP CloudSystem 

 

For sparse images, make sure they are already configured as sparse or convert them to sparse using the 
vmware-vdiskmanager with ‘-t 0’ option. 

• 

Step 8 Upload the image to CloudSystem 

o

 

You can upload an image by copying it to the CloudSystem Glance image repository or by entering a link to an 
HTTP server that hosts the image. In the second scenario, when CloudSystem needs the image for an operation, it 
fetches it from the HTTP server. 

o

 

When you copy the image into CloudSystem’s Glance repository, you can use the CloudSystem Portal, the 
CloudSystem Console, or the Glance CLI. The CLI provides more control and more options and handles larger image 
sizes than the GUI options. Using the CLI is the recommended best practice when working with Windows VMDKs. 

• 

Step 9 Set required CloudSystem properties 

o

 

The CLI tool is used to set the two CloudSystem required properties for Windows VMDKs: 

 

vmware_ostype=<OSType> 

• 

Example: ‘windows8Server64Guest’ for Windows 2012 

 

vmware_adaptertype=lsiLogicsa 

o

 

If your image is sparse VMDK format, you are also required to set: 

 

vmware_disktype=sparse 

o

 

Additional image options can be set at this time to establish a minimum disk size and memory for the image to 
restrict users from requesting an instance with insufficient resources. These are optional. 

 

min_disk=<minimum disk size in GB independent of user selected flavor> 

 

min_ram=<minimum RAM MB independent of user selected flavor> 

 

Step 1: Create the virtual machine source in vCenter Server 

In your VMware development environment, create a virtual machine to use as the source of the image. Most parameters are 
supported with a wide range of values, but two parameters require specific values in order for the image to work. 
 
The two required properties are: 

• 

SCSI Controller -> LSI Logic SAS 

• 

Virtual Device Node -> SCSI 

Creating the virtual machine source in vCenter Server 

 

Create the virtual machine. 
 

 

Customize the configuration. 

a.  Name and Location -> <Your choice > 
b.  Storage -> <Your choice> 
c.  Virtual Machine Version -> Virtual Machine Version 8 (This is the default) 
d.  Guest Operating System  -> Windows Version 

Example:  ‘Microsoft Windows Server 2012 (64-bit)’ 

e.  CPUs 

 

Number of virtual sockets -> <Your choice> 

 

Number of cores per virtual socket -> <Your choice> 
In CloudSystem, the actual value for CPUs to support the instance is a function of the OpenStack 
Nova flavor selected for the instance. The values you set for the VM at this time have no effect. Pick 
the values you want while you are developing the virtual machine image. 
 
 

 

 

 

0.629404s