I need to do some validation and updating at domain start-up and before all my JSTs are allowed to start.

My thought was to have the first JST to start obtain a lock and the others wait until it is done.

Since the Domain is running across multiple containers and machines I figure the only way to achieve the lock is via the Domain Manager.

Does the Domain Manager have a lock mechanism that I can use (API)?

If so, any hints or code on how to use it would be most welcome.

Any other suggestions on how to achieve my goal would also be welcome.

Sonic 8.5.1.