on 03-27-2013 3:27 PM
Hello friends,
A little help is required. I would like to place a procedure/script to start/stop SAP sync with server startup/shutdown for planned or unplanned outage, so that SAP will shut down and startup cleanly with the script guidance.
I have distributed environment, CI and db on seperate server, based on RHEL6.3
Infact i have created script in ms word for both the servers, but don't know how to install it in linux at run level 3. Any one of you please help me or guide me to install it perfectly so that when next bootup, my system i mean SAP system come up gently.
Looking your response quite urgently.
Thanks - vicks
Hi Vikas,
In your case, write your script, store it in /etc/init.d/, then create a symlink in each of /etc/rc0.d and /etc/rc6.d (if you want both) pointing to your script.
Typically the script itself is stored in /etc/init.d, and then symlinks are placed in the directories corresponding to the runlevels you require.
Additionally refer this linkhttp://www.softpanorama.org/Commercial_linuxes/Startup_and_shutdown/creating_your_own_init_scripts.s...
Hope this helps.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.