Werk #15286: mk_oracle.ps1: fix async execution with multiple SIDs

Component Agent bakery
Title mk_oracle.ps1: fix async execution with multiple SIDs
Date May 31, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

On systems with multiple SIDs, only the first database async job was started, when the second database gets to the async code, it realizes that the PID from the async proc is still running and didn't start a new process.

We now create one proc file per SID so one async porcess will be started for each SID.

To the list of all Werks