Jump to: navigation, search

Powervcdriver

Revision as of 06:41, 16 May 2014 by Appleater (talk | contribs) (Post install setup)

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
  1. create symbolic link
   cd /opt/stack/nova/nova/virt
   ln -s nova-powervc/powervc/nova/driver powervc
  1. setup /etc/nova/nova.conf
   compute_driver = powervc.nova.driver.virt.powervc.driver.PowerVCDriver
  • Enable OpenStack Cinder backends with PowerVC
  1. 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

Setup powervc.conf and powervc-neutron.conf

Launch PowerVC Driver services