[Openstack] Help with XenServer as Compute Node
Sisu Xi
xisisu at gmail.com
Sun Jan 12 23:44:45 UTC 2014
Hi,
I am trying to add XenServer as a compute node, but failed to connect to
the controller.
For the controller node, I have Ubuntu Server 12.04 with 1 harddisk and 1
NIC.
I followed the guide on
http://docs.openstack.org/trunk/install-guide/install/apt/content/ until
the dashboard part (I haven't done the network part.). Everything works
fine. (and I tested with another machine with KVM as the compute node, it
works, then I want to replace KVM with XenServer).
For the compute node, I installed a fresh XenServer 6.2, with SP1 patch
installed. It has 1 harddisk and 1 NIC. Then I try to follow the guide on
https://github.com/Donelle/HowTo-Openstack-ComputeNode-Setup without the
network part. However, seems the controller node and compute node are not
connected.
The tutorial on devstack is helpful, but it is use XenServer as a single
node. Is there a easy way to configure it just as a compute node with
nova-compute and nova-network?
Here is the nova.conf on my compute node,
#####################nova.conf#############
[DEFAULT]
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
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
# connection_type=xapi
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
debug = True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
rpc_backend = nova.rpc.impl_kombu
rabbit_host = controller
rabbit_password = RABBIT_PASS
glance_host=controller
glance_api_servers = controller:9292
virt_driver=xenserver
libvirt_type=xen
compute_driver=xenapi.XenAPIDriver
xenapi_connection_url=compute1
xenapi_connection_username=root
xenapi_connection_password=passwd
my_ip = OpenStack
vnc_enabled=True
vncserver_listen = compute1
vncserver_proxyclient_address = compute1
novncproxy_base_url=http://controller:6080/vnc_auto.html
scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
network_manager=nova.network.manager.FlatDHCPManager
# firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
network_size=254
allow_same_net_traffic=False
multi_host=True
send_arp_for_ha=True
share_dhcp_address=True
force_dhcp_release=True
network_manager = nova.network.manager.FlatDHCPManager
firewall_driver = nova.virt.firewall.NoopFirewallDriver
xenapi_disable_agent = True
my_ip = 172.16.21.6
flat_network_bridge=br100
flat_interface=eth0
public_interface=eth0
auth_strategy=keystone
[database]
# The SQLAlchemy connection string used to connect to the database
connection = mysql://nova:NOVA_DBPASS@controller/nova
[keystone_authtoken]
auth_host = controller
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = NOVA_PASS
#########################################
and the nova-compute.conf file.
##############nova-compute.conf############
[DEFAULT]
libvirt_type=xen
compute_driver=xenapi.XenAPIDriver
xenapi_connection_url=compute1
xenapi_connection_username=root
xenapi_connection_password=123123
xenapi_vif_driver=nova.virt.xenapi.vif.XenAPIOpenVswitchDriver
xenapi_ovs_integration_bridge=xapi0
xenapi_torrent_images=none
sr_matching_filter=default-sr:true
#########################################
Thanks in advance!
--
Sisu Xi, PhD Candidate
http://www.cse.wustl.edu/~xis/
Department of Computer Science and Engineering
Campus Box 1045
Washington University in St. Louis
One Brookings Drive
St. Louis, MO 63130
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140112/f14c09df/attachment.html>
More information about the Openstack
mailing list