Hitachi Command Suite CLI リファレンスガイド
ModifyVResourcePartitionUnitコマンドは,仮想リソースグループの名前を変更します。仮想リソースグループのリソースグループ名を変更すると,それに対応する物理リソースグループのリソースグループ名も変更されます。
重要
- このコマンドはVSP 5000シリーズ,VSP G1000,G1500,VSP F1500,VSP Gx00モデル,およびVSP Fx00モデルでだけ使用できます。
HiCommandCLI [URL] ModifyVResourcePartitionUnit [オプション] model=モデル serialnum=シリアル番号 vrpuid=仮想リソースグループのリソースグループID vrpuname=仮想リソースグループ名表4-88 ModifyVResourcePartitionUnitコマンドのパラメーター
パラメーター名 指定のレベル 説明 serialnum 必須 ストレージシステムのシリアル番号 model 必須 ストレージシステムのモデル vrpuid 必須 仮想リソースグループのリソースグループIDを指定します。 vrpuname 必須 変更する仮想リソースグループ名
使用できる文字は次のとおりです。
A~Z a~z 0~9 ! # $ % & ' ( )
+ - . = @ [ ] ^ _ ` { } ~ スペース
最初または最後の文字にスペースを使用できません。
仮想リソースグループ名に「meta_resource」は指定できません。
GUI で使用する仮想リソースグループ名「XXX-仮想ストレージマシンのシリアル番号-Pool」の形式は指定できません。
- serialnumおよびmodel
- GetStorageArrayコマンドの実行結果から取得してください。実行結果のarrayType値またはdisplayArrayType値をパラメーターmodelに指定してください。serialNumber値をパラメーターserialnumに指定してください。
- vrpuid
- GetStorageArray (subtarget=VResourcePartitionUnit)コマンドの実行結果から取得してください。このコマンドを実行するときには,パラメーターmodelとパラメーターserialnumだけを指定し,パラメーターsubtargetにはVResourcePartitionUnitを指定してください。実行結果では,An instance of VResourcePartitionUnitの下に必要なresourcePartitionUnitID値が表示されます。このresourcePartitionUnitID値をパラメーターvrpuidの値として指定してください。
この例では,ストレージシステム(モデル:VSP G1000,シリアル番号:10139)の仮想リソースグループ(リソースグループID:31)の仮想リソースグループ名をvrsg1に変更します。
HiCommandCLI ModifyVResourcePartitionUnit -o "D:\logs\ModifyVResourcePartitionUnit.log" "model=VSP G1000" "serialnum=10139" "vrpuid=31" "vrpuname=vrsg1"RESPONSE: An instance of StorageArray . . (Attributes of StorageArray are omitted here) . List of 1 VResourcePartitionUnit elements: An instance of VResourcePartitionUnit objectID=VRPU.R800.10139.31 name=vrsg1 resourcePartitionUnitID=31 arrayType=R800 serialNumber=10139 vArrayType=R800 vArrayFamily=R800 vSerialNumber=10139 virtualStorageMode=enable onDataMigration=false vDisplayArrayType=VSP G1000/G1500 and VSP F1500 vDisplayArrayFamily=VSP G1000/G1500 and VSP F1500 numberOfVPorts=0 numberOfVHostStorageDomains=0 numberOfVLDEVs=0
All Rights Reserved. Copyright© 2014, 2020, Hitachi, Ltd.