이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 4. Testing the configured back end


After you deploy the back ends to the overcloud, test that you can successfully create volumes on them.

Procedure

  1. Run the following command as the stack user to load the environment variables defined in home/stack/overcloudrec:

    $ source /home/stack/overcloudrc

For more information, see Accessing the overcloud in the Director Installation and Usage guide.

  1. Create a volume type for each back end. Log in to the Controller node of the overcloud as the stack user and run the following command:

    $ cinder type-create backend1
    $ cinder type-create backend2

    These commands create the volume types backend1 and backend2, one for each back end that is defined with the cinder::config::cinder_config class of the environment file that you created.

  2. Map each volume type to the volume_backend_name of a back end that is enabled with the cinder_user_enabled_backends class of the environment file that you created The following commands map the volume type backend1 to netapp1 and backend2 to netapp2:

    $ cinder type-key backend1 set volume_backend_name=netapp1
    $ cinder type-key backend2 set volume_backend_name=netapp2
  3. Run the following command to test that it is possible to create a back end on netapp1 by invoking the backend1 volume type:

    $ cinder create --volume-type backend1 --display_name netappvolume_1 1
  4. Create a similar volume on the netapp2 back end by invoking the backend2 volume type:

    $ cinder create --volume-type backend2 --display_name netappvolume_2 1
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.