-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing parameter in saptune note without reverting note #53
Comments
Hi Frantisek, instead of using an override file for the sap note changes (which is the way to change SAP Note configurations, but means revert/apply to get the changes take effect), you can use a custom specific note in /etc/saptune/extra to define the new parameter-value pairs you need and then simply apply this custom note. The command 'saptune note create <your_note_name>' may help you by creating the custom note. And please take a look at the man page saptune_v2(8) and read the section 'VENDOR SUPPORT'. This may help you too. regards |
Hi Angela I know about extra notes we do use them for parameters that are not part of any original notes shipped with saptune. If I need to change parameter defined in extra note1, I will have to create new extra note2 put the parameter with new value there and then apply note2. I would say this is just a workaround, I see disadvantage with this approach:
I see this as possible candidate for new saptune feature request. In example, if I run 'saptune note apply ' for existing note and if there is non-compliant parameter (because it was changed in the configuration or because the parameter was changed out of the saptune i.e. by other os tool) it will set it to the correct value. Or it can be some new option for remediation of non-compliant parameters detected for saptune note. Best regards Frantisek |
Hi Frantisek, the current behavior that saptune is not (re)applying a note, if this note is currently applied, even if there are parameter value changes in the note definition file, is by intention. It was one of the main requests of many of our customers and partners for the rework in saptune version 2. They want to have the control, when the parameter changes take effect (during reboot or by a manual 'revert'/'apply' operation during a maintenance window, but not by accident when only typing 'saptune note apply' for an already applied note) So at the moment the only way to go is: change the note definition (your custom note or use an override file for your note), revert the already applied note and immediately apply the note again. But please feel free to file a feature request (by your SUSE contact) for an additional saptune 'note' operation that will help to solve your situation. So we can create an additional operation like 'saptune note reapply ' or may be better use a flag like '--force' for 'saptune note apply '. Regards |
Hi Angela, Thanks for your quick response, it is very appreciated! We would like to have such function to re-apply note which is currently activate without reverting it. As you suggested, we will request it via our HANA solution supplier / SUSE partner. Best regards Frantisek |
Hi @angelabriel , Line 37 in 9cf9161
Line 12 in 9cf9161
|
Or should I open a new issue because lockfile wasn't released/removed properly after
|
|
|
No. saptune is not starting things in the background. When saptune has finished the called 'operation' it is terminating with a return value indicating OK (0) or NOK (!=0) and it is removing the lock file.
yes, please. Or ask Ralph to do his magic 😄
yes of cause. Would only show 'what saptune can do' 😄
yes, possible. Do not hesitate to sent a feature request (can be informal) where we can discuss the details. We are happy to take it, but will need some time to go thru our internal processes. |
Hello,
I have a question about saptune v2 and what is the process for changing parameter managed by saptune without need for reverting particular saptune note.
Currently I see the only way how to do it is by:
1.) changing the parameter in saptune note configuration file
2.) reverting saptune note parameters by 'saptune note revert '
3.) re-applying saptune note parameters by 'saptune note apply '
but this will reset the parameters to a default values for a while (revert) and then set proper value (apply) and this may cause issues.
I know it can be changed out of saptune by:
1.) changing the parameter out of saptune (i.e. by sysctl =)
2.) changing the parameter in saptune note configuration file and that's it
but is it possible by saptune itself without reverting to the defaults first?
thanks
Frantisek
The text was updated successfully, but these errors were encountered: