Tasks Performed Using the Software Library Home Page
From the Software Library Home page, you can do the following:
Organizing Entities
Only designers who have the privilege to create any Software Library entity, can create folders.
Note:
Starting with Oracle Enterprise Manager Cloud Control 12c Release 2 (12.1.0.2), in addition to using the GUI as described in this section, you can alternatively use the command line interface tool to Create Folders. To do so, refer to Oracle Enterprise Manager Lifecycle Management Administrator's Guide.
To create a custom folder, perform the following steps:
Creating Entities
From the Software Library Home page, you can create the following entities:
Note:
Starting with Oracle Enterprise Manager Cloud Control 12c Release 2 (12.1.0.2), in addition to using the GUI as described in this section, you can alternatively use the command line interface tool to Create Entities. To do so, refer to Oracle Enterprise Manager Lifecycle Management Administrator's Guide.
Creating Generic Components
To create a generic component from the Software Library Home page, perform the following steps:
-
From the Enterprise menu, select Provisioning and Patching, then select Software Library.
-
On the Software Library Home page, select a custom folder that is not owned by Oracle.
Note: You cannot create a generic component in an Oracle Owned Folder. To create a custom folder, see Organizing Entities.
-
From the Actions menu, select Create Entity and click Component. Alternately, right click the custom folder, and from the menu, select Create Entity and click Component.
-
From the Create Entity: Component dialog box, select Generic Component and click Continue.
Enterprise Manager Cloud Control displays the Create Generic Component: Describe page.
-
On the Describe page, enter the Name, Description, and Other Attributes that describe the entity.
Note: The component name must be unique to the parent folder that it resides in. Sometime even when you enter a unique name, it may report a conflict, this is because there could be an entity with the same name in the folder that is not visible to you, as you do not have view privilege on it.
Click +Add to attach files that describe the entity better such as readme, collateral, licensing, and so on. Ensure that the file size is less than 2 MB.
In the Notes field, include information related to the entity like changes being made to the entity or modification history that you want to track.
-
On the Configure page, you can customize the generic component that you are creating by adding some new properties or updating the existing properties of the component.
Note: Select Shared Type to reuse the component property. Shared Type can be stored as a template, which can be used for creating different and more complicated top level types.
To add a new property, do the following, and click Next:
-
Select Top Level Type or Shared Type, and click Add.
-
Enter a unique name for the property. Depending on the property type selected, enter an initial or default value for the property.
-
To add a constraint, specify the Minimum or Maximum value for the selected property type, and click Add Constraint.
The Configured Constraints table lists all the constraints added. To remove a particular constraint from the property, select the property and click Remove.
-
-
On the Select Files page, you can select one or more files to be associated with the entity. Select one of the following options:
-
Upload Files: If you want to upload some entity files from the local file system or the agent machine to the selected destination location.
To select the destination location, in the Specify Destination section, in the Upload Location field, click the magnifier icon to select one of the following options:
-
OMS Shared File System
-
OMS Agent File System
The corresponding Storage Type and Location Path of the selected location is populated.
Note:
To upload the files, the status of the storage location to which the files are to be uploaded should be Active.
If you select OMS Agent File system location, then ensure that you have the necessary privileges to access the location
In the Specify Source section, enter the location from where the files are being sourced, these locations can either be local file system or a remote file system monitored by the Management Agent. Select one of the following options for File Source:,:
-
If you select Local Machine, and click Add, the Add File dialog box appears. Click Browse to select the entity file from the source location, and give a unique name, and click OK.
You can upload the files to any of the configured storage locations available in OMS Shared File system location or OMS Agent File system location
-
If you select Agent Machine, select the name of the host machine from where you want to pick up the entity files. Click +Add and log in to the host machine with the desired credentials. For more information about the different credential types and their setup, see the Oracle Enterprise Manager Lifecycle Management Guide.
Once you log in to the host machine, browse to the location where the files to be uploaded are present. You can upload the files to any of the configured storage locations available in OMS Shared File system location or OMS Agent File system location.
-
-
Refer Files: If you select the Refer Files option, you only need to enter the source location details, since you are not technically uploading anything to the Software Library. In the Specify Source section, select from HTTP, NFS, or Agent Storage types, and click OK. The corresponding Storage Type and Location Path of the selected location is populated.
Click +Add to reference the entity present at the selected Referenced File Location. In the Add Referenced File dialog box, enter a relative path to the file under Base Location. Click Stage As to organize the file in a temporary stage location with a unique name.
For details about each of these storage options, see Configuring a Referenced File Location
-
-
On the Set Directives page, click Choose Directives to associate a component with one or more directives. Click Next.
-
On the Review page, review all the details, and click Finish to create the component and upload it on the Software Library.
Creating Directives
Directives are entities in the Software Library that represent a set of instructions to be performed. These are constructs used to associate scripts with software components and images. These scripts contain directions on how to interpret and process the contents of a particular component or an image.
To create a directive from a Software Library Home page, perform the following steps:
Customizing Entities
You cannot edit an entity present in an Oracle owned folder. However, to edit an Oracle-owned entity, you can make a copy of the entity and store it in a custom folder. Since you now have full access on the entity, you can customize the entity based on your requirement and may even choose to grant other users access to this entity.
To create a custom entity from an Oracle owned entity, perform the following steps:
For more information on Oracle Owned Entities and User Owned Entities, see Using Software Library Entities.
Managing Entities
From the Software Library Home page, you can perform the following maintenance tasks on the existing entities:
Note:
Starting with Oracle Enterprise Manager Cloud Control 12c Release 2 (12.1.0.2), you can either use the GUI or use the command line interface tool to perform all the tasks listed in Table 3-3.
Accessing Software Library Home Page
To access the Software Library Home page, from the Enterprise menu, select Provisioning and Patching, then select Software Library.
Accessing Software Library Administration Page
To access the Software Library Administration page, from the Setup menu, select Provisioning and Patching, then select Software Library.
Granting or Revoking Privileges
An Enterprise Manager user requires, at the very least, a view privilege on an entity for the entity to be visible on the Software Library Home. The owner or super administrator can choose to grant additional privileges like edit (Update notion) or manage (or full) or at a later point of time, revoke the previously granted privilege.
To grant or revoke privileges, perform the following steps:
Moving Entities
To move all the revisions of an entity from one folder to another, do the following:
Changing Entity Maturity
When an entity is created from the Enterprise Manager Home, it is present in an Untested state. It is the responsibility of a designer to test the entity, and change the maturity level based on the test result.
To manage the lifecycle and indicate the quality (maturity level) of an entity, perform the following steps:
For example, an Oracle Database Clone component would be tested by selecting it in a deployment procedure interview flow that provisions a database. Once the entity is tested, the designer can change the maturity of the entity to either Beta or Production based on test results. Only when the entity is marked with Production level, the Operator can use it.
Adding Notes to Entities
To log information about the changes or updates made to an existing entity, perform the following steps:
Adding Attachments to Entities
To add or upload files that are typically documents (like README, installation, configuration) related to the software the entity represents, perform the following steps:
Viewing, Editing, and Deleting Entities
To view, edit, or delete the details of an entity, perform the following steps:
Purging Deleted Entities
Note:
Beginning with Enterprise Manager 13.4, entities can be purged using the EMCLI verb delete_swlib_entity
. See delete_swlib_entity in the Enterprise Manager Cloud Control Command Line Interface Guide for more information.
To purge the deleted entities from all the configured Agent Storage locations, you can run a purge job. To do so, follow these steps:
Searching Entities
This section contains the following topics:
Performing Basic and Advanced Searches
To perform a basic or an advanced search for an entity, follow these steps:
-
From the Enterprise menu, select Provisioning and Patching, then select Software Library.
-
To search for an entity, perform one of the following operations:
-
Find: On the Software Library Home page, you can search for an entity by its Name, Description, or Type. Select the search category, enter the desired value and then click the arrow icon.
On clicking the arrow icon, the result page displays a number of matching results, and allows you to toggle between the result rows by clicking the up and down arrows.
-
Search: To perform a detailed search for an entity, click Search. The search option, by default, allows you to search by Type, Name, Description, Revision, Maturity, Status, and File Name to retrieve a more granular search result.
Note: If you choose entities that have associated subtypes (like Components), then the page is refreshed with Subtype as an additional search category.
Specify appropriate values in All or Any of the search fields, and click Search.
To add more search parameters, in the Advanced Search section, click Add Fields menu and, select the desired search fields. The selected fields appear in the Advanced Search section as new search parameters. This new search feature enables you to refine your search, and drill down to the most accurate and desired search result.
To revert to the simple search view, click Close Search.
-
Saving Searches
Optionally, search criteria on the Advanced Search screen of the console, can be saved. Saved searches can be retrieved and executed again. They can also be edited and deleted.
-
Search for entities.
-
Click Save Search.
-
Enter the preferred name for the search in the text box, and click Ok.
Retrieving Saved Searches
To retrieve saved searches, follow these steps:
-
Search for entities.
-
Click Saved Searches, and select the preferred saved search from the list.
Alternatively, you can also select the preferred saved search from the Favorites menu. To do so, from the Favorites menu, select Saved Software Library Searches, and select the preferred saved search.
Managing Saved Searches
Using the Manage Saved Searches option, you can edit the name of the saved search, or delete the saved search. To do so, follow these steps:
-
To manage saved searches, you can perform one of the following steps:
-
From the Favorites menu, select Manage Favorites.
-
Click Saved Searches, and select Manage Saved Searches.
-
-
To edit the name of the saved search, select the preferred saved search, and in the Name text field, enter the new name. Click Ok to save changes.
-
To delete or remove a saved search, select the preferred saved search, and click Remove Selected. Click Ok to save changes.
Exporting Entities
To export selected entities, perform the following steps:
Note:
-
Provisioning Archive Files that were exported from any Enterprise Manager version prior to 12c can not be imported into Enterprise Manager 12c.
-
Enterprise Manager does not support exporting Oracle-owned entities.
Staging Entities
For transferring files associated with multiple entities to multiple target hosts, follow the steps outlined in this section.
Prerequisites
Ensure that you meet the following prerequisites before staging the files:
-
Only hosts that are monitored by the Enterprise Manager can be specified as the destination for staging the files associated with an entity.
-
For each entity, only files that have been successfully uploaded to the entity (hence, in Ready status) can be selected for staging.
Note:
To verify if the entity has any files in the Ready state, follow these steps:
-
Select the entity, and click View.
-
On the View Entity page, select Select Files tab, to verify the files associated with the entity.
-
Unless there is at least one file with a Ready status, you cannot proceed with the staging process.
-
-
Only users with View Job Privileges can perform staging.
-
Only entities for which the user has at least view privileges can be selected for staging.
-
The location should be writeable using the credential given for the target host.
-
If the source files to be staged are on NFS, then the credentials used for browsing the destination target should have
root
permissions to be able to mount the NFS location.
Staging Procedure
Log in to Enterprise Manager Cloud Control and perform the following steps:
-
From the Enterprise menu, select Provisioning and Patching, then select Software Library.
-
From the Actions menu, select Stage Entities.
-
On the Stage Entities page, expand the Entities section (if not already expanded).
-
Click +Add to search and select the entities. Only those entities which are not already added and those that have at least one file in the READY status can be added.
-
All the files in the READY status are selected for staging by default. To change the selection, expand the row of the added entity in the table and check/uncheck the Select column.
-
You can optionally select the Overwrite files on the staging location to overwrite an existing version of the same file. If not, ignore this option and proceed.
-
In the Staging Destination section, click +Add to add the stage destination details.
-
Click +Add to select the target hosts for staging.
-
Specify the Stage Location in the text box applicable for the host targets selected.
-
Choose the credentials that should be used for staging. If more than one host target is selected, then the stage location should be writeable using the selected credential on each host.
-
Click OK to update the selected hosts in the staging destination table.
-
Click Submit.
-
To verify the status of the submitted job, click the Job Details link that leads to the File Transfer Activity page displaying the file transfer details. Alternately, from the Enterprise menu, select Job, then click Activity and search for the job.