Skip to Content

Check long running user provisioning task progress

Hi IdM friends,

I launched a job to assign business roles to users with context enabled provileges. The task itself completed successfully but the user provisioning has been lasted more than 24 hours. I want to understand when the user provsioning tasks can be completed? Is there a way to check?

I used to check the table mxp_provision to get a rough idea how many pending tasks are left. But this one is not accruate any more. There are less than 100 entries in the table but I can tell it keeps refreshing and there are always new tasks added to the table.

Any help will be appreciated.

Thanks

Chenyang Xiong

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Oct 17, 2019 at 08:25 AM

    Hello Chenyang Xiong,

    24 hours and it's still going? Sounds like there is a loop somewhere.

    .

    On the admin UI (http://.../idm/admin) you can use the "Monitoring" tab. In the dropdown you have the provisioning queue and the provisioning audit. I'd check for a identity in the audit, if it keeps popping up there. Then they might be looping (doing the assigning and provisioning over and over again).

    And in the provisioning queue you can see, how many entries for which tasks are still going.

    .

    If you don't have access to the admin UI yet, your portal user needs the portal UME role "idm.monitoring" with the UME action "tc~idm~jmx~ump.idm_monitoring_administration".

    .

    Regards,

    Steffi.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 23, 2019 at 09:01 AM

    Hi Steffi,

    Thanks for your help. I doubled the CPU number in half way and the user provisioning finally finished after 60 hours.

    I did monitor the provision queue and there aren't many tasks (5-6 tasks maybe) there. The queue is freshed also fairly quickly.

    It seems the IdM engine didn't load all the tasks in the queue. The business role assignment to a user may take a few hours to expand its role structure, and wait another few hours to provision. I understand there might be complexity, but I need to know how to check the provisioning progress.

    Thanks,

    Chenyang

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2019 at 04:45 AM

    Hi Artem,

    It sounds a good option. But I guess you won't see the entries in the mxi_link or idmv_link_ext table, before the role structure are explanded, right?

    Add a comment
    10|10000 characters needed characters exceeded

    • Yes, method that I proposed is far from perfect. As you mentioned all structure of role will not be there, but the role itself will be with state 1, so you can count it as a whole.

      Also this method is not ideal because if some of your systems are not available and provision finished with error that link will stay in state 1, which will mess any further calculations. But we couldn't find any better options for years.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.