cloudstack usage tables are empty

2015-02-01 Thread Amir Abbasi
Hello,

 

I've install cloudstack usage on management server, but tables of
cloud_usage are still empty. the usage_job in db server is has a record but
it shows mngt-server/127.0.0.1 as host while the management server is
remote. Is it necessary to fix that?



RE: cloudstack usage tables are empty

2015-02-01 Thread Amir Abbasi
What properties relevant should be copied? cluster.node.IP is the IP address of 
the ms in db.properties.

Thanks

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] 
Sent: Sunday, February 1, 2015 1:45 PM
To: users@cloudstack.apache.org
Subject: Re: cloudstack usage tables are empty

did you add properties in db.properties.override to point to the ms?
you should. copy the properties relevant from db.properties to (new
file?) db.properties.override, edit and restart.

On Sun, Feb 1, 2015 at 9:13 AM, Amir Abbasi abb...@tebyanidc.ir wrote:
 Hello,



 I've install cloudstack usage on management server, but tables of 
 cloud_usage are still empty. the usage_job in db server is has a 
 record but it shows mngt-server/127.0.0.1 as host while the 
 management server is remote. Is it necessary to fix that?




--
Daan



Re: cloudstack usage tables are empty

2015-02-01 Thread Daan Hoogland
did you add properties in db.properties.override to point to the ms?
you should. copy the properties relevant from db.properties to (new
file?) db.properties.override, edit and restart.

On Sun, Feb 1, 2015 at 9:13 AM, Amir Abbasi abb...@tebyanidc.ir wrote:
 Hello,



 I've install cloudstack usage on management server, but tables of
 cloud_usage are still empty. the usage_job in db server is has a record but
 it shows mngt-server/127.0.0.1 as host while the management server is
 remote. Is it necessary to fix that?




-- 
Daan


Re: cloudstack usage tables are empty

2015-02-01 Thread Daan Hoogland
I am not sure, never saw a remote usage server, but I think the adress
for the usage/ms must be remote at least


On Sun, Feb 1, 2015 at 11:43 AM, Amir Abbasi abb...@tebyanidc.ir wrote:
 What properties relevant should be copied? cluster.node.IP is the IP address 
 of the ms in db.properties.

 Thanks

 -Original Message-
 From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
 Sent: Sunday, February 1, 2015 1:45 PM
 To: users@cloudstack.apache.org
 Subject: Re: cloudstack usage tables are empty

 did you add properties in db.properties.override to point to the ms?
 you should. copy the properties relevant from db.properties to (new
 file?) db.properties.override, edit and restart.

 On Sun, Feb 1, 2015 at 9:13 AM, Amir Abbasi abb...@tebyanidc.ir wrote:
 Hello,



 I've install cloudstack usage on management server, but tables of
 cloud_usage are still empty. the usage_job in db server is has a
 record but it shows mngt-server/127.0.0.1 as host while the
 management server is remote. Is it necessary to fix that?




 --
 Daan




-- 
Daan


RE: cloudstack usage tables are empty

2015-02-01 Thread Sanjeev Neelarapu
If you are trying MS and usage on the same server and DB on a different server 
did you specifiy the IP address of the DB server while setting up the database 
using below command:
Cloudstack-setup-databases cloud:password@DB server IP 
--deploy-as:root:password

You must specify the db server ip in the above command if your management and 
db servers are running on two different machines.

Thanks,
Sanjeev 
Citrix Systems, Inc.

-Original Message-
From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] 
Sent: Sunday, February 01, 2015 6:19 PM
To: users@cloudstack.apache.org
Subject: Re: cloudstack usage tables are empty

I am not sure, never saw a remote usage server, but I think the adress for the 
usage/ms must be remote at least


On Sun, Feb 1, 2015 at 11:43 AM, Amir Abbasi abb...@tebyanidc.ir wrote:
 What properties relevant should be copied? cluster.node.IP is the IP address 
 of the ms in db.properties.

 Thanks

 -Original Message-
 From: Daan Hoogland [mailto:daan.hoogl...@gmail.com]
 Sent: Sunday, February 1, 2015 1:45 PM
 To: users@cloudstack.apache.org
 Subject: Re: cloudstack usage tables are empty

 did you add properties in db.properties.override to point to the ms?
 you should. copy the properties relevant from db.properties to (new
 file?) db.properties.override, edit and restart.

 On Sun, Feb 1, 2015 at 9:13 AM, Amir Abbasi abb...@tebyanidc.ir wrote:
 Hello,



 I've install cloudstack usage on management server, but tables of 
 cloud_usage are still empty. the usage_job in db server is has a 
 record but it shows mngt-server/127.0.0.1 as host while the 
 management server is remote. Is it necessary to fix that?




 --
 Daan




--
Daan