SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Benchmark as a Service
Openstack- Rally
Openstack Meetup Bangalore
01/03/2014

C B Ananth – Cisco Systems – cbpadman@cisco.com
Rahul Upadhyaya – Cisco Systems – rahuupad@cisco.com
Agenda
•
•
•
•
•
•

Introduction
Components
Configuration and Scenarios
Running benchmarking tests
Demo
Q&A
Rally - Why ?
"How does OpenStack work at scale?”
Rally vs/& Tempest
Rally Versus Tempest
Both have different Objectives
Rally checks behavior at scale and stress.
Tempest just checks functional sanity.

Rally + Tempest
However Rally can invoke tempest internally
and check functional sanity. (work in progress)
Rally Components
• Server Providers - provide servers (virtual servers), with ssh access, in one L3
network.
• Deploy Engines - deploy OpenStack cloud on servers that are presented by
Server Providers
• Verification - component that runs tempest (or another specific set of tests)
against a deployed cloud, collects results & presents them in human readable
form.
• Benchmark engine - allows to write parameterized benchmark scenarios &
run them against the cloud.
Rally -Functionality
Rally Use Cases
Installing Rally on Ubuntu.
Note : We would recommend using a separate machine for Rally. If the machine
that you use to run rally has some Openstack components running, we suggest
creating a virtual environment for running Rally because it may have conflicts with
version of the client python libraries.

Prerequisite
•
•
•

sudo apt-get update
sudo apt-get install libpq-dev git-core python-dev libevent-dev libssl-dev python-pip libffi-dev
sudo pip install pbr
Installing Rally on Ubuntu.
Installing Rally
Clone
• git clone https://github.com/stackforge/rally.git && cd rally
• python setup.py install
Configure
• sudo mkdir /etc/rally
• sudo cp etc/rally/rally.conf.sample /etc/rally/rally.conf
• sudo vim /etc/rally/rally.conf
• # Change the "connection" parameter,
• # e.g. to connection="sqlite://///home/<your_username>/.venv/rally-db/$sqlite_db" (or any other place)
Create Database
• rally-manage db recreate
Rally : Deploy Engines.
The task of a deploy engine is to control the process of deploying some OpenStack
distribution like DevStack or FUEL before any benchmarking procedures take place.
Every deploy engine should implement the following fairly simple interface:
• constuctor, which takes a deployment entity as its only parameter;
• deploy(), which should deploy the appropriate OpenStack distribution given the
cloud config from the deployment object the engine was initialized with (possibly
using one of available server providers)
• cleanup(), which should clean up the OpenStack deployment (again, possibly using
one of available server providers).
Rally. Deploy Engine . Example
If you already have a existing Openstack Deployment that you want to benchmark
Use a json file that looks like one below. (with value specific to your system):
{
"name": "DummyEngine",
"endpoint": {
"auth_url": "http://192.168.122.22:5000/v2.0/",
"username": "admin",
"password": "password",
"tenant_name": "admin"
}
}

For Devstack based deployment
{
"name": "DevstackEngine",
"localrc": {
"ADMIN_PASSWORD": "secret",
"NOVA_REPO": "git://example.com/nova/",
...
},
"devstack_repo": "git://example.com/devstack/",
"provider": {
"name": "${PROVIDER_NAME}",
...
}
}
Rally – Server Providers
Server providers in Rally are typically used by deploy engines to manage virtual
machines necessary for OpenStack deployment and its following benchmarking.

The key feature of server providers is that they provide a unified interface for
interacting with different virtualization technologies (LXS, Virsh etc.) and cloud
suppliers (like Amazon).
Every server provider should implement the following basic interface:
•
•
•

constructor, which should take the deployment entity the provider should bind to and a
config dictionary as its parameters;
create_servers(image_uuid, type_id, amount), which should create the requested number
of virtual machines of the given type using a specific image. The method should also
return the list of created servers wrapped in special Server entities.
destroy_servers(), which should destroy all virtual machines previously created by the
same server provider.
Rally – Server Providers –Ex
DummyProvider – If you already have an Openstack Deployment.
This provider does nothing, but returns endpoints from configuration. This may
be useful if you have specific software/hardware configuration ready to deploy
OpenStack.
{
"name": "ExampleEngine",
"provider": {
"name": "DummyProvider",
"credentials": [{"user": "root", "host": "host1.net"}, {"user": "root", "host": "host2.net"}]
}

}
Rally – How_to_run
Simple 
1. Initialize your Deployment
2. Create a json for Supported Benchmarking scenario
3. Run Benchmarking against a deployment above
Rally – Initialize Deployment
1. Create a Deployment configuration (json) file.
If you are running Rally against a existing Openstack Deployment your should look like
{
"name": "DummyEngine",
"endpoint": {
"auth_url": <KEYSTONE_AUTH_URL>,
"username": <ADMIN_USER_NAME>,
"password": <ADMIN_PASSWORD>,
"tenant_name": <ADMIN_TENANT>
}
}

2. Create a deployment using deployment create command
$ rally deployment create --filename=dummy_deployment.json --name=dummy

3. If you want to list deployments
$ rally deployment list
4. Switch to a different Deployment
$ rally use deployment --deploy-id=<Another deployment UUID>
Rally – Set Benchmark scenario.
Some sample configurations are provided at “rally/doc/samples/tasks/”.
Lets pick up a scenario boot-and-delete.json from Nova. It looks like
{
"NovaServers.boot_and_delete_server": [
{
"args": {"flavor_id": 1,
"image_id": "73257560-c59b-4275-a1ec-ab140e5b9979"},
"execution": "continuous",
"config": {"times": 10, "active_users": 2, "tenants": 3,
"users_per_tenant": 2}
}
]
}

Modify this to design your test-case. Similarly for all other cases other available json can be modified or
you can even write a new one for a custom case.
Rally by default uses the last created deployment. Use the switch deployment commands to run the
tests with a different deployment.
Lets dig deeper
•
•
•
•
•
•

Test name : “NovaServers.boot_and_delete_server”
Execution : either continuous / periodic
Times : Number of times the test needs to be run
Active_users : Number of parallel threads (concurrent users)
Tenants : Total number of tenants to be created
Users_per_tenant : Number of users per single tenant

Other parameters to be used only with supported tests
• Network : Name of network to be used
• Script : If a script is passed as input to the test
• Actions : soft_reboot / stop_start
Rally – Run Benchmark.
Run your benchmark scenario by pointing at the json you created in the previous step
$ rally --verbose task start --task=my-task.json
You can check the state of the task
$ rally task list
To check a complete task analysis
$ rally task detailed <Task UUID>
Rally Result –Example.
$ rally task detailed <Task UUID>
================================================================================
Task <Task UUID> is finished. Failed: False
-------------------------------------------------------------------------------test scenario NovaServers.boot_and_delete_server
args position 0
args values:
{u'args': {u'flavor_id': <Flavor UUID>,
u'image_id': u'<Image UUID>'},
u'config': {u'active_users': 1, u'times': 2}}
+--------------------+---------------+---------------+---------------+
|
action
| max (sec) | avg (sec) | min (sec) |
+--------------------+---------------+---------------+---------------+
| nova.boot_server | 9.22798299789 | 8.90022659302 | 8.57247018814 |
| nova.delete_server | 4.24928498268 | 3.26377093792 | 2.27825689316 |
+--------------------+---------------+---------------+---------------+
+---------------+---------------+---------------+---------------+-------------+
| max (sec)
| avg (sec)
| min (sec)
| success/total | total times |
+---------------+---------------+---------------+---------------+-------------+
| 13.4775559902 | 12.1641695499 | 10.8507831097 | 1.0
| 2
|
+---------------+---------------+---------------+---------------+-------------+
--------------------------------------------------------------------------------
Supported Benchmarks (as of 01/03/14)
Basic Use-Cases of
 Authentication
 Nova
 Glance
 Keystone
 Cinder
Disclaimer

Rally is currently undergoing heavy development,some things may vary with time.
Make sure to go through to check the wiki when you start at
https://wiki.openstack.org/wiki/Rally
However, “Keep Calm” as basics would be the same.
Benchmarking scenarios
• Glance
– Create-and-delete-image
– Create-image-and-boot-instance
• Cinder
– Create-and-delete-volume
• Keystone
– Create-and-delete-user
– Create-user
Benchmarking scenarios
• Authenticate
– Authenticate-keystone
• Nova
– Boot-and-delete-periodic
– Boot-and-delete
– Boot-runcommand-delete
– Boot-server-from-volume-and-delete
– Soft-reboot
Note: Other scenarios can be suggested to the community under the
section, “Benchmarking scenario wishlist”
Cisco Openstack Installer(COI)
If you are completely new to Openstack, you would love a easy and reliable way to
deploy Openstack before running Rally. Out of the many solutions freely available, you
may choose Cisco Openstack Installer (COI) to Install Openstack. COI is puppet based
open-source and freely available installer for Openstack. You can setup a Openstack
cloud in less than 10 commands which are fairly simple and listed below.
Below is a step-by-step guide which is an adaptation from the wiki to install an All-inOne Node for Openstack – Havana version.
Steps :
1. Install Ubuntu 12.04 server on a VM/physical machine.
2. Set the hostname so that you have a proper FQDN (for puppet certificates)
3. Sudo –su
4. apt-get install -y git
5. cd /root && git clone -b havana
https://github.com/CiscoSystems/puppet_openstack_builder && cd
puppet_openstack_builder && git checkout h.1
6. export vendor=cisco
7. export scenario=all_in_one
Cisco Openstack Installer(COI)
( Conditional ) If you are using any eth other than eth0 as a primary interface then edit
the file “~/puppet_openstack_builder/install-scripts/install.sh” and replace eth0 with
desired eth
8. (Fix to a Bug) edit “~/puppet_openstack_builder/manifests/setup.pp” and
completely replace the line 52 with this string -- host_aliases =>
"'$::hostname'.${::build_server_domain_name}”

9. Once done with above run “install.sh” in “~/puppet_openstack_builder/” folder and
wait for 20-30 mins till puppet configures openstack as a All-in-One setup.
10. You can log-onto horizon using password (admin/Cisco123)
Demo
Contribute to Rally













Discussions & RoadMap
https://etherpad.openstack.org/p/Rally_Main
Open and assigned tasks
https://trello.com/b/DoD8aeZy/rally
To get account ping Boris in IRC (boris-42) or email me (boris(at)pavlovic.me)
IRC chat
server: freenode.net
chanel: #openstack-rally
Weekly Meetings
The Rally project team holds weekly meetings on Tuesdays at 1700 UTC in IRC, at the #openstack-meeting
channel.
Source
https://github.com/stackforge/rally
Project space
http://launchpad.net/rally
Blueprints
active: http://blueprints.launchpad.net/rally
v1 base: https://blueprints.launchpad.net/rally/+spec/init
Bugs
https://bugs.launchpad.net/rally
References
• https://wiki.openstack.org/wiki/Rally
• http://www.slideshare.net/mirantis/rally-benchmarkingatscale
• http://thoughtsoncloud.com/2013/12/benchmarking-and-scalingopenstack-in-the-enterprise/
• http://docwiki.cisco.com/wiki/Openstack:Havana-Openstack-Installer
Q&A

Weitere ähnliche Inhalte

Was ist angesagt?

OpenStack Summit Vancouver: Lessons learned on upgrades
OpenStack Summit Vancouver:  Lessons learned on upgradesOpenStack Summit Vancouver:  Lessons learned on upgrades
OpenStack Summit Vancouver: Lessons learned on upgradesFrédéric Lepied
 
Your journey into the serverless world
Your journey into the serverless worldYour journey into the serverless world
Your journey into the serverless worldRed Hat Developers
 
How to use TripleO tools for your own project
How to use TripleO tools for your own projectHow to use TripleO tools for your own project
How to use TripleO tools for your own projectGonéri Le Bouder
 
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...
Orchestration tool roundup  - OpenStack Israel summit - kubernetes vs. docker...Orchestration tool roundup  - OpenStack Israel summit - kubernetes vs. docker...
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...Uri Cohen
 
John Spray - Ceph in Kubernetes
John Spray - Ceph in KubernetesJohn Spray - Ceph in Kubernetes
John Spray - Ceph in KubernetesShapeBlue
 
Commit to excellence - Java in containers
Commit to excellence - Java in containersCommit to excellence - Java in containers
Commit to excellence - Java in containersRed Hat Developers
 
Cloud Foundry Deployment Tools: BOSH vs Juju Charms
Cloud Foundry Deployment Tools:  BOSH vs Juju CharmsCloud Foundry Deployment Tools:  BOSH vs Juju Charms
Cloud Foundry Deployment Tools: BOSH vs Juju CharmsAltoros
 
TripleO Lightning Talk
TripleO Lightning TalkTripleO Lightning Talk
TripleO Lightning Talkcmsj1
 
[Red Hat] OpenStack Automation with Ansible
[Red Hat] OpenStack Automation with Ansible[Red Hat] OpenStack Automation with Ansible
[Red Hat] OpenStack Automation with AnsibleNalee Jang
 
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaSAutoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaSShixiong Shang
 
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...Vietnam Open Infrastructure User Group
 
Guts & OpenStack migration
Guts & OpenStack migrationGuts & OpenStack migration
Guts & OpenStack migrationopenstackindia
 
Extending TripleO for OpenStack Management
Extending TripleO for OpenStack ManagementExtending TripleO for OpenStack Management
Extending TripleO for OpenStack ManagementKeith Basil
 
Heat up your stack
Heat up your stackHeat up your stack
Heat up your stackRico Lin
 
XCP-ng - Olivier Lambert
XCP-ng - Olivier Lambert XCP-ng - Olivier Lambert
XCP-ng - Olivier Lambert ShapeBlue
 

Was ist angesagt? (20)

OpenStack Summit Vancouver: Lessons learned on upgrades
OpenStack Summit Vancouver:  Lessons learned on upgradesOpenStack Summit Vancouver:  Lessons learned on upgrades
OpenStack Summit Vancouver: Lessons learned on upgrades
 
Your journey into the serverless world
Your journey into the serverless worldYour journey into the serverless world
Your journey into the serverless world
 
How to use TripleO tools for your own project
How to use TripleO tools for your own projectHow to use TripleO tools for your own project
How to use TripleO tools for your own project
 
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...
Orchestration tool roundup  - OpenStack Israel summit - kubernetes vs. docker...Orchestration tool roundup  - OpenStack Israel summit - kubernetes vs. docker...
Orchestration tool roundup - OpenStack Israel summit - kubernetes vs. docker...
 
John Spray - Ceph in Kubernetes
John Spray - Ceph in KubernetesJohn Spray - Ceph in Kubernetes
John Spray - Ceph in Kubernetes
 
TripleO
 TripleO TripleO
TripleO
 
OpenStack Watcher
OpenStack WatcherOpenStack Watcher
OpenStack Watcher
 
Commit to excellence - Java in containers
Commit to excellence - Java in containersCommit to excellence - Java in containers
Commit to excellence - Java in containers
 
Cloud Foundry Deployment Tools: BOSH vs Juju Charms
Cloud Foundry Deployment Tools:  BOSH vs Juju CharmsCloud Foundry Deployment Tools:  BOSH vs Juju Charms
Cloud Foundry Deployment Tools: BOSH vs Juju Charms
 
OpenStack Heat
OpenStack HeatOpenStack Heat
OpenStack Heat
 
TripleO Lightning Talk
TripleO Lightning TalkTripleO Lightning Talk
TripleO Lightning Talk
 
[Red Hat] OpenStack Automation with Ansible
[Red Hat] OpenStack Automation with Ansible[Red Hat] OpenStack Automation with Ansible
[Red Hat] OpenStack Automation with Ansible
 
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaSAutoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
Autoscaling OpenStack Natively with Heat, Ceilometer and LBaaS
 
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
OpenStack QA Tooling & How to use it for Production Cloud Testing | Ghanshyam...
 
Guts & OpenStack migration
Guts & OpenStack migrationGuts & OpenStack migration
Guts & OpenStack migration
 
Extending TripleO for OpenStack Management
Extending TripleO for OpenStack ManagementExtending TripleO for OpenStack Management
Extending TripleO for OpenStack Management
 
Triple o overview
Triple o overviewTriple o overview
Triple o overview
 
Heat up your stack
Heat up your stackHeat up your stack
Heat up your stack
 
XCP-ng - Olivier Lambert
XCP-ng - Olivier Lambert XCP-ng - Olivier Lambert
XCP-ng - Olivier Lambert
 
OPNFV & OpenStack
OPNFV & OpenStackOPNFV & OpenStack
OPNFV & OpenStack
 

Andere mochten auch

Devconf2017 - Can VMs networking benefit from DPDK
Devconf2017 - Can VMs networking benefit from DPDKDevconf2017 - Can VMs networking benefit from DPDK
Devconf2017 - Can VMs networking benefit from DPDKMaxime Coquelin
 
Redis: Lua scripts - a primer and use cases
Redis: Lua scripts - a primer and use casesRedis: Lua scripts - a primer and use cases
Redis: Lua scripts - a primer and use casesRedis Labs
 
Let's Go (golang)
Let's Go (golang)Let's Go (golang)
Let's Go (golang)상욱 송
 
Hancom MDS Conference - KAKAO DEVOPS Practice (카카오 스토리의 Devops 사례)
Hancom MDS Conference - KAKAO DEVOPS Practice (카카오 스토리의 Devops 사례)Hancom MDS Conference - KAKAO DEVOPS Practice (카카오 스토리의 Devops 사례)
Hancom MDS Conference - KAKAO DEVOPS Practice (카카오 스토리의 Devops 사례)knight1128
 
LinkedIn Data Infrastructure (QCon London 2012)
LinkedIn Data Infrastructure (QCon London 2012)LinkedIn Data Infrastructure (QCon London 2012)
LinkedIn Data Infrastructure (QCon London 2012)Sid Anand
 

Andere mochten auch (7)

Devconf2017 - Can VMs networking benefit from DPDK
Devconf2017 - Can VMs networking benefit from DPDKDevconf2017 - Can VMs networking benefit from DPDK
Devconf2017 - Can VMs networking benefit from DPDK
 
Scala Parallel Collections
Scala Parallel CollectionsScala Parallel Collections
Scala Parallel Collections
 
Redis: Lua scripts - a primer and use cases
Redis: Lua scripts - a primer and use casesRedis: Lua scripts - a primer and use cases
Redis: Lua scripts - a primer and use cases
 
Let's Go (golang)
Let's Go (golang)Let's Go (golang)
Let's Go (golang)
 
ScalaBlitz
ScalaBlitzScalaBlitz
ScalaBlitz
 
Hancom MDS Conference - KAKAO DEVOPS Practice (카카오 스토리의 Devops 사례)
Hancom MDS Conference - KAKAO DEVOPS Practice (카카오 스토리의 Devops 사례)Hancom MDS Conference - KAKAO DEVOPS Practice (카카오 스토리의 Devops 사례)
Hancom MDS Conference - KAKAO DEVOPS Practice (카카오 스토리의 Devops 사례)
 
LinkedIn Data Infrastructure (QCon London 2012)
LinkedIn Data Infrastructure (QCon London 2012)LinkedIn Data Infrastructure (QCon London 2012)
LinkedIn Data Infrastructure (QCon London 2012)
 

Ähnlich wie Openstack Rally - Benchmark as a Service. Openstack Meetup India. Ananth/Rahul.

Rally - Benchmarking_as_a_service - Openstack meetup
Rally - Benchmarking_as_a_service - Openstack meetupRally - Benchmarking_as_a_service - Openstack meetup
Rally - Benchmarking_as_a_service - Openstack meetupAnanth Padmanabhan
 
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster NodesWSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster NodesWSO2
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...Kasun Gajasinghe
 
Mmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSCMmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSCMmik Huang
 
Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1Mmik Huang
 
OpenStack Swift Command Line Reference Diablo v1.2
OpenStack Swift Command Line Reference Diablo v1.2OpenStack Swift Command Line Reference Diablo v1.2
OpenStack Swift Command Line Reference Diablo v1.2Amar Kapadia
 
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...Amazon Web Services
 
Kirill Rozin - Practical Wars for Automatization
Kirill Rozin - Practical Wars for AutomatizationKirill Rozin - Practical Wars for Automatization
Kirill Rozin - Practical Wars for AutomatizationSergey Arkhipov
 
Azure DevOps Deployment Group
Azure DevOps Deployment GroupAzure DevOps Deployment Group
Azure DevOps Deployment GroupRiwut Libinuko
 
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container DayECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container DayAmazon Web Services Korea
 
AutoScaling and Drupal
AutoScaling and DrupalAutoScaling and Drupal
AutoScaling and DrupalPromet Source
 
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on OpenstackLinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on OpenstackOpenShift Origin
 
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)Matt Fuller
 
Ansible Tutorial.pdf
Ansible Tutorial.pdfAnsible Tutorial.pdf
Ansible Tutorial.pdfNigussMehari4
 
Open shift deployment review getting ready for day 2 operations
Open shift deployment review   getting ready for day 2 operationsOpen shift deployment review   getting ready for day 2 operations
Open shift deployment review getting ready for day 2 operationsHendrik van Run
 
Antons Kranga Building Agile Infrastructures
Antons Kranga   Building Agile InfrastructuresAntons Kranga   Building Agile Infrastructures
Antons Kranga Building Agile InfrastructuresAntons Kranga
 
Easy Cloud Native Transformation using HashiCorp Nomad
Easy Cloud Native Transformation using HashiCorp NomadEasy Cloud Native Transformation using HashiCorp Nomad
Easy Cloud Native Transformation using HashiCorp NomadBram Vogelaar
 
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...Continuent
 

Ähnlich wie Openstack Rally - Benchmark as a Service. Openstack Meetup India. Ananth/Rahul. (20)

Rally - Benchmarking_as_a_service - Openstack meetup
Rally - Benchmarking_as_a_service - Openstack meetupRally - Benchmarking_as_a_service - Openstack meetup
Rally - Benchmarking_as_a_service - Openstack meetup
 
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster NodesWSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
WSO2 Dep Sync for Artifact Synchronization of Cluster Nodes
 
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
[WSO2] Deployment Synchronizer for Deployment Artifact Synchronization Betwee...
 
Mmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSCMmik_Powershell_DSC_Azure_DSC
Mmik_Powershell_DSC_Azure_DSC
 
Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1Mmik powershell dsc_slideshare_v1
Mmik powershell dsc_slideshare_v1
 
OpenStack Swift Command Line Reference Diablo v1.2
OpenStack Swift Command Line Reference Diablo v1.2OpenStack Swift Command Line Reference Diablo v1.2
OpenStack Swift Command Line Reference Diablo v1.2
 
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
 
Kirill Rozin - Practical Wars for Automatization
Kirill Rozin - Practical Wars for AutomatizationKirill Rozin - Practical Wars for Automatization
Kirill Rozin - Practical Wars for Automatization
 
A Jouney Through Wonderland - Jimdo
A Jouney Through Wonderland - JimdoA Jouney Through Wonderland - Jimdo
A Jouney Through Wonderland - Jimdo
 
Azure DevOps Deployment Group
Azure DevOps Deployment GroupAzure DevOps Deployment Group
Azure DevOps Deployment Group
 
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container DayECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
ECS & ECR Deep Dive - 김기완 솔루션즈 아키텍트 :: AWS Container Day
 
AutoScaling and Drupal
AutoScaling and DrupalAutoScaling and Drupal
AutoScaling and Drupal
 
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on OpenstackLinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
 
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
 
Ansible - Hands on Training
Ansible - Hands on TrainingAnsible - Hands on Training
Ansible - Hands on Training
 
Ansible Tutorial.pdf
Ansible Tutorial.pdfAnsible Tutorial.pdf
Ansible Tutorial.pdf
 
Open shift deployment review getting ready for day 2 operations
Open shift deployment review   getting ready for day 2 operationsOpen shift deployment review   getting ready for day 2 operations
Open shift deployment review getting ready for day 2 operations
 
Antons Kranga Building Agile Infrastructures
Antons Kranga   Building Agile InfrastructuresAntons Kranga   Building Agile Infrastructures
Antons Kranga Building Agile Infrastructures
 
Easy Cloud Native Transformation using HashiCorp Nomad
Easy Cloud Native Transformation using HashiCorp NomadEasy Cloud Native Transformation using HashiCorp Nomad
Easy Cloud Native Transformation using HashiCorp Nomad
 
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...
 

Kürzlich hochgeladen

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 

Kürzlich hochgeladen (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 

Openstack Rally - Benchmark as a Service. Openstack Meetup India. Ananth/Rahul.

  • 1. Benchmark as a Service Openstack- Rally Openstack Meetup Bangalore 01/03/2014 C B Ananth – Cisco Systems – cbpadman@cisco.com Rahul Upadhyaya – Cisco Systems – rahuupad@cisco.com
  • 3. Rally - Why ? "How does OpenStack work at scale?”
  • 4. Rally vs/& Tempest Rally Versus Tempest Both have different Objectives Rally checks behavior at scale and stress. Tempest just checks functional sanity. Rally + Tempest However Rally can invoke tempest internally and check functional sanity. (work in progress)
  • 5. Rally Components • Server Providers - provide servers (virtual servers), with ssh access, in one L3 network. • Deploy Engines - deploy OpenStack cloud on servers that are presented by Server Providers • Verification - component that runs tempest (or another specific set of tests) against a deployed cloud, collects results & presents them in human readable form. • Benchmark engine - allows to write parameterized benchmark scenarios & run them against the cloud.
  • 8. Installing Rally on Ubuntu. Note : We would recommend using a separate machine for Rally. If the machine that you use to run rally has some Openstack components running, we suggest creating a virtual environment for running Rally because it may have conflicts with version of the client python libraries. Prerequisite • • • sudo apt-get update sudo apt-get install libpq-dev git-core python-dev libevent-dev libssl-dev python-pip libffi-dev sudo pip install pbr
  • 9. Installing Rally on Ubuntu. Installing Rally Clone • git clone https://github.com/stackforge/rally.git && cd rally • python setup.py install Configure • sudo mkdir /etc/rally • sudo cp etc/rally/rally.conf.sample /etc/rally/rally.conf • sudo vim /etc/rally/rally.conf • # Change the "connection" parameter, • # e.g. to connection="sqlite://///home/<your_username>/.venv/rally-db/$sqlite_db" (or any other place) Create Database • rally-manage db recreate
  • 10. Rally : Deploy Engines. The task of a deploy engine is to control the process of deploying some OpenStack distribution like DevStack or FUEL before any benchmarking procedures take place. Every deploy engine should implement the following fairly simple interface: • constuctor, which takes a deployment entity as its only parameter; • deploy(), which should deploy the appropriate OpenStack distribution given the cloud config from the deployment object the engine was initialized with (possibly using one of available server providers) • cleanup(), which should clean up the OpenStack deployment (again, possibly using one of available server providers).
  • 11. Rally. Deploy Engine . Example If you already have a existing Openstack Deployment that you want to benchmark Use a json file that looks like one below. (with value specific to your system): { "name": "DummyEngine", "endpoint": { "auth_url": "http://192.168.122.22:5000/v2.0/", "username": "admin", "password": "password", "tenant_name": "admin" } } For Devstack based deployment { "name": "DevstackEngine", "localrc": { "ADMIN_PASSWORD": "secret", "NOVA_REPO": "git://example.com/nova/", ... }, "devstack_repo": "git://example.com/devstack/", "provider": { "name": "${PROVIDER_NAME}", ... } }
  • 12. Rally – Server Providers Server providers in Rally are typically used by deploy engines to manage virtual machines necessary for OpenStack deployment and its following benchmarking. The key feature of server providers is that they provide a unified interface for interacting with different virtualization technologies (LXS, Virsh etc.) and cloud suppliers (like Amazon). Every server provider should implement the following basic interface: • • • constructor, which should take the deployment entity the provider should bind to and a config dictionary as its parameters; create_servers(image_uuid, type_id, amount), which should create the requested number of virtual machines of the given type using a specific image. The method should also return the list of created servers wrapped in special Server entities. destroy_servers(), which should destroy all virtual machines previously created by the same server provider.
  • 13. Rally – Server Providers –Ex DummyProvider – If you already have an Openstack Deployment. This provider does nothing, but returns endpoints from configuration. This may be useful if you have specific software/hardware configuration ready to deploy OpenStack. { "name": "ExampleEngine", "provider": { "name": "DummyProvider", "credentials": [{"user": "root", "host": "host1.net"}, {"user": "root", "host": "host2.net"}] } }
  • 14. Rally – How_to_run Simple  1. Initialize your Deployment 2. Create a json for Supported Benchmarking scenario 3. Run Benchmarking against a deployment above
  • 15. Rally – Initialize Deployment 1. Create a Deployment configuration (json) file. If you are running Rally against a existing Openstack Deployment your should look like { "name": "DummyEngine", "endpoint": { "auth_url": <KEYSTONE_AUTH_URL>, "username": <ADMIN_USER_NAME>, "password": <ADMIN_PASSWORD>, "tenant_name": <ADMIN_TENANT> } } 2. Create a deployment using deployment create command $ rally deployment create --filename=dummy_deployment.json --name=dummy 3. If you want to list deployments $ rally deployment list 4. Switch to a different Deployment $ rally use deployment --deploy-id=<Another deployment UUID>
  • 16. Rally – Set Benchmark scenario. Some sample configurations are provided at “rally/doc/samples/tasks/”. Lets pick up a scenario boot-and-delete.json from Nova. It looks like { "NovaServers.boot_and_delete_server": [ { "args": {"flavor_id": 1, "image_id": "73257560-c59b-4275-a1ec-ab140e5b9979"}, "execution": "continuous", "config": {"times": 10, "active_users": 2, "tenants": 3, "users_per_tenant": 2} } ] } Modify this to design your test-case. Similarly for all other cases other available json can be modified or you can even write a new one for a custom case. Rally by default uses the last created deployment. Use the switch deployment commands to run the tests with a different deployment.
  • 17. Lets dig deeper • • • • • • Test name : “NovaServers.boot_and_delete_server” Execution : either continuous / periodic Times : Number of times the test needs to be run Active_users : Number of parallel threads (concurrent users) Tenants : Total number of tenants to be created Users_per_tenant : Number of users per single tenant Other parameters to be used only with supported tests • Network : Name of network to be used • Script : If a script is passed as input to the test • Actions : soft_reboot / stop_start
  • 18. Rally – Run Benchmark. Run your benchmark scenario by pointing at the json you created in the previous step $ rally --verbose task start --task=my-task.json You can check the state of the task $ rally task list To check a complete task analysis $ rally task detailed <Task UUID>
  • 19. Rally Result –Example. $ rally task detailed <Task UUID> ================================================================================ Task <Task UUID> is finished. Failed: False -------------------------------------------------------------------------------test scenario NovaServers.boot_and_delete_server args position 0 args values: {u'args': {u'flavor_id': <Flavor UUID>, u'image_id': u'<Image UUID>'}, u'config': {u'active_users': 1, u'times': 2}} +--------------------+---------------+---------------+---------------+ | action | max (sec) | avg (sec) | min (sec) | +--------------------+---------------+---------------+---------------+ | nova.boot_server | 9.22798299789 | 8.90022659302 | 8.57247018814 | | nova.delete_server | 4.24928498268 | 3.26377093792 | 2.27825689316 | +--------------------+---------------+---------------+---------------+ +---------------+---------------+---------------+---------------+-------------+ | max (sec) | avg (sec) | min (sec) | success/total | total times | +---------------+---------------+---------------+---------------+-------------+ | 13.4775559902 | 12.1641695499 | 10.8507831097 | 1.0 | 2 | +---------------+---------------+---------------+---------------+-------------+ --------------------------------------------------------------------------------
  • 20. Supported Benchmarks (as of 01/03/14) Basic Use-Cases of  Authentication  Nova  Glance  Keystone  Cinder
  • 21. Disclaimer Rally is currently undergoing heavy development,some things may vary with time. Make sure to go through to check the wiki when you start at https://wiki.openstack.org/wiki/Rally However, “Keep Calm” as basics would be the same.
  • 22. Benchmarking scenarios • Glance – Create-and-delete-image – Create-image-and-boot-instance • Cinder – Create-and-delete-volume • Keystone – Create-and-delete-user – Create-user
  • 23. Benchmarking scenarios • Authenticate – Authenticate-keystone • Nova – Boot-and-delete-periodic – Boot-and-delete – Boot-runcommand-delete – Boot-server-from-volume-and-delete – Soft-reboot Note: Other scenarios can be suggested to the community under the section, “Benchmarking scenario wishlist”
  • 24. Cisco Openstack Installer(COI) If you are completely new to Openstack, you would love a easy and reliable way to deploy Openstack before running Rally. Out of the many solutions freely available, you may choose Cisco Openstack Installer (COI) to Install Openstack. COI is puppet based open-source and freely available installer for Openstack. You can setup a Openstack cloud in less than 10 commands which are fairly simple and listed below. Below is a step-by-step guide which is an adaptation from the wiki to install an All-inOne Node for Openstack – Havana version. Steps : 1. Install Ubuntu 12.04 server on a VM/physical machine. 2. Set the hostname so that you have a proper FQDN (for puppet certificates) 3. Sudo –su 4. apt-get install -y git 5. cd /root && git clone -b havana https://github.com/CiscoSystems/puppet_openstack_builder && cd puppet_openstack_builder && git checkout h.1 6. export vendor=cisco 7. export scenario=all_in_one
  • 25. Cisco Openstack Installer(COI) ( Conditional ) If you are using any eth other than eth0 as a primary interface then edit the file “~/puppet_openstack_builder/install-scripts/install.sh” and replace eth0 with desired eth 8. (Fix to a Bug) edit “~/puppet_openstack_builder/manifests/setup.pp” and completely replace the line 52 with this string -- host_aliases => "'$::hostname'.${::build_server_domain_name}” 9. Once done with above run “install.sh” in “~/puppet_openstack_builder/” folder and wait for 20-30 mins till puppet configures openstack as a All-in-One setup. 10. You can log-onto horizon using password (admin/Cisco123)
  • 26. Demo
  • 27. Contribute to Rally         Discussions & RoadMap https://etherpad.openstack.org/p/Rally_Main Open and assigned tasks https://trello.com/b/DoD8aeZy/rally To get account ping Boris in IRC (boris-42) or email me (boris(at)pavlovic.me) IRC chat server: freenode.net chanel: #openstack-rally Weekly Meetings The Rally project team holds weekly meetings on Tuesdays at 1700 UTC in IRC, at the #openstack-meeting channel. Source https://github.com/stackforge/rally Project space http://launchpad.net/rally Blueprints active: http://blueprints.launchpad.net/rally v1 base: https://blueprints.launchpad.net/rally/+spec/init Bugs https://bugs.launchpad.net/rally
  • 28. References • https://wiki.openstack.org/wiki/Rally • http://www.slideshare.net/mirantis/rally-benchmarkingatscale • http://thoughtsoncloud.com/2013/12/benchmarking-and-scalingopenstack-in-the-enterprise/ • http://docwiki.cisco.com/wiki/Openstack:Havana-Openstack-Installer
  • 29. Q&A