Block Storage for Classic 볼륨에 대한 IOPS 조정

Block Storage for Classic 볼륨의 초당 입출력 작업 수(IOPS)를 액세스나 성능에 지장을 주지 않고 조정할 수 있습니다.

저장 공간 요금 청구가 업데이트되어, 현재 청구 주기에 새로운 가격에 따른 일할 계산된 차액이 추가됩니다. 다음 청구 주기에는 신규 비용 전체가 청구됩니다.

조정 가능 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 조정하기

  1. Block Storage for Classic 목록으로 이동하십시오. 메뉴 메뉴 아이콘 아이콘을 클릭한 후 인프라 클래식 아이콘 > 스토리지 > Block Storage for Classic 를 클릭하십시오.

  2. 목록에서 iSCSI 볼륨을 선택하고 생략 기호 조치 아이콘 > 볼륨 수정을 클릭하십시오.

  3. 스토리지 IOPS 조정에서 새 선택사항을 작성하십시오.

    • Endurance (티어 IOPS) 의 경우 다른 티어를 선택하십시오. 언제든지 IOPS 티어를 늘릴 수 있습니다. 그러나 줄이기는 한 달에 한 번만 가능합니다.
    • ‘성능(할당된 IOPS)’의 경우, 100~48,000 IOPS 범위 내에서 값을 입력하여 스토리지에 대한 새로운 IOPS 옵션을 지정하십시오. UI는 선택사항이 볼륨 크기에 대해 올바르지 않은 경우 사용자에게 알립니다.
  4. 선택사항과 새 가격을 검토하십시오.

  5. 수정을 클릭하십시오.

  6. 몇 분 후 새 스토리지 할당이 사용 가능해집니다.

CLI를 통해 스토리지에서 IOPS 조정

프로세스를 시작하기 전에 사용할 CLI 클라이언트를 결정하십시오.

IBMCLOUD CLI에서 IOPS 조정

ibmcloud sl block volume-modify 명령을 사용하여 IOPS를 업데이트할 수 있습니다. 다음 예제는 새 IOPS값을 지정하여 성능 볼륨을 수정합니다. 이 명령을 사용할 때는 식별자를 볼륨 ID(예: 12345678)로 바꿉니다.

ibmcloud sl block volume-modify IDENTIFIER --new-iops 4000

다음 예제는 새 IOPS 티어를 지정하여 Endurance 파일 공유를 수정합니다.

ibmcloud sl block volume-modify IDENTIFIER --new-tier 4

이 명령에 사용 가능한 모든 매개변수에 대한 자세한 정보는 ibmcloud sl block volume-modify를 참조하십시오.

SLCLI에서 IOPS 조정

다음 명령어를 사용하여 IOPS를 업데이트할 수 있습니다.

$ slcli block volume-modify --help
Usage: slcli block volume-modify [OPTIONS] VOLUME_ID
Options:
  -c, --new-size INTEGER        New Size of block 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 을 참조하십시오.

  • 다음 예는 성능 저장소 볼륨에 대한 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 는 최대 가격 수준입니다. 193373193433 는 볼륨이 가지고 있는 용량과 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_block 자원을 사용하고 iops 인수에 다른 숫자를 지정하여 IOPS를 조정할 수 있습니다. 다음 예제는 Endurance 볼륨의 성능 티어를 4IOPS/GB티어로 늘립니다.

resource "ibm_storage_block" "test1" {
        type = "Endurance"
        datacenter = "dal09"
        capacity = 40
        iops = 4
        os_format_type = "Linux"
        # Optional fields
        allowed_virtual_guest_ids = [ 27699397 ]
        allowed_ip_addresses = ["10.40.98.193", "10.40.98.200"]
        snapshot_capacity = 10
        hourly_billing = true
}

다음 예제는 성능 볼륨의 성능 레벨을 150 IOPS로 변경합니다.

resource "ibm_storage_block" "test2" {
        type = "Performance"
        datacenter = "dal09"
        capacity = 40
        iops = 150
        os_format_type = "Linux"
        # Optional fields
        allowed_virtual_guest_ids = [ 27699397 ]
        allowed_ip_addresses = ["10.40.98.193", "10.40.98.200"]
        hourly_billing = true
}

인수 및 속성에 대한 자세한 정보는 ibm_storage_block을 참조하십시오.