New-Cluster
New-Cluster
Creates a new failover cluster.
구문
Parameter Set: Default
New-Cluster [-Name] <String> [-AdministrativeAccessPoint <AdminAccessPoint> {ActiveDirectoryAndDns | Dns | None} ] [-Force] [-IgnoreNetwork <StringCollection> ] [-Node <StringCollection> ] [-NoStorage] [-StaticAddress <StringCollection> ] [ <CommonParameters>]
자세한 설명
The New-Cluster cmdlet creates a new failover cluster. Before creating a cluster, the hardware (servers, networks, and storage) must be connected, and the validation tests must be run.
Use Test-Cluster to run the validation tests. The tests will confirm that the hardware and settings are compatible with failover clustering. There are multiple types of tests, including Inventory, System Configuration, Network, Storage, and other types of tests.
Note 매개 변수를 사용하는 도메인의 DirectAccess에 대해서만 원격 액세스 에지 토폴로지에서 전체 설치를 수행하려면 다음을 실행합니다. 이 cmdlet은 서버 컴퓨터에서 CredSSP(자격 증명 보안 서비스 공급자) 인증 없이 원격으로 실행할 수 없습니다.
매개 변수
-AdministrativeAccessPoint<AdminAccessPoint>
Specifies the type of administrative access point that the cmdlet creates for the cluster. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- ActiveDirectoryAndDns. The cmdlet creates an administrative access point for the cluster. The administrative access point is registered in DNS and enabled in Active Directory 도메인 서비스.
-- Dns. The cmdlet creates an administrative access point for the cluster. The administrative access point is registered in DNS but is not enabled in Active Directory 도메인 서비스.
-- None. The cmdlet does not create an administrative access point for the cluster. Some clustered roles and functionality might not be available for a cluster that does not have an administrative access point. Also, you cannot use Failover Cluster Manager to manage a cluster that does not have an administrative access point.
별칭 |
aap |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Force
사용자 확인을 요구하지 않고 명령을 실행합니다.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-IgnoreNetwork<StringCollection>
Specifies one or more networks to ignore when running the cmdlet. Networks with DHCP enabled are always included, but other networks need a static address to be specified using the StaticAddress parameter or should be explicitly ignored with this IgnoreNetwork parameter.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Name<String>
Specifies the name of the cluster to create.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-NoStorage
Specifies that shared storage is ignored during the cluster creation. The cluster created at the end of the operation will not have shared storage. Shared storage can later be added by piping the ClusterDiskInfo object from the Get-ClusterAvailableDisk cmdlet into the Add-ClusterDisk cmdlet.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Node<StringCollection>
Specifies a comma-separated list of cluster node names, or server names, on which to create the cluster. If this parameter is not specified, then a one node cluster is created on the local physical computer.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-StaticAddress<StringCollection>
Specifies one or more static addresses to use when running the cmdlet. Networks with DHCP enabled are always included, but other networks need a static address to be specified using the StaticAddress parameter or should be explicitly ignored with this IgnoreNetwork parameter.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
- None
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- Microsoft.FailoverClusters.PowerShell.Cluster
예제
EXAMPLE 1
This example creates a four-node cluster named cluster1, using default settings for IP addressing.
PS C:\> New-Cluster -Name cluster1 -Node node1,node2,node3,node4
EXAMPLE 2
This example creates a two-node cluster named cluster1. The cluster will not have any clustered storage, or disk resources. Storage can be added using the Get-ClusterAvailableDisk cmdlet with the Add-ClusterDisk cmdlet.
PS C:\> New-Cluster -Name cluster1 -Node node1,node2 -NoStorage
EXAMPLE 3
This example creates a four-node cluster named cluster1 that uses the static IP address 2.0.0.123.
PS C:\> New-Cluster -Name cluster1 -Node node1,node2,node3,node4 -StaticAddress 2.0.0.123
EXAMPLE 4
This example creates a four-node cluster named cluster1 that uses the static IP addresses 2.0.0.123 and 3.0.0.123.
PS C:\> New-Cluster -Name cluster1 -Node node1,node2,node3,node4 -StaticAddress 2.0.0.123,3.0.0.123
EXAMPLE 5
This example creates a four-node cluster named cluster1. The cluster uses default settings for IP addressing, and does not use the network 2.0.0.0/8.
PS C:\> New-Cluster -Name cluster1 -Node node1,node2,node3,node4 -IgnoreNetwork 2.0.0.0/8
EXAMPLE 6
This example creates a four-node cluster named cluster1. The cluster uses the static IP address 2.0.0.123, and does not use the network 3.0.0.0/8.
PS C:\> New-Cluster -Name cluster1 -Node node1,node2,node3,node4 -StaticAddress 2.0.0.123 -IgnoreNetwork 3.0.0.0/8