Package DE_EPAGES::WebInterface::API::ServerConfig
This module contains functions to load the server xml config file
@EXPORT_OK |
Functions
- ServerConfig
- appServerGroup
- appServerGroups
- asPoolDBCacheServers
- fallbackMessageCenters
- messageCenter
- pool
- pools
- requestRouter
- requestRouterMonitors
- requestRouters
ServerConfig
get xml object of ServerConfig.xml
Syntax |
$ServerConfig = ServerConfig(); |
Return |
|
appServerGroup
Returns the application application server group data by hostname and port
Syntax |
$hGroup = $ServerConfig->appServerGroup($Hostname, $Port); |
Input |
|
Return |
|
appServerGroups
Returns all application application server groups.
Syntax |
$hhGroups = $ServerConfig->appServerGroups; |
Return |
|
asPoolDBCacheServers
Returns hosts and ports of the ASPoolDB Cache Server.
Syntax |
$aCacheServers = $ServerConfig->asPoolDBCacheServers; |
Return |
|
fallbackMessageCenters
Returns the fallback MessageCenters for the application server pool.
Syntax |
$aMCs = $ServerConfig->fallbackMessageCenters($PoolName); |
Input |
|
Return |
|
messageCenter
Returns the host and MessageCenter port of the primary request router.
Syntax |
($Host, $Port) = $ServerConfig->messageCenter($PoolName); |
Input |
|
Return |
|
pool
Returns the application application server pool data by pool name.
Syntax |
$hPool = $ServerConfig->pool( $PoolName ); |
Input |
|
Return |
|
pools
Returns all application application server pools.
Syntax |
$hhPools = $ServerConfig->pools; |
Return |
|
requestRouter
Returns a request router by name.
Syntax |
$hRequestRouter = $ServerConfig->requestRouter($Name); |
Input |
|
Return |
|
requestRouterMonitors
Read ServerConfig.xml and find all RequestRouter IP addresses and monitor ports.
Syntax |
$aMonitors = $ServerConfig->requestRouterMonitors; |
Return |
|
requestRouters
Returns all request routers.
Syntax |
$hhRequestRouters = $ServerConfig->requestRouters; |
Return |
|