MnR installation on RHEL 9.x platform still insists on /etc/init.d directory which is deprecated on RHEL systems 9.x. It does not use systemd script causing the issue w.r.t auto restart of services post server reboot.
Resolution
As a workaround, please use the attached automated script for creating apg-services on the RHEL 9.x platform, specifically to resolve issues encountered during server reboots:
Place the attached script Binary_script_for_APG_SERVICES.sh in the /opt directory on the FrontEnd(FE)server.
Change the script's permissions using:
chmod u+x Binary_script_for_APG_SERVICES.sh
Run the script with the -i option and enter the password for the different M&R servers when prompted:
./Binary_script_for_APG_SERVICES.sh -i
Run the script again to create the services on all servers:
./Binary_script_for_APG_SERVICES.sh -i
Additional Information
The script Binary_script_for_APG_SERVICES.sh must be executed only from the M&R FrontEnd server in a distributed setup.
The script will automatically takeall M&R server hosts from /opt/APG/Custom/WebApps-Resources/Default/centralized-management/servers.xml
If any SSH connections fail after running the script, you need to run: