Book Image

Oracle Enterprise Manager Grid Control 11g R1: Business Service Management

Book Image

Oracle Enterprise Manager Grid Control 11g R1: Business Service Management

Overview of this book

Table of Contents (16 chapters)
Oracle Enterprise Manager Grid Control 11gR1: Business Service Management
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface

Creating services Using command-line scripts


As discussed in Chapter 3, Modeling Groups and Systems, OEM Grid Control provides command line tools to create, modify, and remove the targets. The most common command line tool available for target related configuration is emcli. The emcli comes as part of the OEM Grid Control installable and is available under the bin directory of the Oracle Management Server.

The emcli command line script provides an easy way to create generic services based on a system using the verb create_service. The syntax for the create_service key word is as follows:

emcli create_service -name='<ServiceName>' -type='<ServiceType>' -availType='<AvailabilityType>' -availOp='<Operator>' -timezone_region='<GMT Offset>' -systemname='<systemName>' -systemtype='<systemType>' -keycomponents='<keycomp1name:keycomp1type;keycomp2name:keycomp2type>'

All these fields are mandatory in the case of a service creation based on system target...