Quantcast
Channel: VMware Communities: Message List - vCloud Usage Meter
Viewing all 1374 articles
Browse latest View live

vCloud usage meter failing to obtain data from vCenter server

$
0
0

Hi All

 

I have vCloud usage meter 3.2 deployed in our environment and it has been configured to monitor vCenter server 5.0 and 4.1. Since last few days this vCloud appliance is unable to contact one of my vCenter server and kept failing with below errors:

 

A collection from x.x.x.x, begun at 2015-01-16 20:18:58, failed at 2015-01-16 20:19:10. com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable

A collection from x.x.x.x, begun at 2015-01-16 20:24:10, failed at 2015-01-16 20:24:20. com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable

A collection from x.x.x.x, begun at 2015-01-16 21:18:55, failed at 2015-01-16 21:19:07. com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable

A collection from x.x.x.x, begun at 2015-01-17 01:18:38, failed at 2015-01-17 01:18:51. com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused

A collection from x.x.x.x, begun at 2015-01-17 01:23:51, failed at 2015-01-17 01:24:05. com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused

A collection from x.x.x.x, begun at 2015-01-17 01:29:05, failed at 2015-01-17 01:29:16. com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused

A collection from x.x.x.x, begun at 2015-01-17 02:18:40, failed at 2015-01-17 02:18:52. com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable

A collection from x.x.x.x, begun at 2015-01-17 03:18:49, failed at 2015-01-17 03:19:01. com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable

A collection from x.x.x.x, begun at 2015-01-17 05:18:40, failed at 2015-01-17 05:18:53. com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused

A collection from x.x.x.x, begun at 2015-01-17 05:23:53, failed at 2015-01-17 05:24:04. com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused

A collection from x.x.x.x, begun at 2015-01-17 05:29:05, failed at 2015-01-17 05:29:16. com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused

A collection from x.x.x.x, begun at 2015-01-17 06:18:45, failed at 2015-01-17 06:18:57. com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.ConnectException: Connection refused

 

Can someone guide me how to start troubleshooting. I don't have much idea of how vCloud works and also Google and vmware kb are not helping much.


Re: Setting Reservation Levels for a VM

$
0
0

Hi. The reservation level is set for each VM, using a vSphere Client or API.

Re: After LDAP configuration unable to login - ERROR: login failed vcloud usage meter 3.2

$
0
0

Hi,

 

Have you founda solution? A have the same problem with 3.3 version


Best Regards,

Jacek

Postgres using 99% CPU

$
0
0

Hi,

I have vcu 3.3.2, running fine for several weeks.

It s been a week that vcu is at 100% CPU due to postgres :

 

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

5991 postgres  20   0  102m  47m  35m R 99.9  1.3   3:03.04 postgres

    1 root      20   0 10548  844  712 S  0.0  0.0   0:00.37 init

    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd

    3 root      20   0     0    0    0 S  0.0  0.0   0:00.06 ksoftirqd/0

 

 

No network issue, disk usage is good, data collecting is still occuring (i can check the monitor tab)

but I can't view any report nor got the automatic report emailed.

 

When I try to generate a report it automatically cancel it :

Starting report “Monthly Usage.”

Production of the Monthly Usage was canceled.

 

 

I try to delete old data but it looks like it never did something. One hour later, I rebooted the appliance and still got Postgres loading vcu appliance.

 

Can you advise me ?

 

regards,

vinny

Re: Postgres using 99% CPU

$
0
0

I'm thinking you'll need to contact support about diagnosing this unless dbriccetti has seen something like this before.

 

I think Usage Meter the application shows up as a Java process, which is why it works just fine for most things ... but the symptoms seem odd that the DB is claiming all the cycles.

Re: After LDAP configuration unable to login - ERROR: login failed vcloud usage meter 3.2

$
0
0

Username shown is a UPN or Email address ... not a DN.  DN would look like CN=test,OU=test,DC=test,DC=com.

 

Please validate the exact DN Value by using LDP or a similar LDAP tool against the LDAP provider to check the attribute for the account logging in from Usage Meter.

 

LdapInvalidDnException

Re: After LDAP configuration unable to login - ERROR: login failed vcloud usage meter 3.2

$
0
0

Hi, thanks, it's working now.

 

Best Regards,

Jacek

Re: Postgres using 99% CPU

$
0
0

Hi. Sorry to hear about this. If you like, you can log in to the Usage Meter appliance, and issue this command (actually an alias) to start the PostgreSQL client:

 

sql

 

then paste in this:

 

SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,

       pg_stat_get_backend_activity(s.backendid) AS current_query

    FROM (SELECT pg_stat_get_backend_idset() AS backendid) AS s;

 

and let us know the result.

 

Restarting the Usage Meter, from root

 

service tomcat restart

 

may clear up the problem. If not, I would recommend a reboot.

 

Dave Briccetti

Lead developer, vCloud Usage Meter


Re: Postgres using 99% CPU

$
0
0

Here is the result of the sql command :

 

usgmtr=> SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,pg_stat_get_backend_activity(s.backendid) AS current_query FROM (SELECT pg_stat_get_backend_idset() AS backendid) AS s;

procpid |                                                                                 current_query

---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

   23176 | Select                                                                                                                                                                        +

         |   sum(capped("Sample2"."vmBillingMemory",$1)) as "c0"                                                                                                                         +

         | From                                                                                                                                                                          +

         |   "SampleToLicense" "SampleToLicense1",                                                                                                                                       +

         |   "Sample" "Sample2",                                                                                                                                                         +

         |   "Collection" "Collection3",                                                                                                                                                 +

         |   "Vm" "Vm4",                                                                                                                                                                 +

         |   "HostLatest" "HostLatest5",                                                                                                                                                 +

         |   "License" "License6"                                                                                                                                                        +

         | Where                                                                                                                                                                         +

         |   ((("SampleToLicense1"."vmId" in ((Select                                                                                                                                    +

         |      "CustomerVm9"."vmId" as "CustomerVm9_vmId"                                                                                                                               +

         |    From                                                                                                                                                                       +

         |      "CustomerVm" "CustomerVm9",                                                                                                                                              +

         |      "CustomerVmRule" "CustomerVmRule10"                                                                                                                                      +

         |    Where                                                                                                                                                                      +

         |      (("CustomerVmRule10"."createdBy" = $2) and ("CustomerVm9"."customerVmRuleId" = "CustomerVmRule10"."id"))                                                                 +

         |   ) )) and (betweenco("SampleToLicense1"."start",$3,$4) and "SampleToLicense1"."reportExclusionReason" is null)) and ("SampleToLicense1"."sampleId" = "Sample2"."id"))

    2813 | SELECT pg_stat_get_backend_pid(s.backendid) AS procpid,pg_stat_get_backend_activity(s.backendid) AS current_query FROM (SELECT pg_stat_get_backend_idset() AS backendid) AS s;

 

I try the service restart but still no reports :

 

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND

      3283 postgres  20   0  102m  45m  35m R 33.6  1.3   0:05.49 postgres

      3013 postgres  20   0  102m  47m  35m R 33.3  1.3   1:44.18 postgres

23176 postgres  20   0  102m  47m  35m R 32.9  1.3 968:08.62 postgres

 

I have now 3 postgres process, the appliance still gathering stats but no reports displayed.

 

 

vinny

Query on vCloud Usage Meter Reporting

$
0
0

Hello ,

 

Can vCloud Usage Meter provide report of  vCpu  , vRam  &  Storage Consumption  on monthly basics for each individual  vCloud Workload (Virtual Machine )  ?

I am looking for   Monthly report of  vCpu/ RAM & Storage  utilization by each  Individual vCloud  Director   Virtual Machine

Can vCloud usage meter fulfill  this requirement

-----

Thanks in Advance

Re: Postgres using 99% CPU

$
0
0

Thanks. That’s a query for running a report.

 

I should have suggested the following:

 

service tomcat stop

service vpostgres restart

service tomcat start

 

Or, just restart the appliance.

 

Have you tried the 3.4 beta? Because it saves only changes, and not hourly VM samples, reports are much faster.

 

Dave

Re: Query on vCloud Usage Meter Reporting

$
0
0

Sorry, no. It doesn’t consider CPU and storage, and doesn’t report anything by VM.

Re: Postgres using 99% CPU

$
0
0

I just tried the services restart, still the same behaviour : as soon as the tomcat start, postgres grabs all cpu cycles.

 

I installed this appliance a month ago, it was not doing this, at least the first week when I tested it.

 

For the 3.4, it's a beta, so I usually do not use a beta app for a prod environment. But you certainly know it better than me, if you think it can be used, I can give it a try.

 

vinny

Re: Postgres using 99% CPU

$
0
0

How about a reboot, then?

 

I am suggesting 3.4 not for production reporting, but to run against your production environment to see how well it does for you. We want to discover any problems prior to release, and those of you with large or otherwise uncommon environments can be especially helpful to us.

Re: Postgres using 99% CPU

$
0
0

I already rebooted several times but still the same behaviour.

 

vinny


Please explain to me how billing works

$
0
0

Hello,

 

In the documentation it says that the billing occurs from the reserved memory for each vm. If I am using no reservations in any of my vms, does it calculate based on how much ram I have assigned in each vm?

 

Many thanks.

Re: Unable to login - vCloud Usage Meter 3.4

$
0
0

Hello ,

 

I  deployed 3.4 Beta version successfully of vCloud usage meter. Password set via Webpass command .

 

When I login using admin user , I m unable to see tab like Report, Rule  , Customer which was visible in 3.3 Version

 

----

Thanks In Advance

Re: Please explain to me how billing works

$
0
0

Yes. You are billed based on the larger of

 

1) reserved memory (0 in your case)

2) half the allocated memory

Re: Unable to login - vCloud Usage Meter 3.4

$
0
0

Hi. I’m sorry that it’s not clear what’s happening. After you fill in at least an email address on Manage -> Provider, the remaining menu items should appear.

Re: Query on vCloud Usage Meter Reporting

$
0
0

vRealize Operations manager can do this if you want to monitor behaviour/normality, and report based off of this data.  this would connect to vCenter directly to get the data (VMs and templates view in vCenter mimics that of the Organization (vDC) / vApp Structure).

 

Chargeback can sample and monitor for the purposes of a creating a bill/invoice for a given VM.  This would connect to both vCloud and vCenter to build the reports.

 

vCloud Director which is available to VSPP/vCloud Air Network members has some basic monitoring included in the product, but requires API calls to gather the data and an additional Cassandra/Kairos DB to store the information.

Viewing all 1374 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>