Openstack Performance Test Rally

Source: Internet
Author: User
Tags json git clone

Rally Introduction


Rally integrates deployment, API testing, stress testing capabilities (pictured below), but we typically deploy with Devstack, Tempest API testing, so Rally is often used to simulate stress testing in high-concurrency scenarios. Rally tests the OpenStack scale and performance by testing the corresponding time and request success rate of OpenStack in concurrent APIs.


1. Deploy Rally
$ git clone https://git.openstack.org/stackforge/rally $./rally/install_rall Y.sh-v #使用 virtualenv Installation Rally
2. Configure Rally
$ Source/opt/rally/bin/activate $ rally Deployment Create--filename=existing.json--name=openstack # Initialize rally, put Keystone URL of the desired test OpenStack cluster, user tenant information written to Existing.json
   $  rally Deployment Check                                                ,         &NB Sp                 #   View service for a cluster

(rally) [Root@controller ~] #  Rally Deployment Check Keystone Endpoints is valid and following services is available: +--- ---------+----------------+-----------+ | services   |  type            | status    | +------------+----------------+-----------+ | Ceilometer | metering       | Available | | cinder     | volume         | Available | | cinderv2   | volumev2       | Available | | ec2        | ec2            | Available | | glance     | image          | Available | | heat       | cloudformation | Available | | heat       | orchestration  | Available | | keystone   | identity       | Available | | neutron    | network        | Available | | nova       | compute        | Available | | novav3     | computev3      | Available | | s3         | s3             | Available | | trove      | database       | Available | +------------+----------------+-----------+


3. Benchmark Openstack peformance


rally/doc/samples/tasks/scenarios/contains configuration files for each component, which can be used directly, for example:

1) Test Keystone Create-delete user performance
$ rally-v Task start Rally/doc/samples/tasks/scenarios/keystone/create-and-delete-user.json Result:
2) test Nova Create-delete virtual machine performance

$ rally-v Task start Rally/doc/samples/tasks/scenarios/nova/boot-and-delete.json Result:


4. Refference

Https://wiki.openstack.org/wiki/Rally

http://prajnagarden.com/openstack/2014/05/06/rally-guide-01/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.