Executing a Custom Job
Execute recorded custom jobs.
Scenarios
Execute a custom job on Cloud Operations Center.
Precautions
Before executing a job, ensure that you have the resource permissions of target instances.
Procedure
- Log in to COC.
- In the navigation pane on the left, choose Automated O&M and click Jobs.
Figure 1 Job Management page
- Select Custom Jobs, select the job to be executed, and click Execute.
Figure 2 Selecting the job to be executed
- Select a job version number and check whether the job steps meet the expectation.
Figure 3 Checking the job steps
- Enter basic execution information, including the execution description and tag. You can create tags by following the instructions provided in Tag Management.
Figure 4 Entering basic execution information
- Select the execution mode of the job on the target instance. The options are Consistent for all steps and Unique for each step.
Table 1 Target instance mode description Target Instance Mode
Description
Consistent for all steps
All steps in this job are performed on the target instance in sequence.
Unique for each step
Customized configuration. You can configure that the specified step is executed only on the specified target instance.
Figure 5 Selecting Consistent for all stepsFigure 6 Selecting Unique for each step - Click Add Instances. In the displayed dialog box, select the target region, search for the target instances by name or UniAgent status and select them, click OK.
Figure 7 Selecting the target instance
- Select a batch policy.
- Automatic: The selected instances are divided into multiple batches based on the default rule.
- Manual: You can manually divide instances into multiple batches as needed.
- No batch: All target instances are in the same batch.
Figure 8 Selecting a batch policy - Click Submit to execute the custom job. The Job Ticket Details page is displayed. View the execution status of jobs and each batch on the details page.
Click Forcibly End to forcibly end all tasks of the current job.
Click Terminate All to end the execution tasks of all batches in the current step.Figure 9 Job ticket details
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot