6.100. GlusterBrick


이 서비스는 단일 gluster brick을 관리합니다.

Expand
표 6.281. 메서드 요약
이름요약

get

brick에 대한 세부 정보를 가져옵니다.

제거

brick을 제거합니다.

replace

이 brick을 새 brick으로 교체합니다.

6.100.1. GET가져오기

brick에 대한 세부 정보를 가져옵니다.

All-Content 헤더가 true 로 설정된 기본 gluster 볼륨에서 brick의 상태 세부 정보를 검색합니다. 이는 실행 중인 gluster 볼륨 상태 <volumename> <brickname> 세부 사항과 동일합니다.

예를 들어 gluster 볼륨 123 의 brick 234 에 대한 세부 정보를 얻으려면 다음과 같은 요청을 보냅니다.

GET /ovirt-engine/api/clusters/567/glustervolumes/123/glusterbricks/234
Copy to Clipboard Toggle word wrap

다음과 같은 응답 본문을 반환합니다.Returns a response body like this:

<brick id="234">
  <name>host1:/rhgs/data/brick1</name>
  <brick_dir>/rhgs/data/brick1</brick_dir>
  <server_id>111</server_id>
  <status>up</status>
  <device>/dev/mapper/RHGS_vg1-lv_vmaddldisks</device>
  <fs_name>xfs</fs_name>
  <gluster_clients>
    <gluster_client>
      <bytes_read>2818417648</bytes_read>
      <bytes_written>1384694844</bytes_written>
      <client_port>1011</client_port>
      <host_name>client2</host_name>
    </gluster_client>
  </gluster_clients>
  <memory_pools>
    <memory_pool>
      <name>data-server:fd_t</name>
      <alloc_count>1626348</alloc_count>
      <cold_count>1020</cold_count>
      <hot_count>4</hot_count>
      <max_alloc>23</max_alloc>
      <max_stdalloc>0</max_stdalloc>
      <padded_size>140</padded_size>
      <pool_misses>0</pool_misses>
    </memory_pool>
  </memory_pools>
  <mnt_options>rw,seclabel,noatime,nodiratime,attr2,inode64,sunit=512,swidth=2048,noquota</mnt_options>
  <pid>25589</pid>
  <port>49155</port>
</brick>
Copy to Clipboard Toggle word wrap
Expand
표 6.282. 매개변수 요약
이름유형방향요약

brick

GlusterBrick

Out

 

팔로우

문자열

in

따라야 할 내부 링크를 나타냅니다.

6.100.1.1. 팔로우

따라야 할 내부 링크를 나타냅니다. 이러한 링크에서 참조하는 오브젝트는 현재 요청의 일부로 가져옵니다. 자세한 내용은 여기를 참조하십시오.

6.100.2. DELETE제거

brick을 제거합니다.

기본 gluster 볼륨에서 brick을 제거하고 데이터베이스에서 항목을 삭제합니다. 데이터 마이그레이션 없이 단일 brick을 제거할 때만 사용할 수 있습니다. 여러 개의 brick과 데이터 마이그레이션을 제거하려면 대신 migrate 를 사용합니다.

예를 들어 gluster 볼륨 123 에서 brick 234 를 삭제하려면 다음과 같은 요청을 보냅니다.

DELETE /ovirt-engine/api/clusters/567/glustervolumes/123/glusterbricks/234
Copy to Clipboard Toggle word wrap
Expand
표 6.283. 매개변수 요약
이름유형방향요약

async

부울

in

제거가 비동기적으로 수행되어야 하는지 여부를 나타냅니다.

6.100.3. POST교체

이 brick을 새 brick으로 교체합니다.

중요

이 작업은 엔진 버전 3.5 이후 더 이상 사용되지 않으며 나중에 제거됩니다. add brick(s) 을 사용하고 대신 brick을 마이그레이션 합니다.

Expand
표 6.284. 매개변수 요약
이름유형방향요약

async

부울

in

교체를 비동기적으로 수행해야 하는지 여부를 나타냅니다.Indicates if the replacement should be performed asynchronously.

force

부울

in

 
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

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

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

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

Red Hat 소개

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

Theme

© 2025 Red Hat