Manage jobs
You may have different requirements for running jobs based on the database role. To meet these requirements, first create separate primary and standby groups and then apply the respective job to the applicable primary or standby group.
Example: Let's say you have a policy to execute a certain SQL statement against your primary database.
- Create separate Administration Groups or Dynamic Groups for your primary and standby databases (see Create groups for your Primary and Standby databases).
- Next, select the RMAN Script job and apply it on the Primary Group that was created
The SQL statement will then only be executed on all primary databases who are members of the group.
For more details on creating jobs, see Utilizing the Job System and Corrective Actions.