Our current version of PS is r12.52 SP1 running on RHEL 6. For SiteMinder policy server auto-start on server reboot, we simply created a file "siteminder" in: /etc/init.d/
Below is the content of this file:
# this script starts and stops the siteminder policy server
# at boot time
case "$1" in
su - smuser -c /usr/pservices/ca/siteminder/start-all &
su - smuser -c /usr/pservices/ca/siteminder/stop-all &
rm -f /var/lock/subsys/siteminder
For the new r12.8.02 running on RHEL 7, I came across this document from CA which instructs us to setup the policy server auto-start using service daemon: https://docops.ca.com/ca-single-sign-on/12-8/en/installing/install-a-policy-server/install-policy-server-on-unix/configure-auto-startup
Configure Auto Startup for RHEL 7
Perform the following steps only when configuring auto startup for RHEL 7.
Follow these steps:
- Create a service by creating a new file /etc/systemd/system/S98sm.service
Add the following content in the file /etc/systemd/system/S98sm.service and replace nete_ps_root with an explicit path to the CA Single Sign-on installation directory.
- Run the following commands to start the Policy Server as a service/daemon process:
$systemctl enable S98sm
$systemctl start S98sm
My question here is, could I still implement the policy server auto-start for the r12.8 on RHEL 7 the same way as I currently do for our r12.52 on RHEL 6 or do I really need to follow the instruction from the CA doc that is specifically for r12.8 on RHEL 7 for proper policy server auto-start on server reboot?