File Storage for Classic 볼륨의 IOPS 조정
중단이나 장애 없이 파일 스토리지 볼륨의 초당 입출력 작업 수(IOPS) 값을 즉시 조정할 수 있습니다.
저장 공간 요금 청구가 업데이트되어, 현재 청구 주기에 새로운 가격에 따른 일할 계산된 차액이 추가됩니다. 다음 청구 주기에는 신규 비용 전체가 청구됩니다.
조정 가능한 IOPS의 장점
- 비용 관리: 고객은 사용 패턴에 따라 IOPS를 조정할 수 있습니다. 예를 들어, 대형 소매점은 연휴 기간에 이용량이 가장 많이 증가하며, 이 시기에는 한여름보다 스토리지의 IOPS 요구량이 더 높아집니다. 이 기능을 사용하면 필요한 경우에만 비용을 관리하고 더 높은 IOPS에 대해 지불할 수 있습니다.
제한사항
IOPS를 조정할 때는 ‘내구성’과 ‘성능’ 모드 간에 전환할 수 없습니다. 다음 기준에 따라 스토리지의 새 IOPS값을 지정할 수 있습니다.
| 볼륨 크기(GB) | IOPS 범위 |
|---|---|
| 10 - 39 | 100 - 1,000 |
| 40 - 79 | 100-2,000 |
| 80 - 99 | 100 - 4,000 |
| 100 - 499 | 100 - 6,000 |
| 500 - 999 | 100 - 10,000 |
| 1,000 - 1,999 | 100 - 20,000 |
| 2,000-2,999 | 200 - 40,000 |
| 3,000-3,999 | 200-48,000 |
| 4,000-7,999 | 300-48,000 |
| 8,000-9,999 | 500 - 48,000 |
| 10 ,000 - 12 ,000 | 1,000 - 48,000 |
파일 스토리지 공유에 대한 최대 IOPS는 볼륨 크기에 따라 다릅니다. 파일 공유의 최대 IOPS는 48,000 IOPS입니다.
IOPS 조정이 복제에 미치는 영향
볼륨에 복제가 있는 경우 복제본은 기본 볼륨의 IOPS 선택사항과 일치하도록 자동으로 업데이트됩니다.
콘솔에서 스토리지의 IOPS 조정하기
- File Storage for Classic의 목록으로 이동하십시오. IBM Cloud® 콘솔에서 인프라
> 클래식 인프라 > 스토리지 > File Storage for Classic.
- 목록에서 볼륨을 선택하고 생략 기호
> 파일 공유 수정을 클릭하십시오.
- 스토리지 IOPS 조정 섹션에서 새로 선택하십시오.
- Endurance (계층화된 IOPS) 의 경우 스토리지에 대해 다른 IOPS 계층을 선택하십시오. 언제든지 IOPS 티어를 늘릴 수 있습니다. 그러나 줄이기는 한 달에 한 번만 가능합니다.
- 성능(할당된 IOPS)의 경우, 100~48,000 IOPS 범위 내에서 값을 입력하여 스토리지에 대한 새로운 IOPS 옵션을 지정하십시오.
- 선택사항과 새 가격을 검토하십시오. 수정을 클릭하십시오.
- 몇 분 후 새 스토리지 할당이 사용 가능해집니다.
CLI를 통해 스토리지에서 IOPS 조정
절차를 시작하기 전에, 사용할 명령줄 인터페이스(CLI) 클라이언트를 결정하십시오.
ibmcloud plugin install sl를 사용하여 IBM Cloud CLI 를 설치하고 SL 플러그인을 설치할 수 있습니다. 자세한 정보는 플러그인을 사용하여 IBM Cloud CLI 확장 을 참조하십시오.- 또는 SLCLI를 설치할 수 있습니다.
IBMCLOUD CLI에서 IOPS 조정
ibmcloud sl file volume-modify 명령을 사용하여 IOPS를 업데이트할 수 있습니다. 다음 예제는 새 IOPS값을 지정하여 성능 파일 공유를 수정합니다.
ibmcloud sl file volume-modify 12345678 --new-iops 4000
다음 예제는 새 IOPS 티어를 지정하여 Endurance 파일 공유를 수정합니다.
ibmcloud sl file volume-modify 12345678 --new-tier 4
이 명령에 사용 가능한 모든 매개변수에 대한 자세한 정보는 ibmcloud sl file volume-modify를 참조하십시오.
SLCLI에서 IOPS 조정
다음 명령어를 사용하여 IOPS를 업데이트할 수 있습니다.
$ slcli file volume-modify --help
Usage: slcli file volume-modify [OPTIONS] VOLUME_ID
Options:
-c, --new-size INTEGER New Size of file volume in GB. ***If no size
is given, the original size of volume is
used.***
Potential Sizes: [20, 40, 80, 100,
250, 500, 1000, 2000, 4000, 8000, 12000]
Minimum: [the original size of the volume]
-i, --new-iops INTEGER Performance Storage IOPS, between 100 and 6000
in multiples of 100 [only for performance
volumes] ***If no IOPS value is specified, the
original IOPS value of the volume will be
used.***
-t, --new-tier [0.25|2|4|10] Endurance Storage Tier (IOPS per GB) [only for
endurance volumes] ***If no tier is specified,
the original tier of the volume will be
used.***
-h, --help Show this message and exit.
API를 사용하여 스토리지에서 IOPS 조정
SOAP 웹 서비스에 대한 API 호출을 통해 IOPS를 조정할 수 있습니다. 다음의 예시 API 호출은 원하는 스크립트 언어를 사용하여 수행할 수 있습니다.
SLAPI에 대한 자세한 내용은 SLDN 을 참조하십시오.
-
다음 예제는 Performance 스토리지 볼륨에 대해 IOPS 변경을 요청하는 방법을 보여줍니다.
XXXXXXXXX는 수정하려는 볼륨의 ID입니다.3000는 볼륨에 적용할 새로운 IOPS 값입니다.189433는 최대 레벨 가격의 ID입니다.190233는 2000~2999GB 용량 범위의 ID입니다.190293는 200~40000 IOPS 범위의 ID입니다.<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.service.softlayer.com/soap/v3.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <ns1:authenticate> </ns1:authenticate> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:placeOrder> <orderData xsi:type="ns1:SoftLayer_Container_Product_Order_Network_Storage_AsAService_Upgrade"> <volume xsi:type="ns1:SoftLayer_Network_Storage"> <id xsi:type="xsd:int">XXXXXXXXX</id> </volume> <iops xsi:type="xsd:int">3000</iops> <packageId xsi:type="xsd:int">759</packageId> <prices SOAP-ENC:arrayType="ns1:SoftLayer_Product_Item_Price[3]" xsi:type="SOAP-ENC:Array"> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">189433</id> </item> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">190233</id> </item> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">190293</id> </item> </prices> </orderData> </ns1:placeOrder> </SOAP-ENV:Body> </SOAP-ENV:Envelope> -
다음 예는 내구성 스토리지 볼륨의 IOPS를 조정하는 방법을 보여줍니다.
XXXXXXXXX는 수정하려는 볼륨의 ID입니다.4는 볼륨에 적용할 새로운 IOPS 등급 값입니다.189433는 최대 가격 수준입니다.193373와193433는 볼륨이 가지고 있는 용량과 IOPS에 대한 가격 범위의 ID입니다.<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://api.service.softlayer.com/soap/v3.1/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <ns1:authenticate> </ns1:authenticate> </SOAP-ENV:Header> <SOAP-ENV:Body> <ns1:placeOrder> <orderData xsi:type="ns1:SoftLayer_Container_Product_Order_Network_Storage_AsAService_Upgrade"> <volume xsi:type="ns1:SoftLayer_Network_Storage"> <id xsi:type="xsd:int">XXXXXXXX</id> </volume> <packageId xsi:type="xsd:int">759</packageId> <iops xsi:type="xsd:int">4</iops> <prices SOAP-ENC:arrayType="ns1:SoftLayer_Product_Item_Price[3]" xsi:type="SOAP-ENC:Array"> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">189433</id> </item> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">193373</id> </item> <item xsi:type="ns1:SoftLayer_Product_Item_Price"> <id xsi:type="xsd:int">193433</id> </item> </prices> </orderData> </ns1:placeOrder> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Terraform을 사용하여 스토리지의 IOPS 조정하기
ibm_storage_file 자원을 사용하고 iops 인수에 다른 숫자를 지정하여 IOPS를 조정할 수 있습니다. 다음 예제는 Endurance 공유의 성능 티어를 4IOPS/GB티어로 늘립니다.
resource "ibm_storage_file" "fs_endurance" {
type = "Endurance"
datacenter = "dal09"
capacity = 20
iops = 4
}
다음 예제는 성능 공유의 성능 레벨을 150 IOPS로 변경합니다.
resource "ibm_storage_file" "fs_performance" {
type = "Performance"
datacenter = "dal09"
capacity = 20
iops = 150
}
인수 및 속성에 대한 자세한 정보는 ibm_storage_file을 참조하십시오.