Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to make vmdk Image of vSphere in openstack

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

In openstack how to make vSphere vmdk image, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

1 convert qcow2 image to vmdk

Controller# qemu-img convert-f qcow2 windows2008.qcow2-O vmdk windows2008.vmdk

Display vmdk file information

Controller# head-20 windows2008.vmdk

2 upload using glance command (modify the corresponding parameters according to different environments)

Pay attention to the parameter settings of disk / Nic between different environments and operating systems

The windows2008 system image template requires vmtools to be installed before it can be managed using the vnc console

Disk type (ide/LSILogic) network card type (--property hw_vif_model=e1000e (windows2008))

Controller# glance image-create-- name Windows2008-- container-format bare-- disk-format vmdk\-- property vmware_disktype= "sparse"-- property vmware_adaptertype= "ide"-- visibility public\-progress < windows2008.vmdk

Manually synchronize mirrors to vSphere

1 get the image ID $image-ID

2 copy the vmdk image to the esxi host

Controller# scp windows2008.vmdk ESXI:/vmfs/volumes/datastore1/vcenter-vmware_service_base/windows2008.vmdk

3 conversion operation from ssh to esxi host

ESXI# cd / vmfs/volumes/datastore1/vcenter-vmware_service_base/ESXI# mkdir $image-IDESXI# vmkfstools-v-I windows2008.vmdk-d thin $image-ID/$image-ID.vmdk is helpful to you after reading the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report