Set-SCLoadBalancerVIPTemplate

Modifies the properties of a load balancer VIP template.

Description

The Set-SCLoadBalancerVIPTemplate cmdlet modifies the properties of a load balancer virtual IP (VIP) template.

For more information about Set-SCLoadBalancerVIPTemplate, type: "Get-Help Set-SCLoadBalancerVIPTemplate -online".

Parameters

LoadBalancerVIPTemplate

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a load balancer virtual IP (VIP) template.

Description

Required? false
Accept Pipeline Input? false
Position? named
States a description for the specified object.

DisableLoadBalancerConnectionPersistence

Required? false
Accept Pipeline Input? false
Position? named
Indicates whether load balancer connection persistence in a virtual IP (VIP) profile is disabled.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

LoadBalancerConnectionPersistence

Required? false
Accept Pipeline Input? false
Position? named
Specifies a load balancer connection persistence object.

LoadBalancerHealthMonitor

Required? false
Accept Pipeline Input? false
Position? named
Specifies a load balancer health monitor object.

LoadBalancerManufacturer

Required? false
Accept Pipeline Input? false
Position? named
Specifies the name of the company that manufactured a load balancer.

Valid characters include: letters (a-z), numbers (0-9), underscore (_), hyphen(-), dot(.), and single quote(').

LoadBalancerModel

Required? false
Accept Pipeline Input? false
Position? named
Specifies the model of a load balancer

LoadBalancerPort

Required? false
Accept Pipeline Input? false
Position? named
Specifies the port to use when configuring a virtual IP (VIP) in a load balancer.

LoadBalancerProtocol

Required? false
Accept Pipeline Input? false
Position? named
Specifies the protocol to use when connecting to a load balancer, or a load balancer protocol object.

LoadBalancingMethod

Required? false
Accept Pipeline Input? false
Position? named
Specifies the load balancing method to use. Valid values are: RoundRobin, LeastConnectionsmember, Observedmember, Predictivemember, Ratiomember, Fastestmember, LeastConnections, Observednode, Predictivenode, Rationode, FastestResponseTime, LeastSessions, None

To determine the available methods for a specific load balancer, use the following command: (Get-SCLoadBalancer)[0].AvailableLoadBalancingMethods

MakeGeneric

Required? false
Accept Pipeline Input? false
Position? named
Indicates that a virtual IP (VIP) profile is able to apply generic load balancer settings.

Name

Required? false
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Change the load balancing method in a load balancer virtual IP (VIP) template.
PS C:\> $VIPTemplate = Get-SCLoadBalancerVIPTemplate -Manufacturer "LB Manufacturer" -Model "LB01" -Name "VIPTemplate01"
PS C:\> $LBMethod = New-SCLoadBalancingMethod -Name "RoundRobin"
PS C:\> Set-SCLoadBalancerVIPTemplate -LoadBalancerVIPTemplate $VIPTemplate -LoadBalancingMethod $LBMethod 



The first command gets the VIP template object named VIPTemplate01 and stores the object in the $VIPTemplate variable.

The second command creates a new load balancing method object with the name Round Robin and stores the object in the $LBMethod variable.

The last command changes the load balancing method for the VIP template stored in $VIPTemplate to the method stored in $LBMethod, which is Round Robin.

See Also