Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Setup OpenStack with Virtuozzo 7

840 bytes added, 11:37, 15 July 2016
m
no edit summary
This guide allows you to install OpenStack with Virtuozzo nodes with a help of Devstack tools. Devstack allows you to install stateless OpenStack for demo purpose that means it will be reset after host reboot. So, the best platform to setup OpenStack in this case is virtual machines.
 
Please note that OpenStack now does not support containers and virtual machines on the same node, thus you need at least two nodes to try containers and VMs management.
You need the following infrastructure to setup OpenStack with Virtuozzo 7:
Git must be installed on all your Virtuozzo nodes:
$ yum install git-y
== Devstack all-in-one installation Setup OpenStack Controller Node with Virtuozzo Containers Support == <!--T:1-->
<!--T:3-->
You are able to setup OpenStack controller node together with compute node on the same server for demo or test purpose. In this case compute node with Virtuozzo Containers supported support will be deployed. You can add another compute node with containers or VMs anytime you want as described in Devstack Multi-node Installation Setup OpenStack Compute Node section. Please note that OpenStack now does not support containers and virtual machines on the same node.
Clone virtuozzo scripts:
$ cd virtuozzo-openstack-scripts
If you want to use Virtuozzo Storage with OpenStack and your Virtuozzo Storage is running on another node and not on the compute you need to setup Virtuozzo Storage client and authorize compute node in the Virtuozzo Storage Cluster.
Setup Virtuozzo Storage client:
$ yum install vstorage-client -y
Check cluster discovery is working fine first:
$ vstorage discover
Output will show the discovered clusters.
Now you need to authenticate controller node on the Virtuozzo Storage cluster:
$ vstorage -c $CLUSTER_NAME auth-node -P
Enter the virtuozzo storage cluster password and press Enter.
Check the cluster properties:
$ vstorage -c $CLUSTER_NAME top
Output will show Virtuozzo storage cluster properties and state.
Configure the script on the CONTROLLER node. Please read full script description here https://github.com/virtuozzo/virtuozzo-openstack-scripts/blob/master/README.md
Run the script and follow instructions (if any)Example: $ source vzrc --host_ip 10.24.41.25 --password Virtuozzo1! --use_provider_network true $ --fixed_range 192.168.1.0/setup_devstack_vz724 --floating_range 10.24.41.sh YOUR_HOST_IP YOUR_PASSWORD 0/24 --floating_pool "start=10.24.41.151,end= Devstack multi node installation == <!10.24.41.199" --T:11public_gateway 10.24.41.1 --> <!gateway 192.168.0.1 --T:12vzstorage vstorage1 -->Clone virtuozzo scripts on your CONTROLLER node:mode ALL
$ cd /vz
$ git clone https://github.com/virtuozzo/virtuozzo-openstack-scripts
$ cd virtuozzo-openstack-scripts
 
<!--T:13-->
Run the script on your CONTROLLER node and follow instructions (if any):
$ ./setup_devstack_vz7.sh YOUR_HOST_IP YOUR_PASSWORD CONTROLLER
<!--T:14-->Clone virtuozzo scripts Installation can take up to 30 minutes depending on your COMPUTE node:Internet connection speed. Finished!
$ cd /vz $ git clone https://github.com/virtuozzo/virtuozzo-openstack-scripts $ cd virtuozzo-openstack-scripts== Setup OpenStack Compute Node ==
<!--T:15-->Run the script on Clone Virtuozzo scripts to your COMPUTE node and follow instructions (if any): # cd /vz $ # git clone https://github.com/virtuozzo/virtuozzo-openstack-scripts# cd /vz/setup_devstack_vz7.sh YOUR_COMPUTE_HOST_IP YOUR_PASSWORD COMPUTE YOUR_CONTROLLER_HOST_IPvirtuozzo-openstack-scripts
== How to redeploy OpenStack on the same nodes ==
91
edits