Open main menu

OpenVZ Virtuozzo Containers Wiki β

Editing Setup Virtuozzo Infrastructure Platform on Virtuozzo 7

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 40: Line 40:
 
  $ systemctl restart network
 
  $ systemctl restart network
  
== Installing Virtuozzo Infrastructure Platform on [[Virtuozzo]] 7 ==  
+
== Installing Virtuozzo Infrastructure Platform on [[Virtuozzo]] 7 using packstack ==  
  
 
* Install Virtuozzo Platform Release package to all Virtuozzo OpenStack nodes:
 
* Install Virtuozzo Platform Release package to all Virtuozzo OpenStack nodes:
Line 48: Line 48:
 
* Install packstack package:
 
* Install packstack package:
  
  $ yum install kolla-ansible
+
  $ yum install openstack-packstack
  
* Then follow instructions on
+
* Download sample Vz7 packstack answer file:
  
 +
$ wget https://raw.githubusercontent.com/virtuozzo/virtuozzo-openstack-scripts/master/vz7-packstack-ocata.txt
  
== Create and Upload images == <!--T:18-->
+
* Edit vz7-packstack-ocata.txt enabling/disabling necessary services
 +
* Replace all references to 'localhost' and '127.0.0.1' host addresses to correct valuses
 +
* Set all passwords parameters containing PW_PLACEHOLDER string to some meaninful values
 +
* If you are going to use Virtuozzo Storage as a Cinder Volume backend set the following parameters:
 +
 
 +
  # Enable Virtuozzo Storage
 +
  CONFIG_VSTORAGE_ENABLED=y
 +
 
 +
  # VStorage cluster name.
 +
  CONFIG_VSTORAGE_CLUSTER_NAME=
 +
 
 +
  # VStorage cluster password.
 +
  CONFIG_VSTORAGE_CLUSTER_PASSWORD=
 +
 
 +
  # Bridge mappings
 +
  CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=extnet1:br-ex
 +
 
 +
  # Bridge interfaces
 +
  CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:eth0
 +
 
 +
  # Bridge mapping for compute node
 +
  CONFIG_NEUTRON_OVS_BRIDGES_COMPUTE=extnet1:br-ex
 +
 
 +
* Then run packstack:
 +
 
 +
$ packstack --answer-file=vz7-packstack-ocata.txt
 +
 
 +
== Generate and Upload images == <!--T:18-->
  
 
* Upload the image to glance:
 
* Upload the image to glance:
  
  $ glance image-create --name vzlinux-ct --disk-format ploop --min-ram 512 --min-disk 1 --container-format bare --property vm_mode=exe --property hypervisor_type=vz --property cinder_img_volume_type=vstorage-ploop --file vzlinux7-exe.hds
+
  $ glance image-create --name centos7-exe --disk-format ploop --min-ram 512 --min-disk 1 --container-format bare --property vm_mode=exe --property hypervisor_type=vz --property cinder_img_volume_type=vstorage-ploop --file centos7-exe.hds
 +
 
 +
$ glance image-create --name centos7-hvm --disk-format qcow2 --min-ram 1024 --min-disk 10 --container-format bare --property cinder_img_volume_type=vstorage-qcow2 --file CentOS-7-x86_64-GenericCloud.qcow2
  
$ glance image-create --name vz7-vm --disk-format qcow2 --min-ram 1024 --min-disk 10 --container-format bare --property cinder_img_volume_type=vstorage-qcow2 --file vz7.qcow2
+
* CentOS image one can get here [http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2 ]
  
 
== See also == <!--T:100-->
 
== See also == <!--T:100-->
 +
* [http://docs.openstack.org/newton/install-guide-rdo/nova-controller-install.html Controller Node Installation Guide]
 +
* [http://docs.openstack.org/newton/install-guide-rdo/nova-compute-install.html Compute Node Installation Guide]
 +
* [http://docs.openstack.org/newton/install-guide-rdo/environment-packages.html OpenStack Installation Guide]
 
* [https://docs.openvz.org/ Virtuozzo Documentation]
 
* [https://docs.openvz.org/ Virtuozzo Documentation]
 
* [[Virtuozzo ecosystem]]
 
* [[Virtuozzo ecosystem]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: