ClusterUsageAccountingStatistics: Difference between revisions

From T2B Wiki
Jump to navigation Jump to search
(Created page with "= Updating the accounting DB = First you have to push to PBS accounting logfiles to the server hosting the accounting database : {{{ test }}}")
 
No edit summary
 
Line 1: Line 1:
= Updating the accounting DB =
= Updating the accounting DB =
First you have to push to PBS accounting logfiles to the server hosting the accounting database :
First you have to push to PBS accounting logfiles from the batch system to the server hosting the accounting database :
{{{
<pre>
test
[root@cream02 ~]# ./sync_pbs_logs_to_mon.sh
}}}
</pre>
Then, you have to log in to the mysql server with the accounting DB (slave.wn) and to this :
<pre>
rm /var/torque/server_priv/accounting/accounting.log
cd /var/www/html/accounting_vsc
./from_pbslogs_to_db.pl cream02
</pre>

Latest revision as of 13:59, 9 February 2018

Updating the accounting DB

First you have to push to PBS accounting logfiles from the batch system to the server hosting the accounting database :

[root@cream02 ~]# ./sync_pbs_logs_to_mon.sh

Then, you have to log in to the mysql server with the accounting DB (slave.wn) and to this :

rm /var/torque/server_priv/accounting/accounting.log
cd /var/www/html/accounting_vsc
./from_pbslogs_to_db.pl cream02