Before you can back up or restore Oracle databases, you must use the Remote Agent Utility to do the following:
Whenever Oracle instance information changes, you must update the Remote Agent Utility. If credential information is not updated or is incorrect, the error "Unable to attach to a resource..." may appear when you run a backup job.
For Oracle RAC, you must run the Remote Agent Utility on each node and add information about the instances before you can perform any backup or restore operations. When Oracle RAC nodes are added or removed, you must enter information about any changes to instances in the Remote Agent Utility.
Note: |
When you use the Remote Agent Utility, the user account with which you are logged on should be a member of the Oracle DBA group. |
To configure the Oracle Agent on Linux computers
On the Linux computer on which the Oracle instances are installed, open a Terminal window.
cd /opt/VRTSralus/bin
To start the Remote Agent Utility, type the following command:
./AgentConfig
Type 2 to select Configure Oracle instance information, and then press Enter.
Any instances that currently exist on the computer are discovered. You can edit or delete these instances, or view information about the instances.
Type 1 to select the Add a new Oracle Instance option, and then press Enter.
Enter the name of the Oracle instance in upper case characters.
Enter the user name for the Oracle instance.
If the credentials for the Oracle instance are changed, you must update the credentials in this field. For Oracle RAC nodes, enter the same set of credentials for all of the nodes.
When you use the Remote Agent Utility to enter the Oracle credentials for an instance, the credentials cannot be verified if the user account with which you are logged in is a member of the Oracle DBA group. If the credentials are incorrect, the error "Unable to attach to a resource..." may appear when you run a backup job.
To display the Oracle database in a media server's backup selection list under Favorite Resources, type the media server name or IP address to which you want the remote computer to publish to.
The media server lists the Oracle database under Favorite Resources, under the Linux/Unix node, under <computer name> <root>.
Oracle RAC databases are listed in the media server's backup selection list, under the node Oracle Real Application Clusters. They are not listed under Favorite Resources.
When prompted, specify if you want to use a recovery catalog.
The Oracle Agent supports the use of the RMAN recovery catalog to manage the backup, restore, and recovery of Oracle databases. If you choose not to use a recovery catalog, RMAN uses the target database control file as the sole repository of metadata.
If you specify a recovery catalog, any database that you want to back up must be registered in the recovery catalog before you can run backup jobs from the media server.
To use a recovery catalog, type the recovery catalog name and a user name and password for the recovery catalog.
To use a customized DBA-initiated job settings template, type the name of the template.
To configure database access for Oracle operations on Linux systems
In the Remote Agent Utility, to select Configure database access, type 1 and press Enter.
Type the user name that is in the beoper group on the Linux system.
See About creating the beoper group.
If the authentication fails when the Oracle resources are backed up, the backup job fails. If the authentication fails when you browse the backup sets for a restore job, then the backup sets become unavailable, and you must run a DBA-initiated restore job to restore data.
Type the password for this logon account, and then confirm it.
Type the full computer name or IP address for this computer.
You must use the same form of name resolution for all Oracle operations. For example, if you use the IP address of this computer for backup operations, you must also use the IP address for restore operations. If you use the full computer name for backup operations, you must also use the full computer name for restore operations.
When prompted, specify if you want to use a custom port to connect to the media server communications between this computer and the media server during Oracle operations.
Port 5633 is used by default. If you change the port number on this computer, you must also change it on the media server, and then restart the Backup Exec Job Engine Service on the media server.
On the media server, add the Oracle server name and the logon account name to the list of authentication credentials.
More Information
Configuring database access on the media server for Oracle operations
About backing up Oracle resources
About backing up Oracle RAC resources