Database Reference
In-Depth Information
We can now use this information to create the input file for the next step of removing all of the agents'
installations we no longer want in our EM12c environment:
>emcli get_signoff_agents -output_file="/u01/app/work/signoff_021814.txt"
The previous command will send to an output file that can be used for the next step:
Agents available for Sign-off
Agent Installed Version Platform Oracle Home
----- ----------------- -------- -----------
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 /u02/oracle/agent12cR2/core/12.1.0.3.0
orcl3:3872 12.1.0.3.0 Linux x86-64 /u01/app/oracle/agent12c/core/12.1.0.3.0
orcl4:3872 12.1.0.3.0 Linux x86-64 /u01/app/oracle/agent12c/core/12.1.0.3.0
emrp2:3872 12.1.0.3.0 Linux x86-64 /u01/app/oracle/agent12c/core/12.1.0.3.0
orcl6:3872 12.1.0.3.0 Linux x86-64 /u01/app/oracle/agent12c/core/12.1.0.3.0
To view output of file:
>cat /u01/app/oracle/work/signoff_agents.txt
orcl2:3872
orcl1:3872
orcl3:3872
orcl4:3872
emrp2:3872
orcl6:3872
Step 2: Remove Old Agents
Our second example will clean up agents now that we've upgraded all of them. Remove agents by using a match string
in the search via an EM CLI signoff_agents command:
>emcli signoff_agents -agents="oradba%" -job_name=CLEANUP_12cR2_AGNTS
Agents available for Sign-off
Agent Installed Version Platform Oracle Home
----- ----------------- -------- -----------
 
Search WWH ::




Custom Search