GPM system is a distributed monitoring system for clusters or Grid nodes. Construction of system is based on a hierarchical design.
Monitoring system is based on the concept of metric. Metric is the basic entity, that can be described by one value at any time. Metric's name is splitted into parts by symbol ':'.host:<GridNode or Cluster Name>:<Host Name>:<Host metric name> |
'host:UNN_Cluster:s-cw0-00:mem:avail'
job:<Job Identifier (JOBID)>:<GridNode or Cluster Name>:<Host Name>:<Process identifier (PID)>:<Job metric name> |
'job:12e28850-520d-11db-9ecc-c11185f8066c:UNN_Cluster:s-cw0-00:0000:mem:usage'
Operating system | Microsoft Windows 2000/XP/2003 |
manager.properties
file (directory is ./Distrib/manager
) contains parameters for Manager
gpm.manager.storage.dir
specifies the storage folder. Directory must not contain other information.gpm.manager.port
specifies the Manager port. This port is used by agents and different clients.gpm.manager.configuration.metric
specifies the file name of XML file contains the configuration of stored metrics.
See XSD schema file at schema/manager/MetricDirectory.xsdgpm.manager.neighbors=[manager01(server01:port01) | server02:port02] ...
localhost
if Monitoring Manager started on same machine. It is used by the agents starting script.
set GPM_MANAGER_HOST=ws-2k-110-05 |
manager.properties
set GPM_MANAGER_PORT=8999 |
set GPM_BASE_DIR=C:\GPM\distrib |
./Distrib/release
set GPM_RELEASE_DIR=Y:\GPM\distrib\release |
MonitoringManager.java.win.bat
in the folder
./manager
ma.bat
in the folder ./Distrib/ma_win
or ./Distrib/ma_linux
. The parameters
'. "" ""'
setup the external metric values producer. Second and third
parameters are script names, which are used to obtain the values for external metrics. The first parameter is
a working directory. The scripts are run in this directory. For additional
info about scripts see files in then ./Distrib/ma_win/scripts
or ./Distrib/ma_linux/scripts
. subdirectories.MonitoringAgent GridNode_or_ClusterName workdir hostinfo_script processinfo_script server01:port01 server02:port02 |
gpm-monitoringclient.jar
in the folder release
.
Also you can configure the Web Frontend
to access via browser.
Distrib/web
directory in the folder of your web server.client.html
):baseURL
: it is the http address for running the PHP scriptsgridnode.html
):baseURL
: it is the http address for running the PHP scriptsGridNode
: it is the name of a Cluster or a Grid Node.gate/gpm_config.php
):$gpm_managers = the list of manager's address (host:port). Example: "MANAGER1:8999 MANAGER2:8999" |
zlib
module is enabled in PHP, you can enable the deflate compression of transfered data (gate/gpm_config.php
):
$gpm_use_compression = true; $gpm_compression_level = 9; |
FlushManagerCache managerHost managerPort |
DestroyMetrics managerHost managerPort metricsTemplate |
GetRequestValue managerHost managerPort requestFile [parameters] |
SubscribeRequest managerHost managerPort heartbeat requestFile [parameters] |
DumpManagerInfo managerHost managerPort |
Dmitry Labutin | Project Admin | labutin at users.sourceforge.net |
Alexander Alekhin | Developer | alekhin at users.sourceforge.net |
Denis Bogolepov | Developer | deniscmc at users.sourceforge.net |