Openstack 上测试Openstack

搞云的有一点比较郁闷,我们让用户用虚拟机,但是自己老是喜欢用物理服务器。

我使用的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)

相关推荐