< Back

New-NsxLoadBalancerMonitor

Sat Jan 18, 2020 9:17 pm

NAME New-NsxLoadBalancerMonitor



SYNOPSIS

Creates a new LoadBalancer Service Monitor on the specified

Edge Services Gateway.





SYNTAX

New-NsxLoadBalancerMonitor -LoadBalancer <XmlElement> -TypeHttp -Name <String> -Interval <String> -Timeout

<String> -MaxRetries <String> -Method <String> -Url <String> [-Expected <String>] [-Send <String>] [-Receive

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



New-NsxLoadBalancerMonitor -LoadBalancer <XmlElement> -TypeUdp -Name <String> -Interval <String> -Timeout <String>

-MaxRetries <String> [-Send <String>] [-Receive <String>] [-Extension <String>] [-Connection <PSObject>]

[<CommonParameters>]



New-NsxLoadBalancerMonitor -LoadBalancer <XmlElement> -TypeIcmp -Name <String> -Interval <String> -Timeout

<String> -MaxRetries <String> [-Send <String>] [-Receive <String>] [-Extension <String>] [-Connection <PSObject>]

[<CommonParameters>]



New-NsxLoadBalancerMonitor -LoadBalancer <XmlElement> -TypeTcp -Name <String> -Interval <String> -Timeout <String>

-MaxRetries <String> [-Send <String>] [-Receive <String>] [-Extension <String>] [-Connection <PSObject>]

[<CommonParameters>]



New-NsxLoadBalancerMonitor -LoadBalancer <XmlElement> -TypeHttps -Name <String> -Interval <String> -Timeout

<String> -MaxRetries <String> -Method <String> -Url <String> [-Expected <String>] [-Send <String>] [-Receive

<String>] [-Extension <String>] [-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.



Service monitors define health check parameters for a particular type of

network traffic. When you associate a service monitor with a pool, the pool

members are monitored according to the service monitor parameters.



This cmdlet creates a new LoadBalancer Service monitor on a specified

Load Balancer





PARAMETERS

-LoadBalancer <XmlElement>



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-TypeHttp [<SwitchParameter>]



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-TypeHttps [<SwitchParameter>]



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-TypeTcp [<SwitchParameter>]



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-TypeIcmp [<SwitchParameter>]



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-TypeUdp [<SwitchParameter>]



Required? true

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Interval <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Timeout <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-MaxRetries <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Method <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Url <String>



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Expected <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Send <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Receive <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Extension <String>



Required? false

Position? named

Default value

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 | New-NsxLoadBalancerMonitor



-Name Web-Monitor -interval 10 -Timeout 10 -MaxRetries 3 -Type

HTTPS -Method GET -Url "/WAPI/api/status" -Expected "200 OK"











RELATED LINKS