New-VsanFileServerIpConfig Command | Vmware PowerCLI Reference

New-VsanFileServerIpConfig

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
Fqdn String named
Specifies 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.
required
Gateway String named
Specifies 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.
required
IpAddress String named
Specifies the IP address for the file service access point.
required
SubnetMask String named
Specifies the subnet mask for the IP address for the file service access point.
optional IsPrimary SwitchParameter named
Specifies 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.
optional ProgressAction ActionPreference named

Output

VMware.Vsan.Views.VsanFileServiceIpConfig

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.

Related Commands

VsanFileServerIpConfig

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

VsanFileServiceDomain

This cmdlet retrieves vSAN file service domains in a vSAN cluster.

This cmdlet creates a file service domain in a vSAN cluster.

This cmdlet removes the specified vSAN file service domain from the vSAN clusters.

This cmdlet modifies the settings of the given vSAN file domains.

VsanFileServiceOvf

This cmdlet downloads a file service OVF file of the specified URL into the OVF repository in vSphere.

VsanFileServiceOvfInfo

This cmdlet retrieves a vSAN file service OVF information.

VsanFileShare

This cmdlet retrieves vSAN file shares based on the name or ID filter.

This cmdlet creates a new vSAN file share in a specified file service domain.

This cmdlet removes vSAN file shares.

This cmdlet modifies the configuration of a specified vSAN file share.

VsanFileShareNetworkPermission

New-VsanFileShareNetworkPermission -IPSetOrSubnet <string> -VsanFileShareAccessPermission <VsanFileShareAccessType> [-AllowSquashRoot] [-WhatIf] [-Confirm] [<CommonParameters>]

VsanFileShareSnapshot

This cmdlet retrieves vSAN file share snapshots based on the name or other filters.

This cmdlet creates a vSAN file share snapshot for the specified vSAN file share.

This cmdlet removes vSAN file share snapshots.