You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Amir Abbasi <ab...@tebyanidc.ir> on 2015/02/01 09:13:04 UTC

cloudstack usage tables are empty

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

Posted by Sanjeev Neelarapu <sa...@citrix.com>.
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.hoogland@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 <ab...@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.hoogland@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 <ab...@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

Posted by Daan Hoogland <da...@gmail.com>.
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 <ab...@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.hoogland@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 <ab...@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

Posted by Amir Abbasi <ab...@tebyanidc.ir>.
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.hoogland@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 <ab...@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

Posted by Daan Hoogland <da...@gmail.com>.
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 <ab...@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