In the past, I've created a start-up script which calls run.sh. I use chkconfig to create symbolic links for each run level for init.d. The WAM UI should auto start on reboot. And you can use the new script to start the WAM UI without worrying about ending your session.
This was done on an older version of SiteMinder with RHEL 5.5 I think. But the same principle should work.
Details below.
Pearse
========================================================
Su to root. Go to /etc/rc.d/init.d and create a new file called smwamui.
Add the following text to the file (note, you may need to change the numbers in the "chkconfig" section on line 2)
#!/bin/sh
# chkconfig: 345 99 15
# Description: SiteMinder Administrative UI
#
start(){
echo "Starting SiteMinder WAM UI (jboss).."
runuser - smuser -c '/opt/CA/siteminder/adminui/bin/run.sh > /dev/null 2> /dev/null &'
}
stop(){
echo "Stopping SiteMinder WAM UI (jboss).."
runuser - smuser -c '/opt/CA/siteminder/adminui/bin/shutdown.sh > /dev/null 2> /dev/null & '
}
case "$1" in
start)
start
;;
stop)
stop
;;
*)
echo "Usage: smwamui {start|stop}"
exit 1
esac
exit 0
Make the file executable by all
chmod 755 /etc/rc.d/init.d/smwamui
Now run the following command to create the symbolic links for each run level
chkconfig --add smwamui
You can now shutdown the WAM UI if it is running
Ensure that you are logged in as smuser before shutting down the WAM UI.
Now run the following command
/opt/CA/siteminder/adminui/bin/shutdown.sh
Now su to root
To start the WAM UI, and keep it running after logout, run the following command
/etc/rc3.d/S99smwamui start
To stop the WAM UI at any time, run the following command (while logged in as root)
/etc/rc3.d/S99smwamui stop