Configure Auto Startup

You configure auto startup to ensure that the Policy Server restarts automatically when the UNIX system is rebooted.
casso1283
You configure auto startup to ensure that the Policy Server restarts automatically when the UNIX system is rebooted.
Follow these steps.
  1. Modify the S98M script by replacing every instance of the string
    nete_ps_root
    with an explicit path to the
    SiteMinder
    installation directory.
    Example
    : /export/ca/siteminder
  2. Change the directory to the siteminder installation directory.
  3. Enter
    su
    and press ENTER
    .
    Do not use the suse command.
    You are prompted for a password.
  4. Enter the root password and press ENTER.
  5. Enter
    $ cp S98sm /etc/rc2.d
    and press ENTER.
    s98sm automatically calls the stop-all and start-all executables, which stop and start the Policy Server service when the UNIX system is rebooted.
Configure Auto Startup for RHEL 7
Perform the following steps only when configuring auto startup for RHEL 7.
Follow these steps:
  1. Create a service by creating a new file /etc/systemd/system/S98sm.service
  2. Add the following content in the file /etc/systemd/system/S98sm.service and replace 
    nete_ps_root
    with an explicit path to the
    SiteMinder
     installation directory.
    [Unit]
    Description=S98sm Service
    Requires=network.target
     
    [Service]
    Type=forking
    User=smuser
    ExecStart=-"nete_ps_root"/start-all 
    ExecStop=-"nete_ps_root"/stop-all
    Restart=on-abort
     
    [Install]
    WantedBy=multi-user.target
  3. Run the following commands to start the Policy Server as a service/daemon process:
    $systemctl daemon-reload
    $systemctl enable S98sm
    $systemctl start S98sm
To disable the service at boot, run the following command:
systemctl disable S98sm
Note: 
If you are using a local LDAP directory server as a policy store, you must configure the LDAP directory to start automatically before starting the Policy Server automatically.