Hi All
I know recent task is vCenters property and i also know how we can increase that limit by following way
5.6.2 Task Lifetime
Once a task is complete in vCenter Server, the task shows up in the recent tasks pane for a default lifetime of 10 minutes after which tasks can be found in the Tasks & Events tab. The task list is capped at 200 tasks in order to allow for better scalability. These default values work well. However, you can reduce the task lifetime by adding the following tag to the vpxd.cfg file.
<task>
<completedLifetime>600
<completedLifetime>
</task>
Indicate the value of completedLifetime in seconds. You can also change the length of the task history list in the vpxd.cfg file:
<task>
<completedMaxEntries>200</completedMaxEntries>
</task>
The vpxd.cfg file is located at : <Program Data Folder>\VMware\VMware VirtualCenter
I don't wanna mess-up with my vcenter server so my question is
"Is there any way to get a task info after it gets removed from Recent Tasks in vCenter Server??"
Here is my scenario-
1. i have number of task IDs. which is generated by relocateVM_task(); and stored in a hash table.
2. i have to perform more action based on result of task (Success/Error)
3. but few of those task IDs are not able to get info as they are not in vcenters recent task list.. // (the command i am using is) --> (Get-view -id $taskID[$i]).info // which works fine until task is in recent task list..
4. we keep our tasks and events for 6 months and they are stored in vcenter database..
can we have a DB query integrated if yes..
please let me know the DB Connection; DB query and task selection.