Monday, December 27, 2021

EM 12c, EM 13c: How to Verify the Plugins Deployed on the Enterprise Manager Cloud Control OMS and Agent

 EM 12c, EM 13c: How to Verify the Plugins Deployed on the Enterprise Manager Cloud Control OMS and Agent


There are three methods to determine the plugins installed with the EM OMS.

1. Using the emcli command

Log in to the emcli utility by executing the following command from the OMS <ORACLE_HOME>/bin directory

$ ./emcli login -username=sysman

 
Sync the emcli with the repository:

$ ./emcli sync

 
Execute the list plugins commands:

$ ./emcli list_plugins_on_server


Example:

> ./emcli list_plugins_on_server

OMS name is wccaloem01.wcmbp.pri:4889_Management_Service

Plug-in Name                                 Plugin-id                     Version [revision]


Oracle Cloud Framework                       oracle.sysman.cfw             13.3.1.0.0

Oracle Database                              oracle.sysman.db              13.3.1.0.0

Oracle Fusion Middleware                     oracle.sysman.emas            13.3.1.0.0

Systems Infrastructure                       oracle.sysman.si              13.3.1.0.0

Oracle Exadata                               oracle.sysman.xa              13.3.1.0.0



2. From the repository database

Login to repository database as SYSMAN user and execute the following query:

SQL> SELECT epv.plugin_id, epv.version FROM em_plugin_version epv, em_current_deployed_plugin ecp WHERE epv.plugin_type NOT IN ( 'BUILT_IN_TARGET_TYPE' , 'INSTALL_HOME') AND ecp.dest_type='2' AND epv.plugin_version_id = ecp.plugin_version_id;

Sample Output:

PLUGIN_ID            VERSION

-------------------- --------------------------------

oracle.sysman.cfw    13.3.1.0.0

oracle.sysman.emas   13.3.1.0.0

oracle.sysman.si     13.3.1.0.0

oracle.sysman.db     13.3.1.0.0

oracle.sysman.xa     13.3.1.0.0

6 rows selected.

3. From OEM Console

1. Login to OEM console
2. Navigate to Setup --> Extensibility --> Plug-ins
3. Highlight the required plugin, from the Actions menu, click on "Information"
4. In the page displayed, click on "Management Servers" tab, look for the plugin version in column "Currently Deployed Plug-in Version

There are also three methods for determining the plugins installed with the 12.1.0.1 Management Agent:

1. Using the emcli command

Log in to the emcli utility by executing the following command from the OMS <ORACLE_HOME>/bin directory

$ ./emcli login -username=sysman


Sync the emcli with the repository:

$ ./emcli sync

 

Execute the list plugins commands: 

$ ./emcli list_plugins_on_agent -agent_names="<agent hostname:port>"

 

2. Using the emctl command ( As Agent Install User)

<AGENT_HOME>/bin> ./emctl listplugins agent

Example:

 ./emctl listplugins agent

 

Note that the same commands will apply to retrieving similar information from the EM 13c Cloud Control OMS and Agent.

3. From OEM Console

1. Login to OEM console
2. Navigate to Setup --> Extensibility --> Plug-ins
3. Highlight the required plugin, from the Actions menu, click on "Information"
4. In the page displayed, click on "Management Agents" tab, look for the plugin version in column "Plug-in Version on Management Agent"


ORACLE DOC ID - 1431103.1

No comments: