Set-NlbCluster

Set-NlbCluster

Edits the configuration of a Network Load Balancing (NLB) cluster.

Sintaxis

Parameter Set: NonPipeline
Set-NlbCluster [[-HostName] <String> ] [-InterfaceName] <String> [-ClusterPrimaryIP <IPAddress> ] [-Name <String> ] [-OperationMode <ClusterMode> {IgmpMulticast | Multicast | Unicast} ] [ <CommonParameters>]

Parameter Set: Pipeline
Set-NlbCluster -InputObject <Cluster[]> [-ClusterPrimaryIP <IPAddress> ] [-Name <String> ] [-OperationMode <ClusterMode> {IgmpMulticast | Multicast | Unicast} ] [ <CommonParameters>]

Descripción detallada

The Set-NlbCluster cmdlet edits the configuration of a Network Load Balancing (NLB) cluster. The configuration changes you can make include the cluster operation mode (MULITCAST or UNICAST), the cluster name, and the cluster primary IP address.

This operation changes the configuration on all cluster nodes. As a result, the NLB cluster will have to restart the convergence process on all nodes to guarantee that configuration changes have been applied on all nodes and that a consistent state is reached. Any additional operations on the NLB cluster should not be initiated until all cluster nodes have completed the convergence process and are back to the converged state.

Parámetros

-ClusterPrimaryIP<IPAddress>

Specifies the IP address to use as the cluster primary IP address. The IP address must be one of the existing virtual IP addresses on the cluster.

Alias

PrimaryIP,PIP

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-HostName<String>

Specifies the name of the cluster host against which this cmdlet is run. If this parameter is omitted or a value of . is entered, then the local cluster is assumed.

Alias

Host,HN,H

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-InputObject<Cluster[]>

Specifies the cluster to set.

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue, ByPropertyName)

¿Aceptar caracteres comodín?

false

-InterfaceName<String>

Specifies the interface to which NLB is bound. This is the interface of the cluster against which this cmdlet is run.

Alias

Interface,IN,I

¿Requerido?

true

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Name<String>

Specifies the new name of the cluster.

Alias

ClusterName

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-OperationMode<ClusterMode>

Specifies the new operation mode for the cluster. Los valores aceptables para este parámetro son los siguientes: IGMPMULTICAST, MULTICAST, or UNICAST.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster

Ejemplos

EXAMPLE 1

This example changes the cluster name to newcluster.

PS C:\> Get-NlbCluster | Set-NlbCluster -Name newcluster

EXAMPLE 2

This example changes the cluster operation mode to MULTICAST.

PS C:\> Get-NlbCluster | Set-NlbCluster -OperationMode MULTICAST

EXAMPLE 3

This example changes the cluster primary IP address to one of the other cluster virtual IP addresses on the cluster.

PS C:\> Get-NlbCluster | Set-NlbCluster -ClusterPrimaryIP 2.53.0.120

Temas relacionados

Get-NlbCluster

New-NlbCluster

Remove-NlbCluster

Resume-NlbCluster

Start-NlbCluster

Stop-NlbCluster

Suspend-NlbCluster