How To Extend PoolView

Purpose 

Allows to group pools on the web pages either according to the PoolManager groups or to customized groups. 

How to ? 

Uncomment the following block in the config/httpd.batch file : 

create diskCacheV111.services.web.PoolInfoObserverV2 poolCollector \
               "PoolManager \
                -config=${config}/PoolCollector.conf \
                -pool-refresh-time=60 \
                -poolManager-refresh-time=300 \
               "  
Touch /opt/d-cache/config/PoolCollection.conf 
restart the httpd Domain cd /opt/d-cache/jobs
./httpd stop 
./httpd start
Where is the new web page 

It should be at http://HOSTNAME:2288/pools/list 

Default Behavior 

The extended web pages are split into so called Views. The default View, which is the PoolManager View,
 is the one you get without any configuration (empty PoolCollector.conf file). 
The PoolManager view is split into groups according to pool groups defined in the PoolManager. 
Clicking on the PoolManager view, on the web page, will show all the different Pool Groups of the PoolManager. 
For all of those Groups you may choose between Cells, Pools and Requests. 
For the Pools you get a summary of the spaces on top and at the end of the list. 

Creating Customized Views 

You may want to create your own view, having Pool Groups independed of the PoolManager. 
An Example might be, you want to have all pools starting with cms and those with atlas being 
listed seperately in the Experiements View. 

So just add the following lines to the /opt/d-cache/config/PoolCollector.conf file.
 After about a minute, the web page will have the new View available, populated with the new pool groups. 

addto pgroup cms-pools -view=experiments /cms.*/
addto pgroup atlas-pools -view=experiments /atlas.*/

-- WenjingWu - 20 Feb 2008
Topic revision: r3 - 20 Feb 2008, WenjingWu
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback