Add a Real Server to a Virtual Service
- Last Updated: May 14, 2025
- 1 minute read
- LoadMaster
- LoadMaster GA
- Documentation
You can add a Real Server to an existing Virtual Service using the New-AdcRealServer command. An example command with output is provided below.
$newrs = New-AdcRealServer -RealServer 10.154.11.15 -RealServerPort 80 -VirtualService 10.154.11.124 -VSPort 80 -VSProtocol tcp $newrs | Format-List ReturnCode : 200Response : Command successfully executed.Data : @{RsSettings=} $newrs.Data RsSettings----------@{Status=Down; VSIndex=5; RsIndex=1; Addr=10.154.11.15; Port=80; DnsName=; Forward=nat; Weight=1000; Limit=0; Follow=0; Enable=Y; Critical=N} $newrs.Data.RsSettings Status : DownVSIndex : 5RsIndex : 1Addr : 10.154.11.15Port : 80DnsName :Forward : natWeight : 1000Limit : 0Follow : 0Enable : YCritical : N