Start-AzureStorSimpleDeviceFailoverJob
볼륨 컨테이너 그룹의 장애 조치(failover) 작업을 시작합니다.
참고
이 설명서에서 참조하는 cmdlet은 Service Management API를 사용하는 레거시 Azure 리소스를 관리하기 위한 것입니다. Azure Resource Manager 리소스를 관리하는 cmdlet은 Az PowerShell 모듈을 참조하세요.
Syntax
Start-AzureStorSimpleDeviceFailoverJob
-VolumecontainerGroups <System.Collections.Generic.List`1[Microsoft.WindowsAzure.Management.StorSimple.Models.DataContainerGroup]>
[-Force]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Start-AzureStorSimpleDeviceFailoverJob
-DeviceId <String>
-VolumecontainerGroups <System.Collections.Generic.List`1[Microsoft.WindowsAzure.Management.StorSimple.Models.DataContainerGroup]>
-TargetDeviceId <String>
[-Force]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Start-AzureStorSimpleDeviceFailoverJob
-DeviceName <String>
-VolumecontainerGroups <System.Collections.Generic.List`1[Microsoft.WindowsAzure.Management.StorSimple.Models.DataContainerGroup]>
-TargetDeviceName <String>
[-Force]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Description
Start-AzureStorSimpleDeviceFailoverJob cmdlet은 한 디바이스에서 다른 디바이스로 하나 이상의 볼륨 컨테이너 그룹의 장애 조치(failover) 작업을 시작합니다.
예제
예제 1: 명명된 디바이스 및 명명된 대상 디바이스에 대한 장애 조치(failover) 작업 시작
PS C:\>(Get-AzureStorSimpleFailoverVolumeContainers -DeviceName "ChewD_App7") | Where-Object {$_.IsDCGroupEligibleForDR -eq $True} | Start-AzureStorSimpleDeviceFailoverJob -DeviceName "ChewD_App7" -TargetDeviceName "Fuller05" -Force
a3d902be-8ffb-42a4-bbf8-0a1b30db71b2_0ee59ae9-0293-46e2-ae56-bc308c8e5520
이 명령은 Get-AzureStorSimpleFailoverVolumeContainers cmdlet을 사용하여 ChewD_App7 디바이스에 대한 장애 조치(failover) 볼륨 컨테이너를 가져옵니다.
이 명령은 IsDCGroupEligibleForDR 속성에 대한 $True 이외의 값을 가진 컨테이너를 삭제하는 Where-Object cmdlet에 결과를 전달합니다.
자세한 내용은 다음을 입력합니다 Get-Help Where-Object
.
현재 cmdlet은 나머지 장애 조치(failover) 볼륨 컨테이너에 대한 장애 조치(failover) 작업을 시작합니다.
이 명령은 디바이스 이름과 대상 디바이스 이름을 지정합니다.
이 명령은 cmdlet이 시작하는 작업의 인스턴스 ID를 반환합니다.
예제 2: ID로 지정된 디바이스 및 대상 디바이스에 대한 장애 조치(failover) 작업 시작
PS C:\>(Get-AzureStorSimpleFailoverVolumeContainers -DeviceId "3825f272-1efb-4c14-b63f-22605ce3b925") | Where-Object {$_.IsDCGroupEligibleForDR -eq $True} | Select-Object -First 1 | Start-AzureStorSimpleDeviceFailoverJob -DeviceId "3825f272-1efb-4c14-b63f-22605ce3b925" -TargetDeviceId "0ee59ae9-0293-46e2-ae56-bc308c8e5520" -Force
4c5ac0d0-4b66-465c-98f5-aec90505ad12_0ee59ae9-0293-46e2-ae56-bc308c8e5520
이 명령은 Get-AzureStorSimpleFailoverVolumeContainers를 사용하여 ChewD_App7 디바이스에 대한 장애 조치 볼륨 컨테이너를 가져옵니다.
이 명령은 IsDCGroupEligibleForDR 속성에 대한 $True 이외의 값을 가진 포함자를 삭제하는 Where-Object에 결과를 전달합니다.
cmdlet은 현재 cmdlet에 전달할 첫 번째 개체를 선택하는 Select-Object cmdlet에 결과를 전달합니다.
자세한 내용은 다음을 입력합니다 Get-Help Select-Object
.
현재 cmdlet은 선택한 장애 조치(failover) 볼륨 컨테이너에 대한 장애 조치(failover) 작업을 시작합니다.
이 명령은 디바이스 ID 및 대상 디바이스 ID를 지정합니다.
이 명령은 cmdlet이 시작하는 작업의 인스턴스 ID를 반환합니다.
매개 변수
-DeviceId
볼륨 컨테이너 그룹이 있는 StorSimple 디바이스의 인스턴스 ID를 지정합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeviceName
볼륨 컨테이너 그룹이 있는 StorSimple 디바이스의 이름을 지정합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
사용자 확인을 요청하지 않고 명령을 강제 실행합니다.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Profile
Azure 프로필을 지정합니다.
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetDeviceId
이 cmdlet이 볼륨 컨테이너 그룹을 장애 조치하는 StorSimple 디바이스의 인스턴스 ID를 지정합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TargetDeviceName
이 cmdlet이 볼륨 컨테이너 그룹을 장애 조치하는 StorSimple 디바이스의 이름을 지정합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumecontainerGroups
이 cmdlet이 다른 디바이스로 장애 조치하는 볼륨 컨테이너 그룹 목록을 지정합니다.
Type: | List<T>[DataContainerGroup] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
입력
List\<DataContainerGroup\>
볼륨 컨테이너 그룹 목록을 이 cmdlet으로 파이프할 수 있습니다.
출력
String