您的位置:首页 > 运维架构

OpenStack单节点安装配置文件范例:nova.conf && interface

2012-03-18 11:05 381 查看
/etc/network/interface:



# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto lo

iface lo inet loopback

# The primary network interface

auto eth0

iface eth0 inet static

address 172.7.10.220

netmask 255.255.255.0

broadcast 172.7.10.255

gateway 172.7.10.1

auto br100

iface br100 inet static

bridge_ports eth1

bridge_stp off

bridge_maxwait 0

bridge_fd 0

address 10.200.200.2

netmask 255.255.255.0


nova.conf:


--dhcpbridge_flagfile=/etc/nova/nova.conf

--dhcpbridge=/usr/bin/nova-dhcpbridge

--logdir=/var/log/nova

--state_path=/var/lib/nova

--lock_path=/var/lock/nova

--force_dhcp_release=True

--use_deprecated_auth=1

--iscsi_helper=tgtadm

--verbose=1

--scheduler_driver=nova.scheduler.simple.SimpleScheduler

--network_manager=nova.network.manager.FlatDHCPManager

--my_ip=10.200.200.2

--public_interface=eth0

--sql_connect=mysql://nova:notnova@localhost/nova

--libvirt_type=kvm

--api_paste_config=/etc/nova/api-paste.ini

--image_service=nova.image.glance.GlanceImageService

--ec2_dmz_host=172.7.10.220

--ec2_url=http://172.7.10.220:8773/services/Cloud

--rabbit_host=localhost

--glance_api_servers=10.200.200.2:9292

--flat_network_bridge=br100

--flat_interface=eth1

--flat_network_dhcp_start=10.200.200.51

--fixed_range=10.200.200.0/24

--flat_injected=False

--multi_host=1

--libvirt_use_virtio_for_bridges
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐