update the usage_event table with VM.DESTROY event for this vm. I would say create a vm, destroy it and observer the entries in usage_event table. create a similar entry for the manually destroyed vm.
~Rajani On Tue, Aug 18, 2015 at 12:12 AM, raja sekhar <rajsekhar....@gmail.com> wrote: > Hi All, > > The usage records are still generating even if the vm is removed from > cloudstack. > The actual scenario is: > The xenserver host went to alert state and the vms in it are not > accessible. > we have removed the vms from backend by updating vm_instance,volume table. > can any one help me what is the exact table to update? > i am using cloudstack 4.2 > > waiting for your valuable suggestions. > > > regards, > rajasekhar. >