Create a script that automatically starts or shuts down SAP ASE or Backup Server when the operating system starts or shuts down.
Make sure all network resources are available. Your server does not start if the network is not running. Be sure the entry for restarting the server follows any commands in the rc directory for starting network operations. Slow start-up of network operations may prevent servers from starting, even if commands are in the correct order in the rc directory.
You may want to designate a period of time for your server to wait before starting by inserting a sleep command at the beginning of the linked RUN_server_name file you created.
For Linux:
You can perform an ls command on the rc directory to view existing sequence numbers. For example:
ls /etc rc5.d/S*
returns:
/etc/rc5.d/S12syslog /etc/rc5.d/S14nfslock /etc/rc5.d/S27ypbind
and so on. If your script is named sybstart, enter:
ln -s /etc/init.d/sybstart /etc/rc5.d/S99sybstart
In this example, you can use any number greater than 27 in place of 99.