Release Automation

 View Only

Red Hat EL 7.2 - how to configure RA daemon to start automatically after reboot 

May 03, 2016 08:13 AM

Starting from RHEL v7.2  service configuration changed and as a result RA services (Server and Agent) will not start automatically after server reboot.

Currently  V6.1 doesn't support RHEL v7.2 but in case you need to run CA RA on this platform you can configure RA daemon using the following steps:

 

  1. Complete CA RA installation , it will create  symbolic links for RA services under /etc/init.d
  2. Create new file in /etc/systemd/system and name it SERVICE_NAME.service , e.g for RA server you can call it NolioASAP.service 
  3. Edit the file with the following content
    [Unit]
    Description="Setup CARA as boot Service"
    [Service]
    Type=forking
    ExecStart=/etc/init.d/NolioASAP start
    ExecStop=/etc/init.d/NolioASAP  stop
    [Install]
    WantedBy=multi-user.target
  4. Enable the new service by running systemctl enable NolioASAP
  5. Next time the server will reboot the service will start automatically , you can check the service status by running systemctl status NolioASAP , and start/stop the service by running  systemctl start NolioASAP and systemctl stop NolioASAP

 

Troubleshooting

  1. RA agent start and stop immediately:
    When checking the agent status you see that its start and immediately execute the stop command

    If this happen update agent service file (e.g NolioAGENT.service , locate in /ets/systemd/system) and add the following line RemainAfterExit=yes

    Reload the configuration by running systemctl daemon-reload
    Start the service and check the status , make sure its stay running


Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Jul 12, 2017 05:29 AM

Hello,

 Please find document location for 6.3

 

Regards,

Saurabh

Jul 12, 2017 05:24 AM

Its recently upgraded to 6.3

Will check out the options mentioned in document.

Jul 12, 2017 05:13 AM

Hello,

 I am not sure about your RA Version. Did you checked this document and information.

 

Install for a Distributed Environment - CA Release Automation - 6.2 - CA Technologies Documentation 

 

Configure the Service to Restart

 

Regards,

Saurabh

Jul 12, 2017 04:22 AM

Hi Jacky_Mahadab,

 

How to make this RA service to run as different user during reboot.

 

Thanks

Paneendra

Sep 27, 2016 05:33 PM

This also seems to apply to RHEL 7.1 too. Neither agent versions 6.0 or 6.1 have restarted for us automatically on that platform.

May 03, 2016 08:22 AM

I think so

May 03, 2016 08:20 AM

Great Jacky_Mahadab, could be the same also for watch-dog services? 

Related Entries and Links

No Related Resource entered.