Install the required packages, in our storage element:
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
To get the billing database working, in our dcache installation:
/opt/d-cache/bin/dcache stop vim /opt/d-cache/config/dCacheSetup billingToDb=yes /opt/d-cache/bin/dcache startlog as "postgres" user. Look if you have "Indexes" in the end of
su - postgres psql \c billing \dI didn't see the "Indexes", so create it :
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); \qNow you can edit your configuration file:
vim /opt/d-cache/gratia/probe/dCache-transfer/ProbeConfigwere we changed it :
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"And start this service:
chkconfig --level 345 gratia-dcache-transfer on service gratia-dcache-transfer start
You can check if a python process is running:
ps -aux|grep python python dCacheBillingAggregator.pyand look the feedback from these sites: http://t2.unl.edu/gratia/xml/facility_transfer_volume
In this last one, you can even query , using SQL, the activity due an specific user:
select * from MasterTransferSummary where CommonName like '%Marco%' order by TransferSummaryID
antalya escort bursa escort eskisehir escort istanbul escort izmir escort