< Back
Add-NsxLoadBalancerVip
Post
NAME Add-NsxLoadBalancerVip
SYNOPSIS
Adds a new LoadBalancer Virtual Server to the specified ESG.
SYNTAX
Add-NsxLoadBalancerVip [-LoadBalancer] <XmlElement> -Name <String> [-Description <String>] -IpAddress <IPAddress>
-Protocol <String> -Port <Int32> [-Enabled] -ApplicationProfile <XmlElement> -DefaultPool <XmlElement>
[-AccelerationEnabled] [-ConnectionLimit <Int32>] [-ConnectionRateLimit <Int32>] [-Connection <PSObject>]
[<CommonParameters>]
DESCRIPTION
An NSX Edge Service Gateway provides all NSX Edge services such as firewall,
NAT, DHCP, VPN, load balancing, and high availability.
The NSX Edge load balancer enables network traffic to follow multiple paths
to a specific destination. It distributes incoming service requests evenly
among multiple servers in such a way that the load distribution is
transparent to users. Load balancing thus helps in achieving optimal
resource utilization, maximizing throughput, minimizing response time, and
avoiding overload. NSX Edge provides load balancing up to Layer 7.
A Virtual Server binds an IP address (must already exist on an ESG iNterface as
either a Primary or Secondary Address) and a port to a LoadBalancer Pool and
Application Profile.
This cmdlet creates a new Load Balancer VIP.
PARAMETERS
-LoadBalancer <XmlElement>
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IpAddress <IPAddress>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Protocol <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Port <Int32>
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Enabled [<SwitchParameter>]
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
-ApplicationProfile <XmlElement>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DefaultPool <XmlElement>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AccelerationEnabled [<SwitchParameter>]
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
-ConnectionLimit <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-ConnectionRateLimit <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? named
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Example1: Need to create member specs for each of the pool members first
PS C:\\> $WebVip = Get-NsxEdge Edge01 |
New-NsxLoadBalancerVip -Name WebVip -Description "Test Creating a VIP"
-IpAddress $edge_uplink_ip -Protocol http -Port 80
-ApplicationProfile $AppProfile -DefaultPool $WebPool
-AccelerationEnabled
RELATED LINKS
SYNOPSIS
Adds a new LoadBalancer Virtual Server to the specified ESG.
SYNTAX
Add-NsxLoadBalancerVip [-LoadBalancer] <XmlElement> -Name <String> [-Description <String>] -IpAddress <IPAddress>
-Protocol <String> -Port <Int32> [-Enabled] -ApplicationProfile <XmlElement> -DefaultPool <XmlElement>
[-AccelerationEnabled] [-ConnectionLimit <Int32>] [-ConnectionRateLimit <Int32>] [-Connection <PSObject>]
[<CommonParameters>]
DESCRIPTION
An NSX Edge Service Gateway provides all NSX Edge services such as firewall,
NAT, DHCP, VPN, load balancing, and high availability.
The NSX Edge load balancer enables network traffic to follow multiple paths
to a specific destination. It distributes incoming service requests evenly
among multiple servers in such a way that the load distribution is
transparent to users. Load balancing thus helps in achieving optimal
resource utilization, maximizing throughput, minimizing response time, and
avoiding overload. NSX Edge provides load balancing up to Layer 7.
A Virtual Server binds an IP address (must already exist on an ESG iNterface as
either a Primary or Secondary Address) and a port to a LoadBalancer Pool and
Application Profile.
This cmdlet creates a new Load Balancer VIP.
PARAMETERS
-LoadBalancer <XmlElement>
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Name <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Description <String>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-IpAddress <IPAddress>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Protocol <String>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Port <Int32>
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Enabled [<SwitchParameter>]
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
-ApplicationProfile <XmlElement>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-DefaultPool <XmlElement>
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-AccelerationEnabled [<SwitchParameter>]
Required? false
Position? named
Default value True
Accept pipeline input? false
Accept wildcard characters? false
-ConnectionLimit <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-ConnectionRateLimit <Int32>
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Connection <PSObject>
PowerNSX Connection object
Required? false
Position? named
Default value $defaultNSXConnection
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Example1: Need to create member specs for each of the pool members first
PS C:\\> $WebVip = Get-NsxEdge Edge01 |
New-NsxLoadBalancerVip -Name WebVip -Description "Test Creating a VIP"
-IpAddress $edge_uplink_ip -Protocol http -Port 80
-ApplicationProfile $AppProfile -DefaultPool $WebPool
-AccelerationEnabled
RELATED LINKS