Yes, I did restart both the management-server and the usage-server. I've checked now the logs from the usage server and it appears the following every 10 minutes which is the time I set in usage.stats.job.aggregation.range:
2013-06-03 04:10:00,000 INFO [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) starting usage job... 2013-06-03 04:10:00,004 DEBUG [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) Not owner of usage job, skipping... 2013-06-03 04:10:00,004 INFO [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) usage job complete Maybe this can help a little more to find the solution. -----Mensaje original----- De: Kirk Jantzer [mailto:kirk.jant...@gmail.com] Enviado el: viernes, 31 de mayo de 2013 11:38 Para: Cloudstack users mailing list Asunto: Re: Usage Records Silly question, but did you restart the management service after making those changes? On May 31, 2013 5:21 AM, "Enric Muñoz" <emu...@intecom.ad> wrote: > Hi all, > > I'm using Cloudstack 4.0.2 and I have problems to see the usage records. > I've already installed the usage server and it is running. I've also > set the global settings from the UI enable.usage.server to true and > the usage.stats.job.aggregation.range to 10 minutes in order to test > the usage server. If I'm not wrong, the usage server should fill the > cloud_usage database every ten minutes with the new usage records. > However, the cloud_usage database is always empty. I have also tried > to execute the generateUsageRecords and listUsageRecords API commands > but no usage data appears. Anyone can help me to get the usage records?? > > Thank you in advance, > > Enric >