2.5

Table Of Contents
2 On the vCenter Chargeback Manager machine, run the UpdateLoadBalancerIP.bat script.
The UpdateLoadBalancerIP.bat is located at
Installation_Directory
\vCenter-CB-Tools\reset-IP\bin.
The syntax for running this script is as follows:
UpdateLoadBalancerIP
New_IP
Old_IP
Configuring Database Properties For Removing Stale Reports
You can configure few properties in the vCenter Chargeback Manager database to define the period after which
stale reports must be deleted from the system.
vCenter Chargeback Manager automatically deletes stale reports from the system. This includes archived
reports, unarchived reports, and exported reports. You can define the threshold for the freshness of these
reports in the database. After the specified threshold, a report is considered stale. That is, if a report has not
been modified in the past 'threshold' minutes, the report is stale and is deleted by the daily reporting database
maintenance job. This job also deletes the swap files and emailed files from the local filesystem that have not
been modified in the last 30 minutes.
Table 8-1 lists the properties used by this job. These properties are defined in the CB_SERVER_PROPERTY table in
the vCenter Chargeback Manager database.
Table 8-1. Properties used by the daily reporting database maintenance job
Property
Default Value
(minutes) Equivalent Time Description
reporting_instance_maintenanc
e_interval
1440 24 hours The time between two
consecutive runs of the daily
reporting database
maintenance job.
reporting_stale_archived_repo
rt_threshold
2628000 1825 day, appox. 5 years The period for which if an
archived report is
unchanged, the report is
considered stale.
reporting_stale_unarchived_re
port_threshold
1440 24 hours The period for which if an
unarchived report is
unchanged, the report is
considered stale.
reporting_stale_exported_repo
rt_threshold
43200 30 days The period for which if an
exported report is
unchanged, the report is
considered stale.
Statistics Collection Scripts
vCenter Chargeback Manager provides few SQL scripts that help you collect different resource usage and
allocation statistics.
vCenter Chargeback Manager provides the following SQL scripts:
n
Guest OS licensing script
n
Storage allocation script
n
Performance statistics script
vCenter Chargeback Manager User’s Guide
140 VMware, Inc.