1 / 9

Turning Up The Heat:

Turning Up The Heat:. Advanced Heat Templates. Presented at the OpenStack Icehouse Summit Atlanta, GA May 2014. Introductions. Agenda. Jason Grimm Open Cloud Solution Architect jason.grimm@rackspace.com. Setting up DevStack Creating Tenants & Setting Quotas Prep Work. 2. 2.

tia
Télécharger la présentation

Turning Up The Heat:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Turning Up The Heat: Advanced Heat Templates Presented at the OpenStack Icehouse Summit Atlanta, GA May 2014

  2. Introductions Agenda Jason Grimm Open Cloud Solution Architect jason.grimm@rackspace.com Setting up DevStack Creating Tenants & Setting Quotas Prep Work 2 2

  3. Apt-get –y update; apt-get –y upgrade; reboot Apt-get –y install git adduser --disabled-password --gecos "" stack echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers git clone https://github.com/openstack-dev/devstack.git /home/stack/devstack/ git clone https://github.com/openstack/heat-templates.git /home/stack/heat-templates/ chown-vRstack:stack /home/stack su – stack cd /home/devstack ./stack.sh 3 Setting up devstack

  4. [[local|localrc]] # Auth Info ADMIN_PASSWORD=stack DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50 # Neutron - Networking Service disable_service n-net ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron ## Neutron - Load Balancing ENABLED_SERVICES+=,q-lbaas ## Neutron - VPN as a Service ENABLED_SERVICES+=,q-vpn ## Neutron - Firewall as a Service ENABLED_SERVICES+=,q-fwaas * Shamelessly stolen from Cody Bunch, credit for this configuration file goes to him 4 Setting up devstack: local.conf

  5. # Neutron SDN OVS_VLAN_RANGES=RegionOne:1:4000 OVS_ENABLE_TUNNELING=False # Heat - Orchestration Service ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng # Ceilometer - Metering Service (metering + alarming) ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector,ceilometer-api ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval # Images IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F19-i386-cfntools.qcow2" IMAGE_URLS+=",http://fedorapeople.org/groups/heat/prebuilt-jeos-images/F19-x86_64-cfntools.qcow2" IMAGE_URLS+=",http://mirror.chpc.utah.edu/pub/fedora/linux/releases/20/Images/x86_64/Fedora-x86_64-20-20131211.1-sda.qcow2" # Output LOGFILE=/opt/stack/logs/stack.sh.log VERBOSE=True LOG_COLOR=False SCREEN_LOGDIR=/opt/stack/logs 5 Setting up devstack

  6. #!/bin/bash # setup auth export OS_AUTH_URL=http://23.253.232.76:5000/v2.0 export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=stack # city arrays east="newyorkbostonphiladelphia dc raleigh\ charlotte nashvilleatlantamiami" west="seattleportlandsanfranciscosandiegosacramento\ sanjoselosAngeleslosvegas phoenix reno“ 6 Prep Work: Creating Tenants, Setting Quotas, Adding Users

  7. for city in `echo $west`; do tenant=`echo $city _tenant | sed -e 's/ //g'` admin=`echo $city _admin | sed -e 's/ //g'` chpassadmin=`echo $admin :stack | sed -e 's/ //g'` keystone tenant-create --name $tenant --enabled true --description $city nova quota-show --tenant $tenant nova quota-update --cores 16 $tenant nova quota-update --ram 8192 $tenant nova quota-update --instances 16 $tenant cinder quota-update --gigabytes 20 $tenant adduser --disabled-password --gecos "" $admin echo "$chpassadmin" | chpasswd sleep 10 keystone user-create --name $admin --tenant $tenant --pass stack nova quota-show --tenant $tenant done 7 Prepwork: Create Tenants, Add Users, etc.

  8. 8 Lab Design

  9. Lab Exercise Format • 1 Team = 1 Table • Hackathon + Competition style of workshop + prizes • Scenarios (Choose 1 or more) • 50 points – Deploy a complex 3-tier service, minimum requirements: • 1 network per tier (can be pre-created) • 2 instances per tier • Basic IP connectivity between tiers • 100 points – The same as scenario 1, but with minimum requirements: • Network creation has to be a part of the template • Routing is required between tiers • Filters between tiers utilizing your choice of security • 150 points – Demonstrate LBaaS, minimum requirements as dictated LBaaS • 250 points – Demonstrate Autoscale, minimum requirements as dictated Autoscale • ??? Points – Impress us – Combine scenarios, do something at the guest layer, cross-tenant stacks, etc. 9 Lab Exercises

More Related