背景:
阅读新闻
Openstack 上测试Openstack
[日期:2012-05-19] 来源:Linux社区 作者:chenshake [字体:]
搞云的有一点比较郁闷,我们让用户用虚拟机,但是自己老是喜欢用物理服务器。
我使用的hpcloud提供的Ubuntu 11.10虚拟机
虚拟机的固定IP是:10.4.11.65,
下面是nova.conf 配置
[DEFAULT]
verbose=True
auth_strategy=keystone
allow_resize_to_same_host=True
root_helper=sudo /usr/local/bin/nova-rootwrap
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
dhcpbridge_flagfile=/etc/nova/nova.conf
fixed_range=10.10.10.0/24
s3_host=10.4.11.65
s3_port=3333
network_manager=nova.network.manager.FlatDHCPManager
volume_group=nova-volumes
volume_name_template=volume-%08x
iscsi_helper=tgtadm
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
my_ip=10.4.11.65
public_interface=br100
vlan_interface=eth0
flat_network_bridge=br100
flat_interface=eth0
sql_connection=mysql://root:nova@localhost/nova?charset=utf8
libvirt_type=qemu
instance_name_template=instance-%08x
novncproxy_base_url=http://10.4.11.65:6080/vnc_auto.html
xvpvncproxy_base_url=http://10.4.11.65:6081/console
vncserver_listen=127.0.0.1
vncserver_proxyclient_address=127.0.0.1
api_paste_config=/etc/nova/api-paste.ini
image_service=nova.image.glance.GlanceImageService
ec2_dmz_host=10.4.11.65
rabbit_host=localhost
rabbit_password=nova
glance_api_servers=10.4.11.65:9292
force_dhcp_release=True
connection_type=libvirt
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
网卡设置
root@server-102269:~# ifconfig
eth0 Link encap:Ethernet HWaddr 02:16:3e:29:3a:41
inet addr:10.4.11.65 Bcast:10.5.255.255 Mask:255.254.0.0
inet6 addr: fe80::16:3eff:fe29:3a41/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:237006 errors:0 dropped:19 overruns:0 frame:0
TX packets:130260 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:334223299 (334.2 MB) TX bytes:11722525 (11.7 MB)
Interrupt:11 Base address:0x6000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4550 errors:0 dropped:0 overruns:0 frame:0
TX packets:4550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32580090 (32.5 MB) TX bytes:32580090 (32.5 MB)
virbr0 Link encap:Ethernet HWaddr f6:33:11:b9:51:42
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
相关资讯 OpenStack
本文评论 查看全部评论 (0)
尊重网上道德,遵守中华人民共和国的各项有关法律法规 承担一切因您的行为而直接或间接导致的民事或刑事法律责任 本站管理人员有权保留或删除其管辖留言中的任意内容 本站有权在网站内转载或引用您的评论 参与本评论即表明您已经阅读并接受上述条款
评论声明
最新资讯