[AWA] Script to auto start service and agent when AIX system reboot

book

Article ID: 111617

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction



We would like to set auto-start AUTOMIC agent when system was reboot on OS AIX 7.x?

Environment

Release: 12.x
Component: Service Manager

 

Resolution

These are 4 steps to perform auto-start script on AIX OS:

1. vi /etc/inittab last line follow and save:
user:2:wait:/opt/automic/ServiceManager/unix/aix/bin/SrAutomic > /dev/console 2>&1 #Startup AgentAutomic

2. vi /opt/automic/ServiceManager/unix/aix/bin/SrAutomic follow and save:
nohup /opt/automic/ServiceManager/unix/aix/bin/arastart.sh

3. vi /opt/automic/ServiceManager/unix/aix/bin/arastart.sh follow and save:
cd /opt/automic/ServiceManager/unix/aix/bin
sudo -u user /opt/automic/ServiceManager/unix/aix/bin/ucybsmgr -i/opt/automic/ServiceManager/unix/aix/bin/ucybsmgr.ini AUTOMIC &

4. Change permission files.
cd /opt/automic/ServiceManager/unix/aix/bin
"chmod 755 SrAutomic arastart.sh"