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

Document ID : KB000111617
Last Modified Date : 20/08/2018
Show Technical Document Details
We would like to set auto-start AUTOMIC agent when system was reboot on OS AIX 7.1?
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"