New-NetworkControllerNodeObject
New-NetworkControllerNodeObject
Creates a network controller node object.
구문
Parameter Set: Default
New-NetworkControllerNodeObject -FaultDomain <String> -Name <String> -RestInterface <String> -Server <String> [-NodeCertificate <X509Certificate2> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
자세한 설명
The New-NetworkControllerNodeObject cmdlet creates a network controller node object. This cmdlet is used for configuring a network controller for the first time. The object created from this cmdlet is passed to the Install-NetworkControllerCluster cmdlet to create a network controller cluster.
The steps for configuring a network controller are:
1. Install the network controller role on all the computers that will be functioning as a network controller in your deployment.
2. From one of those computers (or any other remote computer), run the New-NetworkControllerNodeObject cmdlet to enter the details of the node to be part of the deployment. Repeat this step for all the computers that are part of the deployment. These node objects will be passed as a parameter to the next cmdlet.
3. Run the Install-NetworkControllerCluster cmdlet to create a new network controller cluster.
4. Run the Install-NetworkController cmdlet to create the network controller application on top of the cluster.
매개 변수
-FaultDomain<String>
Specifies the servers that are likely to experience failure at the same time due to shared physical dependencies such as power and networking sources. Fault domains typically represent hierarchies that are related to these shared dependencies, with more servers likely to fail together from a higher point in the fault domain tree. During runtime, a network controller considers the fault domains in the cluster and attempts to spread out the network controller services so that they are in separate fault domains. This process helps ensure, in case of failure of any one fault domain, that the availability of that service and its state is not compromised. Fault domains are specified in a hierarchical format. For example: /DC1/Rack1/Host1, where DC1 is the datacenter name, Rack1 is the rack name and Host1 is the name of the host where the node is placed.
별칭 |
none |
필수 여부 |
true |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Name<String>
Specifies the name of the computer to be added to the deployment.
별칭 |
none |
필수 여부 |
true |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-NodeCertificate<X509Certificate2>
Specifies the certificate used for authenticating the computer. You only need to specify this parameter if the cluster is using certificate based authentication.
별칭 |
none |
필수 여부 |
false |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-RestInterface<String>
Specifies the name of the interface on the node that will receive requests from the representational state transfer (REST) clients.
별칭 |
none |
필수 여부 |
true |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Server<String>
Specifies the fully qualified domain name (FQDN), IP address, or hostname of the computer to be added to the deployment. If Kerberos authentication is being used for cluster authentication, FQDN must be provided.
별칭 |
none |
필수 여부 |
true |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Confirm
cmdlet을 실행하기 전에 확인 메시지를 표시합니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-WhatIf
cmdlet이 실행되는 경우 발생할 결과를 보여 줍니다. cmdlet은 실행되지 않습니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
- This cmdlet returns an object that contains the following fields:
-- Name of the node
-- Hostname, FQDN, or IP address of the node
-- Fault domain of the node
-- Name of interface to be used for REST operations on the node
-- Node certificate
예
Example 1: Create a network controller node object
This command creates a network controller node object named Node1. The fully qualified domain name of the computer is NCNode1.contoso.com and the interface on the computer listening to REST requests is named Ethernet.
PS C:\> New-NetworkControllerNodeObject -Name "Node1" -Server "NCNode1.contoso.com" -FaultDomain "fd:/rack1/host1" -RestInterface "Ethernet"