Server Pool Class (srvpool)
Parameters
The following are Server Pool parameters. Refer to Server Pool and Server Instance Commands
for descriptions.
name (string)
acvq (string)
probe_maxtries (int)
probe_dto (int)
custom_actconn (int)
policy (string)
acvr (string)
probe_gto (int)
custom_hc (int)
probe_ssl (bool)
respv (int)
probe_interval (int)
probe_cto (int)
custom_delay (int)
disable (bool)
Methods
getByName(string name)
Description:
Fetch the server pool named ‘name’ from the configuration.
Returns:
On success: server pool object populated with all of its properties. On failure: An exception with a message and
an error code.
Example:
// Fetch a server pool named ‘sp00’
$sp = srvpool::getByName("sp00");
getInstanceByName(string name)
Description:
Fetch the server instance named ‘name’ which is part of this server pool from the configuration.
Returns:
On success: server instance object populated with all of its properties. On failure: An exception with a message
and an error code.
Example:
// Fetch a server pool named ‘sp00’ and then fetch its server instance ‘si00’
$sp = srvpool::getByName("sp00");
$si = $sp->getInstanceByName("si00");
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
All Rights Reserved.
685
Equalizer Administration Guide
Summary of Contents for Equalizer GX Series
Page 18: ......
Page 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 42: ......
Page 52: ......
Page 64: ......
Page 72: ......
Page 76: ......
Page 228: ......
Page 238: ......
Page 476: ......
Page 492: ......
Page 530: ......
Page 614: ......
Page 626: ......
Page 638: ......
Page 678: ......
Page 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Page 754: ......
Page 790: ......
Page 804: ......
Page 842: ......
Page 866: ......