New-NlbCluster

New-NlbCluster

Creates a Network Load Balancing (NLB) cluster on the specified interface that is defined by the node and network adapter name.

구문

Parameter Set: Default
New-NlbCluster [[-HostName] <String> ] [-InterfaceName] <String> [-ClusterPrimaryIP] <IPAddress> [-ClusterName <String> ] [-DedicatedIP <IPAddress> ] [-DedicatedIPSubnetMask <IPAddress> ] [-Force] [-OperationMode <ClusterMode> {IgmpMulticast | Multicast | Unicast} ] [-SubnetMask <IPAddress> ] [ <CommonParameters>]

자세한 설명

The New-NlbCluster cmdlet creates a new Network Load Balancing (NLB) cluster. The following will need to be defined: the node name, the network adapter, primary IP address, dedicated IP address, and the name of the cluster.

매개 변수

-ClusterName<String>

Specifies the name of the new cluster.

별칭

Name,CN,N

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-ClusterPrimaryIP<IPAddress>

Specifies the primary cluster IP address for the new cluster.

별칭

PrimaryIP,IPAddress,IP

필수 여부

true

위치

3

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-DedicatedIP<IPAddress>

Specifies the dedicated IP address to use for the node when creating the new cluster. If this parameter is omitted, then the existing static IP address on the node will be used.

별칭

DIP

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-DedicatedIPSubnetMask<IPAddress>

Specifies the dedicated IP address subnet mask to use for the node when creating the new cluster. If this parameter is omitted, then the existing static IP address subnet mask on the node will be used.

별칭

DIPSubnetMask

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Force

Runs the cmdlet without prompting for confirmation. By default the cmdlet will ask for confirmation from the user before proceeding. This parameter applies if the DHCP setting on the interface needs to be overwritten by the cmdlet.

별칭

F

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

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.

별칭

Host,HN,H

필수 여부

false

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-InterfaceName<String>

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

별칭

Interface,IN,I

필수 여부

true

위치

2

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-OperationMode<ClusterMode>

Specifies the operation mode for the new cluster. If this parameter is omitted, then the mode is UNICAST. 이 매개 변수에 허용되는 값은 다음과 같습니다. IGMPMULTICAST, MULTICAST, or UNICAST.

별칭

Mode

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-SubnetMask<IPAddress>

Specifies the subnet mask for the new cluster primary IP address.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster

예제

EXAMPLE 1

This example creates a one-node NLB cluster on the current machine. The created cluster is named cluster1 and has one virtual IP address 3.53.100.100. This assumes that the interface is not DHCP-enabled.

PS C:\> New-NlbCluster -InterfaceName vlan-3 -ClusterPrimaryIP 3.53.100.100 -ClusterName cluster1

관련 항목

Get-NlbCluster

Get-NlbClusterNodeNetworkInterface

New-NlbClusterIpv6Address

Remove-NlbCluster

Resume-NlbCluster

Set-NlbCluster

Start-NlbCluster

Stop-NlbCluster

Suspend-NlbCluster