EM 24ai: Applying Management Agent Release Update (RU) from the EM web interface

Prerequisites

Before installing or uninstalling the RU, ensure that you meet the following requirements:

  1. Apply EM 24ai Release 1 Update 2 Patch 37629905 or it’s later Release Update version patch on the OMS before applying this RU.

    If you have not done this already, you can check my previous post.
  2. Deinstall this RU before deinstalling Enterprise Manager 24ai Release 1 Update 2 Patch 37629905 on OMS.

Installation

1. Login to the Enterprise Manager and navigate to Enterprise -> My Oracle Support -> Patches & Updates:

2. Enter the patch number (e.g. 37629915) in the “Software Library Patch Search” section and click Search:

3. Select the patch and click “Create Plan.” :

4. Enter the plan name and select the target agent:

5. Click the “Patches & Updates” hyperlink in the upper left corner:

6. Click on the plan name:

7. Click Next:

8. Click Next:

9. Deployment options:

In the Stage location, retain the default location (%emd_emstagedir%) available on the target machine, or edit the Stage Location to provide a new location for staging the Management Agent patches.
In the Oracle Home Credentials section, select Oracle Home Preferred Credentials if you have already set them earlier. You can otherwise click Override (like me):

9. Click “Select…” next to “Privileged Credentials,” then choose “New” in the pop-up window:

10. Click Validate Credentials:

11. Click Analyze:

If analysis fails, click Show Detailed Results:

To view the complete log, click on “Download Logs” in the upper right corner. Correct failed components. In my case, I did not have enough swap space; after increasing it, I re-analyzed and it became ready for deployment:

12. Click ‘Next’ and then ‘Deploy’. Select your desired time; I will choose immediately and click ‘Submit’.

13. The deployment status:

The deployment is in progress:

The deployment was successful:

14. You can check the applied patch using agentpatcher as well:

Set the oraclehome to proper agenthome and run lspatches:

$ export ORACLE_HOME=/u03/em24/agent/agent_24.1.0.0.0
$ /u03/em24/agent/agent_24.1.0.0.0/AgentPatcher/agentpatcher lspatches

oracle.sysman.si.agent.plugin/24.1.1.0.0 Plugin 37629915 37629956 Oracle Enterprise Manager for Systems Infrastructure 24ai Release 1 Plug-in Update 2 (24.1.1.2) for Oracle Management Agent

EM 24ai: Configure EM agent manually after failure

Problem:

While installing EM 24ai, everything was configured except for the agent which is the last step. It failed with the following vague error:

...
1. state_dir=/u03/em24/agent/agent_inst
2. agentBaseDir=/u03/em24/agent
3. oraHome=/u03/em24/agent/agent_24.1.0.0.0
INFO: oracle.sysman.top.agent:Agent Home is : {0}
SEVERE: oracle.sysman.top.agent:Agent configuration has failed
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method

Solution:

Make sure agent_inst directory is empty, otherwise rename the folder and recreate:

$ cd /u03/em24/agent
$ mv agent_inst agent_inst2
$ mkdir agent_inst; chmod 755 agent_inst

Make sure libnsl package is installed, otherwise install it using yum:

$ yum install libnsl

Reconfigure agent manually:

$ /u03/em24/middleware/oms_home/oui/bin/runConfig.sh ORACLE_HOME=/u03/em24/middleware/oms_home MODE=perform ACTION=configure COMPONENT_XML={encap_oms.1_0_0_0_0.xml}

Setting the invPtrLoc to /u03/em24/middleware/oms_home/oraInst.loc
...
Setting system property CUSTOM_INVENTORY to {0}
chain install is :true

Cloning of agent home completed successfully
Agent Configuration completed successfully
The following configuration scripts need to be executed as the "root" user. Root script to run : /u03/em24/agent/agent_24.1.0.0.0/root.sh

perform - mode finished for action: configure

Run root.sh script that is requested in the output of the above command:

# /u03/em24/agent/agent_24.1.0.0.0/root.sh

It worked for me and I hope it will work for you as well. The solution was found after a lot of digging, and there might be another solution too.

Install Backup Exec Client(Remote Agent) on Linux

RALUS is a remote agent installation , simply Linux client of Backup exec that can be retrieved from Backup Exec installation DVD in LinuxUnixMac folder.

Some details:

Client Server IP: 10.0.1.100
Client Hostname: orcl_node
Domain: sa.ge
Media Server IP: 192.168.1.100

Create some installation directory and locate RALUS installation file to this folder.

1. Installation

# mkdir /0
# cd /0
# tar -xvf RALUS_RMALS_RAMS-4164.5.tar
# ./installralus

Step 1:

Enter the system names separated by spaces on which to install RALUS: (oracle-node1.tbilisi.gov.ge)10.0.1.100

Checking system communication:

Checking OS version on 10.0.1.100 ………….. Linux 2.6.18-194.el5
Checking system support for 10.0.1.100 … Linux 2.6.18-194.el5 supported by RALUS

Initial system check completed successfully.

Press Enter.

Step 2:

Press Enter.

Step 3:

If the output is:

Checking file system space ……………. required space is available

Then  press Enter

Step 4:

To display the Remote Agent as a selection in a media server’s backup selection tree, and to be able to specify a local network for use between the Remote Agent and a media server, enter the names or IP addresses of the media servers that you want the Remote Agent on ‘10.0.1.100’ to communicate with.

An IP Address: XXX.XXX.XXX.XXX
A Host Name: COMPUTERNAME

Enter a directory host:192.168.1.100

Do you want to add another name or address for this agent? [y, n] (n)

Step 5:

If the information is correct press Enter

Step 6:

In this step beoper group will be created if it doesn’t exist and root user will be added to this group.

Press Enter

Press Enter

Press Enter (choosing y option by default)

Press Enter(choosing n option by default)

Press Enter (choosing y option by default)

Press Enter

Step 7 :

Checking VRTSralus package ………………………… not installed

Press Enter

Step 8:

Installing VRTSralus 13.0.4164 on 10.0.1.100 …… done 1 of 1 steps

Press Enter

Step 9 :

Creating configuration files on 10.0.1.100  ………………… Done

Press Enter

RALUS installation is complete, now it’s time to configure it.

2. Configuration on Client

Step 1:

Run AgentConfig:

# /opt/VRTSralus/bin/AgentConfig

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:
Re-enter password:
Validating credentials…….
Do you want to use a custom port to connect to the media server during Oracle operations? (Y/N): N
     Commit Oracle operation settings to the configuration file? (Y/N): Y
     SUCCESS: Successfully added the entry to the configuration file.

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: 5

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

If this computer is a RAC node, you must perform additional steps for configuration before you continue. Refer to the readme for these additional steps.

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. orcl
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:
Re-enter password:
Validating credentials…….
Enter the media server name or IP address:      The length of the entered data is greater than the maximum permitted length.
Enter the media server name or IP address: 192.168.1.100
     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
     Created symbolic link for /opt/VRTSralus/bin/libobk.so at /u01/app/oracle/product/11.2.0/db_1/lib/libobk.so
SUCCESS: Successfully added the entry to the configuration file.

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: 5

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: 3

Start agent:

# /etc/init.d/VRTSralus.init start
Starting Symantec Backup Exec Remote Agent ……
Starting Symantec Backup Exec Remote Agent:                              [  OK  ]

3. Configuration on Media Server

To make media server see your client do the following steps:

Step 1:

Run Start->-All Programs>Symantec Backup Exec->Backup Exec 2010

Step 2:

Tools->Options->Oracle –>click Modify List button->click New button and fill the following fields, by the following way:

Oracle or DB2 Server: 10.0.1.100
Logon Account  ->>>>click New button –>click New button and fill the following fields, by the following way:

User name: oracle
Password: enter oracle password for client server
Confirm Password: enter the password again
Account Name: oracle

click OK.

You will also need to configure SYS  user account.

And choose oracle in Logon Account  field.

click OK.

Do the same steps for 2 more times, just change Oracle or DB2 Server filed to orcl_node(instead of 10.0.1.100) for the first time and orcl_node.sa.ge for the second time

Step 3:

On media server , in hosts file add client entry.

That is all.