Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Creating a Custom Job

Updated on 2024-11-20 GMT+08:00

The custom job creation and step compilation capabilities are provided.

Scenarios

Create a custom job on COC.

Precautions

Confirm and fill in the risk level of the operation according to the operation procedure.

Procedure

  1. Log in to COC.
  2. In the navigation pane on the left, choose Resource O&M > Automated O&M. In the Routine O&M area, click Jobs.

    Figure 1 Job Management page

  3. Click the Custom Jobs tab and click Create Job.

    Figure 2 Clicking Create Jobs

  4. Enter the basic job information. You can follow the steps in section Managing Tags to create a tag. After the required parameters are set, click Next.

    Figure 3 Entering basic job information

  5. Select a job template. If no proper template is available, click Customize, and click Next.

    Figure 4 Selecting a job template

  6. Orchestrate the job. Job orchestration includes global parameters and job steps.

    Figure 5 Orchestrating a job

  7. Click + Add Parameter to add global parameters. After setting the parameters, click OK.

    You can manually set the global parameters or obtain them from the parameter warehouse. If you click Custom, you need to enter the parameter name, preset value, and parameter description. If you click Parameter Warehouse, you need to select the region where the parameter is located, parameter name, and parameter association mode.
    Figure 6 Selecting Custom and adding global parameters
    Figure 7 Obtaining and adding Global parameters from the parameter warehouse
    Table 1 Parameter association modes

    Parameter Association Mode

    Description

    Use the current parameter value in all environments

    This parameter is used during job execution. The parameter value is that displayed in the parameter basic information when the parameter is added during job creation.

    Use the latest parameter value in the corresponding environment

    This parameter is used during job execution. The parameter value is the latest parameter value obtained from the parameter warehouse in real time.

  8. Click to add a new step.

    Figure 8 Adding a step

  9. Click the step name or to change the step name.

    Figure 9 Changing the step name

  10. If there are unnecessary steps, click to delete them.

    Figure 10 Deleting steps

  11. Click + Add Task to add a task for the step. After the task is added, click OK. After all tasks are added, click OK.

    Figure 11 Adding tasks

  12. Click + Operation Type to set the operation type of the current task. The operation type can be Cloud service API Task, Controls, or Custom Scripts.

    • Cloud service API Task: include ECS-related operation atoms, execution APIs, and Wait API. For details about ECS-related operations, see Batch Operations on ECSs.
    • Controls: includes review, pause, and sleep.
    • Custom Scripts: You can select Execute script or Execute Command. After a custom script is created, a custom atom record is automatically registered.
    Figure 12 Selecting an operation type

  13. Based on the selected operation type, specify basic information such as the name and operation description, parameters, and troubleshooting policy, and click OK.

    Figure 13 Configuring basic information
    Figure 14 Set input parameters.
    Figure 15 Set the troubleshooting policy.

  14. After the job orchestration is complete, set the risk level of the job based on the operation risks, set Reviewer Notification Mode, and click Submit.

    NOTE:
    • Manual Review is enabled by default for jobs whose risk level is High.
    • If you select Shift for Reviewer, the users in the current schedule are reviewers. If you select Individual, specify some users as reviewers.
    • Notification Mode specifies in which mode the reviewer will be notified of the review request.
    Figure 16 Advanced settings

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback