6 Troubleshooting Oracle Database Appliance Plug-in

Use these topics to resolve any Oracle Database Appliance Plug-in configuration issues that occur.

Topics:

Host Discovery Troubleshooting for Oracle Database Appliance

Review these troubleshooting topics if you have problems with host discovery.

Topics:

Prerequisite Check Failure Examples

Check failures and their causes are displayed in the Agent Deployment Details Page.

The following figures show examples of prerequisite errors, the causes of these errors, and the solutions that the agent provides. The examples of these error checks are from the Remote Prerequisite Check Details table, and the Agent Deployment Details table.

Figure 6-1 Remote Prerequisite Check Details Errors and Solutions

Description of Figure 6-1 follows
Description of "Figure 6-1 Remote Prerequisite Check Details Errors and Solutions"

Figure 6-2 Agent Deployment Details Errors and Solutions

Description of Figure 6-2 follows
Description of "Figure 6-2 Agent Deployment Details Errors and Solutions"

Host Discovery is Done Without Enabling the Root Privileges

These examples show what happens when the root.sh script is not run manually, and how you can troubleshoot the metric collection failures that result.

In this example, the Agent Deployment Details page displays an error in the Remote Prerequisite Check Details table check, "Do you have the privileges to run as root using the Privilege Delegation tool."

Figure 6-3 Agent Deployment Root Access Remote Prerequisite Check Errors and Solutions

Description of Figure 6-3 follows
Description of "Figure 6-3 Agent Deployment Root Access Remote Prerequisite Check Errors and Solutions"

You can ignore this warning, as indicated by the warning icon (the yellow triangle icon with the exclamation point). However, if you ignore the warning during deployment, then you receive a message that you must run root scripts manually. In this next example, the Agent Deployment Details status table shows that the remote prerequisite checks are not complete on the two remote hosts. The Agent Deployment Details table shows that this incomplete status is present because the user running the deployment did not have a sudoer privilege to run as root on that host. The recommendation the page provides is that you can run the script manually on the remote host as the root user .

Figure 6-4 Agent Deployment Details Root Access Check Errors

Description of Figure 6-4 follows
Description of "Figure 6-4 Agent Deployment Details Root Access Check Errors "

This incomplete step warning appears if you ignore the warning during host discovery that the user running the agent deployment does not have privileges to run the command as root. In that case, you must run the root.sh script manually on the remote host after agent deployment is finished.

Oracle Database Appliance Discovery Troubleshooting

Review for possible solutions to discovery error messages.

Very often, the error message itself includes the cause for the error. Look for error messages in the OMS and agent logs (case insensitive search for odadiscovery), or in the guided discovery flow itself.

Topics:

Discovery Requires Root User

A root user must perform Oracle Database Appliance discovery.

Verify that the user is logged in as a root user and is using a valid root password.

File /opt/oracle/oak/onecmd/onecommand.params Required

The onecommand.params file is required for guided discovery.

Perform the following steps to review the file for possible issues.

  1. Go to the /opt/oracle/oak/onecmd/onecommand.params file and verify that the file is available and accessible.

  2. Open the /opt/oracle/oak/onecmd/onecommand.params file and review for missing information.

If the file is missing, or if some of the fields are missing information, go to the Discovered Targets page and manually enter all of the required information.

Metric Collection Error After Discovery

For problems with metric collection found after discovery, check the following solutions.

Topics:

Plug-in Versions Do Not Match

Verify that the agent-side plug-in version matches the OMS-side plug-in version.

Plug-in Version is Not the Same on the Two Host Nodes

Verify that the plug-in version is the same on both of the host nodes.

To check the Oracle Enterprise Manager Database Appliance Plug-in versions on the OMS and agents:

  1. From the Oracle Enterprise Manager home page, open the Setup menu (gear icon) in the menu bar, select Extensibility, then Plug-ins.
  2. On the Plug-ins page expand the Engineered Systems folder and find the Oracle Database Appliance row.

    Figure 6-5 Oracle Enterprise Manager Plug-ins Page

    Description of Figure 6-5 follows
    Description of "Figure 6-5 Oracle Enterprise Manager Plug-ins Page"

    The Latest Downloaded column shows the version uploaded to Oracle Enterprise Manager repository.

    The On Management Server column shows the plug-in version deployed on the Management Server.

  3. If the value in the Management Agent with Plug-in column is non-zero, click on the number.

    A page opens which lists the agents that have the plug-in, and the Plug-in Version on Management Agent column shows the plug-in version deployed on the agent.

Monitoring Credentials Set Incorrectly

Verify that the monitoring credentials were set correctly.

  1. From the Oracle Enterprise Manager home page, open the Setup menu (gear icon), select Security, then Monitoring Credentials.
  2. On the Monitoring Credentials page, click the Oracle Database Appliance Manager target type, then set the monitoring credentials.

Oracle Database Appliance ECM Configuration Data Troubleshooting

This data is scheduled to run the collection every 24 hours, by default.

To check for data availability and last collected time:

  1. From the Oracle Enterprise Manager home page, open the Targets menu (target icon), then select All Targets.
  2. Select the target Oracle Database Appliance Manager from the list.
  3. Open the Host menu (upper left corner), click Configuration, then choose the Latest option.
  4. On the Latest Configuration page, click Actions, then Refresh.
  5. From the command line run:
    # emctl control agent runCollection
    # target_name:target_type <collectionName>
    
  6. You can also verify that ECM data are collected and presented in Oracle Enterprise Manager Repository using SQL plus.

OAK-Based Metric Collection Troubleshooting

How OAK-based metrics are collected.

Oracle Database Appliance is a multi-agent target like Oracle RAC. At a given point in time, Oracle Database Appliance is monitored by only one node's agent, which is the master agent. OMS determines which node's agent will do the actual monitoring, and this is referred to as the OMS mediated target. The data displayed in the Oracle Database Appliance Target Navigation page is based on the OAK metric collection from the node running the master agent.

How to Determining Which Node Agent is Monitoring the Oracle Database Appliance Machine

View target information, including availability, the host name, and the node agent that is monitoring Oracle Database Appliance.

To view the information, click the information icon next to Oracle Database Appliance machine name in the Oracle Database Appliance Target Navigation page.

There are many ways to access the target navigation page. The following example starts from the Oracle Enterprise Manager Targets menu.

  1. From the Oracle Enterprise Manager home page, open the Target menu (target icon) in the menu bar, and select All Targets.
  2. In the All Targets page, in the navigation tree, find and expand the Engineered Systems category.
  3. Select Oracle Database Appliance System.
  4. Click an Oracle Database Appliance name in the left pane of the target page.
  5. Click the information icon next to the Oracle Database Appliance machine name in the target page to display the Agent name.

    Figure 6-6 Displaying the Agent Name

    Description of Figure 6-6 follows
    Description of "Figure 6-6 Displaying the Agent Name"

Viewing OAK Metrics

View all OAK metrics or select a specific metric to view.

To view OAK metrics:

  1. From the Oracle Enterprise Manager home page, open the Target menu (target icon) in the menu bar, and select All Targets.

  2. In the All Targets page, in the navigation tree, find and expand the Engineered Systems category.

  3. Select Oracle Database Appliance Manager.

  4. Right click on an Oracle Database Appliance name target in the left pane and select Monitoring, then All Metrics from the submenus. Or, choose a specific metric you want to view. The metrics page opens for the selected target.

    Figure 6-7 Viewing OAK Metrics

    Description of Figure 6-7 follows
    Description of "Figure 6-7 Viewing OAK Metrics"