Get-​Azure​Stor​Simple​Failover​Volume​Containers

Gets the volume container groups for device failover.

Syntax

Get-AzureStorSimpleFailoverVolumeContainers
   -DeviceId <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]
Get-AzureStorSimpleFailoverVolumeContainers
   -DeviceName <String>
   [-Profile <AzureSMProfile>]
   [<CommonParameters>]

Description

The Get-AzureStorSimpleFailoverVolumeContainers cmdlet gets the volume container groups for device failover. Pass a single VolumeContainer group or an array of VolumeContainer groups to the Start-AzureStorSimpleDeviceFailover cmdlet. Only groups that have a value of $True for the IsDCGroupEligibleForDR property are eligible for failover.

Examples

Example 1: Get failover volume containers

PS C:\>Get-AzureStorSimpleFailoverVolumeContainers -DeviceName "ChewD_App7"

DCGroup                    IneligibilityMessage          IsDCGroupEligibleForDR
-------                    --------------------          ----------------------
{VolumeContainer1889078...                                                 True
{VC_01}                    No cloud snapshot found                        False
{VolumeContainer7306959}   No cloud snapshot found                        False
{VolumeContainer407850151} No cloud snapshot found                        False

This command gets failover volume containers. Only the DCGroups that have a value of $True for the IsDCGroupEligibleForDR property can be used for device failover.

Required Parameters

-DeviceId

Specifies the instance ID of the StorSimple device on which to run the cmdlet.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DeviceName

Specifies the name of the StorSimple device on which to run the cmdlet.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Profile

Specifies an Azure profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IList\<DataContainerGroup\>

This cmdlet returns a list of VolumeContainer groups.