How To
Summary
How to autostart DSM application?
Environment
Steps
In general,DSM does not start automatically on DSM level,but you can set the script start.sh to start automatically on the Linux level.
Assume the startup.sh file path is /root/dsm/ibm-datasrvrmgr/bin/startup.sh
1) Create a file 'startDSM.sh' in path '/etc/init.d/', the content of 'startDSM.sh' file is:
echo 'Starting DSM ...'
/root/dsm/ibm-datasrvrmgr/bin/startup.sh
2) Run the follow command for 'startDSM.sh' file to make it executable:
chmod +x /etc/init.d/startDSM.sh
3) Open '/etc/rc.d/rc.local' file, and append the '/etc/init.d/startDSM.sh' statement into the content, likes:
#!/bin/bash
...
touch /var/lock/subsys/local
/etc/init.d/startDSM.sh
4) Run 'chmod +x /etc/rc.d/rc.local' to ensure that this script will be executed during boot.
chmod +x /etc/rc.d/rc.local
5) Reboot the Redhat 7 operating system, wait a few minutes to make sure the start DSM shell end of run.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
30 December 2019
UID
ibm11165474