Tags:
create new tag
,
view all tags
---+ Gratia dCache Probe ---++Description Install the required packages, in our storage element: <pre> wget http://vdt.cs.wisc.edu/software/dcache/gratia//1.00.5g-1/gratia-probe-dcache-1.00.5g-1.sl4_32.tar.gz tar xvfz gratia-probe-dcache-1.00.5g-1.sl4_32.tar.gz rpm -i gratia-probe-extra-libs-1.00.5g-1.noarch.rpm wget ftp://mirror.switch.ch/pool/3/mirror/centos/4.6/centosplus/i386/RPMS/postgresql-libs-8.1.9-1.el4s1.1.i386.rpm rpm -ivh postgresql-libs-8.1.9-1.el4s1.1.i386.rpm rpm -i gratia-probe-extra-libs-arch-spec-1.00.5g-1.i386.rpm rpm -i gratia-probe-common-1.00.5g-1.noarch.rpm rpm -i gratia-probe-dCache-storage-itb-1.00.5g-1.noarch.rpm rpm -i gratia-probe-dCache-transfer-itb-1.00.5g-1.noarch.rpm </pre> To get the billing database working, in our dcache installation: <pre> /opt/d-cache/bin/dcache stop vim /opt/d-cache/config/dCacheSetup billingToDb=yes /opt/d-cache/bin/dcache start </pre> log as "postgres" user. Look if you have "Indexes" in the end of <pre> su - postgres psql \c billing \d </pre> I didn't see the "Indexes", so create it : <pre> create unique index transaction on doorinfo(transaction); create index dates_di on doorinfo(datestamp); create index initiator on billinginfo(initiator); create index dates on billinginfo(datestamp); \q </pre> Now you can edit your configuration file: <pre> vim /opt/d-cache/gratia/probe/dCache-transfer/ProbeConfig </pre> were we changed it : <pre> SSLRegistrationHost="gratia-transfer.opensciencegrid.org:8886" SiteName="osg-se.sprace.org.br" Grid="OSG" UserVOMapFile="/OSG/monitoring/osg-user-vo-map.txt" EnableProbe="1" DBHostName="localhost" DBLoginName="srmdcache" DBPassword="srmdcache" OnlySendInterSiteTransfers="false" </pre> And start this service: <pre> chkconfig --level 345 gratia-dcache-transfer on service gratia-dcache-transfer start </pre> You can check if a python process is running: <pre> ps -aux|grep python python dCacheBillingAggregator.py </pre> and look the feedback from these sites: http://t2.unl.edu/gratia/xml/facility_transfer_volume and http://gratia-transfer.opensciencegrid.org:8886/gratia-reporting/ In this last one, you can even query , using SQL, the activity due an specific user: <pre> select * from MasterTransferSummary where CommonName like '%Marco%' order by TransferSummaryID </pre> ---++Updates
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2009-01-27
-
MarcoAndreFerreiraDias
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
antalya escort
bursa escort
eskisehir escort
istanbul escort
izmir escort