File Storage for Classic ボリュームのIOPS調整

ファイルストレージボリュームの1秒あたりの入出力操作数(IOPS)を、システム停止やサービス中断を伴わずに即座に調整できます。

ストレージの請求内容が更新され、現在の請求サイクルに新価格に基づく日割り計算による差額が加算されます。 次の請求サイクルでは新しい金額全体が請求されます。

調整可能な IOPS の利点

  • コスト管理:お客様は利用状況に応じてIOPSを調整できます。 例えば、大規模な小売店では、ホリデーシーズンに利用がピークに達し、そのピーク時には真夏よりもストレージに対して高いIOPSが必要となります。 この機能を使用すると、必要なときにのみコストを管理し、より高い IOPS の料金を支払うことができます。

制限

IOPSを調整する際は、「Endurance」と「Performance」を切り替えることはできません。 以下の基準に基づいて、ストレージの新しい 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 調整の影響

ボリュームに複製が設定されている場合、1 次の IOPS の選択に一致するようにレプリカが自動的に更新されます。

コンソールでのストレージのIOPS設定

  1. File Storage for Classic のリストに進みます。 IBM Cloud® コンソールから、Infrastructure VPC icon > Classic Infrastructure > Storage > File Storage for Classic.
  2. リストからボリュームを選択し、省略符号 「アクション」アイコン > 「ファイル共有の変更」 をクリックします。
  3. **「ストレージ IOPS の調整」**セクションで、以下のように新しい選択を行います。
    • エンデュランス (階層化 IOPS) の場合、ストレージに別の IOPS ティアを選択します。 IOPS 層はいつでも増やすことができます。 ただし、下げることができるのは、月に 1 回のみです。
    • パフォーマンス(割り当てられたIOPS)については、100~48,000 IOPSの範囲で値を入力し、ストレージの新しいIOPSオプションを指定してください。
  4. 選択内容と新しい価格設定を確認します。 **「変更」**をクリックします。
  5. 新しいストレージ割り振りが数分後に使用可能になります。

実際のストレージでの IOPS の調整 (CLI を使用)

処理を開始する前に、使用するコマンドラインインターフェース(CLI)クライアントを決定してください。

IBMCLOUD CLI からの IOPS の調整

ibmcloud sl file volume-modify コマンドを使用して IOPS を更新できます。 以下の例では、新しい IOPS 値を指定してパフォーマンス・ファイル共有を変更します。

ibmcloud sl file volume-modify 12345678 --new-iops 4000

以下の例では、新しい IOPS ティアを指定してエンデュランス・ファイル・シェアを変更します。

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 WebサービスへのAPI呼び出しを使用して、IOPSを調整することができます。 以下のサンプルAPI呼び出しは、お好みのスクリプト言語から実行できます。

SLAPIに関する詳細については、 SLDN を参照してください。

  • 以下の例は、パフォーマンス・ストレージ・ボリュームのIOPS変更をリクエストする方法を示しています。 XXXXXXXXX は、変更対象のボリュームのIDです。 3000 は、ボリュームに設定したい新しいIOPS値です。 189433 は、最大レベル価格のIDです。 190233 は、2000~2999 GBの容量範囲の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>
    
  • 次の例は、EnduranceストレージボリュームのIOPSを調整する方法を示しています。 XXXXXXXXX は、変更するボリュームのIDです。 4 は、ボリュームに設定する新しいIOPSティアの値です。 189433 は、最大レベルの価格のIDです。 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_file リソースを使用し、 iops 引数に別の数値を指定することで、IOPS を調整できます。 以下の例では、エンデュランス・シェアのパフォーマンス・ティアを 4 IOPS/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を参照してください。