Is there a powershell or simple method to fully deactivate sync projects programiically? Setting the dprshell.isFinalized value in the database isn't enough.

Is there a powershell or simple method to fully deactivate sync projects programiically?  Setting the dprshell.isFinalized value in the database isn't enough.  Thanks

OIM 9.1.1 (soon to be 9.2.1)

Parents Reply Children
  • Hello Markus,

    In my case just to have the ability to stop all the sync projects processing with one script.
    - for use in my OTA environments (stop everything when finished work on enviroment to prevent unnessarary provisioning/syncs to/from target systems)
    - during cloning or upgrading of evironments.
    - and maybe as an emergency stop in production.

    I know there are always other ways to accomplish this.
    But the [de-/activate] sync project button would  be a nice feature to have control over from commandline/vb.method without the need of touching other config settings.

    Regards,
    Niels

  • Hi Niels,

    thanks for your thoughts on the matter.

    Some quick answers about existing options:

    • There is the option to enable an offline mode for a target system connector. It has some challenging pre-requisites (one queue per synchronization root obj, etc.), but you can use the Launchpad to switch the synchronization off for a target system. https://docs.oneidentity.com/bundle/one-identity-manager_basics-of-target-system-synchronization_9.3/page/sources/dpr/dprofflinemodeaktivate.htm You can also set the property DPRRootObjConnectionInfo.IsOffline to suspend / resume this target system.
    • You can turn off the complete queue process by setting QBMServer.IsJobServiceDisabled which is an emergency stop for all job processing of an queue.
    • You globally turn off job processing by toggling DialogDatabase.IsJobServiceDisabled (this is what JobQueueInfo is doing for an emergency stop).