Mass PAM process suspend and reset

I'm looking to suspend mass list of PAM processes (PAM 4.1 SP01) followed by reset then resume all processes back again using a SQL query on PAM RT database tables. If someone had any luck with this process then please let me know the list of related tables along with key columns that are needed to achieve the above.

Basically, we are moving PAM Orchestrator and Databases to a new hardware and currently all in-flight processes are stuck after this migration. The workaround was to manually suspend then followed by reset and resume the in-flight process to get it to work.