2 Configuring Enterprise Manager and ASR Targets

This chapter describes how to configure Oracle Enterprise Manager Cloud Control to enable Oracle Auto Service Request (ASR) functionality. For qualified hardware targets monitored by Enterprise Manager, ASR will automatically file a service request, as needed.

The following topics are provided:

2.1 Configure Fault Telemetry for Qualified Hardware Targets

Note:

All hardware should already be discovered by Oracle Enterprise Manager Cloud Control. For details about adding hardware, see the Oracle® Enterprise Manager Cloud Control Administrator's Guide:

http://docs.oracle.com/cd/E24628_01/doc.121/e24473/toc.htm

When a fault occurs on a qualified hardware target, the target has the ability to collect fault information and send it based on the fault telemetry available. For ASR, Enterprise Manager recognizes the following three fault telemetry types:

  • Fault Management Architecture (FMA): Provides CPU and memory fault information from the host.

  • Integrated Lights Out Manager (ILOM): Provides fault information, power and environmental, and CPU and memory fault information from the service processor.

  • Exadata-detected Events (HALRT): Provides fault coverage for disks, flash, and PCI cards within Oracle Exadata Database Machine.

Table 2-1 shows the target types for Oracle ASR and their corresponding fault telemetry:


Table 2-1 Oracle ASR Target Types and Fault Telemetry

Target Type Fault Telemetry

Exadata Cell Node

ILOM

HALRT

Exadata Compute Node

ILOM

HALRT

Exadata InfiniBand Switch

ILOM

Standalone Solaris host

FMA


Follow the steps below to register and activate ASR for all your qualified hardware targets monitored by Enterprise Manager:

  1. Register with Oracle ASR. From the EMCLI console, enter the following command:
    $OMS_ROOT/bin/emcli em_asr_register –mosid=<MOS_USER_ID>
    

    Note:

    The activation request is sent automatically for all available targets.

  2. Activate the asset. From the EMCLI console, enter the following commands:
    • Add Global Activation credential:

       $OMS_ROOT/bin/emcli em_asr_asset_actcred -mosid="<MOS_USER_ID>"
      
    • Add Target Activation credential:

      $OMS_ROOT/bin/emcli em_asr_asset_actcred -targetName="<ILOM_TARGET_NAME>" -targetType="<TARGET_TYPE>" -mosid="<MOS_USER_ID>"
      

2.1.1 Manually Register and Activate ASR Assets

If necessary, you can manually schedule a time for the registration and activation jobs to run in Enterprise Manager. From the EMCLI console, run the following commands:

  1. Run the activation job:
    $OMS_ROOT/bin/emcli em_asr_asset_activation_job –rescheduleNow
    
  2. Check the activation job status:
    $OMS_ROOT/bin/emcli em_asr_asset_activation_job
    
  3. Check activation status details for targets:
     $OMS_ROOT/bin/emcli em_asr_asset_activation_details
    

2.1.2 Unregister ASR

If you need to disable and unregister ASR, run the following command from the EMCLI console:

$OMS_ROOT/bin/emcli em_asr_deregister

2.2 Configure SNMP Subscriber for HALRT

Complete the following steps to configure SNMP subscriber for HALRT faults in Enterprise Manager:

Note:

These steps are only required for the DB node that is part of Exadata Database Machine.






2.3 Customize Target Activation in ASR

By default, all qualified targets associated with the My Oracle Support (MOS) user name are activated for Oracle ASR. You can customize the list of monitored targets:

  • Add all targets to the include list:

    $OMS_ROOT/bin/emcli em_asr_asset_include_list –add -all
    
  • Remove all targets from the include list:

    $OMS_ROOT/bin/emcli em_asr_asset_include_list –remove -all
    
  • Add a single target to the include list:

    $OMS_ROOT/bin/emcli em_asr_asset_include_list –add  -targetName="<TARGET_NAME>" -targetType=“<TARGET_TYPE>" 
    
  • Remove a single target from the include list:

    $OMS_ROOT/bin/emcli em_asr_asset_include_list –remove  -targetName="<TARGET_NAME>" -targetType="<TARGET_TYPE>"
    
  • Add all targets to the exclude list:

    $OMS_ROOT/bin/emcli em_asr_asset_exclude_list –add -all 
    
  • Remove all targets from the exclude list:

    $OMS_ROOT/bin/emcli em_asr_asset_exclude_list –remove -all 
    
  • Add a single target to the exclude list:

    $OMS_ROOT/bin/emcli em_asr_asset_exclude_list –add -targetName="<TARGET_NAME>" -targetType ="<TARGET_TYPE>"
    
  • Remove a single target from the exclude list:

    $OMS_ROOT/bin/emcli em_asr_asset_exclude_list –remove -targetName="<TARGET_NAME>" -targetType ="<TARGET_TYPE>"