ClusterUsageAccountingStatistics

From T2B Wiki
Jump to navigation Jump to search

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