Smart Control
Server Instance Class (si)
The following are Server Instance parameters. Refer to Server Pool and Server Instance
Commands for descriptions.
Parameters
name(string)
probe_port (int)
quiesce (bool)
sp (object): The server pool that this server instance belongs to, as retrieved using
srvpool::getByName().
weight (int)
hot_spare (bool)
probe_l4 (bool)
maxconn (int)
persist_override (bool)
strict_maxconn (bool)
Methods
getByName(object srvpool, string name)
Description:
Fetch the server instance named
‘name’
from the server pool object
srvpool
. The server pool object
should have been previously fetched with
srvpool::getByName().
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 instance named ‘sv00’
$sp = srvpool::getByName(“sp00”);
$si = si::getByName($sp, "sv00");
getStatusDescription()
Description:
Get the status of this server instance as a string.
Returns:
A string containing the status of this server instance.
Example:
$sp = srvpool::getByName(“sp00”);
$si = si::getByName($sp, "sv00");
// print the status – accessible using ‘lastrun’ command.
echo $si->getStatusDescription();
692
Copyright © 2014 Coyote Point Systems, A Subsidiary of Fortinet, Inc.
Содержание 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: ......