Skip to content

Move SdnServiceFabricReplica

github-actions edited this page Jan 27, 2023 · 4 revisions

Move-SdnServiceFabricReplica

SYNOPSIS

Moves the Service Fabric primary replica of a stateful service partition on Network Controller.

SYNTAX

NamedService (Default)

Move-SdnServiceFabricReplica [-ApplicationName <String>] [-ServiceName <String>]
 [-NetworkController <String[]>] [-NodeName <String>] [-Credential <PSCredential>] [<CommonParameters>]

NamedServiceTypeName

Move-SdnServiceFabricReplica [-ApplicationName <String>] [-ServiceTypeName <String>]
 [-NetworkController <String[]>] [-NodeName <String>] [-Credential <PSCredential>] [<CommonParameters>]

DESCRIPTION

{{ Fill in the Description }}

EXAMPLES

EXAMPLE 1

Move-SdnServiceFabricReplica -NetworkController 'Prefix-NC01' -Credential (Get-Credential) -ServiceTypeName 'ApiService'

PARAMETERS

-ApplicationName

A service fabric application name that exists on the provided ring, such as fabric:/NetworkController.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: Fabric:/NetworkController
Accept pipeline input: False
Accept wildcard characters: False

-ServiceName

A service fabric service name that is under the provided ApplicationName on the provided ring, such as fabric:/NetworkController/ApiService.

Type: String
Parameter Sets: NamedService
Aliases:

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

-ServiceTypeName

A service fabric service TypeName, such as VSwitchService.

Type: String
Parameter Sets: NamedServiceTypeName
Aliases:

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

-NetworkController

Specifies the name of the network controller node on which this cmdlet operates.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: $global:SdnDiagnostics.EnvironmentInfo.NetworkController
Accept pipeline input: False
Accept wildcard characters: False

-NodeName

Specifies the name of a Service Fabric node. The cmdlet moves the primary replica to the node that you specify.

Type: String
Parameter Sets: (All)
Aliases:

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

-Credential

Specifies a user account that has permission to perform this action. The default is the current user.

Type: PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: [System.Management.Automation.PSCredential]::Empty
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Documentation

How To Guides:

Troubleshooting Guides

Learning

Functions

Clone this wiki locally