Job/vCloud Director

vCloud Director 에서 vDisk 별 Maximum Size 설정 방법

NWAN 2020. 9. 24. 17:10

[인용자료] 

  • VMware Cloud director 내에서 vDisk  Maximum size 설정 
  • 적용 버전 : 8.20 or above
  • 적용 방법 : cell-management-tool 명령을 이용하여 Global setting으로 설정 가능
  • 설정 후 영향 : 특정 cell 에서만 수행하면 되며, 수행 즉시 적용이 됩니다. 
    기존에 생성되어 있는 vdisk에는 영향이 없고, 추가되는 vdisk 부터 적용이 되며, 
    System administrator
    는 해당 적용과 관계없이 할당이 가능합니다. (Tenant 레벨에만 적용)

vCloud Director 8.10 brings hidden configuration option where service provider can globally set the maximum allowed size of virtual disk.

The option can be set with cell-management-tool command on a vCloud cell with the following syntax:

$VCLOUD_HOME/bin/cell-management-tool manage-config -n vmlimits.disk.capacity.maxMb -v 1000000

 

which would set maximum size of disk to 1000000 MB which is 1 TB.

 

Note: the command is run on one vCloud cell and its impact is immediate (no need to restart anything).

If the tenant tries to provision larger vDisk he will get the following error:

 

Note that the limit is not enforced for system administrators and existing disks are not affected.

 

 

  • 설정 절차 
  1. SSH  VCD cell 접속
  2. Cell-mamnagement-tool 실행

[root@vcd-01a ~]# /opt/vmware/vcloud-director/bin/cell-management-tool

Cell Management Tool v9.7.0.12989839

Type "help" for available subcommands.

cmt> 

 () Vlimits.disk.capacity.maxMb Property를 원하는 값으로 추가 설정 (MB 단위) – 예시는 1000MB로 설정함

cmt> manage-config -n vmlimits.disk.capacity.maxMb -v 1000

New property being stored: Property "vmlimits.disk.capacity.maxMb" has value "1000"

 () 적용 결과 확인

cmt> manage-config -l -n vmlimits.disk.capacity.maxMb

Property "vmlimits.disk.capacity.maxMb" has value "1000"

Tenant 계정으로 시도시 (예시는 1000MB 제한 설정이므로 2000MB  vdisk 추가 시도)

 

 

System administrator 계정으로 시도시 (동일하게 2000MB 로 시도시 정상 생성)