VMware Cloud Community
danmoe
Contributor
Contributor

Embedded data collector down (Chargeback 2.5.1)

Hi,

recently the System Health tab show that DataCollector-Embedded (Host: XYZ) is down. Strangely the issue occours since a few weeks.

This resolution (VMware KB: vCenter Chargeback Manager 2.5 Patch 01 ) doesn't work so I've setup a clean reinstallation of vCenter Chargeback Manager v2.5.1 (before and without patch: 2.5.0).

After the reinstallation the status of the data collector shows "UP". YEAHHH!!

But... a few minutes later the status is "DOWN" again.

I've no idea what i can do to solve this problem. Anyone an idea?

Regards

11 Replies
danmoe
Contributor
Contributor

ps. vCenter Server 5.0.0 build 455965

Reply
0 Kudos
abhilashhb
VMware Employee
VMware Employee

Can you upload the logs from C:\Program Files (x86)\VMware\VMware vCenter Chargeback\DataCollector-Embedded\logs??

You can zip them and attach it to your reply.

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

abhilashhb
VMware Employee
VMware Employee

This is the issue thats causing the collector to fail.

Login failed for user 'cbkmgmt'.  Reason: The password of the account has expired.

Please update/change the password and add also change the password in Settings---->vcenter servers----Edit and update the password.

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

danmoe
Contributor
Contributor

Thanks a lot!!

I've set the pwd to never expire for the user "cbkmgmt".

But "cbkmgmt" is the Chargeback database, and not the vCenter database user.

With the vCenter Chargeback Manager Tools --> "Update vCenter Chargeback Manager Database Credentials" I've renewed the pwd for "cbkmgmt".

The data collector is still down Smiley Sad (after disabling and enabling the data collector in the setting tab)

I think there is another problem or maybe a problem with the chargeback database?

Reply
0 Kudos
abhilashhb
VMware Employee
VMware Employee

It also says that it could not complete the transaction to vcnter database. Check the credentials again and try.

Abhilash B
LinkedIn : https://www.linkedin.com/in/abhilashhb/

dmanconi
Enthusiast
Enthusiast

Hi

Also check the VPXV_HIST_STAT_DAILY, VPXV_HIST_STAT_WEEKLY, VPXV_HIST_STAT_MONTHLY and VPXV_HIST_STAT_YEARLY views and ensure the permissions for your chargeback user has SELECT rights. I had a similar issue around the Embedded DataCollector not connecting and this was my issue.

Cheers

David

Reply
0 Kudos
danmoe
Contributor
Contributor

Hi guys!

Now, a month later, I've a similar issue 😕

One of the two vCenter server show storage synchronization job 'failed'. The status of the DC changes constantly from up to down.

Maybe the attached DC log file can yield to information for resolving the problem. I'm not able to detect the problem.

Btw the reason for such recurring problems are owned by multiple devisions which are working and configuring on the vCenter environment, but that's another issue (Chargeback would become relevant at the end of Q1 2014).

regards

Daniel

Reply
0 Kudos
echostorcm
Contributor
Contributor

Check Profile Driven Storage service on your vCenter server and the account and change it to run as the same user as vCenter.  If you are getting errors when viewing the Storage views page on vCenter then this is probably the problem.

Reply
0 Kudos
varmabt
Contributor
Contributor

Im having the same issue from last night. I was not able to find any resolution. Can yo please check the logs and tell me the resolution please.

Reply
0 Kudos
Lakshmi325
Enthusiast
Enthusiast

Hi,

I checked the logs and i can see storage sync job is failing because of transport error. This could happen because of the following things.

 

  1. On the machine on which vCenter Server is installed, check whether the VirtualCenter Management Webservices service is
    started and running. If you are using vCenter Server 5.0, then check whether the VMware vSphere Profile-Driven Storage service is started and running.
  2. In vSphere Client, check whether the storage details are listed for the vCenter Server on the Storage Views tab. In 'VM
    Storage Profiles' tab, click on 'Manage Storage Capabilities' and you will see list of storage capabilities.
  3. Ensure that the Storage views.View and Profile-driven storage.Profile-driven storage view permissions are assigned on
    the root folder of the vCenter Server to the vCenter Server user, whose details are provided when adding the vCenter Server to vCenter Chargeback Manager.

Thanks

Lakshmi

varmabt
Contributor
Contributor

Hi Lakshmi,

Sorry for my delayed replay, Thanks a lot for your replay. It helped me in solving the issue. In my case it was VMware vSphere Profile-Driven Storage service, it was stopped somehow. when I start the service then data collecter error was resolved.

Reply
0 Kudos