Powervcdriver
Contents
IBM PowerVC Driver for OpenStack
Overview
<TODO>
Setup
Prepare OpenStack
DevStack
Edit local.conf
- Enable Qpid
# Enable Qpid ENABLED_SERVICES="$ENABLED_SERVICES,-rabbit,-zeromq,qpid"
- Enable ML2 and setup VLAN
# Enable neutron network disable_service n-net enable_service q-svc enable_service q-agt enable_service q-dhcp enable_service q-l3 enable_service q-meta enable_service q-metering enable_service neutron #VLAN configuration Q_PLUGIN=ml2 ENABLE_TENANT_VLANS=True PHYSICAL_NETWORK=default ML2_VLAN_RANGES=default:1:4094
Ubuntu Cloud Archive
<TODO>
RDO
Edit packstack answer file
- Enable Qpid
CONFIG_AMQP_SERVER=qpid
- Enable ML2 and setup VLAN
CONFIG_NEUTRON_L2_PLUGIN=ml2 CONFIG_NEUTRON_ML2_TYPE_DRIVERS=local,vlan CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=local,vlan CONFIG_NEUTRON_ML2_VLAN_RANGES=default:1:4094
Install PowerVC Driver
- Download PowerVC Driver
git clone https://github.com/stackforge/powervc-driver.git
Installation
- Create PowerVC Driver configuration
mkdir /etc/powervc cd powervc-driver cp common-powervc/etc/powervc.conf /etc/powervc cp neutron-powervc/etc/powervc-neutron.conf /etc/powervc
- Create PowerVC Driver logging directory
mkdir /var/log/powervc
- Inject PowerVC Driver nova virt. into OpenStack
- create symbolic link
cd /opt/stack/nova/nova/virt ln -s nova-powervc/powervc/nova/driver powervc
- setup /etc/nova/nova.conf
compute_driver = powervc.nova.driver.virt.powervc.driver.PowerVCDriver
- Enable OpenStack Cinder backends with PowerVC
- setup /etc/cinder/cinder.conf
enabled_backends = powervcdriver
- Import common utilities for each PowerVC Driver component
ln -s common-powervc/powervc/common <component-powervc>/powervc/common