11 Replies Latest reply on Feb 24, 2014 12:48 AM by varmabt

    Embedded data collector down (Chargeback 2.5.1)

    danmoe Novice

      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

        • 1. Re: Embedded data collector down (Chargeback 2.5.1)
          danmoe Novice

          ps. vCenter Server 5.0.0 build 455965

          • 2. Re: Embedded data collector down (Chargeback 2.5.1)
            Abhilashhb Virtuoso
            vExpertVMware Employees

            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.

            ------------------------------------------------------------------------------------------------------------------------------------
            If you find this or any other answer useful please mark the answer as correct or helpful.
            Abhilash HB
            | Blog : http://vpirate.in | Twitter : @abhilashhb |

            • 3. Re: Embedded data collector down (Chargeback 2.5.1)
              Abhilashhb Virtuoso
              VMware EmployeesvExpert

              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.

              ------------------------------------------------------------------------------------------------------------------------------------
              If you find this or any other answer useful please mark the answer as correct or helpful.
              Abhilash HB
              | Blog : http://vpirate.in | Twitter : @abhilashhb |

              1 person found this helpful
              • 4. Re: Embedded data collector down (Chargeback 2.5.1)
                danmoe Novice

                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 (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?

                • 5. Re: Embedded data collector down (Chargeback 2.5.1)
                  Abhilashhb Virtuoso
                  VMware EmployeesvExpert

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

                  ------------------------------------------------------------------------------------------------------------------------------------
                  If you find this or any other answer useful please mark the answer as correct or helpful.
                  Abhilash HB
                  | Blog : http://vpirate.in | Twitter : @abhilashhb |

                  1 person found this helpful
                  • 6. Re: Embedded data collector down (Chargeback 2.5.1)
                    dmanconi Hot Shot
                    vExpert

                    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

                     

                    • 7. Re: Embedded data collector down (Chargeback 2.5.1)
                      danmoe Novice

                      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

                      • 8. Re: Embedded data collector down (Chargeback 2.5.1)
                        echostorcm Lurker

                        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.

                        • 9. Re: Embedded data collector down (Chargeback 2.5.1)
                          varmabt Lurker

                          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.

                          • 10. Re: Embedded data collector down (Chargeback 2.5.1)
                            Lakshmi325 Novice
                            VMware Employees

                            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

                            • 11. Re: Embedded data collector down (Chargeback 2.5.1)
                              varmabt Lurker

                              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.