Select Journal - First Quarter 2013 - (Page 22)
Introduction to Oracle Enterprise Manager Command Line Interface continued from page 21
oracle@demohost> cat blackout_start.cmd
create_blackout –name= GENERATED_BLACKOUT \
–add-targets=BRONZE.WORLD:oracle_database \
–add-targets=SILVER:oracle_database \
–add-targets= LSNRBRONZE_demohost.com:oracle_listener \
–add-targets= LSNRSILVER_demohost.com:oracle_listener \
-schedule=duration::360;tzinfo:specified;tzregion:America/Chicago \
-reason=Scripted blackout for maintenance
oracle@demohost> cat blackout_end.cmd
stop_blackout –name= GENERATED_BLACKOUT
delete_blackout –name= GENERATED_BLACKOUT
Executing these blocks consists of invoking emcli with the argfile command.
Notice that each command starts with a verb and not “emcli.”
oracle@demohost> emcli argfile blackout_start.txt
< Do some work on the host>
oracle@demohost> emcli argfile blackout_end.txt
Figure 11
Summary
OEM 12c command line interface provides a convenient means of automating
tasks on the command line or inside shell scripts. The first step in implementing
EMCLI in your environment is to download a copy of the reference document.
A comprehensive list of verbs is also included online and can be accessed
through the console. The examples provided here provide a starting point.
My Oracle Support now features community interaction for challenges you
encounter. Click on the Communities tab to subscribe to the Enterprise
Manager communities (Figure 11).
USERS GROUP CALENDAR
For the most updated calendar, please visit www.ioug.org
IOUG WEBINARS:
Did you miss an event? Watch previous IOUG webcasts on-demand here:
http://www.ioug.org/p/cm/ld/fid=153.
APRIL 2013
SEPTEMBER 2013
April 7-11
COLLABORATE ’13
Denver
Event URL:
http://collaborate13.ioug.org/
p/cm/ld/fid=112
Sept. 22-26
Oracle OpenWorld
San Francisco
Event URL:
http://www.oracle.com/openworld
■ ■ ■ About the Author
Ray Smith is actively engaged as a volunteer for IOUG. He has
served on COLLABORATE and Oracle OpenWorld, and is on the
SELECT Journal Editorial Board. He currently works as a senior
Oracle DBA/technologist for Portland General Electric in Portland,
C Ore. He is also an Oracle ACE.
Oracle Enterprise Manager:
| Next Generation
Training
COLLABORATE 13 – IOUG Forum is the conference to attend for the
latest and greatest in user-driven Oracle education and training. Check out a
sneak preview of some of the top IOUG sessions on Oracle Enterprise Manager:
Monday, April 8: Performance Tuning your DB Cloud in OEM 12c Cloud
Control - 360 Degrees, presented by Tariq Farooq
Monday, April 8: EM12c – Less Known Features and Techniques, presented
by Kellyn Pot’Vin
Tuesday, April 9: Simplifying Application Deployment in Cloud using Virtual
assemblies and EM 12c, presented by Honglin Su, Kai Yu
Check out a full preview of all IOUG offerings for Oracle users of OEM today at
collaborate13.ioug.org/oem and register to reserve your seat.
Page 22 ■ 1st Qtr 2013
http://www.ioug.org
http://www.ioug.org/p/cm/ld/fid=153
http://collaborate13.ioug.org/p/cm/ld/fid=112
http://www.oracle.com/openworld
http://collaborate13.ioug.org/
Table of Contents for the Digital Edition of Select Journal - First Quarter 2013
Select Journal - First Quarter 2013
Table of Contents
From the Editor
From the IOUG President
Enterprise Manager 12c Cloud Control: What’s Changed, What’s New
Introduction to Oracle Enterprise Manager Command Line Interface
Users Group Calendar
Retrieving Large Volumes of Data
A Multilayered Approach to Oracle Database Availability
Advertisers’ Index
Ask an Oracle ACE
Select Journal - First Quarter 2013
https://www.nxtbook.com/nxtbooks/smithbucklin/ioug_bestpractices2013
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2013q2
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2013q1
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2012q4
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2012q3
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2012q2
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2012q1
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2011q4
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2011q3
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2011q2
https://www.nxtbook.com/nxtbooks/smithbucklin/selectjournal_2011q1
https://www.nxtbookmedia.com