此内容没有您所选择的语言版本。

18.2. Configure the OpenStack Benchmarking Service


When you have successfully installed the Benchmarking service, you need to configure the Benchmarking service environment by providing the service access to your OpenStack deployment.

Procedure 18.2. Confifuring the OpenStack Benchmarking Service

  1. Export the OpenStack environment variables with the proper credentials. The credentials are as follows:
    # export OS_USERNAME=admin
    # export OS_PROJECT_NAME=admin
    # export OS_PASSWORD=
    # export OS_AUTH_URL=http://IP:35357/v2
    Copy to Clipboard Toggle word wrap
  2. Add the existing Red Hat OpenStack environment to the Benchmarking service database. Create a Benchmarking service deployment json file labeled osp-deployment.json:
    {
      "type": "ExistingCloud",
        "auth_url": "http://DEPLOYMENT_IP:35357/v2.0/",
        "region_name": "RegionOne",
      "endpoint_type": "public",
        "admin": {
            "username": "admin",
            "password": "********",
            "tenant_name": "admin"
        },
        "users": [
            {
                "username": "admin",
                "password": "*****",
                "tenant_name": "admin"
            }
        ]
    }
    Copy to Clipboard Toggle word wrap
  3. (Optional) If creating additional users outside of rally and adding them to the osp-deployment.json file, take a look at 1175432 for a known race condition.
  4. Add the existing OpenStack deployment to the rally database. The following example names the entry RA_Rally and captures all the appropriate credentials required within the osp-deployment.json file:
    # rally deployment create --name RA-Rally --file osp-deployment.json
    --------------------------+----------------------------+----------+------------------+--------+
    | uuid                    | created_at                 | name     | status           | active |
    +-------------------------+----------------------------+----------+------------------+--------+
    | 496e3be9-6020-4543-82f6-e7eb90517153 | 2015-05-12 15:18:13.817669 | RA-Rally | deploy->finished |    |
    +-------------------------+----------------------------+----------+------------------+--------+
    
    Using deployment: 496e3be9-6020-4543-82f6-e7eb90517153
    ~/.rally/openrc was updated
    [ ... Output Abbreviated ... ]
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat