Symantec Access Management

  • 1.  Start and Stop Script for WAM UI

    Posted Nov 16, 2017 09:05 AM

    Team,

     

    We recently Upgraded our CA SSO Infrastructure from 12.5 to 12.7. We are looking for Start up and Stop Scripts for WAM UI , something similar to the S98SM scripts for RHEL 7.X. Since in RHEL 7.x we need to use Systemctl and service to write the start up and stop script and not the rc2.d way, it is failing.

     

    We wanted something like:

     

    https://support.ca.com/us/knowledge-base-articles.TEC1171385.html

    https://docops.ca.com/ca-single-sign-on/12-6-01/en/installing/install-a-policy-server/install-policy-server-on-unix/configure-auto-startup 

     

    We tried:

     

    #!/bin/sh - (Optional depending on shell used)
    [Unit]

     

    Description=This Script is used to Start and Stop the Siteminder Policy Server.
    Requires=network.target
    [Service]
    Type=forking
    User=smuser
    ExecStart=/opt/Siteminder/siteminder/adminui/bin/standalone.sh &
    ExecStop=/opt/Siteminder/siteminder/adminui/bin/jboss-cli.sh -c --command=:shutdown  &
    Restart=on-abort
    SuccessExitStatus=0 1
    [Install]
    WantedBy=multi-user.target

     

    And then we removed the ExecStop:

     

    #!/bin/sh - (Optional depending on shell used)
    [Unit]

     

    Description=This Script is used to Start and Stop the Siteminder Policy Server.
    Requires=network.target
    [Service]
    Type=forking
    User=smuser
    ExecStart=/opt/Siteminder/siteminder/adminui/bin/standalone.sh &
    Restart=on-abort
    SuccessExitStatus=0 1
    [Install]
    WantedBy=multi-user.target

     

    The error we are getting is:

     

    Job for S98WAMUI.service failed because the control process exited with error code. See "systemctl status S98WAMUI.service" and "journalctl -xe" for details.

    systemctl -l status S98WAMUI

    ● S98WAMUI.service - S98sm Service

       Loaded: loaded (/etc/systemd/system/S98WAMUI.service; enabled; vendor preset: disabled)

       Active: failed (Result: exit-code) since Tue 2017-11-14 14:22:42 EST; 14s ago

      Process: 31077 ExecStart=/opt/Siteminder/siteminder/adminui/bin/standalone.sh & (code=exited, status=1/FAILURE)

     

    standalone.sh[31077]: to use (default is "standalone.xml")

    standalone.sh[31077]: (Same as -c)

    standalone.sh[31077]: -u <value>, -u=<value>              Set system property

    standalone.sh[31077]: jboss.default.multicast.address to the

    standalone.sh[31077]: given value

    standalone.sh[31077]: -v, -V, --version                   Print version and exit

    systemd[1]: S98WAMUI.service: control process exited, code=exited status=1

    systemd[1]: Failed to start S98sm Service.

    systemd[1]: Unit S98WAMUI.service entered failed state.

    systemd[1]: S98WAMUI.service failed.



  • 2.  Re: Start and Stop Script for WAM UI
    Best Answer

    Posted Nov 16, 2017 09:33 AM

    I could see an enhancement has raised with Product Management but it is marked as " Not Planned" .

    https://communities.ca.com/ideas/235726349-enhancement-request-automatic-startup-of-siteminder-adminui-for-unix

     

    Thanks,
    Sharan



  • 3.  Re: Start and Stop Script for WAM UI

    Posted Nov 16, 2017 09:40 AM

    Hello,

     

    Thanks a lot for the reply, I think for RHEL 7.x CA Should provide something, as it is not possible to restart manually every time the server is rebooted. Please do let me know, If I need to close this discussion or should I keep it open.

     

    Thanks,

    Avinash