Monday, 24 June 2013

How to upload running VM in Openstack

1. To check image info in openstack compute node
#qemu-img info <<image-name>>

2. Glance Add image in openstack
# glance add is_public=true container_format=raw disk_format=qcow2 < <<Image-Path>>>


Openstack Notes:

1. Install openstack on any hardware with scripts
Converting VM running instances that can run on openstack

1. Download and install VMWARE VCenter Converter for Windows & Install it.
2. Open Vcenter Converter Standalone client


3. Click on Convert Machine
4. Select Source type = VMware Workstation or other VMware virtual machine
5. Browse source virtual machine or image
6. Click Next
7. Destination Type Window

- Select destination type = VMware Workstation or other VMware virtual machine
- Select VMware product – Vmware Workstation 6.5x

8. Click Next and you will see Options window
9. Click on Data to copy edit
10. Under Edit select Pre-allocated in drop down of Disk type
11. Click Next & Finish
Uploading VMware based images on Glance - openstack

1. Upload image using glance command
# glance image-create --name <your-image-name> --disk-format=vmdk --is-public=True --container-format=bare < <path-to-vmdk-flat-image-file>



0 comments: