Difference between revisions of "Setup OpenStack with Virtuozzo 7"
Mnestratov (talk | contribs) |
Mnestratov (talk | contribs) |
||
| Line 43: | Line 43: | ||
$ ./setup_devstack_for_vz7_compute.sh COMPUTE_HOST_IP PASSWORD CONTROLLER_HOST_IP | $ ./setup_devstack_for_vz7_compute.sh COMPUTE_HOST_IP PASSWORD CONTROLLER_HOST_IP | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Install and configure a nova controller node on [[Virtuozzo]] 7 == <!--T:18--> | == Install and configure a nova controller node on [[Virtuozzo]] 7 == <!--T:18--> | ||
| Line 105: | Line 83: | ||
openstack-nova-scheduler.service openstack-nova-conductor.service \ | openstack-nova-scheduler.service openstack-nova-conductor.service \ | ||
openstack-nova-novncproxy.service | openstack-nova-novncproxy.service | ||
| + | |||
| + | == Install and configure a compute node on [[Virtuozzo]] 7 == <!--T:16--> | ||
| + | |||
| + | <!--T:17--> | ||
| + | * Follow instructions on [http://docs.openstack.org/liberty/install-guide-rdo/nova-compute-install.html 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 | ||
| + | |||
| + | * Then restart nova-compute service: | ||
| + | |||
| + | systemctl restart openstack-nova-compute.service | ||
== See also == <!--T:100--> | == See also == <!--T:100--> | ||
Revision as of 15:46, 10 March 2016
<translate> This howto describes how to install OpenStack on Virtuozzo 7.
Contents
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 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
- Change disk_formats string in /etc/glance/glance-api.conf so that it contains 'ploop'. Like this:
disk_formats = ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,ploop
- Restart glance-api service:
systemctl restart openstack-glance-api.service
- Download the container image
- Unpack it
$ tar -xzvf centos7-exe.hds.tar.gz
- Upload the image to glance:
NOTE: this image was created for testing purposes only. Don't use it in production as is!
glance image-create --name centos7-exe --disk-format ploop --container-format bare --property vm_mode=exe --file centos7-exe.hds
- Restart nova services:
systemctl restart openstack-nova-api.service \ openstack-nova-cert.service openstack-nova-consoleauth.service \ openstack-nova-scheduler.service openstack-nova-conductor.service \ openstack-nova-novncproxy.service
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
- Then restart nova-compute service:
systemctl restart openstack-nova-compute.service
See also
</translate>