Database Reference
In-Depth Information
orcl2:3872 12.1.0.3.0 Linux x86-64 /u01/app/oracle/agent12c/core/12.1.0.3.0
orcl1:3872 12.1.0.3.0 Linux x86-64 /u01/app/oracle/agent12c/core/12.1.0.3.0
Agent Sign-off Job Submitted for the above agents. Use emcli get_signoff_status or goto EM CONSOLE
-> Set Up -> Manage Cloud Control -> Upgrade Agents -> Post Agent Upgrade Tasks -> Sign-off Agent
Results to see job status
Job Name : CLEANUP_12CR2_AGNTS
Once all jobs have been verified as completed, a second check should be performed to note that the sign-off
status has been received on each of the agents in question:
>emcli get_signoff_status
Showing for each job
Job Name Status Total Agents Started Ended
-------- ------ ------------ ------- -----
CLEANUP_12CR2_AGNTS Success 2 2013-11-21 17:08:30 CST
2013-11-21 17:08:44 CST
Note that the sign-off doesn't remove the old agent home. We will now do this through an EM CLI host
command once logged in:
>emcli execute_hostcmd -cmd=”rm -rf /u01/oracle/agent12c/core/12.1.0.2.0” -targets="remote-
host:host"
This command will remove the previous, unused directory home from each host it is run against.
The goal of these examples is to show you very simple commands that performed several usually manual steps,
thus easing the demands on the administrator. Anyone who reads through the actual steps that were required to be
performed by the DBA on six servers, including verifying success and then removing the previous installation, will
realize the power behind the EM CLI job-submission option.
Export/Import Capabilities for Information Publisher Reports
BI Publisher (BIP) now comes standard as an integrated part of Release 4 (12.1.0.4). With this change, Information
Publisher Reports (IP Reports) are still supported, but migration to BIP is recommended.
Any report requires significant development time, and the ability to export and import it through the EM CLI is
incredibly beneficial; this is no different than for your existing IP Reports. For this example, we will first list then export
an IP Report named “Exadata Summary Report”:
>emcli get_reports -owner="KPOTVIN"
From the list of reports owned by “KPOTVIN,” we can choose one named EXADATA_SUMMARY_REPORT and
export it:
>emcli export_report -title="Exadata Summary Report" -owner="KPOTVIN" -output_file="$OMS_HOME/
reports/exadata_summary.xml"
 
Search WWH ::




Custom Search