Install jobs with CCC


Prerequisites

Before installing jobs through CCC you need to go through the steps described in
Setting up a CCC node

Overview

The `jobs.script` is used to install or uninstall a specific job on a database instance managed by dbWatch Control Center. The script uses a query to identify the instance and performs the job operation accordingly.

Required Inputs

The script accepts the following parameters:

Example Command

./ccc.sh jobs.script accesspoint=localhost:7100 domainName=mydomain.local node=ccc01 instanceName=prod-db01 job=oracle_instance_overview mode=install

This will install the job named `oracle_instance_overview` on the instance `prod-db01`.

Example Output

If successful, the script will produce output similar to the following:

Joining domain mydomain.local
Connected to domain controller...
Executing job command...
Job oracle_instance_overview installed on instance prod-db01

Notes

Related