vSphere Virtual Volumes CLI 명령어

가상 볼륨 모듈을 포함하도록 esxcli 명령줄 프레임워크가 업데이트되었다. 새로운 모든 가상 볼륨 esxcli 명령은 스토리지 vVols 네임스페이스 아래에 그룹화된다.

vVols ESXCLI 네임스페이스

가상 볼륨 모듈을 포함하도록 esxcli 명령줄 프레임워크가 업데이트됨. 새로운 모든 가상 볼륨 esxcli 명령은 스토리지 vVol 네임스페이스 아래에 그룹화된다.

  • storagecontainer – vVol 스토리지 컨테이너 생성, 관리, 제거 작업
  • deamon – vVol deamon 관련 작업
  • protocolendpoint – vVol 프로토콜 엔드포인트에서의 작업.
  • vasconext – vVol 및 VASA 컨텍스트에 대한 작업.
  • vasaprovider – vVol VASA 제공자 작업 관리
esxcli storage vvol 코맨드라인 문법 예:
esxcli storage vvol –h
Usage: esxcli storage vvol {cmd} [cmd options]
Available Namespaces:
storagecontainer Operations to create, manage, remove and restore VVol StorageContainers.
daemon Operations pertaining to VVol daemon.
protocolendpoint Operations on VVol Protocol EndPoints.
vasacontext Operations on the VVol VASA context.
vasaprovider Manage VVol VASA Provider Operations.

vVols ESXCLI 네임스페이스 코맨드

vVol storagecontainer 네임스페이스 명령은 ESXi 호스트에 매핑된 스토리지 컨테이너를 나열하는 기능을 제공한다. 추가로 스토리지 컨테이너 내에서 버려진 vVol을 검색하는 기능도 제공한다.

esxcli storage vvol storagecontainer 코맨드 라인 문법 예
esxcli storage vvol storagecontainer –h
Usage: esxcli storage vvol storagecontainer {cmd} [cmd options]
Available Namespaces:
abandonedvvol Operations on Abandoned Virtual Volumes.
Available Commands:
list List the VVol StorageContainers currently known to the ESX host.

abandonedvvol – VM 전원 끄기 작업 중 스왑 vVol을 삭제하지 못한 경우 특정 경로로 간주되는 이벤트 삭제 실패가 발생할 때마다 vVol이 배치되는 상태를 말한다. 이러한 동작은 일반적으로 벤더/VASA 제공자와 통신 문제가 있을 때 발생한다.

이 시나리오에서 시스템은 VM 전원 끄기 작업에 실패하는 대신 VM당 네임스페이스로 해당 vVol을 폐기 VVols 추적 파일에 기록하여 나중에 벤더/VASA 제공자가 온라인 상태가 되면 삭제할 수 있도록 한다. 주기적인 실이 그러한 버려진 VVolls를 삭제하려고 시도한다.

scan option – 이 옵션을 사용하면 각 vVol 데이터스토어의 백그라운드 검색을 시작하여 버려진 vVol을 검색할 수 있다. 작업은 모든 Config-VVols를 검토하여 버려진 VVols 추적 파일을 찾아 삭제하려고 시도한다.

스캔이 성공적으로 시작되었다고 해서 작전이 성공했는지 실패했는지는 알 수 없다. 오래된 vVol을 수집하는 가비지 수집과 같은 중요하지 않은 작업에 대해 벤더/VASA 공급자에게 로드를 주지 않기 위해 모든 config-VVolls를 한 번에 검색하지 않기 때문에 이 작업은 완료하는 데 오랜 시간이 걸릴 수 있는 장기 실행 작업이다.

esxcli storage vvol storagecontainer abandonedvvol 코맨드 라인 문법 예
esxcli storage vvol storagecontainer abandonedvvol scan -p eql Datastore true

list – vVol에 대한 가상 데이터스토어 수와 세부 정보를 표시하거나 나열할 수 있으며 특정 ESX 호스트에 대해 알고 있는 기능을 제공한다.

esxcli storage vvol storagecontainer list 코맨드 라인 문법 예
esxcli storage vvol storagecontainer list
eqlDatastore
StorageContainer Name: eqlDatastore
UUID: vvol:6090a0681067ae78-2e48c5020000a0f6
Array: com.dell.storageprofile.equallogic.std:eqlgrp1
Size(MB): 1048590
Free(MB): 972540
Accessible: true
Default Policy:
engDatastore
StorageContainer Name: engDatastore
UUID: vvol:6090a06810770d5b-cd4ad5d7a1042074
Array: com.dell.storageprofile.equallogic.std:eqlgrp1
Size(MB): 4194315
Free(MB): 4173930
Accessible: true
Default Policy:
dbDatastore
StorageContainer Name: dbDatastore
UUID: vvol:6090a0681077bdce-8b4b1515a2049013
Array: com.dell.storageprofile.equallogic.std:eqlgrp1
Size(MB): 1024005
Free(MB): 1009635
Accessible: true
Default Policy:

네임스페이스의 daemon – 특정 ESX 호스트에 알려진 모든 벤더/VASA 프로바이더에서 바인딩 해제 가상 볼륨 작업을 수행하는 데 사용된다.

unbindall – 이 옵션은 특정 ESXi 호스트에 알려진 모든 벤더/VASA 제공자의 모든 vVol 바인딩을 해제하는 데 사용된다. 이 작업은 테스트 목적으로 수행되거나 모든 vVols 데이터 경로를 강제로 정리하기 위해 수행된다.

esxcli storage vvol storagecontainer daemon unbindall 코맨드 라인 문법 예
Usage: esxcli storage vvol daemon unbindall [cmd options]
Description:
unbindall Unbind all virtual Volumes from all VPs known to the ESX host.
Cmd options:
esxcli storage vvol daemon unbindall

protocolendpoint 네임스페이스 명령은 ESXi 호스트에 대한 프로토콜 끝점 구성과 관련된 모든 정보를 나열하는 기능을 제공한다.

list – 특정 ESX 호스트에 대한 프로토콜 엔드포인트 수와 해당 구성 세부 정보를 표시하거나 나열할 수 있는 기능 제공

esxcli storage vvol protocolendpoint
Usage: esxcli storage vvol protocolendpoint {cmd} [cmd options]
Available Commands:
list List the VVol Protocol EndPoints currently known to the ESX host.
esxcli storage vvol protocolendpoint list
naa.6090a0681077ad11863e05020000a061
Host Id: naa.6090a0681077ad11863e05020000a061
Array Id: com.dell.storageprofile.equallogic.std:eqlgrp1
Type: SCSI
Accessible: true
Configured: true
Lun Id: naa.6090a0681077ad11863e05020000a061
Remote Host:
Remote Share:
Storage Containers: 6090a068-1067-ae78-2e48-c5020000a0f6

vascontext 네임스페이스 명령은 벤더/VASA 공급자가 현재 등록되어 있는 vCenter Server UUID를 가져올 수 있는 기능을 제공한다.

get – 이 옵션을 사용하여 VVol VASA 컨텍스트 또는 vCenter Server UUID를 가져온다.

esxcli storage vvol vasacontext –h
Usage: esxcli storage vvol vasacontext {cmd} [cmd options]
Available Commands:
get Get the VVol VASA Context (VC UUID).
esxcli storage vvol vasacontext get
5742ead8-0695-48bd-9ae4-7416164423ef

vasaprovider 네임스페이스 명령은 현재 특정 ESXi 호스트에 등록되어 있는 벤더/VASA 제공자를 나열하는 기능을 제공한다.

list – 이 옵션은 특정 ESX 호스트에 등록된 모든 벤더/VASA 제공자 및 해당 제공자의 정보 세부 정보를 나열하는 데 사용된다.

esxcli storage vvol vasaprovider –h
Usage: esxcli storage vvol vasaprovider {cmd} [cmd options]
Available Commands:
list List the VASA Providers registered on the host.
esxcli storage vvol vasaprovider list
Dell Equallogic VASA Provider
VP Name: Dell Equallogic VASA Provider
URL: https://10.144.106.39:8443/vasa-version.xml
Status: online
Arrays:
Array Id: com.dell.storageprofile.equallogic.std:eqlgrp1
Is Active: true
Priority: 0

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

You May Also Like