Repair-NetworkControllerCluster
Repair-NetworkControllerCluster
Repairs the network controller to bring it out of quorum loss.
Syntaxe
Parameter Set: Default
Repair-NetworkControllerCluster [-CertificateThumbprint <String> ] [-ComputerName <String> ] [-Credential <PSCredential> ] [-UseSsl] [ <CommonParameters>]
Description détaillée
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 (SCOM) for network controller monitoring, you will be able to see a red alert on the SCOM console. If you are not using SCOM, 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.
Paramètres
-CertificateThumbprint<String>
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.
Alias |
none |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-ComputerName<String>
Specifies the name of the network controller node on which this cmdlet operates.
Alias |
none |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Credential<PSCredential>
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.
Alias |
none |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-UseSsl
Indicates that the remote machine 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.
Alias |
none |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.
Sorties
Le type de sortie correspond au type des objets que l'applet de commande émet.
Exemples
Example 1: Repair a network controller cluster
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.
PS C:\> Repair-NetworkControllerCluster -ComputerName "Node1.Contoso.com"