Azure StorSimple 関連の PowerShell コマンドレット (Get-AzureStorSimpleLegacyVolumeContainerStatus) について

ブログ エントリ内にアフィリエイト広告が含まれています
スポンサーリンク

StorSimple は、Microsoft 社が提供するハイブリッドのクラウド ストレージ サービスです。 Microsoft Azure と組み合わせることで、Azure ストレージを拡張領域として利用することが可能であり、また別拠点でのデータ復旧が可能であることから、効率的なデータ管理、災害対策が実現できます。

Azure StorSimple デバイスの管理に使用することが可能な PowerShell コマンドレットが提供されており、設定方法について MSDN サイト上で公開されていますが、PowerShell コマンドレットのヘルプについては英語のみであり、日本語による情報はほとんど公開されていません。

Azure StorSimple 関連の PowerShell コマンドレットの 1 つである「Get-AzureStorSimpleLegacyVolumeContainerStatus」について、本ブログにて日本語の情報として纏めてみました((他の PowerShell コマンドレットについては、「Azure StorSimple 関連の PowerShell コマンドレットについて」を参照) (Windows Azure PowerShell バージョン 0.9.7 で確認しているものとなります)。

■名前

Get-AzureStorSimpleLegacyVolumeContainerStatus

■概要

データ コンテナーの移行状態を取得します。

■構文

Get-AzureStorSimpleLegacyVolumeContainerStatus [-LegacyConfigId] <String> [[-LegacyContainerNames] [<String[]>]] [-Profile [<AzureProfile>]] [<CommonParameters>]

■説明

Get-AzureStorSimpleLegacyVolumeContainerStatus
コマンドレットは、データ コンテナーの移行状態を取得します。このコマンドレットは、データ コンテナー移行がまだ進行中か、完了したか、もしくは失敗したかどうかが含まれる状態情報を表示します。

■パラメーター

-LegacyConfigId <String>
レガシー アプライアンスの構成のユニーク ID を指定します。

必須 true
位置 1
既定値 なし
パイプライン入力を許可する false
ワイルドカード文字を許可する false

-LegacyContainerNames [<String[]>]
移行プランが適用されるデータ コンテナー名の配列を指定します。

必須 false
位置 2
既定値 なし
パイプライン入力を許可する false
ワイルドカード文字を許可する false

-Profile [<AzureProfile>]
Azure プロファイルを指定します。

必須 false
位置 named
既定値 なし
パイプライン入力を許可する false
ワイルドカード文字を許可する false

<CommonParameters>
このコマンドレットは、次の共通パラメーターをサポートします: –Verbose、-Debug、-ErrorAction-ErrorVariable、-WarningAction、-WarningVariable、-OutBuffer、-PipelineVariable、および -OutVariable。詳細については、about_CommonParameters を参照してください。

■入力

 

■出力

 

■メモ

  • 詳細については、「Get-Help Get-AzureStorSimpleLegacyVolumeContainerStatus -detailed」と入力してください。
  • 技術情報については、「Get-Help Get-AzureStorSimpleLegacyVolumeContainerStatus -full」と入力してください。

■エイリアス

  • なし

■例

例 1: 失敗した移行状態の取得

 Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4" -LegacyContainerNames "OneSDKAzureCloud" 
ConfigId             : dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4
MigrationCompleted   : No Cloud Configuration(s) are found to be in Completed state of Migration
MigrationInprogress  : No Cloud Configuration(s)  are found to be in InProgress state of Migration
MigrationNotStarted  : No Cloud Configuration(s) are found to be in NotStarted state of Migration
MigrationFailed      : Cloud Configuration Name: OneSDKAzureCloud
PercentageCompleted : 0
MigrationStatus : Failed
No Backup sets found

このコマンドは、レガシー コンテナーに対する移行状態を取得します。結果として、移行が失敗したことを表示しています。

例 2: 進行中の移行状態の取得

 Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4" -LegacyContainerNames "OneSDKAzureCloud" 
ConfigId             : 5a83ec88-9e0a-4722-9fb0-9131caa7387a
MigrationCompleted   : No Cloud Configuration(s) are found to be in Completed state of Migration
MigrationInprogress  : CloudConfigurationName: OneSDKAzureCloud
PercentageCompleted : 10
MigrationStatus : InProgress
BackupSets :
Policy : OneSDKBackupPolicy, Status : InProgress
MigrationNotStarted  : No Cloud Configuration(s) are found to be in NotStarted state of Migration
MigrationFailed      : No Cloud Configuration(s) are found to be in Failed state of Migration

このコマンドは、レガシー コンテナーに対する移行状態を取得します。結果として、移行が進行中であることを表示しています。

例 3: 完了した移行状態の取得

 Get-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId dcddbb51-2ab2-4d22-8204-fefdbd6b7ba4 -LegacyContainerNames OneSDKAzureCloud 
ConfigId             : 5a83ec88-9e0a-4722-9fb0-9131caa7387a
MigrationCompleted   : Cloud ConfigurationName: OneSDKAzureCloud
PercentageCompleted : 100
MigrationStatus : Completed
BackupSets :
Policy : vg1p1, Created On : 04/06/2015 11:22:00, Status : Completed
Policy : vg1p1, Created On : 03/30/2015 11:22:00, Status : Completed
Policy : c1v1-Auto-Daily-CloudSnapshot, Created On : 03/30/2015 03:30:00, Status : Completed
MigrationInprogress  : No Cloud Configuration(s) are found to be in InProgress state of Migration
MigrationNotStarted  : No Cloud Configuration(s) are found to be in NotStarted state of Migration
MigrationFailed      : No Cloud Configuration(s) are found to be in Failed state of Migration

このコマンドは、レガシー コンテナーに対する移行状態を取得します。結果として、移行が完了したことを表示しています。

■関連するトピック

  • Confirm-AzureStorSimpleLegacyVolumeContainerStatus
  • Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus

[参考]

タイトルとURLをコピーしました