Quantcast
Channel: VMware Communities : All Content - vCloud Usage Meter
Viewing all 920 articles
Browse latest View live

Why does the VUM 3.6 need to log in to vCenter as Administrator?

$
0
0

Hi,

 

I'm having trouble understanding why would VUM need an Administrator access to vcenter to READ usage data from it. Until v3.5 we used dedicated login "vum@vsphere.local" that has read-only access to the whole vCenter and it works just fine. Now the v3.6 seems to read the usage data fine with such a user, but emits weird error with empty error string to the "Monitor" page.

Could this be fixed?

 

Marek


Usage Meter 3.6 Released

$
0
0

Link to Usage Meter 3.6 page here:

Usage Meter

 

Released today - 13th July 2017.

 

Name: vCloudUsageMeter-3.6.0.0-5967943_OVF10.ova

Release Date: 2017-07-13

Build Number: 5967943

 

Documentation for 3.6 here:

VMware vCloud Usage Meter Landing Page

 

Other Resources

 

vCloud Usage Meter 3.6 API Access

$
0
0

Hello All!

 

I recently started building a backend for work to easily add customers as licensing is issued. After a support call it was realized that there was not a great deal of documentation internally at VMware or otherwise on examples on what the REST API for vcloud usage meter was looking for/responding to. There will be a forth coming KB to document some of these commands/examples, but I figured id start a running document here as I go through them.

 

#Get all customers:

curl -v -k -H x-usagemeter-authorization:<API KEY> https://00.00.00.00:8443/um/api/customers

 

 

#Get a specific Customer (see above and between the <id>#</id> tags

curl -v -k -H x-usagemeter-authorization:<API KEY> https://00.00.00.00:8443/um/api/customer/#

 

 

#Get Customer Rules

curl -v -k -H x-usagemeter-authorization:<API KEY> https://00.00.00.00:8443/um/api/customer/#/rules

 

 

#Delete a Customer

curl -v -k -H x-usagemeter-authorization:<API KEY> -X DELETE https://00.00.00.00:8443/um/api/customer/3

 

 

#Create a Customer

curl -v -k -H Content-Type:application/xml -H x-usagemeter-authorization:<API KEY> -X POST https://00.00.00.00:8443/um/api/customer --data '<customer xmlns="http://www.vmware.com/UM"><name>Thomas Thumb</name><country>US</country><postalCode>30318</postalCode></customer>'

UM API call on v3.3.3 but missing on v3.5 / v3.6

$
0
0

on v3.3.3 have below report api call

 

Operation GET /api/reports

<report>

<link method="get" rel="Customer Summary Report"

href="/api/reports/3" />

</report>

 

have any new api call for sustomer summary report on v3.5/v3.6

vCloud Usage Meter Users Guide 3.6

$
0
0

Hello,

 

So I´m installing Usage Meter 3.6 and the PDF seems a little mysterious (previous version was worse, it said "give read-only administrator privilege" go figure that one out...), but now this version says :

 

https://docs.vmware.com/en/vCloud-Usage-Meter/3.6/vcloud-usage-meter-36-users-guide.pdf

 

Page 26

 

Prerequisites

 

Verify that you have additional vCenter Server user permissions, other than Read-only. To add the

required additional permissions, perform the following steps.

 

a Log in to the vSphere Web Client as an administrator.

b Navigate to Administration > Roles.

c Click the Create role button.

d Type a name for the new role.

e Select the following permission:Profile-driven storage > Profile-driven storage view

f Assign the new role to the user which you use for vCloud Usage Meter collection.

 

Now...this seems a little vague, what exact permissions are needed for the User Meter user on vCenter ?, is it administrator privileges and no one wants to put it on writing on the pdf ? ; )

 

The instructions to create a role are wonderful, all that is missing is the baseline from which to start, which role to use for instance, since I don´t think a role with only that permission would be very helpful, other providers give clear examples of privileges needed and how to create that role on vCenter, seems weird VMware itself cannot do this for Usage Meter.

 

If anyone can help me it would be appreciated, the Usage Meter documentation doesn´t seem to be up to the usual VMware standard of quality.

 

Thanks in advance.

 

Regards,

Carlos.

vCloud Usage Meter cannot discover vRealize Operations Manager 6.6

$
0
0

Today i found out the hard way that apparently since vROPS 6.6 it is NOT possible to view vROPS health bars in the 6.5U1 web client. (I recently upgraded from windows vCenter 5.5 to 6.5U1 appliance)

 

Before i knew about this i was following several KBs where the solution for *enabling* vROP 6.x health bars in vCenter web client is to *remove* the "com-vmware.vcops" extension under https://vcenter.fqdn/mob (note do NOT do this)

 

BUT if you do this you will apparently BREAK hourly reporting engine in UM. So i now get (every hour) alerts from both UM 3.5 and UM 3.6

 

"vRealize Operations Manager: Missing vCenter extension"...

 

So whatevery you do *DO NOT* attempt to "repair" the vROPS missing health badges in vCenter web client if you are running vROPS 6.6 as per KB: https://kb.vmware.com/kb/2146360 you risk end up with f*** up UM... It seems as if the extension folder is present on the vCenter server everything is nice and dandy, but as soon as you delete the 6.5 (in my case) extension folder on the vCenter server applaiance shit will hit the fan...

 

I will now have to install a third UM 3.6.0.1 instance or perhaps try to upgrade the broken 3.6 and see it if repairs this extension error. Although i doubt that since the "error" is on vCenter server.

 

I have removed/deleted my vCenter server, rebooted all UM appliances and also stopped and started the vROPS 6.6 collector but it has not helped.

 

From UM 3.6 Release Notes: VMware vCloud Usage Meter 3.6 Release Notes

  • vCloud Usage Meter cannot discover vRealize Operations Manager 6.6 vRealize Operations Manager 6.6 does not include a vSphere Web Client plugin. As a result, vRealize Operations Manager does not register itself as a plugin to the associated vCenter Server and is not present in the extension manager of the vCenter Server. When you add a vCenter Server to be metered, vCloud Usage Meter is not able to discover the associated vRealize Operations Manager.Workaround:None.
  • vRealize Operations Manager collections fail Workaround: When adding a new vRealize Operations Manager, accept the certificate before providing the required credentials. (i have not tried nor do i want to install a NEW vROPS server...!)

 

The vRealize Operations Manager NGC plugin for the vSphere Web Client has been removed in vRealize Operations Manager 6.6. please see: https://docs.vmware.com/en/vRealize-Operations-Manager/6.6/rn/vrops-66-release-notes.html

For information about removing the vRealize Operations Manager plugin from vSphere after upgrading to 6.6, see KB 2150394: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2150394 (
I have tried KB 2150394 but script failed at row 13)

 

Not very happy right now!

 

 

When will vROPs 6.6 be supported

$
0
0

Hi

 

In our environment we need to upgrade our 6.4 vROPs to 6.6 for security requirements. Looking at the support matrix for 3.6 this is not supported.

 

Can you please confirm when it will be supported? Our internal Security teams are insisting we carry out the vROPs upgrade ASAP

 

Cheers

 

James

How to delete vCenter server certificate from vCloud Usage Meter

$
0
0

Hi Folks,

 

I am facing an issue with stats collection for one of my vcenter server in usage meter.

 

The collection fails with error:

 

On the Usage Meter at (x.x.x.x), a collection from vchostname.abc.com begun at 2015-04-28 05:11:54, failed at 2015-04-28 05:12:03. The host certificate doesn't match the certificate you accepted. Please edit the server on the Manage Page Products Tab.

 

Anyone have idea about how to delete the vCenter SSL certificate from usage meter so that next time when usage meter polls to vCenter server it accepts a new ssl certificate.

 

PS: we are only using self-signed certificates on our vcenter server.

 

vCenter Version: 5.0

 

usage Meter Version: 3.3.2


Log Insight Reporting in Usage Meter

$
0
0

Hi there,

 

I'd like to know when I can report Log Insight usage within Usage Meter?

 

regards,

 

Ronny

mail error & no production mode

$
0
0

Hi.

 

I have just installed a completely new installation of the vCloud Usage Meter 3.6.0.1 Build 6552112, but by the first configuration I got the following error message:

 

Unable to send an email because of a non-existing recipient email address.

 

I can't go ahead because with this error I can't klick on save.

 

 

I have already tried to reinstall the Usage Meter again. But then I got the message, that the Usage Meter is not in the production mode.

 

1. How can I change the test mode into production mode?

2. How can I resolv the mail problem? There is no possibility to enter an receipent email address and my email address on the first page is correct.

 

 

Thanks, best regards

Usage meter SRM collection permissions

$
0
0

Hi,

 

I have 2 vCenters in my platform that are using Site Recovery Manager between them to replicate data (VCS1 --> VCS2).

VCenter usage collection fine, but site recovery manger is not getting info due to user permissions.

 

2017-11-13 00:05:07,067  INFO [Collector 9] srm.SrmCollector: VMware vCenter Site Recovery Manager collection starting

2017-11-13 00:05:07,067  INFO [Collector 9] srm.SrmCollector: Collecting from SRM server 10.1.8.40 of vCenter Server mgmt1-vcs1.dc1.example.com

2017-11-13 00:05:08,899 ERROR [Collector 9] srm.SrmCollector: VMware vCenter Site Recovery Manager collection failed: com.vmware.srm.SrmFaultNoPermissionFaultMsg: Permission to perform this operation was denied.

com.vmware.srm.SrmFaultNoPermissionFaultMsg: Permission to perform this operation was denied.

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

 

 

......

 

 

2017-11-13 00:05:08,900  INFO [Collector 9] srm.SrmCollector: VMware vCenter Site Recovery Manager collection starting

2017-11-13 00:05:08,900  INFO [Collector 9] srm.SrmCollector: Collecting from SRM server 10.1.40.40 of vCenter Server mgmt2-vcs2.dc2.example.com

2017-11-13 00:05:10,479 ERROR [Collector 9] srm.SrmCollector: VMware vCenter Site Recovery Manager collection failed: com.vmware.srm.SrmFaultNoPermissionFaultMsg: Permission to perform this operation was denied.

com.vmware.srm.SrmFaultNoPermissionFaultMsg: Permission to perform this operation was denied.

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:135)

The user that I am using to collect data are the following

  • vCenter --> Read Only user
  • SRM --> SRM Administrator

 

Which are the correct permissions to get SRM collection?

 

Thank you very much in advance

How does vCloud Usage Meter 3.6 automatically detect NSX editions based on features usage at a per VM granularity

$
0
0

Are there details about how this works available?

Specifically what logic does the Usage Meter use, to determine if a VM should be licensed for which version of NSX.

VMware Usage meter 3.6 NSX error

$
0
0

Hello,

I've upgraded the usage meter to 3.6. After the upgrade I'm trying to add the NSX manager but I receive the following error.

vCenter server is referenced by another NSX server

 

I've checked on the NSX manager how the vcenter is registered and can't find any typos

 

We are running vSphere 5.5 Update 3e

NSX 6.2.3 (only the manager) for Deep Security.

Stopped VM RAM and snapshot VM with RAM

$
0
0

Hello,

 

i would like to know how RAMs of stopped VM and snapshots are calculated by VUM ?

 

Thanks

 

Gwenael.

Reserved RAM vs actual used RAM

$
0
0

Having a brain freeze day. 

If I have no reservations set, and 5 VM's with 20GB RAM allocated each, I understand the 'minimum' points will be based on 5 x 10GB (50%). 

 

What if these VM's are all highly active and using all their allocated RAM?  Does the usage meter ignore that and still calculate based on the minimum 50% of allocation, or does it look and work out the actual active RAM being burned on the host at that time (again with no administrative reservation set)?


Vmware Usage meter

$
0
0

Hi All,

 

I need to get license report for my VCenter using Vmware usage meter. Please note I am using this tool only for 1 VCenter please help.

 

Also currently i am using free license for 60 days will this be a challenge ?

this error is displayed in the browser because your application is running in "development" or "test" mode

$
0
0

Hi.

 

After installing the Usage Meter I get the error message (see attachment).

 

Where can I set the system property run.mode=production?

 

Thanks, best regards

How do you replace the certificate in Usage Meter?

$
0
0

The customer want to replace the self signed certificate in the usage meter appliance with one of their own. Whats the process to do that?

Vcenter and Operations manager VM Reports are off -- Causing Concern for Customers

$
0
0

I have a customer running the latest release of operations manager and the latest release of Usage Meter. In the past the Vcenter VM report and the Operations Manager Report numbers matched. Since the upgrade of the two products the report numbers are off by a lot. I suspect that usage meter in pulling the wrong report in Operations manger. Can someone help with this issue? It may something that we want to look into. Who can I talk to about this possible bug?

Usage Meter 3.5 SOAPFaultException

$
0
0

Hi,

 

if i add some vCenter Server Applicances  (from VCSA 5.5 to 6.5) to my new usage meter 3.5 there seems to be everything ok - the vCenters are connected on Port 443 and i can browse the vCenter inventory under the Rules Tab, so the connection seems to be fine.

However, when the usage meter starts the hourly collection there is always an errror on the Monitoring Tab:

 

##

ERROR [Event Monitor $VCENTER_FQDN events.EventMonitor: javax.xml.ws.soap.SOAPFaultException: Die Aufgabe wurde von einem Benutzer

##

 

 

 

I also receive one Mail from the usage meter for each vCenter:

##

Usage Meter is unable to collect data from VC $VCENTER_FQDN. Please resolve the error as soon as possible otherwise usage meter will stopmetering it after 24 Hours if unresolved

##

 

 

As the connections seems ok, i have no idea what could cause this problem.

 

Thanks,

Jan

Viewing all 920 articles
Browse latest View live


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