Oracle RAC - AgentConfig sessions (Backup Exec agent)
Oracle RAC Solution · Config document · referenced from Backup Exec agent
<ORACLE_OS_PASSWORD> for the operating system account oracle and <DB_ADMIN_PASSWORD> for the database account sys.The two dialogues of AgentConfig, the configuration tool of the Backup Exec Agent for Linux. The first gives the agent the operating system account for Oracle operations, the second the instance to protect, the database account for it and the Backup Exec server.
| Item | Value |
|---|---|
| Started with | ./AgentConfig in /opt/VRTSralus/bin, as root (after su -) |
| Shown here | oradb01, instance clsopdb1 |
| Also run on | oradb02; that run is not in the notes |
| First run | menu 1, Configure database access |
| Second run | menu 2, Configure Oracle instance information |
| Agent version at the time | VRTSralus 14.2.1180-3142 (Backup Exec 15, 14.2 FP5) |
The session
Both runs are in one listing: the first ends with the view of the system credentials, the second starts again at the main menu. What was typed stands after the colon of each question.
output 81 lines
Symantec Backup Exec Remote Agent Utility
Choose one of the following options:
1. Configure database access
2. Configure Oracle instance information
3. Quit
Please enter your selection: 1
Configuring machine information
Choose one of the following options:
1. Add system credentials for Oracle operations
2. Edit system credentials used for Oracle operations
3. Remove system credentials used for Oracle operations
4. View system credentials used for Oracle operations
5. Quit
Please enter your selection: 1
Enter a user name that has local system credentials: oracle
Enter the password: <ORACLE_OS_PASSWORD>
Re-enter password: <ORACLE_OS_PASSWORD>
Validating credentials.......
Do you want to use a custom port to connect to the Backup Exec server during Oracle operations? (Y/N): n
Commit Oracle operation settings to the configuration file? (Y/N): y
Configuring machine information
Choose one of the following options:
1. Add system credentials for Oracle operations
2. Edit system credentials used for Oracle operations
3. Remove system credentials used for Oracle operations
4. View system credentials used for Oracle operations
5. Quit
Please enter your selection: 4
Entry 1
ObjectName: DBAID
Port: 5633
Entry 2
ObjectName: Machine
HostUsername: oracle
Port: 5633
Symantec Backup Exec Remote Agent Utility
Choose one of the following options:
1. Configure database access
2. Configure Oracle instance information
3. Quit
Please enter your selection: 2
Configuring the Oracle Agent
Choose one of the following options:
1. Add a new Oracle instance to protect
2. Edit an existing Oracle instance
3. Delete an existing Oracle instance
4. View Oracle instance entries that have been added in the Remote Agent Utility
5. Quit
Please enter your selection: 1
Select an Oracle instance to configure
Entry 1. clsopdb1
Enter the number 0 to go back
Enter your selection: 1
Enter the Oracle database SYSDBA user name: sys
Enter the Oracle database SYSDBA password: <DB_ADMIN_PASSWORD>
Re-enter password: <DB_ADMIN_PASSWORD>
Validating credentials.......
Enter the Backup Exec server name or IP address: mng-backupsrv01-bck.example.net
Do you use a recovery catalog? (Y/N):n
Do you want to use a customized job template? (Y/N): n
Commit Oracle operation settings to the configuration file? (Y/N): y
Configuring the Oracle Agent
Choose one of the following options:
1. Add a new Oracle instance to protect
2. Edit an existing Oracle instance
3. Delete an existing Oracle instance
4. View Oracle instance entries that have been added in the Remote Agent Utility
5. Quit
Please enter your selection: 4
Entry 1
ObjectName: clsopdb1
DatabaseLogin: sys
MediaServerName: mng-backupsrv01-bck.example.net
JobTemplate: DefaultThe answers that matter
| Run | Question | Answer |
|---|---|---|
| First | User name that has local system credentials | oracle |
| First | Custom port to connect to the Backup Exec server during Oracle operations | n; the entries then show port 5633 |
| First | Commit to the configuration file | y |
| Second | Oracle instance to configure | entry 1, clsopdb1 |
| Second | SYSDBA user name | sys |
| Second | Backup Exec server name or IP address | mng-backupsrv01-bck.example.net |
| Second | Recovery catalog | n |
| Second | Customized job template | n; the entry shows JobTemplate: Default |
| Second | Commit to the configuration file | y |
The notes say about the second run that it is the part that gives access to the Oracle RAC instances, and that the Oracle account sys therefore has to be used. The instance offered, clsopdb1, is the name in the corrected beoratab. The server is given by its name on the backup network.
The view after the first run shows two entries, DBAID and Machine. Only Machine carries the user name that was typed; the notes do not say what DBAID is.
Checked against Backup Exec 25.1
| As built | Today |
|---|---|
| Menu 1, Configure database access, an account with local system credentials | Same menu; the guide asks for a user name that is in the group beoper |
| Default port, shown as 5633 | Port 5633 is still the default; a changed port must be changed on the Backup Exec server as well |
| Menu 2, the instance picked from a list | The guide has the instance name typed, in upper case |
SYSDBA user sys | For databases before 12c the documented user for the RMAN connection is SYS with SYSDBA; from 12c on an account with the SYSBACKUP privilege is required |
| Run as root | For a RAC of version 12c or later the guide says to switch to the Oracle user before running the tool |
| Only the first node recorded | The guide asks for the same set of credentials on all RAC nodes |
Today's tool also asks for the path of an auxiliary instance, used for restores of pluggable databases.