Start-ServiceFabricClusterRollback

Starts rolling back a Service Fabric cluster upgrade.

Syntax

Start-ServiceFabricClusterRollback
     [-TimeoutSec <Int32>]
     [<CommonParameters>]

Description

The Start-ServiceFabricClusterRollback cmdlet manually start rolling back a pending Service Fabric upgrade. If the command finishes successfully, then the cmdlet has registered the intent to roll back the upgrade with Service Fabric. To check the status of the rollback, use the Get-ServiceFabricClusterUpgrade cmdlet.

To manage Service Fabric clusters, start Windows PowerShell by using the Run as administrator option. Before you perform any operation on a Service Fabric cluster, establish a connection to the cluster by using the Connect-ServiceFabricCluster cmdlet.

Examples

Example 1: Roll back a cluster upgrade

PS C:\> Start-ServiceFabricClusterRollback

This command starts rolling back any existing cluster upgrade.

Parameters

-TimeoutSec

Specifies the time-out period, in seconds, for the operation.

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

Inputs

None

Outputs

System.Object