In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article is about how Liberty connects to vCenter in OpenStack. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
OpenStack connects to vCenter and sends instructions through its API. Datastore serves as the storage backend for glance and cinder, and nova uses its entire cluster as a virtualized backend. A nova-compute can only connect to one vCenter, but you can specify clusters under multiple vCenter.
The environment involved in this article
CentOS Linux release 7.2.1511
OpenStack Liberty
VCenter6.0.0
OpenStack connection VC topology diagram
Nova connection VC configuration [default] compute_driver= vmwareapi.VMwareVCDriver [VMware] hostware insecure=TrueCinder connection configuration 192.168.4.99 hostware usernameplate generator configuration vsphere.localhostroompasswordconfiguration QAZ2wsxclusternameclusternameclusterdatastore1 wsdl_location= insecure=TrueCinder connection VC configuration # Storage backenddefault_volume_type = vmwareenabled_backends = vmware# volume driver configuration [vmware volume_driver=cinder.volume.drivers.vmware.vmdk.VMwareVcVmdkDrivervmware_host_ip=192.168.4.99vmware_host_username=administrator@vsphere.localvmware_host_password=] ! QAZ2wsxvmware_wsdl_location= https://192.168.4.99/sdk/vimService.wsdl# vmware_cluster_name = clustervmware_insecure = Truevmware_volume_folder = VolumesGlance configuration
Glance-api configuration
[glance_store] default_store=vsphere stores=vmware,http vmware_server_host=192.1681.4.99 vmware_server_username=administrator@vsphere.local vmwarehousing server passwordQAZ2wsx vmware_datastores = datacenter:datastore1 vmware_api_insecure = True vmware_task_poll_interval = 5 vmware_store_image_dir = / openstack_glance [paste_deploy] flavor=keystone config_file=/usr/share/glance/glance-api-dist-paste.ini
Glance-registry configuration
[paste_deploy] flavor=keystone config_file=/usr/share/glance/glance-registry-dist-paste.ini
[glance_store] default_store = vsphere stores = vmware,http vmware_server_host=192.168.4.99 vmware_server_username=administrator@vsphere.local vmwarehousing server passwordQAZ2wsx vmware_datacenter_path=datacenter vmware_datastore_name=datastore1
Upload image to datestore
Upload the image via glance, and use head-n 20 * .vmdk to check the format of the image. If you are converting from qcow2/raw to vmdk image, upload the image to datastore with the following command
Glance image-create-progress-name centos_vmdk-container-format bare-disk-format vmdk-property vmware_adaptertype=ide-property vmware_disktype=sparse < centos.vmdk
Thank you for reading! This is the end of the article on "how to connect Liberty to vCenter in OpenStack". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.