Druva allows administrators to configure Oracle Enterprise Manager (OEM) with Phoenix Backup Store to back up databases on the Oracle RMAN Database hosts.
You can create a job on the Oracle Enterprise Management Cloud Control console and configure the job to execute template scripts from the bash location to back up databases on the hosts. The Oracle Enterprise Manager then executes the backup job based on the job configurations and the schedule.
The configuration of the OEM with the Phoenix Backup Store enables the following:
- Schedule and manage backups on the Oracle RMAN Database hosts in your data center and in the AWS Cloud using the OEM
- Simplify the script management process during backups
- Enable plugging of your own RMAN blocks inside the scripts to back up databases
- Modify the scripts to run your backup jobs based on your requirements
Before you begin
Ensure that you deploy and configure Phoenix Backup Store on the Oracle RMAN Database host configured with RMAN. For instructions to configure Phoenix Backup Store with Oracle RMAN Database host, see Configure the Phoenix Backup Store and RMAN hosts to backup databases.
- Log in to the Oracle Enterprise Management Cloud Control console using the SYSMAN account.
- Install the OEM Agent on the Oracle RMAN Database host through the OEM console. To install the OEM Agent, refer to the Install an Agent on a Target Host section of the Oracle Base documentation.
- Ensure that the OEM Agent is successfully running on the Oracle RMAN Database host and the status shows as Up in the Enterprise Summary page on the OEM console.
- On the landing page, navigate to Enterprise > Job > Library.
- On the Job Library page, select the OS Command option from the Create Library Job drop-down list, and click Go. The OS Command option allows you to run a script as part of the backup job.
- On the Job page, the General tab appears by default. Provide a name and description for the job, and select the target type as Host.
- In the Target section, click Add to add the target host and select the host to run the backup scripts on.
The target host now appears in the Target table section.
- In the Parameters tab, select the Script option from the Command Type drop-down list to run the OS script. In the OS Script box, copy the content of the OEM Template script, oracle_oem_full_backup.txt, file.
You must update the values of the following variables: ORACLE_SID, ORACLE_BASE, ORACLE_HOME, BACKUP_STORE_IP, and BACKUP_MOUNT.
In the Interpreter box, enter the bash location to process the script, for example, /bin/bash.
- In the Credentials tab, provide the Oracle user’s credentials that the Oracle Management Service can use to run the OS Command job on the Oracle RMAN Database host. You can either use the existing credentials or define new credentials for the Oracle user.
- In the Schedule tab, select the appropriate schedule to run your backup job.
- In the Access tab, add and remove the administrator roles who can access the backup job. You can manage the access level of the roles. You can assign the roles with an access level of View or Full.
- On the top-right corner of the Job page, click Save to Library to save the settings configured for the OS Command job.
- Click Submit.
- In the Target section, select the Oracle RMAN Database host where you want to run the job from the host list.
- Click Submit.