Devstack Deploying OpenStack Environments

Source: Internet
Author: User

Here is a brief introduction to the OpenStack Runtime environment for deploying multiple nodes using Devstack (Stable/juno):

    1. Multi-node Nova-network environment

    2. Multi-node Neutron environment

System version: Ubuntu 13.10

Devstack Multi-host Nova-network

      • Problems encountered:

      • Deployment time to Error:command ' X86_64-LINUX-GNU-GCC ' failed with exit status 1 error

This is because some dependent packages are not installed, and you can update the dependent packages with the following command:

$sudo Apt-get BUILD-DEP Python-lxml

Control node:

# # #IP Configurationhost_ip=ip_address#credentialsadmin_password=passworddatabase_password=passwordrabbit_ Password=passwordservice_password=passwordservice_token=password#multinode configurationflat_interface= Eth0fixed_range=10.4.128.0/20fixed_network_size=4096floating_range=<<floating_ip_range>>multi_host =1### #Tempestenable_service Tempest#log outputlogfile=/opt/stack/logs/stack.sh.logverbose=truelog_color= Falsescreen_logdir=/opt/stack/logs

  

Devstack Multi-host Neutron

Control node:

host_ip=172.16.5.106admin_password=passwordmysql_password=passwordrabbit_password=passwordservice_password= passwordservice_token=tokentoken# use Quantum instead of Nova-networkdisable_service n-netenable_service Q-svcenable_ Service Q-agtenable_service q-dhcpenable_service q-l3enable_service neutronenable_service q-metaenable_service q-metering# Network settings# #VLAN configureq_plugin=ml2enable_tenant_vlans=trueml2_vlan_ranges=physnet1:100:200q _ml2_tenant_network_type=vlanq_ml2_plugin_mechanism_drivers=openvswitchq_ml2_plugin_type_drivers=vlan,local, flatphysical_network=physnet1ovs_physical_bridge=br-eth1# #Tunnel configureenable_tenant_tunnels=false# #Public Ip Configurefloating_range=172.16.5.0/24public_network_gateway=172.16.5.80q_use_providernet_for_public= Truelogfile=/opt/stack/data/stack.logscreen_logdir=/opt/stack/data/logreclone=yes

COMPUTE nodes:

host_ip=172.16.5.107service_host=172.16.5.106admin_password=passwordmysql_password=passwordrabbit_password= passwordservice_password=passwordservice_token=tokentokenenabled_services=n-cpu,rabbit,neutron,q-agt# Openstack Services running on controller nodemysql_host= $SERVICE _hostrabbit_host= $SERVICE _hostq_host= $SERVICE _hostglance_ hostport= $SERVICE _host:9292#enable Compute VNC server. nova_vnc_enabled=true# Network settings# #VLAN configureq_plugin=ml2enable_tenant_vlans=trueml2_vlan_ranges= Physnet1:100:200q_ml2_tenant_network_type=vlanq_ml2_plugin_mechanism_drivers=openvswitchq_ml2_plugin_type_ drivers=vlan,local,flatphysical_network=physnet1ovs_physical_bridge=br-eth1# #Tunnel configureENABLE_TENANT_ Tunnels=falselogfile=/opt/stack/data/stack.logscreen_logdir=/opt/stack/data/logreclone=yes

Manual execution:

Ovs-vsctl add-port br-eth1 eth1 #数据网

Ovs-vsctl add-port br-ex eth0 #公网

Devstack Deploying OpenStack Environments

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.