Skip to main content

2014 | Buch

Oracle Enterprise Manager 12c Command-Line Interface

verfasst von: Kellyn Pot'Vin, Seth Miller, Ray Smith

Verlag: Apress

insite
SUCHEN

Über dieses Buch

Oracle Enterprise Manager 12c Command-Line Interface shows how to use Enterprise Manager’s powerful scripting language to automate your database administration work and save time by scripting routine tasks, and then executing those scripts across collections of databases and instances in your environment. This book is chock full of ready-made scripting examples contributed by the authors and leading members of the community. For example, you'll find scripts and examples of commands to:

Remove an Enterprise Manager agent and its related targetsQuickly create administrator accounts that are fully-configured with pre-expired passwords and all needed rolesInvoke batch files to execute sequences of related commands with consistency against multiple targetsBatch create large groups of user logins with a single commandand more!

The Enterprise Manager Command Line Interface (EM CLI) is the administrator's key to unlocking the power of Enterprise Manager 12c (EM12c) with scalability, repeatability, and confidence. In previous versions, most administrators ventured into the command-line interface only with the assistance of Oracle Support. But now there are many features in EM12c that are accessible only from the command-line. This is far from a disadvantage! Enterprise Manager is now a powerful tool for automation in the hands of a skilled database administrator.

Enterprise Manager scripting offers potential for all administrators who manage Oracle’s enterprise-level products in their environment. You can automate from the smallest, single-instance configuration all the way up to a broadly distributed enterprise-level rollout having database instances strewn across broad geographical distributions. The power of the EM CLI returns the administrator to the golden age, where the entire environment, from database to application to infrastructure, can often be managed from this powerful command line tool secured by the robust Enterprise Manager framework.

Brings a golden-age of automation to Oracle Database administratorsProvides ready-made scripts contributed by leading members of the communityCovers advanced techniques involving Jython and Python

Inhaltsverzeichnis

Frontmatter
Chapter 1. Architecture
Abstract
Oracle Enterprise Manager 12c provides a scalable and reliable central repository, a console, and services for managing your all of your Oracle products. Users typically interact with OEM through the OEM console, which has a rich intuitive graphical interface.
Kellyn Pot'Vin, Seth Miller, Ray Smith
Chapter 2. Installation and Security Framework and EM12c Release 4
Abstract
Now that you understand the Enterprise Manager architecture, you may want to understand more-advanced installation methods for the Oracle Management Service (OMS) host or for a remote installation. You’ll also want to be up to date on the latest verbs that come into play with 12.1.0.4, also known as EM12c Release 4, which is all covered in this chapter.
Kellyn Pot'Vin, Seth Miller, Ray Smith
Chapter 3. Terminology and Basics
Abstract
EM CLI can seem overwhelming at first, as with any command-line utility. But like anything else in technology, the more one understands how something works, the more useful and the easier it will be to work with.
Kellyn Pot'Vin, Seth Miller, Ray Smith
Chapter 4. Working at the Command Line
Abstract
EM CLI is ideally suited for shell scripts, but it also simplifies tasks that are ordinarily performed in the console. For instance, removing an EM agent and its related targets through the console can be quite trying. With EM CLI, you issue a one-line command and the same tasks execute quickly and completely from the command line.
Kellyn Pot'Vin, Seth Miller, Ray Smith
Chapter 5. Automation Through Shell Scripts
Abstract
As we discovered in the previous chapter, EM CLI provides faster means of accomplishing complicated tasks that are ordinarily managed through the OEM console. The strength of EM CLI is leveraged by combining EM CLI with classic shell-scripting techniques. The examples in this chapter are written for use in a Unix/Linux environment but, because EM CLI is a Java application, the CLI syntax shown here will work just as well in other environments.
Kellyn Pot'Vin, Seth Miller, Ray Smith
Chapter 6. Advanced Scripting
Abstract
Much of the power of a command-line interface like EM CLI is the ability to automate the execution of multiple commands at a time. This chapter dives deep into the marriage of Python and EM CLI in what is known as interactive and scripting mode.
Kellyn Pot'Vin, Seth Miller, Ray Smith
Chapter 7. Using the Software Library and Oracle Extensibility Exchange
Abstract
Creating a software library ensures that all provisioning, patching, and scripting entities are stored in a location available to the OEM repository; this conserves resources and costs for the IT infrastructure. The concept appears simple enough, but often you enter an IT organization and find that there are multiple sources for installation media, patch locations, and so on. Having a central software library that is configured within the EM12c environment and sized appropriately (100 GB minimum for small environments, 250 GB minimum for extensive and HA/MAA [High Availability/Maximum Availability Architecture] environments) ensures that provisioning, patching, and scripting can be supported for the life of the OEM system.
Kellyn Pot'Vin, Seth Miller, Ray Smith
Chapter 8. Sample EM CLI Scripts
Abstract
Throughout this book we’ve shown you how to use EM CLI to manage your OEM environment, including using the command line,. I scripting option, which uses JSON and Jython.
Kellyn Pot'Vin, Seth Miller, Ray Smith
Backmatter
Metadaten
Titel
Oracle Enterprise Manager 12c Command-Line Interface
verfasst von
Kellyn Pot'Vin
Seth Miller
Ray Smith
Copyright-Jahr
2014
Verlag
Apress
Electronic ISBN
978-1-4842-0238-8
Print ISBN
978-1-4842-0239-5
DOI
https://doi.org/10.1007/978-1-4842-0238-8