on 05-21-2015 6:13 PM
Hello Everyone,
I'm trying to find out if this is even possible and if anyone has a current solution in LVM?
I have a custom operation in LVM that will stop SAP and my DB instance then take a
DB backup. Is there a way to prompt for user input that will be
passed along to the operation. For example when I initiate my operation
I'd like to be prompted for Backup retention (30, 60, 90) days and
some type of related comment. These values then get passed along to the
operation to perform the backup and log the comment accordingly.
I thought that using a confirmation action and the parameter supplier
might be an option but I can't seem to put the pieces together. I tried to reference SAP Note: 1936615 parameter supplier dynamic values but it is not released for viewing.
Has anyone figured out a way to do this?
Also, I'm running LVM 2.1.2
I look forward to seeing what the community thinks?
Thank you,
Sean Nelson
Hello Sean,
this is possible via customer defined parameters.
You can find this in the provider implementation as an option.
You can define a variable e.g SID, a value for it is then asked when the custom operation is executed. The value can be passed to your skript via a definition in your xxx.conf file, e.g.
Name: echo
Description: Test
Command: /tmp/echo.sh $[PARAM-SID:#required]
Hope this helps.
Best Regards,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Andreas,
I poked around with this a bit and was able to get my desired results.
I ended up using dynamic values using a drop down list. and a custom string entry field.
Do you know if there's a way to implement these user selected values during the creation of a mass task? For example I create my mass task and it prompts me to input the required values ahead of time. These would then run against all instances in the task. Currently, this fails as it wants user input for these mandatory fields.
Thanks,
Sean Nelson
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.