We moved this page to our Documentation Portal. You can find the latest updates here. |
Issue
If you check the log file:
/onapp/interface/log/production_vcloud_stats_runner.log
You will see entries like the following (statistic collection starting, but not finishing before the next poll):
[INFO][3130][2016-02-24 21:05:41 +0700][L2] [HV: 8] Get Level 2 for HV: start
[INFO][3402][2016-02-24 21:10:10 +0700][L2] [HV: 8] Get Level 2 for HV: start
[INFO][3402][2016-02-24 21:16:36 +0700][L2] [HV: 8] Get Level 2 for HV: start
[INFO][3402][2016-02-24 21:23:24 +0700][L2] [HV: 8] Get Level 2 for HV: start
Environment
OnApp 5.2.x (and later) with vCloud Director integration
Resolution
You should change the "vcloud_stats_level2_period" in the following file to a larger number:
/onapp/interface/config/on_app.yml:
For example, to increase the collection time from 3 to 15 minutes, the line should read:
vcloud_stats_level2_period: 900
Note: The "vcloud_stats_level2_period" line may not exist by default. If so you can just add it manually. The number should be in seconds (900 = 15 minutes).
Cause
By default, OnApp is set to collect performance metrics from vCenter every 3 minutes.
For large environments, there may not be enough time in between collections to retrieve all required metrics.