< Back

Add-NsxLoadBalancerPoolMember

Sat Jan 18, 2020 8:59 pm

NAME Add-NsxLoadBalancerPoolMember



SYNOPSIS

Adds a new Pool Member to the specified Load Balancer Pool.





SYNTAX

Add-NsxLoadBalancerPoolMember [-LoadBalancerPool] <XmlElement> -Name <String> -IpAddress <IPAddress> [-Weight

<Int32>] -Port <Int32> [-MonitorPort <Int32>] [-MinimumConnections <Int32>] [-MaximumConnections <Int32>]

[-Connection <PSObject>] [<CommonParameters>]



Add-NsxLoadBalancerPoolMember [-LoadBalancerPool] <XmlElement> -Name <String> -Member <Object> [-Weight <Int32>]

-Port <Int32> [-MonitorPort <Int32>] [-MinimumConnections <Int32>] [-MaximumConnections <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 pool manages load balancer distribution methods and has a service monitor

attached to it for health check parameters. Each Pool has one or more

members.



This cmdlet adds a new member to the specified LoadBalancer Pool and

returns the updated Pool.





PARAMETERS

-LoadBalancerPool <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



-IpAddress <IPAddress>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Member <Object>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Weight <Int32>



Required? false

Position? named

Default value 1

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



-MonitorPort <Int32>



Required? false

Position? named

Default value $port

Accept pipeline input? false

Accept wildcard characters? false



-MinimumConnections <Int32>



Required? false

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-MaximumConnections <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:\\>Get-NsxEdge Edge01 | Get-NsxLoadBalancer | get-nsxloadbalancerpool pool1



| Add-NsxLoadBalancerPoolMember -Name test -ipaddress 1.2.3.4 -Port 80



Adds the ipaddress to LB pool1 on edge Edge01









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxLoadBalancer | get-nsxloadbalancerpool pool1



| Add-NsxLoadBalancerPoolMember -Name test -Member (get-vm web01) -Port 80



Adds the vm object web01 to LB pool1 on edge Edge01









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-NsxEdge Edge01 | Get-NsxLoadBalancer | get-nsxloadbalancerpool pool1



| Add-NsxLoadBalancerPoolMember -Name test -Member (get-logicalswitch WebLS) -Port 80



Adds the NSX object WebLS LB pool1 on edge Edge01











RELATED LINKS