PowerCLI Reference

New-VsanFileServerIpConfig

Synopsis

This cmdlet creates a vSAN file service IP configuration at the client side.

Syntax

New-VsanFileServerIpConfig -Gateway <String> -IpAddress <String> -SubnetMask <String> -Fqdn <String> [-IsPrimary] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version
Set-VsanFileServiceDomain
New-VsanFileServiceDomain

Detailed Description

This cmdlet creates a vSAN file service IP configuration at the client side.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
FqdnStringSpecifies the FQDN that you want to use with the IP addresses for the vSAN file service instance. You have to map the IP address and FQDN before the vSAN file service configuration. You might have to update the DNS records. You can use the first component of FQDN as netBIOS name for the file service instances. It must not exceed 15 characters in length.trueFalse
GatewayStringSpecifies the default gateway IP address for the file service access point. The gateway IP must be the same for all the file servers in this domain.trueFalse
IpAddressStringSpecifies the IP address for the file service access point.trueFalse
IsPrimarySwitchParameterSpecifies whether the IP address is served as the primary IP address for the file service. The file server running with the primary IP serves as the NFS referral server which might point to the file shares served by other file servers in this cluster. Only one primary IP address is supported in one domain.falseFalse
SubnetMaskStringSpecifies the subnet mask for the IP address for the file service access point.trueFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

The newly created VsanFileServerIpConfigobject

Notes

Examples

-------------------------- Example 1 --------------------------

New-VsanFileServerIpConfig -Gateway "192.128.3.253" -SubnetMask "255.255.255.0" -IpAddress "192.128.3.11" -Fqdn "h1.vmware.com" -IsPrimary

Creates a primary new vSAN file server IP configuration with "192.128.3.253" as a gateway, "192.128.3.11" as an IP address, "h1.vmware.com" as FQDN, and "255.255.255.0" as a subnet mask.


Copyright © VMware, Inc. All rights reserved.