in RHEL 7.x, coordinate gcstartup in sysvinit with dbora in systemd
In RHEL 7.x, system pushes to use system D method instead of system V for booting service.
We have OMS and OMR (repository database) installed on same host.
The OMR is controlled by dbora.service through systemD during host booting. But the OMS/Agent are still controlled by /etc/init.d/gcstartup through system method.
Although Systemd is backward compatible with SysVinit scripts, I notice that they are not coordinate very well.
During the host shutdown, I noticed the DB shutdown before the OMS shutdown, hence the OEM database sessions were killed/crashed during shutdown.
Any recommendation to prevent this?