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
Содержание Equalizer GX Series
Страница 18: ......
Страница 32: ...Overview 32 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Страница 42: ......
Страница 52: ......
Страница 64: ......
Страница 72: ......
Страница 76: ......
Страница 123: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 123 Equalizer Administration Guide ...
Страница 228: ......
Страница 238: ......
Страница 411: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 411 Equalizer Administration Guide ...
Страница 459: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 459 Equalizer Administration Guide ...
Страница 476: ......
Страница 492: ......
Страница 530: ......
Страница 614: ......
Страница 626: ......
Страница 638: ......
Страница 678: ......
Страница 732: ...Using SNMP Traps 732 Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc ...
Страница 754: ......
Страница 790: ......
Страница 804: ......
Страница 842: ......
Страница 847: ...Copyright 2014 Coyote Point Systems A Subsidiary of Fortinet Inc All Rights Reserved 847 Equalizer Administration Guide ...
Страница 866: ......