700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > devstack安装OpenStack Pike版本 (OVN+VLAN)

devstack安装OpenStack Pike版本 (OVN+VLAN)

时间:2018-12-24 16:38:29

相关推荐

devstack安装OpenStack Pike版本 (OVN+VLAN)

控制节点配置文件

## Sample DevStack local.conf.## This sample file is intended to be used for your typical DevStack environment# that's running all of OpenStack on a single host. This can also be used as# the first host of a multi-host test environment.## No changes to this sample configuration are required for this to work.#[[local|localrc]]DATABASE_PASSWORD=passwordRABBIT_PASSWORD=passwordSERVICE_PASSWORD=passwordSERVICE_TOKEN=passwordADMIN_PASSWORD=password# The DevStack plugin defaults to using the ovn branch from the official ovs# repo. You can optionally use a different one. For example, you may want to# use the latest patches in blp's ovn branch:#OVN_REPO=/blp/ovs-reviews.git#OVN_BRANCH=ovnenable_plugin networking-ovn /openstack/networking-ovnenable_service ovn-northdenable_service ovn-controllerenable_service networking-ovn-metadata-agent# Use Neutron instead of nova-networkdisable_service n-netenable_service q-svc# Disable Neutron agents not used with OVN.disable_service q-agtdisable_service q-l3disable_service q-dhcpdisable_service q-meta# Horizon (the web UI) is enabled by default. You may want to disable# it here to speed up DevStack a bit.enable_service horizon#disable_service horizon# Cinder (OpenStack Block Storage) is disabled by default to speed up# DevStack a bit. You may enable it here if you would like to use it.disable_service cinder c-sch c-api c-vol#enable_service cinder c-sch c-api c-vol# How to connect to ovsdb-server hosting the OVN NB database.#OVN_NB_REMOTE=tcp:$SERVICE_HOST:6641# How to connect to ovsdb-server hosting the OVN SB database.#OVN_SB_REMOTE=tcp:$SERVICE_HOST:6642# A UUID to uniquely identify this system. If one is not specified, a random# one will be generated and saved in the file 'ovn-uuid' for re-use in future# DevStack runs.#OVN_UUID=# If using the OVN native layer-3 service, choose a router scheduler to# manage the distribution of router gateways on hypervisors/chassis.# Default value is leastloaded.#OVN_L3_SCHEDULER=leastloaded# Whether or not to build custom openvswitch kernel modules from the ovs git# tree. This is enabled by default. This is required unless your distro kernel# includes ovs+conntrack support. This support was first released in Linux 4.3,# and will likely be backported by some distros.#OVN_BUILD_MODULES=False# Enable services, these services depend on neutron plugin.#enable_plugin neutron /openstack/neutron#enable_service q-qos#enable_service q-trunk# Skydive#enable_plugin skydive /redhat-cip/skydive.git#enable_service skydive-analyzer#enable_service skydive-agent# If you want to enable a provider network instead of the default private# network after your DevStack environment installation, you *must* set# the Q_USE_PROVIDER_NETWORKING to True, and also give FIXED_RANGE,# NETWORK_GATEWAY and ALLOCATION_POOL option to the correct value that can# be used in your environment. Specifying Q_AGENT is needed to allow devstack# to run various "ip link set" and "ovs-vsctl" commands for the provider# network setup.#Q_AGENT=openvswitch#Q_USE_PROVIDER_NETWORKING=True#PHYSICAL_NETWORK=providernet#PROVIDER_NETWORK_TYPE=flat#PUBLIC_INTERFACE=<public interface>#OVS_PHYSICAL_BRIDGE=br-provider#PROVIDER_SUBNET_NAME=provider-subnet# use the following for IPv4#IP_VERSION=4#FIXED_RANGE=<CIDR for the Provider Network>#NETWORK_GATEWAY=<Provider Network Gateway>#ALLOCATION_POOL=<Provider Network Allocation Pool># use the following for IPv4+IPv6#IP_VERSION=4+6#FIXED_RANGE=<CIDR for the Provider Network>#NETWORK_GATEWAY=<Provider Network Gateway>#ALLOCATION_POOL=<Provider Network Allocation Pool># IPV6_PROVIDER_FIXED_RANGE=<v6 CDIR for the Provider Network># IPV6_PROVIDER_NETWORK_GATEWAY=<v6 Gateway for the Provider Network># If you wish to use the provider network for public access to the cloud,# set the following#Q_USE_PROVIDERNET_FOR_PUBLIC=True#PUBLIC_NETWORK_NAME=<Provider network name>#PUBLIC_NETWORK_GATEWAY=<Provider network gateway>#PUBLIC_PHYSICAL_NETWORK=<Provider network name>#IP_VERSION=4#PUBLIC_SUBNET_NAME=<provider subnet name>#Q_FLOATING_ALLOCATION_POOL=<Provider Network Allocation Pool>#FLOATING_RANGE=<CIDR for the Provider Network># NOTE: DO NOT MOVE THESE SECTIONS FROM THE END OF THIS FILE# IF YOU DO, THEY WON'T WORK!!!!!## Enable Nova automatic host discovery for cell every 2 seconds# Only needed in case of multinode devstack, as otherwise there will be issues# when the 2nd compute node goes online.[[post-config|$NOVA_CONF]][scheduler]discover_hosts_in_cells_interval = 2

计算节点

## Sample DevStack local.conf.## This sample file is intended to be used when adding an additional compute node# to your test environment. It runs a very minimal set of services.## For this configuration to work, you *must* set the SERVICE_HOST option to the# IP address of the main DevStack host. You must also set HOST_IP to the IP# address of this host.#[[local|localrc]]DATABASE_PASSWORD=passwordRABBIT_PASSWORD=passwordSERVICE_PASSWORD=passwordSERVICE_TOKEN=passwordADMIN_PASSWORD=password# The DevStack plugin defaults to using the ovn branch from the official ovs# repo. You can optionally use a different one. For example, you may want to# use the latest patches in blp's ovn branch:#OVN_REPO=/blp/ovs-reviews.git#OVN_BRANCH=ovnenable_plugin networking-ovn /openstack/networking-ovndisable_all_servicesenable_service n-cpuenable_service placement-apienable_service ovn-controller# Set this to the address of the main DevStack host running the rest of the# OpenStack services.SERVICE_HOST=<IP address of host running everything else>RABBIT_HOST=$SERVICE_HOSTQ_HOST=$SERVICE_HOST# How to connect to ovsdb-server hosting the OVN SB databaseOVN_SB_REMOTE=tcp:$SERVICE_HOST:6642# A UUID to uniquely identify this system. If one is not specified, a random# one will be generated and saved in the file 'ovn-uuid' for re-use in future# DevStack runs.#OVN_UUID=# Whether or not to build custom openvswitch kernel modules from the ovs git# tree. This is enabled by default. This is required unless your distro kernel# includes ovs+conntrack support. This support was first released in Linux 4.3,# and will likely be backported by some distros.#OVN_BUILD_MODULES=FalseHOST_IP=<IP address of current host>NOVA_VNC_ENABLED=TrueNOVNCPROXY_URL=http://$SERVICE_HOST:6080/vnc_auto.htmlVNCSERVER_LISTEN=$HOST_IPVNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN# Skydive#enable_plugin skydive /redhat-cip/skydive.git#enable_service skydive-agent# Provider Network# If you want to enable a provider network instead of the default private# network after your DevStack environment installation, you *must* set the# Q_USE_PROVIDER_NETWORKING to True, and give value to both PHYSICAL_NETWORK# and OVS_PHYSICAL_BRIDGE.#Q_USE_PROVIDER_NETWORKING=True#PHYSICAL_NETWORK=providernet#OVS_PHYSICAL_BRIDGE=br-provider#PUBLIC_INTERFACE=<public interface>

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。