22.4 Performing Software Library Tasks Using EM CLI Verbs or in Graphical Mode

Starting with Oracle Enterprise Manager Cloud Control 12c Release 2 (12.1.0.2), command line utility has been introduced for Software Library users in Oracle Enterprise Manager Cloud Control that enables you to perform some of the console-based Software Library operations using the text-based consoles.

The following table describes both approaches to perform some of the Software Library tasks:

  • Enterprise Manager Command Line Interface (EM CLI)

  • Enterprise Manager Graphical User Interface (EM GUI)

Note:

For more information about the syntax and usage of the EM CLI verbs described in Table 22-3,along with workflow examples, refer to the Oracle Enterprise Manager Lifecycle Management Administrator’s Guide.

Table 22-3 Software Library EMCLI Verbs

Description Approach A: Using EM CLI Verb Approach B: Using Enterprise Manager Cloud Control Console

Adding a Software Library storage location

add_swlib_storage_location

Configuring an OMS Shared File system Location

Configuring an OMS Agent File system Location

Configuring a Referenced File Location

Creating a Software Library entity

create_swlib_entity

Creating Generic Components

Creating Directives

Creating a Software Library folder

create_swlib_folder

Organizing Entities

Listing the Software Library entities

list_swlib_entities

Accessing Software Library Home Page

Searching Entities

Listing Software Library entity types

list_swlib_entity_types

NA

Listing Software Library entity subtypes

list_swlib_entity_subtypes

NA

Listing Software Library folders

list_swlib_folders

NA

Listing Software Library storage locations

list_swlib_storage_locations

Accessing Software Library Administration Page

Referring files from a Software Library entity

refer_swlib_entity_files

Creating Entities

Viewing, Editing, and Deleting Entities

Re-Importing Software Library metadata

reimport_swlib_metadata

Re-Importing Oracle Owned Entity Files

Removing a Software Library storage location

remove_swlib_storage_location

Removing (and Migrating) Software Library Storage Location

Modifying a Software Library entity

update_swlib_entity

Viewing, Editing, and Deleting Entities

Uploading files to a Software Library entity

upload_swlib_entity_files

Creating Entities

Viewing, Editing, and Deleting Entities

Modifying a Software Library OMS Agent storage location to change the associated OMS Host and the credential for accessing the location.

switch_swlib_oms_agent_storage

NA

Verifying the files uploaded to software library, and reporting the missing files in the storage locations. This action is typically initiated when some provisioning/patching/deployment activity fails due to missing file in the associated storage location.

verify_swlib

NA

Staging one or more files associated with an entity revision available in the Software Library to a file system location on a host target.

stage_swlib_entity_files

Staging Entities

Staging one or more files associated with an entity revision in the Software Library to the local file system of a host not monitored by an EM Agent.

stage_swlib_entity_files_local

Staging Entities

Creating an entity of the Directive type in the Software Library. On successful creation, the entity revision appears in the specified folder on the Software Library Home page.

create_swlib_directive_entity

Creating Directives

Modifying an entity of the Directive type in the Software Library. A new revision of the entity is created by default. Changing only the description or attribute values do not create a new revision, and such changes are visible across all existing revisions of the entity

update_swlib_directive_entity

Viewing, Editing, and Deleting Entities

Listing all the details of an entity revision.

get_swlib_entity_details

Viewing, Editing, and Deleting Entities

Exporting files of Software Library entities to be imported on a cache node as cached files.

export_swlib_cache_files

Exporting and Importing Files for Cache Nodes

Importing Software Library entity files from a compressed file to a cache node.

import_swlib_cache_files

Exporting and Importing Files for Cache Nodes

Invoking resynchronize for one or all cache nodes.

resync_swlib_cache

Synchronizing the Cache Nodes