IOPS の調整
この機能を使用すると、既存の File Storage for Classic の IOPS を即時に調整できます。 データを複製したり、手動で新しいストレージにコピーする必要はありません。 この調整によって、どのような種類の停止やアクセス権限の欠如も生じることはありません。
ストレージの請求は、新しい価格の比例配分された差額を現在の請求サイクルに追加するように更新されます。 次の請求サイクルでは新しい金額全体が請求されます。
調整可能な IOPS の利点
- コスト管理 – 高い IOPS はピーク使用時にしか必要ないというクライアントがいます。 例えば、大型小売店では休暇中にピーク時の使用量が発生し、夏真っ盛りの時期よりもストレージのIOPSを高くする必要があるかもしれません。 この機能を使用すると、必要なときにのみコストを管理し、より高い IOPS の料金を支払うことができます。
制限
IOPSを調整する際には、EnduranceとPerformanceを切り替えることはできません。 以下の基準に基づいて、ストレージの新しい 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を調整する
- File Storage for Classic のリストに進みます。 IBM Cloud® コンソールから、Infrastructure
> Classic Infrastructure > Storage > File Storage for Classic.
- リストからボリュームを選択し、省略符号
> 「ファイル共有の変更」 をクリックします。
- **「ストレージ IOPS の調整」**セクションで、以下のように新しい選択を行います。
- エンデュランス (階層化 IOPS) の場合、ストレージに別の IOPS ティアを選択します。 IOPS 層はいつでも増やすことができます。 ただし、下げることができるのは、月に 1 回のみです。
- パフォーマンス(割り当てIOPS)については、100~48,000 IOPSの範囲で値を入力して、ストレージの新しいIOPSオプションを指定します。
- 選択内容と新しい価格設定を確認します。 **「変更」**をクリックします。
- 新しいストレージ割り振りが数分後に使用可能になります。
実際のストレージでの IOPS の調整 (CLI を使用)
このプロセスを開始する前に、使用する CLI クライアントを決定します。
- IBM Cloud CLI をインストールし、
ibmcloud plugin install sl
を使用して 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 ティアを指定してエンデュランス・ファイル・シェアを変更します。
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です。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 を調整できます。 以下の例では、エンデュランス・シェアのパフォーマンス・ティアを 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を参照してください。