User`s guide
Table Of Contents
- vCenter Chargeback User’s Guide
- Contents
- About This Book
- Introduction to vCenter Chargeback
- Installing vCenter Chargeback
- Hardware Requirements
- Software Requirements
- Prerequisites for vCenter Chargeback
- Download and Extract the vCenter Chargeback Installer
- Install vCenter Chargeback
- Create a vCenter Chargeback Cluster
- Install vCenter Chargeback with an Existing Database Schema
- Upgrading vCenter Chargeback
- Services Related to the vCenter Chargeback Application
- Accessing the vCenter Chargeback Application
- Data Collector
- Uninstall vCenter Chargeback
- Configuring Administration Settings
- Authenticating and Managing Users, Roles, and Permissions
- Managing Chargeback Hierarchies
- Creating a Chargeback Hierarchy
- Managing a Chargeback Hierarchy
- View a Chargeback Hierarchy
- Add a vCenter Chargeback Entity
- Add a vCenter Server Entity
- Rename a Chargeback Hierarchy or a Chargeback Entity
- Delete an Entity from the Hierarchy
- Delete a Chargeback Hierarchy
- Assign Attributes
- Move Entities Within a Hierarchy
- Allocate Computing Resource Units for a Chargeback Entity
- Share Virtual Machine Cost
- Backdate a Chargeback Hierarchy
- View Properties of a vCenter Server Entity
- Managing and Configuring vCenter Chargeback Cost Elements
- Generating Reports
- Monitoring System Health
- Administration Utilities
- Troubleshooting vCenter Chargeback
- Troubleshooting Utility
- Troubleshooting Issues in vCenter Chargeback
- Changed Timezone Setting Is Not Reflected
- Changes to Chargeback Hierarchy Are Not Reflected in the Concurrent User-Sessions
- Changes to the vCenter Server Hierarchy Are Not Reflected in vCenter Chargeback
- Installer Throws the SQL Driver Not Found Error
- LDAP Server Configuration Fails
- Non-English Characters Are Not Correctly Stored in the vCenter Chargeback Database
- Report Does Not Display the Disk Read and Disk Write Information
- Report Does Not Display the Memory Usage Value and the Corresponding Cost
- Report Does Not Display the Network Transmitted and Network Received Information
- Service Temporarily Unavailable Error
- Status of Failed Data Collector Is Not Reflected Immediately on the System Health Tab
- Storage Synchronization Job Fails
- Text and Messages on the vCenter Chargeback User Interface Are Not Correctly Displayed
- Unable to Access the vCenter Chargeback Application
- Unable to Add an LDAP Server
- Unable to Add vCenter Server in vCenter Chargeback
- Unable to Change the Password for the vCenter Chargeback Keystore
- Unable to Configure Another VMware Cloud Director Setup with vCenter Chargeback
- Unable to Connect to the vCenter Chargeback Database
- Unable to Connect to the vCenter Server Database
- Unable to Email Report
- Unable to Fetch the Primary Group of a LDAP User
- Unable to Use Custom SSL Certificates
- Unable to View the vCenter Chargeback Plug-In in the VI Client
- Index
Table 9-3. Data Purging Scripts
Script Description
purgeCostData
This script removes the cost-related data that is older than the specified number of months. The
number of months is specified using the MONTHS_IN_HISTORY parameter in the Oracle script
and the @MONTHS_IN_HISTORY parameter in the SQL Server script. You can set this parameter
appropriately before running the script. The script removes the data from the following tables:
n
CB_BASE_RATE
n
CB_BILLING_POLICY
n
CB_ENTITY_METERING
n
CB_RATE_FACTOR
n
CB_FIXED_COST
purgeHierarchyData
This script removes the hierarchy-related data that is older than the specified number of months.
The number of months is specified using the MONTHS_IN_HISTORY parameter in the Oracle script
and the @MONTHS_IN_HISTORY parameter in the SQL Server script. You can set this parameter
appropriately before running the script. The script removes the data from the following tables:
n
CB_VC_ENTITY_RELATION
n
CB_VC_ENTITY_PROPERTY
n
CB_VC_ENTITY_MAPPING
n
CB_HIERARCHY_RELATION
purgeReportData
This script removes the report-related data that is older than the specified number of months
from the CB_REPORT table. The number of months is specified using the MONTHS_IN_HISTORY
parameter in the Oracle script and the @MONTHS_IN_HISTORY parameter in the SQL Server script.
You can set this parameter appropriately before running the script.
purgeStatsData
This script removes the vCenter Server performance statistics data that is older than the specified
number of months from the CB_VC_PERFORMANCE_STAT table. The number of months is
specified using the MONTHS_IN_HISTORY parameter in the Oracle script and the
@MONTHS_IN_HISTORY parameter in the SQL Server script. You can set this parameter
appropriately before running the script.
purgeTables
This script is a superset of the purgeCostData, purgeHierarchyData, purgeReportData, and
purgeStatsData scripts. The script removes the cost, hierarchy, report, and vCenter Server
performance statistics related data that is older than the specified number of months. The
number of months is specified using the MONTHS_IN_HISTORY parameter in the Oracle script
and the @MONTHS_IN_HISTORY parameter in the SQL Server script. You can set this parameter
appropriately before running the script.
About the Statistics Data Purging Stored Procedure
vCenter Chargeback schedules a daily roll up of vCenter Server performance statistics data in the vCenter
Chargeback database. The CB_STATS_ROLLUP_PROC stored procedure in the vCenter Chargeback database purges
the vCenter Server performance statistics data that is no longer required. The stored procedure purges data in
the database in batches of 50,000 rows.
You can also manually run this stored procedure. This procedure must be called multiple times till it returns
the value '1', indicating that the roll up is complete.
vCenter Chargeback User’s Guide
132 VMware, Inc.