Help Center/
Application Operations Management/
FAQs (2.0)/
O&M Management (Retiring)/
Can I Specify Script Parameters and Hosts During Job Execution?
Updated on 2024-04-11 GMT+08:00
Can I Specify Script Parameters and Hosts During Job Execution?
Yes. You can set global parameters and reference them in job steps.
Procedure
- Log in to the AOM 2.0 console. In the navigation pane, choose Automation (Retiring).
- In the navigation pane, choose Jobs and click Create Job in the upper right corner.
- On the displayed page, click Add Global Parameter, add param1 whose parameter type is String and param2 whose parameter type is Host, and save the settings.
- Add a job step. For Script Parameters, use ${param1} to reference the string parameter. For Target Instances, select Global Parameter and then select param2 from the drop-down list. Next, save the settings.
- When executing a job plan, specify param1 and param2 (instances to be executed) as required.
Parent topic: O&M Management (Retiring)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot