Editar

Compartir a través de


Repair-NetworkControllerCluster

Repairs the network controller to bring it out of quorum loss.

Syntax

Repair-NetworkControllerCluster
      [-ComputerName <String>]
      [-UseSsl]
      [-Credential <PSCredential>]
      [-CertificateThumbprint <String>]
      [<CommonParameters>]

Description

The Repair-NetworkControllerCluster cmdlet is used in a scenario when a majority of nodes in the network controller deployment become unavailable, thus causing quorum loss for the deployment

As quorum is lost, the remaining nodes lose consistency and up-to-date data. When a quorum loss occurs, the network controller will stop functioning. If you have deployed System Center Operations Manager for network controller monitoring, you will be able to see a red alert on the Operations Manager console. If you are not using Operations Manager, you will see critical events in the network controller event channels on the nodes that describe the problem. When this happens, you must bring the unreachable nodes up or add additional nodes to the deployment so that quorum can be restored. After this, you have to run this cmdlet so that the network controller can internally do a consistency check on the data and state inside the controller system. After the consistency check is complete, the network controller will enable its services and start working.

Examples

Example 1: Repair a network controller cluster

PS C:\> Repair-NetworkControllerCluster -ComputerName "Node1.Contoso.com"

This command repairs a network controller cluster, to bring it out of quorum loss. The cluster is identified by Node1.Contoso.com, which is a node in the cluster.

Parameters

-CertificateThumbprint

Specifies the digital public key X.509 certificate of a user account that has permission to perform this action. Specify the certificate thumbprint of the certificate. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.

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

-ComputerName

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

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

-Credential

Specifies a user credential that has permission to perform this action. The default is the current user. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.

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

-UseSsl

Indicates that the remote computer uses Secure Socket Layer (SSL) protocol to establish a connection to the network controller node. The default value of this parameter is false. Specify this parameter only if you run this cmdlet on a computer that is not part of the network controller cluster.

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

Inputs

None

Outputs

Object