Difference between revisions of "Setup OpenStack with Virtuozzo 7"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
Line 79: Line 79:
  
 
* Download the container [http://updates.pvs.parallels.com/server/virtuozzo/en_us/odin/7/techpreview-ct/centos7-exe.hds.tar.gz image]
 
* Download the container [http://updates.pvs.parallels.com/server/virtuozzo/en_us/odin/7/techpreview-ct/centos7-exe.hds.tar.gz image]
 +
  NOTE: this image was created for testing purposes only. Don't use it in production as is!
 +
 
* Unpack it
 
* Unpack it
  

Revision as of 15:11, 10 March 2016

<translate> This howto describes how to install OpenStack on Virtuozzo 7.

Devstack all-in-one installation

Clone virtuozzo scripts:

$ cd /vz
$ git clone https://github.com/virtuozzo/virtuozzo-openstack-scripts
$ cd virtuozzo-openstack-scripts

Run the script and follow instructions (if any):

$ ./setup_devstack_for_vz7.sh HOST_IP PASSWORD


Devstack multi node installation

Clone virtuozzo scripts on your CONTROLLER node:

$ cd /vz
$ git clone https://github.com/virtuozzo/virtuozzo-openstack-scripts
$ cd virtuozzo-openstack-scripts

Run the script on your CONTROLLER node and follow instructions (if any):

$ ./setup_devstack_for_vz7.sh HOST_IP PASSWORD true

Clone virtuozzo scripts on your COMPUTE node:

$ cd /vz
$ git clone https://github.com/virtuozzo/virtuozzo-openstack-scripts
$ cd virtuozzo-openstack-scripts

Run the script on your COMPUTE node and follow instructions (if any):

$ ./setup_devstack_for_vz7_compute.sh COMPUTE_HOST_IP PASSWORD CONTROLLER_HOST_IP

Install and configure a compute node on Virtuozzo 7

  • Follow instructions on OpenStack.org
  • In addition to above instructions change /etc/nova/nova.conf:
[DEFAULT]
...
vnc_keymap =
force_raw_images = False
[libvirt]
...
virt_type = parallels
images_type = ploop
connection_uri = parallels+unix:///system
inject_partition = -2

Install and configure a nova controller node on Virtuozzo 7

  • Follow instructions on OpenStack.org
  • In addition to above instructions change /etc/nova/nova.conf:
[DEFAULT]
...
vnc_keymap =
[libvirt]
...
virt_type = parallels
images_type = ploop
  • Download the container image
 NOTE: this image was created for testing purposes only. Don't use it in production as is!
  • Unpack it
$ tar -xzvf centos7-exe.hds.tar.gz
  • Upload the image to glance
glance image-create --name centos7-exe --disk-format ploop --container-format bare --property vm_mode=exe --file centos7-exe.hds

See also

</translate>