Ask Your Question
0

Windows2008 VMDK Instance Issue in ESXi Hypervisor

asked 2014-02-25 01:38:19 -0500

prabhakar gravatar image

Hi Guys,

we have a setup of openstack controller with ESXi hypervisor. root@controller:~# nova hypervisor-list +----+---------------------+ | ID | Hypervisor hostname | +----+---------------------+ | 4 | 10.37.39.46 | +----+---------------------+ we have succuessfully integrated ESXi with controller and able to launch Ubuntu,centos,rhel,suse instances.we are facing issue with windows instances. what we done in background for windows instances; ->created windows2008 vm(with 15G) in other ESXi server ->installed VMware tools ->installed sysprep ->shutdown the vm, copied the flat.vmdk file into controller and uploaded the image as below command root@controller:~# glance image-create --name="windowsVMDK" --disk-format=vmdk --container-format=bare --is-public=true < windows-flat.vmdk we have launched the instance and it was able to took all the resources from compute node(ESXi node), took the IPAddress from dhcp. instance was took 30-40min and after that instance was booting and it is going to "system recovery options and getting blue screen error"

can some help on the same, how to bring up windows instance with out issues.please let me know if need any other infromation. ---Prabhakar

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2014-02-27 03:34:22 -0500

prabhakar gravatar image

we have got success on windows instance creation in VMWARE ESXi hypervisor. below is the process we followed.

• Create a VM and start to windows in ESXi server. • After booting image power-off VM and attach a virtio-win-1.1.16.ISO (virtio will provide HDD Drivers and network drivers). • Power-ON the VM, in middle of installation it will ask virtual HDD Driver there we have to select Redhat virtio scsi controller driver ,it is available in virtio-win-1.1.16.iso. • Once selected driver it will detect virtual HDD and it will proceed installation. • Once completed installation login to the VM and update network drivers, drivers will available in virtio-win-1.1.16.iso. • After drivers will get updated finally we have to do sysprep (sysprep : Windows sysprep image that can be used by OpenStack to spin up unique instances of Windows). o For sysprep installation open cmd prompt C:\windows\System32\sysprep\sysprep.exe /generalize /oobe /shutdown execute sysprep.exe o VM will get sysprep installed and powered-off VM automatically . • Power off VM ,take the vmdk flat flie and upload into glance by using command: glance image-create --name="xyz" --disk-format=vmdk --container-format=bare --is-public=true < windows-flat.vmdk • Create instance using this windows image and will get success

Regards,prabhakar

edit flag offensive delete link more
0

answered 2014-02-25 04:41:11 -0500

hisham gravatar image

Did you upload the image to glance by adding --property vmware_adaptertype="lsiLogic" --property --property vmware_ostype="windows7server64guest"

by default when you create a VM with OS type of windows 2008 it uses the lsi logic sas adapter in vmware. I think the instance created in Openstack is using the default which might be lsi logic parallel, which is used for Linux/Unix as default in vmware.

edit flag offensive delete link more

Comments

yes hisham, for windows instance we need to upload type of adapter as lsiLogic. we have uploaded the image with the command: ##glance image-create --name=WIN2k811CI --property vmware_ostype=windows7Server64Guest --disk-format=vmdk --container-format=bare --is-public=true --property vmware_disktype="preallocated" --property vmware_adaptertype="lsiLogicsas" < WIN-flat.vmdk instance came online with out issues.

prabhakar gravatar imageprabhakar ( 2014-03-04 23:28:07 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-02-25 01:38:19 -0500

Seen: 659 times

Last updated: Feb 27 '14