on 11-23-2015 9:06 PM
Hi Experts,
Need you opinion about the possibility of getting confirmation prompt when stopping the sap system using STOPSAP in Production environment.
In our environment we are having Linux os sap systems,sometimes during non prd maintenance activity unfortunately we run stopsap command in PRD and it is executing and shutting down the system.Hence P1 incidents.
Please let me know is there any possibility of getting confirmation messages when stopping the system.
Like Yes/No option when STOPSAP command execute.
Waiting for your help.
Regards
Zameer Ahamad
Hello Zameer,
As pointed out modifying the delivered stopsap script is not the way to go.
I think the solution provided by Juan probably falls under "Remote Consulting"
In order to get awareness you could:
1. insert the "banner" command in the .profile of <sid>adm.
eg: banner Warning ... This is Production ...
2. You could change the shell prompt of the PRD user so that it has a visually different background/foreground colour.
3. You could create a wrapper script that calls stopsap. In that wrapper script you could code your Y/N .... easy enough to do. We use wrapper scripts into which we put variety of checking and logic and that wrapper script calls the standard stopsap.
Just trying to provide a different way of trying to address your problem.
KR,
Amerjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amerjit,
Thanks for your suggestions.Could you please brief about wrapper script or provide any links or documents which are helpful to implement this in sap start and stop.I am hearing the term wrapper for the first time and hence eager to know. Started to google about wrapper.
@Isaias Freitas/Juan Reyes,
Good Idea.
Regards
Zameer Ahamad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Zameer,
All versions of the stopsap script delivered by SAP do not have such confirmation option.
You could modify the script yourself, but this would not be a supported procedure and the script will most likely be overwritten every time you update the kernel.
Thus, you would have to modify the script at each kernel update (restoring a backup from the script after applying a new kernel is not recommended, as the new kernel might deliver a new version of the script as well).
Regards,
Isaías
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.