Hi All,
We have a multi Tenant environment and recently migrated our all the servers(batch,invnetory,Db & Web) to new servers. After Migration we have upgraded the application to 2019R2(from 2019R1.3).
After upgrade, inventory import(also reconciliation) which happens overnight is not starting for any tenants. due to which the devices and its inventory information are not getting updated. Task scheduler jobs on the batch server is getting failed with error 0x2. tried checking on batchprocessor and scheduler logs with no luck.
i could see almost 2000+ queued jobs(mostly precalc) jobs listing when i enter the command batchprocesstask console lis-tasks (which is of old date).
Kindly suggest where to check and how to fix this issue.
Thank you in Advance.
Sasi
‎Feb 18, 2020 02:07 AM
Hi Sasi,
If you moved to a new server, have you checked the "BatchProcessor" table?
Best regards,
Markward
‎Feb 18, 2020 03:41 AM
Could it be that some old tasks "clog" your Batch Scheduler/Processor?
‎Feb 18, 2020 05:09 AM
Hi Sasi,
If you moved to a new server, have you checked the "BatchProcessor" table?
Best regards,
Markward
‎Feb 18, 2020 03:41 AM
Hi @mfranz ,
Yes we have updated server name on the batchprocessor table and the compliancesetting table. But still the issue persist.
Thank you
Sasi
‎Feb 18, 2020 05:05 AM
Could it be that some old tasks "clog" your Batch Scheduler/Processor?
‎Feb 18, 2020 05:09 AM
Hi @mfranz
is there any best practices to remove the queued jobs safely without impacting other data?
Thank you
Sasi
‎Feb 18, 2020 05:39 AM
Hi @sasikumar_r
Did you check if flexera services are running, usually when the batchprocessor service is stopped then you will have the queue full.
‎Feb 18, 2020 06:14 AM
According to documentatino:
See page 305
Killing or Failing Tasks
‎Feb 18, 2020 06:19 AM
Hi @mfranz,
Yes the old task is the culprit, failed them using fail-tasks command and now the new jobs are getting processed successfully.
@adrian_ritz1 - Thank you for the document, it is very helpful.
also as i mentioned on my original posts the jobs on the task scheduler are getting failed still now with error 0x2.. configured account has full admin privilege on the server. attached is the screenshot.
Thank you
Sasi
‎Feb 19, 2020 07:00 AM
Hi Sasi,
Does the "History" tab hold any details about the error?
Best regards,
Markward
‎Feb 19, 2020 07:05 AM
Hi @mfranz,
No errors logged on the history of the tasks, just have task started,action started,action completed & task completed entries.
Thank you
Sasi
‎Feb 19, 2020 08:29 AM
Hi Sasi,
Can you run one of the actions from these tasks manually from the console?
Best regards,
Markward
‎Feb 19, 2020 08:48 AM