412
www.bmc.com BMC Impact Solutions: Service Model Administrator’s Guide Supporting BMC Impact Service Model Editor 7.2 BMC Impact Publishing Server 7.2 June 2008

Service Model

Embed Size (px)

DESCRIPTION

Creating service models using BMC ProactiveNet

Citation preview

Page 1: Service Model

www.bmc.com

BMC Impact Solutions: Service Model Administrator’s Guide

Supporting

BMC Impact Service Model Editor 7.2BMC Impact Publishing Server 7.2

June 2008

Page 2: Service Model

Contacting BMC Software

You can access the BMC Software website at http://www.bmc.com. From this website, you can obtain information about the company, its products, corporate offices, special events, and career opportunities.

United States and Canada

Address BMC SOFTWARE INC2101 CITYWEST BLVDHOUSTON TX 77042-2827 USA

Telephone 713 918 8800 or800 841 2031

Fax 713 918 8000

Outside United States and Canada

Telephone (01) 713 918 8800 Fax (01) 713 918 8000

© Copyright 2007–2008 BMC Software, Inc.

BMC, BMC Software, and the BMC Software logo are the exclusive properties of BMC Software, Inc., are registered with the U.S. Patent and Trademark Office, and may be registered or pending registration in other countries. All other BMC trademarks, service marks, and logos may be registered or pending registration in the U.S. or in other countries. All other trademarks or registered trademarks are the property of their respective owners.

ITIL® is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office, and is used here by BMC Software, Inc., under license from and with the permission of OGC.

Linux is the registered trademark of Linus Torvalds.

Oracle is a registered trademark of Oracle Corporation.

UNIX is the registered trademark of The Open Group in the US and other countries.

BMC Software considers information included in this documentation to be proprietary and confidential. Your use of this information is subject to the terms and conditions of the applicable End User License Agreement for the product and the proprietary and restricted rights notices included in this documentation.

Restricted rights legendU.S. Government Restricted Rights to Computer Software. UNPUBLISHED -- RIGHTS RESERVED UNDER THE COPYRIGHT LAWS OF THE UNITED STATES. Use, duplication, or disclosure of any data and computer software by the U.S. Government is subject to restrictions, as applicable, set forth in FAR Section 52.227-14, DFARS 252.227-7013, DFARS 252.227-7014, DFARS 252.227-7015, and DFARS 252.227-7025, as amended from time to time. Contractor/Manufacturer is BMC SOFTWARE INC, 2101 CITYWEST BLVD, HOUSTON TX 77042-2827, USA. Any contract notices should be sent to this address.

Page 3: Service Model

3

Customer support

You can obtain technical support by using the BMC Software Customer Support website or by contacting Customer Support by telephone or e-mail. To expedite your inquiry, see “Before contacting BMC.”

Support website

You can obtain technical support from BMC 24 hours a day, 7 days a week at http://www.bmc.com/support_home. From this website, you can

■ read overviews about support services and programs that BMC offers■ find the most current information about BMC products■ search a database for issues similar to yours and possible solutions■ order or download product documentation■ download products and maintenance■ report an issue or ask a question■ subscribe to receive proactive e-mail alerts when new product notices are released■ find worldwide BMC support center locations and contact information, including e-mail addresses, fax numbers, and

telephone numbers

Support by telephone or e-mail

In the United States and Canada, if you need technical support and do not have access to the web, call 800 537 1813 or send an e-mail message to [email protected]. (In the subject line, enter SupID:<yourSupportContractID>, such as SupID:12345). Outside the United States and Canada, contact your local support center for assistance.

Before contacting BMC

Have the following information available so that Customer Support can begin working on your issue immediately:

■ product information

— product name— product version (release number)— license number and password (trial or permanent)

■ operating system and environment information

— machine type— operating system type, version, and service pack or other maintenance level such as PUT or PTF— system hardware configuration— serial numbers— related software (database, application, and communication) including type, version, and service pack or

maintenance level

■ sequence of events leading to the issue

■ commands and options that you used

■ messages received (and the time and date that you received them)

— product error messages— messages from the operating system, such as file system full— messages from related software

Page 4: Service Model

4 BMC Impact Solutions: Service Model Administrator’s Guide

Page 5: Service Model

ContentsChapter 1 Service model overview 19

Service model overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Sources of objects in a service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Rules for service model data modification and deletion . . . . . . . . . . . . . . . . . . . . . 23Using the BMC Atrium CMDB as a source of service model data. . . . . . . . . . . . . 23Using BMC Performance Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Using Direct Feed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Precedences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Chapter 2 Designing a service model 27

Service model design process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Defining business goals for the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Decomposing a business service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Defining the service catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Defining the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Defining a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Defining a new component class for a component type . . . . . . . . . . . . . . . . . . . . . 34Analyzing a component’s critical failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Determining a component’s relationship and dependencies . . . . . . . . . . . . . . . . . 35Determining the organization of the modeled relationships . . . . . . . . . . . . . . . . . 36Identifying a component’s critical events and their sources. . . . . . . . . . . . . . . . . . 37Displaying business key performance indicators (KPIs) . . . . . . . . . . . . . . . . . . . . . 39

Service model design considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Determining cell topology for the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Component property updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Chapter 3 Understanding a service model 43

Service components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Component classes and types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Service component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Component status and substatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Component status computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

Service model component types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Component relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Service consumers and providers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Status propagation in relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Relationship states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Relationship control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

Contents 5

Page 6: Service Model

Dynamic status mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Event associations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58

Bringing events from the resource into the cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Component aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Event alias associations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

Service schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Timeframes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Service schedules example with exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

Chapter 4 Understanding a service model created in BMC Impact Service Model Editor 65

Role of the BMC Atrium CMDB in service modeling. . . . . . . . . . . . . . . . . . . . . . . . . . . 66Service model and the Common Data Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

Sandboxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Promotion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Service model publishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Service model execution on cells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73In-model and not-in-model component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Importing Business Time Segments from BMC Remedy AR System . . . . . . . . . . . . . 74

Chapter 5 Building a service model in BMC Impact Service Model Editor 75

Service model creation process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Launching BMC Impact Service Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Working with service component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

Creating service component instances in BMC Impact Service Model Editor . . . 78Switching sandbox View modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83Viewing properties for a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84Editing component instances. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Performing actions on multiple objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Copying component instances. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87Hiding a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88Deleting a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89Finding component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

Defining relationships between component instances . . . . . . . . . . . . . . . . . . . . . . . . . . 96Creating a component relationship in BMC Impact Service Model Editor . . . . . 97Assigning related component instances to cells . . . . . . . . . . . . . . . . . . . . . . . . . . . 101Updating relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102Deleting relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

Associating events with a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104Working with timeframes and service schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

Icons used in the service schedule and timeframes editors . . . . . . . . . . . . . . . . . 110Working with timeframes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110Working with service schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113Assigning components to service schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

Granting access to service model objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118Granting permissions to individual service model objects . . . . . . . . . . . . . . . . . . . . . 118

Contents 6

Page 7: Service Model

Testing the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120Testing component relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120Testing event associations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

Promoting the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121About the publishing process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121Before you promote. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Submitting a promotion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Verifying promotion status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125Working with publication logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126

Organizing service component instances for monitoring . . . . . . . . . . . . . . . . . . . . . . 128Working with BMC Impact Service Model Editor Views . . . . . . . . . . . . . . . . . . . . . . 132

Saving, opening, renaming, and deleting Views . . . . . . . . . . . . . . . . . . . . . . . . . . 133Understanding visual cues in a View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134Repositioning objects in a View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Controlling what you see in a View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136Exploring consumer and provider paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138Refreshing the View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139Repositioning the dockable windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140Showing topology views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

Exporting and importing service model data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141Exporting class definitions from the BMC Atrium CMDB to a cells . . . . . . . . . . . . . 142

Chapter 6 Upgrading a service model to BMC Atrium CMDB 143

Upgrading from non-Atrium-CMDB SIM to BMC Atrium CMDB SIM . . . . . . . . . . 144Upgrading SIM data that originates from BMC Performance Manager . . . . . . . 144Upgrading SIM data that originates from third-party source . . . . . . . . . . . . . . . 145sim2cmdb restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145

Recommended upgrade steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145Understanding how the upgrade works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147Ensuring quality data in BMC Atrium CMDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Identifying components and data reconciliation . . . . . . . . . . . . . . . . . . . . . . . . . . 148Data imported into BMC.SIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151sim2cmdb CLI command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153Running the upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156Reviewing the output files for sim2cmdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160Upgrade commitment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163CI identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Dataset cleanup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165sim2cmdb return codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165

Chapter 7 Component and relationship status propagation 169

About component and relationship status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169How component status computation works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170

Status computation functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170Status computation algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171How status computation algorithms work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172About status computation models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173Anatomy of a status computation model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174

Contents 7

Page 8: Service Model

The internal status NONE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174Quorum algorithm examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174

Relationship status propagation concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177How status propagation works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177Status propagation models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178Default status propagation models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178What is a valid status propagation model? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180

Important service components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180Dynamic prioritization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181

Self priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182Impacts priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191Determination of final priority. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192How cost impact is calculated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194How SLA impact is calculated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194

Chapter 8 Managing BMC Impact Service Model Editor 195

Setting BMC Impact Service Model Editor options. . . . . . . . . . . . . . . . . . . . . . . . . . . . 196Configuring the topology view in BMC Impact Service Model Editor . . . . . . . . . . . 200Using a firewall with BMC Impact Service Model Editor . . . . . . . . . . . . . . . . . . . . . . 201Adding new classes to the BMC Atrium CMDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202

Making your changes visible to applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202Creating a new service model component class in the BMC Atrium CMDB . . . 203Associating a custom icon with a service model component . . . . . . . . . . . . . . . . 204Documenting your extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207

smeserver properties file and parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208

Chapter 9 Managing BMC Impact Publishing Server 211

Starting and stopping the BMC Impact Publishing Server . . . . . . . . . . . . . . . . . . . . . 212Starting and stopping BMC Impact Publishing Server on Windows. . . . . . . . . . 212Starting and stopping BMC Impact Publishing Server on UNIX . . . . . . . . . . . . . 214

Working with publication logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215Viewing publication history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215Viewing publication history details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216

Specifying a port for Service Model Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217High availability and BMC Impact Publishing Server . . . . . . . . . . . . . . . . . . . . . . . . . 217Monitoring BMC Impact Publishing Server with BMC Impact Manager events . . . 218

Modifying the generation of events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218Understanding classes and slots for BMC Impact Publishing Server events . . . 220

About SIM management data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228Understanding publish environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229

About publish environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230About home cell, home cell alias, and cell alias. . . . . . . . . . . . . . . . . . . . . . . . . . . . 231

Publishing from the BMC Atrium CMDB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232Enabling AtriumCMDB Publish publishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232Using BMC Impact Service Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233Creating advanced publish environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236Examples of advanced environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237Defining BMC Atrium CMDB classes for SIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239

8 BMC Impact Solutions: Service Model Administrator’s Guide

Page 9: Service Model

Defining BMC Atrium CMDB attributes for SIM . . . . . . . . . . . . . . . . . . . . . . . . . . 239ServiceModelSet attribute for components and management data . . . . . . . . . . . 240ServiceModelSet attribute for impact relationships . . . . . . . . . . . . . . . . . . . . . . . . 241Initializing the BMC Atrium CMDB with SIM data. . . . . . . . . . . . . . . . . . . . . . . . 241Initializing a cell. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246Example—creating SIM data in BMC Atrium CMDB from BAROC files . . . . . 248Purging and deleting service model objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249Publishing in automated or manual mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250

Publishing from a Direct Publish source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252About home cell and cell alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253About class and slot data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255Enabling Direct Publish publishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255Creating an environment for SIM management data . . . . . . . . . . . . . . . . . . . . . . 256Publishing SIM management data from exclusive environment . . . . . . . . . . . . . 256Creating an environment for component instances and relationships . . . . . . . . 257Modifying home cell and cell aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257Initializing a cell from a Direct Publish environment . . . . . . . . . . . . . . . . . . . . . . 258Examples—using cell aliases for Direct Publish publishing . . . . . . . . . . . . . . . . . 258

Securing publish environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260pserver.conf file and parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262Configuring the Notify ARDBC plug-in. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266

Chapter 10 BMC Impact Publishing Server CLIs 269

Installing the CLIs on another computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270Configuring BMC Impact Publishing Server CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272

Configuration file and parameters for CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273Changing the time-out values for all the CLI commands . . . . . . . . . . . . . . . . . . . 279Setting the configuration for a specific CLI command . . . . . . . . . . . . . . . . . . . . . 280Setting up automatic authentication of CLI commands . . . . . . . . . . . . . . . . . . . . 280Specifying the BMC Impact Administration Server used for CLI authentication . .

281Configuring trace for CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281

Understanding common command options for CLIs. . . . . . . . . . . . . . . . . . . . . . . . . . 281Understanding return codes for CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283

Return codes for pserver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286Using CLI commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287

Summary of CLI commands for BMC Impact Publishing Server . . . . . . . . . . . . 287pclassinfo—Comparing service model classes on cells with class definitions in

the BMC Atrium CMDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289penv—Managing publish environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292pinit—Initializing a cell with service model data . . . . . . . . . . . . . . . . . . . . . . . . . . 301plog—Obtaining the XML log for a request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304plogdisplay—Converting the XML log for a request to text format . . . . . . . . . . 306pposter—Sending service model objects to a cell . . . . . . . . . . . . . . . . . . . . . . . . . . 307pscontrol—Sending a command to BMC Impact Publishing Server. . . . . . . . . . 318pserver—Starting the BMC Impact Publishing Server service or daemon. . . . . 320psstat—Displaying status of BMC Impact Publishing Server . . . . . . . . . . . . . . . 321publish—Publishing a service model or viewing instances to be published . . . 322 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324

Contents 9

Page 10: Service Model

Appendix A Troubleshooting 325

BMC Impact Service Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325Using the BMC Impact Service Model Editor log . . . . . . . . . . . . . . . . . . . . . . . . . . 325Other BMC Impact Service Model Editor Troubleshooting Options . . . . . . . . . . 329

BMC Impact Publishing Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330Verifying that BMC Impact Publishing Server is running. . . . . . . . . . . . . . . . . . . 330Using trace files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330Stopping BMC Impact Publishing Server when JMS is not running . . . . . . . . . . 330Publishing large service models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331Publishing failures and reattempts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332BMC Impact Publishing Server service or daemon fails to start. . . . . . . . . . . . . . 333No publication after successful promotion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333Reconciliation jobs hang . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334BMC Impact Publishing Server does not reply to requests . . . . . . . . . . . . . . . . . . 334Diagnosing publication failures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335Another publish request is ongoing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339

Appendix B Default service model data classes 341

Service model data structures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342Service model data class overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342Service model data class files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342

Service model component data classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343BMC_BaseElement data class. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343BMC_Impact data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349BMC_DOWNTIME_STATUS_CONFIG data class. . . . . . . . . . . . . . . . . . . . . . . . . 352BMC_STATUS_COMPUTATION data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353BMC_STATUS_PROPAGATION data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355BMC_PROPAGATION_MAP data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357

SIM data class descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358BMC_SEVERITY_TO_STATUS data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358BMC_SIM_MATCH_TABLE data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359BMC_SIM_ALIAS data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359BMC_SLOT_FORMULAS data class. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360BMC_TIME_SCHEDULE data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360BMC_TIME_FRAME_TO_SCHEDULE data class . . . . . . . . . . . . . . . . . . . . . . . . . 361BMC_SELF_PRIORITY_MAPPING data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361BMC_SERVICE_SCHEDULE_CONFIG data class . . . . . . . . . . . . . . . . . . . . . . . . . 362BMC_STATUS_TO_SEVERITY data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362SIM_TIME_FRAME class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363SIM_CellAlias class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363SIM_CellInformation class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363BMC_PROMOTION_LOG class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363

Service model event classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364CORE_EVENT base class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364Root event class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366History event class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366Impact event class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367

10 BMC Impact Solutions: Service Model Administrator’s Guide

Page 11: Service Model

Glossary 369

Index 403

Contents 11

Page 12: Service Model

12 BMC Impact Solutions: Service Model Administrator’s Guide

Page 13: Service Model

FiguresService model objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Example of a service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Inserting KPI data into the business_slot with an action . . . . . . . . . . . . . . . . . . . . . . . 39Updating KPI data with a rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Impact (status) propagation in relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Parts of a simple alias formula . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60Find Component dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90Advanced Find dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92Using Conditional Find . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94Create Relationship dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99Drawing relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101Creating an alias association . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105Defining the events to be processed by the alias formula . . . . . . . . . . . . . . . . . . . . . . 106Example of match attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107Timeframe Edit dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111Schedule Edit dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114Schedules Editor section of Edit Component Properties dialog box . . . . . . . . . . . . . 117Changing access for an individual component instance . . . . . . . . . . . . . . . . . . . . . . . 119Example output file without commit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161Example verify.log file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162Example output file with commit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163Propagation paths between root cause and important components . . . . . . . . . . . . . 181Self priority determination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182Cost priority method of priority determination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186Worst SLA method of priority determination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190Impacts priority determination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191Final priority determination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193Default value for com.bmc.sms.sme.topoviews parameter . . . . . . . . . . . . . . . . . . . . 200Graph definition format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201Example of a graph definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201BMC_BaseElement default icon image . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207pscontrol stop example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319pscontrol automated example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319pscontrol automated -u example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319pscontrol manual example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320BMC Impact Service Model Editor log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325BMC_BaseElement definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344MC_SM_COMPONENT definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345MC_SM_DATA definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345CORE_DATA definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346

Figures 13

Page 14: Service Model

BMC_Impact definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350MC_SM_RELATIONSHIP definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350MC_SM_DATA definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350CORE_DATA definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351BMC_DOWNTIME_STATUS_CONFIG definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 353BMC_SIM_DATA definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353BMC_STATUS_COMPUTATION definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354BMC_SIM_DATA definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354BMC_STATUS_PROPAGATION definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356BMC_SIM_DATA definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356BMC_PROPAGATION_MAP definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357BMC_SIM_DATA definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357SEVERITY_TO_STATUS definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359BMC_SIM_MATCH_TABLE definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359BMC_SIM_ALIAS definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360BMC_SLOT_FORMULAS definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360BMC_TIME_SCHEDULE definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361BMC_TIME_FRAME_TO_SCHEDULE definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361BMC_SELF_PRIORITY_MAPPING definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362BMC_SERVICE_SCHEDULE_CONFIG definition . . . . . . . . . . . . . . . . . . . . . . . . . . . 362BMC_STATUS_TO_SEVERITY definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362SIM_TIME_FRAME definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363Partial CORE_EVENT definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365MC_SMC_ROOT definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366SMC_STATE_CHANGE definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366MC_SMC_EVENT definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367

14 BMC Impact Solutions: Service Model Administrator’s Guide

Page 15: Service Model

TablesHow service model objects get to a SIM cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21Advantages and disadvantages of different object sources . . . . . . . . . . . . . . . . . . . . . 22Example business service model spreadsheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31BMC Impact Service Model Editor values for IT service Sales Logix . . . . . . . . . . . . . 32Severity level index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Occurrence level index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Service component status definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Service model component types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Main relationship classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52How an event alias association works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60Global and Local timeframe differences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63SIM-qualified subclasses of BMC_Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67SIM-qualified subclasses of BMC_LogicalEntity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67SIM-qualified subclasses of BMC_System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68SIM-qualified subclasses of BMC_SystemComponent . . . . . . . . . . . . . . . . . . . . . . . . . 68SIM-qualified subclass of BMC_SystemService . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68SIM-qualified attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69View mode switch icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83Default component properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84Description of additional search criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Definition of relational operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95Description of conditional operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106Service schedule and timeframes editors icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110Timeframe Edit field descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111Schedule Edit field descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114Default user groups and rights for BMC Impact Service Model Editor . . . . . . . . . . 118Icons in Objects-to-be-Published pane . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123Topics covered in this section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132Visual cues in a View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Adjusting the graphical view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136Understanding expansion handles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139Identifying components in the BMC Atrium CMDB . . . . . . . . . . . . . . . . . . . . . . . . . . 149Key slots in reconciliation rules for management data . . . . . . . . . . . . . . . . . . . . . . . . 151Possible import results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153sim2cmdb.conf file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154sim2cmdb command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157error exit codes for sim2cmdb CLI command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165Status computation functions and computed component statuses . . . . . . . . . . . . . . 171What a function returns when using an available algorithm . . . . . . . . . . . . . . . . . . . 172Description of predefined status computation models . . . . . . . . . . . . . . . . . . . . . . . . 173

Tables 15

Page 16: Service Model

How status propagation models work in relationships . . . . . . . . . . . . . . . . . . . . . . . 179smeserver.properties file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208BMC Impact Publishing Server event generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219Common Event Model (CEM) slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221IPS_START slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222IPS_STOP slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223IPS_CONFIG slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223IPS_CONNECT slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224IPS_IM_CONNECT slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225IPS_REQUEST slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225IPS_PUBLISH slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227IPS_CLASSINFO slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227IPS_ERROR slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228IPS_ENV slots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228Basic steps to create advanced test environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236ServiceModelSet attribute values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240Determination of ServiceModelSet value for an impact relationship . . . . . . . . . . . . 241Parameters in the pclient.conf file for initializing the BMC Atrium CMDB . . . . . . . 242InitEffectivelyMgmtData parameter values and results . . . . . . . . . . . . . . . . . . . . . . . 243InitEffectivelyServiceModel parameter settings and results . . . . . . . . . . . . . . . . . . . . 245Basic process of publishing from a Direct Publish source . . . . . . . . . . . . . . . . . . . . . . 252Valid parameters for a Direct Publish environment . . . . . . . . . . . . . . . . . . . . . . . . . . 253pserver.conf file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263ar.cfg file parameter descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267pclient.conf parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273BMC Impact Publishing Server CLI common command options . . . . . . . . . . . . . . . 282BMC Impact Publishing Server and sim2cmdb CLI error exit codes . . . . . . . . . . . . 283pserver error exit codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286BMC Impact Publishing Server CLI command descriptions . . . . . . . . . . . . . . . . . . . 288pclassinfo options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289penv options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Actions commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294Valid parameters for a BMC Atrium CMDB publish environment . . . . . . . . . . . . . . 296Valid parameters for a Direct Publish environment . . . . . . . . . . . . . . . . . . . . . . . . . . 298pinit options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302plog options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305plogdisplay options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306plogdisplay return codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307pposter options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308pposter return codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317pscontrol command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318pserver command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320psstat command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321publish command options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322BMC Impact Publishing Server request failure messages . . . . . . . . . . . . . . . . . . . . . . 335Service management data class files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343Slots that define component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346BMC_Impact slot definitions in alphabetical order . . . . . . . . . . . . . . . . . . . . . . . . . . . 351BMC_DOWNTIME_STATUS_CONFIG slot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353

16 BMC Impact Solutions: Service Model Administrator’s Guide

Page 17: Service Model

BMC_STATUS_COMPUTATION slots in alphabetical order . . . . . . . . . . . . . . . . . . 355Status propagation slots in alphabetical order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356BMC_PROPAGATION_MAP slot definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358

Tables 17

Page 18: Service Model

18 BMC Impact Solutions: Service Model Administrator’s Guide

Page 19: Service Model

C h a p t e r 1

1 Service model overview

This book provides detailed information about designing, developing, and maintaining service models that enable you to manage your IT resources from the perspective of the business services that they provide.

This chapter contains the following topics:

Service model overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20Sources of objects in a service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Rules for service model data modification and deletion . . . . . . . . . . . . . . . . . . . . . 23Using the BMC Atrium CMDB as a source of service model data. . . . . . . . . . . . . 23Using BMC Performance Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Using Direct Feed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Precedences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

Chapter 1 Service model overview 19

Page 20: Service Model

Service model overview

Service model overviewA service model is an extensible system that defines the various resources that deliver business services, models their behaviors and functional relationships, and manages the delivery of the resulting services.

A physical or logical resource represented in the model is known as a service component instance or component instance. The functional relationship between two resources (component instances) is called a service component relationship or a relationship. These concepts are illustrated in Figure 1 on page 20.

Figure 1 Service model objects

Building, promoting, and publishing a service model involves processes that span from the discovery or manual creation of component instances in your IT environment to verifying the service model before promoting and publishing it to specific BMC Impact Manager cells.

20 BMC Impact Solutions: Service Model Administrator’s Guide

Page 21: Service Model

Sources of objects in a service model

Sources of objects in a service modelA service model can contain objects (components and relationships) from different sources. In addition, the service model objects in a single cell can originate from multiple sources. So, you can mix different sources of data in a SIM cell. For example, you may have the bulk of your service model objects come from the BMC Atrium CMDB, and then add special objects manually using a BAROC file. It is also possible to track very dynamically occurring objects, with MRL rules, for example.

Data that you send from any given environment must be updated and deleted in the context of that environment.

Sources for service model objects in a SIM cell are

■ BMC Atrium CMDB■ BMC Impact Explorer■ CLI commands pposter and mposter

■ Master Rule Language (MRL)■ third-party repository

The source of the service model data determines the method of delivery into the cell, as described in Table 1.

Table 1 How service model objects get to a SIM cell

Source for service model objects How objects are delivered to a cell Delivery method name

BMC Atrium CMDB objects are discovered using discovery tools or you create them in the BMC Impact Service Model Editor component; they are reconciled by the BMC Atrium CMDB Reconciliation Engine, and then automatically published to the cell using BMC Impact Publishing Server

Atrium Publish Feed

BAROC source file you create a BAROC source file of object data and send it to the cell using the CLI command pposter, which publishes the data to the cell using BMC Impact Publishing Server

Direct Publish Feed

you create a BAROC source file of object data and send it to the cell using the CLI command mposter

source Direct Feed

BMC Impact Explorer you create components, relationships, or both in BMC Impact Explorer using the Edit => Create Component menu command; when the objects are saved, they are sent directly to the cell

source Direct Feed

MRL rule you create a rule that adds objects to the cell on receipt of a trigger event

tool direct feed

BMC Performance Manager you configure BMC Performance Manager to handle Direct Service Model integration

source direct feed

Chapter 1 Service model overview 21

Page 22: Service Model

Sources of objects in a service model

Table 2 describes some of the advantages and disadvantages of the different sources for service model data.

Table 2 Advantages and disadvantages of different object sources

Object source Advantages Disadvantages

BMC Atrium CMDB ■ handles large, complex service models

■ accepts objects from discovery tools

■ sophisticated features, such as BMC Impact Service Model Editor GUI to create, edit, and delete objects, and dynamic prioritization

■ data is protected from uncontrolled edits

■ customizable permissions are available

■ complex to implement■ time factor to discover or

create, reconcile, and publish objects

BAROC file with pposter CLI command

■ easy to set up a simple service model quickly

■ managed by BMC Impact Publishing Server, so data is protected from uncontrolled edits

■ useful only for small, simple models

■ BAROC file must be created to exact standards

■ requires knowledge of CLIs

BMC Impact Explorer ■ user interface to create and edit components and relationships

■ you can add data to complement other sources

■ may not build complete model

■ not as protected from uncontrolled edits

■ no primary copy in external datastore

MRL rule ■ handles highly dynamic changes

■ only practical for special circumstances

■ may not build complete model

■ no primary copy in external datastore

Direct Publish Feed ■ validation of the service model is off-loaded from the cell, preventing cell processing performance degradation

22 BMC Impact Solutions: Service Model Administrator’s Guide

Page 23: Service Model

Rules for service model data modification and deletion

Rules for service model data modification and deletion

For published service model data, changes and deletions are restricted to the original source of the data. Objects delivered to the SIM cell from BMC Atrium CMDB must be edited and deleted in BMC Impact Service Model Editor (or BMC Atrium CMDB) and objects from the CLI command pposter must be changed and deleted using a BAROC source file and pposter.

Published data is protected from modification or deletion by any form of Direct Feed. In other words, while published components are visible in BMC Impact Explorer, you cannot change or delete them in BMC Impact Explorer, nor with a rule, or the mposter command.

If you first create a CI via a pposter and later publish that CI (same ComponentAlias) from BMC Atrium CMDB, then the DirectPublish CI is replaced by a AtriumCMDB CI. If you first create a CI from publish from BMC Atrium CMDB then try to modify it via pposter, this fails because the DirectPublish environment is not the source of the CI.

Using the BMC Atrium CMDB as a source of service model data

When service model component and relationship data is stored in BMC Atrium CMDB, you use these products from BMC Impact Solutions to create and manage service models:

■ BMC Impact Service Model Editor■ BMC Impact Publishing Server

In the BMC Impact Service Model Editor, you build and maintain a service model with component objects, and manage your service model environment

In the BMC Impact Publishing Server, you publish service model data to the cells and manage publish environments.

Your service model can come solely from BMC Atrium CMDB or you can add objects to it from other sources.

For more information about creating service models using BMC Atrium CMDB, see Chapter 4, “Understanding a service model created in BMC Impact Service Model Editor” and Chapter 5, “Building a service model in BMC Impact Service Model Editor”.

Chapter 1 Service model overview 23

Page 24: Service Model

Using BMC Performance Manager

Using BMC Performance Manager

With both BMC Impact Portal and BMC Performance Manager installed, you can send service model components from BMC Performance Manager directly to the cell.

Service model objects that originate from BMC Performance Manager may be missing relationships, making the service model incomplete. In BMC Impact Explorer, you can create an impact relationship between the two components.

For information about this, see BMC Performance Manager Portal Monitoring and Management Guide.

Using Direct Feed

A direct feed source of service model data is any application, executable, script, or rule that sends service model data directly to the cell.

Sending service model data to the cell from BMC Impact Explorer, the CLI command mposter, or MRL rules is enabled by default. This is controlled in the mcell.conf configuration file by the ServiceModelDirectFeed parameter, which is set to Y (yes) by default. To disable Direct Feed, change this parameter setting to N (no).

For more information about creating and editing service model components in BMC Impact Explorer, see BMC Impact Solutions: Service Monitoring User Guide.

Since Direct Feed is enabled by default, when a cell starts, the service management data is loaded.

Management data that comes from DirectFeed cannot be referred to by a service model that is published. Publication will fail if the referred management data is not published.

Precedences

Data published from BMC Atrium CMDB automatically overwrites Direct Publish data and Direct Feed data. Between Direct Publish and Direct Feed data, Direct Publish data has a higher precedence and hence overwrites Direct Feed data. Events that are attached to lower precedence CIs are automatically reattached to overwriting CIs of higher precedence.

24 BMC Impact Solutions: Service Model Administrator’s Guide

Page 25: Service Model

Precedences

Data overrides other data with a lower precedence if

■ it has the same key slots or ■ in the case of a MC_SM_COMPONENT, when it has the same alias

Different system sources like BMC Impact Explorer, pposter, BMC Performance Manager, and BMC Atrium CMDB must not create data with the same mc_udid.

Overriding rules

When data X, for example, has precedence pX with key slot values that collide with existing data Y with precedence pY, such that pY < pX, then Y is deleted; otherwise the addition of X fails.

These key slot collision rules apply to SIM data and relationships (the keys of a relationships are the provider_id and consumer_id). Do not modify key slots.

Data modification or deletion is allowed only when the publish environment ID of the requester matches the publish_env_id of the data. In addition to these rules, extra operations are performed when overriding, modifying, or deleting CIs to ensure the uniqueness of each alias and to avoid (local) relationships with dangling ends.

Chapter 1 Service model overview 25

Page 26: Service Model

Precedences

26 BMC Impact Solutions: Service Model Administrator’s Guide

Page 27: Service Model

C h a p t e r 2

2 Designing a service model

This chapter covers the following topics:

Service model design process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Defining business goals for the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Decomposing a business service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30Defining the service catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Defining the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Defining a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Defining a new component class for a component type . . . . . . . . . . . . . . . . . . . . . 34Analyzing a component’s critical failures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34Determining a component’s relationship and dependencies . . . . . . . . . . . . . . . . . 35Determining the organization of the modeled relationships . . . . . . . . . . . . . . . . . 36Identifying a component’s critical events and their sources. . . . . . . . . . . . . . . . . . 37

Service model design considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Determining cell topology for the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . 40Component property updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Chapter 2 Designing a service model 27

Page 28: Service Model

Service model design process

Service model design processThe best service models are enterprise-specific, achieving the organization’s business availability goals. The IT environment, its organization, and its operational constraints vary significantly among enterprises.

A cost-effective strategy when you begin the process of building a service model is to select one critical business process/service, decompose it to identify all aspects of the service, and build a complete service model for that part of your enterprise.

Figure 2 shows an example of a generic service model as it appears in BMC Impact Service Model Editor with business users, services, and IT structure layers. The lines between the component instances represent the provider/consumer relationships.

Figure 2 Example of a service model

business consumers

service layer

IT infrastructure

28 BMC Impact Solutions: Service Model Administrator’s Guide

Page 29: Service Model

Defining business goals for the service model

The following factors determine how a service impact management solution should be designed and implemented:

■ the diversity of IT resources and how they are monitored■ the location of resources and how the management responsibilities for them are

distributed within and among IT or information services (IS) groups ■ the relative importance of various resources in the delivery of business services■ the need for change management■ the maintainability of the service model over time

The service modeling process involves:

■ identifying sources of event information■ gaining familiarity with the structure and content of events■ identifying core competencies within the organization■ identifying critical business processes■ identifying IT services and their components■ finding relationships and dependencies between IT services■ building the necessary database of information (asset inventory, service catalog,

and so on)■ building the service model

Defining business goals for the service modelThe most basic step involved in defining a service model is defining the specific business goals you hope to achieve with the model.

To do so, the IT or IS group must engage the business managers in defining short-term, mid-term, and long-term goals for service impact management for the enterprise. These goals guide the design and development of deliverables for all service model development phases and define the amount of time and effort required for development and implementation.

Some possible goals for service impact management are:

■ operational efficiency—This type of implementation is run by and for the IT or IS group. It consists of a thin layer of logical groups on top of a large number of IT resources, ranging from applications and systems to hard disks and other hardware components. Services are just logical groupings that provide a convenient way of classifying the technical resources.

Chapter 2 Designing a service model 29

Page 30: Service Model

Decomposing a business service

■ business-focused operational efficiency—This type of implementation is likely to involve various populations and centers of management in the enterprise. It consists of a balanced representation of the operational environment, encompassing the IT components, such as systems and applications, and the logical components, such as services, user groups, and other business objects.

■ business continuity and service availability—This type of implementation is driven from the top and ensures that IT or IS is delivering their services as agreed. It consists of a business-centric model in which business processes, services, and SLAs rely on a small number of vital IT components that measure the pulse of the underlying environment.

Decomposing a business serviceThe purpose of decomposing a business service is to identify and document business processes, identify the IT services that support them, and identify IT components and assets that provide the IT services. For example, a hardware manufacturing organization may identify a business function as microprocessor procurement, a supporting IT service as procurement information storage, and the supporting IT assets as servers, databases, and related hardware and software systems.

On a high level, a service model is a collection of components that represent a business service. A business service can have one or more business processes. Each business process can contain several functional applications, each of which can have multiple IT components. A service model will contain the processes, show how the components are interconnected, and show how component failures propagate and impact the upstream services.

The following steps facilitate the process of creating a service model.

1 Identify business services.

Sources of information include business unit managers, business process managers, and staff personnel knowledgeable about the business services. Company organization charts might be helpful in identifying the relevant people.

The process involves interviewing the managers and identifying the following information:

■ business processes—Identify key business processes such as Market Research, Product Planning, Response Management, or Case Management. There can be multiple levels of business processes, starting with higher level core competencies and business functions, to specific sub-business processes.

■ functional applications—Identify the business applications that support the business processes. Map the business processes to the functional apps.

30 BMC Impact Solutions: Service Model Administrator’s Guide

Page 31: Service Model

Decomposing a business service

Map the functional applications to IT service components to create the business service models.

2 Identify IT services.

Sources of information include IT managers and staff. Disaster recovery plans, help desk documents, and purchase orders might be useful in identifying IT components and the business processes that they support.

The process involves identifying the list of IT assets (components). Interview the IT management and staff, or utilize an asset/configuration management database as resources:

■ Create a list of IT services (service catalog); discover what IT services are offered to business units through use of IT assets. Examples of IT services include customer support and customer call monitoring.

■ For each IT service, identify the IT assets that support the service. ■ Identify the interdependencies among the IT components and formulate a

topology map. Consider the relationships and dependencies between IT components.

3 Build a business service model, and link the business processes to the IT services you have identified.

Table 3 Example business service model spreadsheet

Core competenciesBusiness functions

Business processes IT services IT component

Plan and develop products

Marketing Market research

Research and development

product planning

Manager customer relations

Front office sales

Response management

Customer support

Support service requests

FTP Server: FTP

Sprint Server: Walrus

Sales Logix Database: SALLOGApplications: Sales LogixUser group: Tech Support deptServers: Antelope

Chapter 2 Designing a service model 31

Page 32: Service Model

Defining the service catalog

Defining the service catalogA service catalog is a list of IT services, logical assets, and physical assets that support business processes for a company.

The service catalog should list all of the IT services with a summary of their characteristics, including values for the fields shown in Table 4.

For the Sales Logix IT service example shown in Table 3 on page 31, the detailed IT component information (except for Alias and Alias formula) that are required by BMC Impact Service Model Editor is shown in Table 4.

Table 4 BMC Impact Service Model Editor values for IT service Sales Logix

Component type

Component name

Component description

Cell name

In/out model

Status computation model

Relationship Policy

Provider instancesthat impact

Consumer instances depending on

business process

Support service requests

Business function is Customer support

bogart in direct Tech Support Analysts

user community

Tech Support Analysts

Techs supporting service requests

bogart in standard direct Sales Logix v6.01

Support service requests

application

Sales Logix v6.01

Sales Logix application, v 6.01

bogart in standard increasing Sales Logix server

Tech Support Analysts

application server

Sales Logix server

Sales Logix server

bogart in standard increasing Sales Logix DB software

Sales Logix v6.01Tech Support Analysts

database Sales Logix DB software

Sales Logic database software v6.0

bogart in standard direct SALLOG Sales Logix applicationTech Support Analysts

database server

SALLOG Sales Logix database server

bogart in standard direct Sales Logix db softwareTech Support Analysts

32 BMC Impact Solutions: Service Model Administrator’s Guide

Page 33: Service Model

Defining the service model

Defining the service modelAfter you have decided on a business goal for service impact management, decomposed your business processes, and created a service catalog, you are ready to define the actual service model.

Defining the service model involves establishing a list of all the IT resources that should be represented in the service model. This information should include:

■ each resource’s name or component identification pattern ■ its location or site

You use this information later in the design phase and when creating service model components.

The first step in developing a service model is to design its logical architecture. To do this, you must analyze the IT environment to

■ identify the resources that make up the service model■ identify the event sources for the resources and their characteristics■ determine the functional relationships and dependencies between various

resources that can affect services

Defining a component instance

In decomposing your business services, you have identified the basic building blocks of a service model—its assets or components. In the BMC service model, each individual resource is represented by a component instance.

Component instances are created as a single instance of a class type that is defined in the BMC Atrium CMDB. Classes may identify such physical components as servers or databases, and such logical components as user groups. Component instances are created through BMC Impact Service Model Editor.

The order in which you create related physical components is unimportant. You can create an IT system component before or after an application component that runs on it.

Chapter 2 Designing a service model 33

Page 34: Service Model

Defining a new component class for a component type

Defining a new component class for a component type

Component instances represent an individual occurrence of a component type, or class. Component classes are displayed in BMC Impact Service Model Editor as templates from which you can create new component types. They are created and maintained in the BMC Atrium CMDB.

In order to maintain service model consistency, when you make a change to the SIM classes in the BMC Atrium CMDB, you must distribute the changes to all of the SIM BMC Impact Manager instances (cells) and recompile them.

Analyzing a component’s critical failures

After service components and associated functions are identified, you need to monitor their status to analyze their effects and watch for failures. To do so:

■ identify the cause of failures and degraded performances for the service component

■ categorize the failures into availability, performance, capacity■ identify the effects of the failures■ assign a severity level to each failure

Severity level values are listed in Table 5.

■ assign a frequency or occurrence level to each failure

Occurrence level index values are listed in Table 6.

Table 5 Severity level index

Severity level Definition

severe Permanently disabling

significant critical end user dissatisfaction

moderate causes degradation of service

minor causes inconvenience to end user

slight caused annoyance for customer

minimal not noticeable by end user

Table 6 Occurrence level index

Occurrence level Definition

high high change of occurrence and needs immediate attention

frequent frequent change to happen and needs attention

34 BMC Impact Solutions: Service Model Administrator’s Guide

Page 35: Service Model

Determining a component’s relationship and dependencies

Sample of FMEA

■ Component—Message Transfer Agent (MTA)■ Function—routes and convert messages■ Point of failure—queue length size growing■ Issue type—performance■ Cause of failure—network connection failure, receiving MTA failure, problem on

sending or receiving machine■ Effect of failure—remote recipients will not receive e-mail while MTA down■ Severity—significant■ Occurrence—slight■ Prevention—monitoring of the system, network, and exchange services■ Detection—PATROL NT and Exchange parameters related to the issue

Determining a component’s relationship and dependencies

To understand the impact of different components and their status on a service, you identify the underlying dependencies and relationships within the IT Systems.

■ consider relationships and dependencies within the IT service; for example, within email service, or call support’s dependency on email

■ consider dependencies on other services; for example, web services and email services

■ consider how the same IT components might support more than one service; for example, one server hosting multiple applications

■ consider the dependencies of several business processes on the same service; for example, email used by all

■ consider the relationship between IT services and business processes (the link called business service)

Map business processes to each system. The grouping of IT systems becomes the IT services, so that only one IT service would exist for each business process.

moderate moderate change to consider prevention

occasional occasionally might happen

slight slight chance to happen

remote unlikely to happen

Table 6 Occurrence level index

Occurrence level Definition

Chapter 2 Designing a service model 35

Page 36: Service Model

Determining the organization of the modeled relationships

Identify the relationships and dependencies among the IT components and the logical components to one another. The direction of the relationship is important. If a system component is to be linked to a hardware component, the hardware component must be the provider and the system component the consumer.

Examine how the various resources combine to deliver a service on a particular host. Define the resources that are providers and the resources that consume their services in the service delivery stream.

Determining the organization of the modeled relationships

How you organize service model components depends on the goals that your organization wants to attain through service impact management. You can organize your service model components using one of these basic organizational strategies:

■ The IT resource management strategy is to create a thin layer of logical groupings on top of a large number of IT resources, ranging from applications and systems to hard disks and other hardware components. This type of implementation is run by and for the IT or IS group. Services are just logical groupings that provide convenient way of classifying the technical resources. The driving force behind this model is operational efficiency.

■ The business-focused operational efficiency strategy is to create a balanced representation of the operational environment, encompassing the IT components, such as systems and applications, and the logical components, such as services, user groups, and other business objects. This type of implementation is likely to involve various populations and loci of management in the enterprise. The driving force is operational efficiency, but with a balanced business perspective.

■ The business continuity and service availability strategy is to implement a business-centric model in which business processes and services rely on a small number of vital IT components to give a status overview of the underlying environment. This type of implementation is driven from the top, ensuring that IT or IS is delivering their services as agreed. The driving force is business continuity and availability. This strategy is similar to BMC Software’s BSM Strategy that is called a Business Service Impact Model.

Although these strategies are only briefly outlined here, they are helpful in understanding that each implementation probably has a different focus, favoring some types of components and having more or less granularity in some branches of the component hierarchy. The strategy that you choose also affects the amount of time and effort required for its development and implementation.

36 BMC Impact Solutions: Service Model Administrator’s Guide

Page 37: Service Model

Identifying a component’s critical events and their sources

Identifying a component’s critical events and their sources

Even the most complete service model provides little value if there is not a consistent flow of events into the model to maintain the real-time status of its components. Event associations provide the mechanism for a component’s real-time status to reflect the health of the actual resource that it represents.

To create the event associations for a component, you must

■ identify the event classes that will be associated with the component ■ establish a naming convention for the logical ID (a key value) so that the same

identification string can be derived from each event class to be associated with the component

You perform event analysis to achieve these goals.

Assuming that there is enough event data consistently available to understand the state of IT resources, perform the following actions:

1 Analyze the event flow of each real IT resource or group of resources that are instrumented in the same way to identify:

■ events that provide no value to the service model

Not all events received by a cell provide valuable information to the service model. Identify the events that are of no value and should be ignored, either by not sending them to a cell or by filtering them out when they reach the first cell.

■ events that provide valuable information about the service environment and must be retained by the cell, such as:

— events that must be changed or adapted either at the source or in the event adapter that collects them to be usable by the model

— events that must be enriched by the cell so that they contain the required information; events can be enriched using Refine and New rules

— events that must be processed (using a Regulate rule) so that only the appropriate occurrences reach the service model

— events that should be combined through abstraction, correlation, or through New rule updates before entering the service model

This includes events that are best represented by a single higher-order event that represents their net effect or represented by event pairs, such as UP/DOWN.

Chapter 2 Designing a service model 37

Page 38: Service Model

Identifying a component’s critical events and their sources

■ missing events or events that cannot be processed

Some situations that you may want to include in your model are not traced by events in the real environment, or the events produced cannot be associated with the IT resource.

2 For each significant event, determine whether the event should be associated only with a component or whether it should also participate in the status computation.

For example, a cause event E1 is associated with the component C1, and a consequence event E2 is associated with the component C2. While it may appear reasonable to elect E1 so that its severity value contributes to the status of C1, electing E2 may be of no use if a relationship propagates the impact of event E1 from component C1 to component C2.

3 Consider how the monitoring tool, such as an agent, adapter, or script, reports the state of the service’s IT resources.

■ Does the monitoring tool send alerts only when something goes wrong?

If so, does it close the alerts automatically?

If the monitoring tool does not close alerts automatically, you may need to automate their closure through rules containing the appropriate cycle and conditions.

■ Does the monitoring tool send status-type events, such as ok or not ok, at regular intervals?

■ Does the monitoring tool handle component availability with some form of heartbeat?

■ When does the IT component representing the resource transition from AVAILABLE to UNKNOWN or from AVAILABLE to UNAVAILABLE, and back again?

■ What is the reliability of the event flow?

Even the most complete service model is of little value if a consistent flow of events into the model cannot be maintained. When creating new event propagation paths, you should take care to consider whether you can improve or, at least, not affect event flow.

38 BMC Impact Solutions: Service Model Administrator’s Guide

Page 39: Service Model

Displaying business key performance indicators (KPIs)

Displaying business key performance indicators (KPIs)

When an external source sends an event with a business metric to the cell, after the event is associated to a component, you use a rule to transfer the value and the unit to the component in the business_data slot in the MC_SM_COMPONENT class.

To insert data into the business_data slot, you use the action sim_operations.set_business_data. (For a published CI, you cannot directly modify the business_data slot in BMC Impact Explorer.) Figure 3 shows an example of the action.

To update the business_data slot, you create a rule or a policy. Figure 4 shows an example rule (in the mc_smc_associate.mrl file).

Service model design considerationsThis section contains information to keep in mind when designing your service model, including information on cell topology, component property updates, and component deletions.

Figure 3 Inserting KPI data into the business_slot with an action

action sim_operations.set_business_data:{

[‘Service Administrators’,’Service Operators - Senior’,’Service Operators’]

} [‘business_data’: STRING($business_data)] :MC_SM_COMPONENT ($A){

$A.business_class=$business_data;}

END

Figure 4 Updating KPI data with a rule

new associate_kpi:<EVENT_CLASS_NAME ($EV) where [$EV.mc_smc_id != ‘’]

using {MC_SM_COMPONENT ($COMP) where [$COMP.mc_udid == $EV.mc_smc_id]} triggers

{$COMP.business_data = <an expression that builds kpi from $EV>;

# uncomment the following if you want to drop these events# if ($EV.mc_sm_impact = != 1) then# {# drop_new;# }

}END

Chapter 2 Designing a service model 39

Page 40: Service Model

Determining cell topology for the service model

Determining cell topology for the service model

There are three basic approaches to cell topology:

■ centralized■ domain-based■ layered

The centralized (default implementation) approach is to implement the service model on one cell, with all the service management objects created and maintained in that cell. Then, use distributed cells to collect and process the raw events of interest before they enter the model.

The domain-based approach separates the service model into two or more parts that correspond to clearly established entities or domains in the organization. Each part is run on a different cell, and users connect to the cells on which the components that they manage reside. Lines of business and independently operated sites are good candidates for this approach. With this approach, you can represent some resources in more than one cell, provided that the event flow is directed or propagated correctly.

The layered approach separates the service model into two or more stratified management layers, such as IT components and logical components. Each layer is contained in a different cell, or possibly distributed among several cells if geography is a factor.

If you are assigning different components of the same service model across multiple cells, first determine which components are related. Then assign related components to appropriate cells until you assign all components of the service model.

To determine related component instances

This topic addresses the publication of different components of a service model to multiple cells: for example, publishing component 1 to cell A, component 2 to cell B, and so forth, until all components of the service model have an assigned cell.

You determine related component instances based on your interpretation of the service model. For example, you might group instances based on geographic proximity, network connectivity, similarity of function, provider-to-consumer relation, and so forth.

You can assign different component instances to different cells to distribute the processing load, or you can make the assignment based on the proximity of the cell to the instance it is monitoring. See “Assigning related component instances to cells” on page 101.

40 BMC Impact Solutions: Service Model Administrator’s Guide

Page 41: Service Model

Component property updates

After you publish the service model, you can view the entire model from a single Impact Explorer console, as long as all the cells are registered with the BMC Impact Portal.

Component property updates

The cell updates the status of a component as new events are received or when an impact from other components occurs.

However, other component properties that can change over time are not maintained by the cell. You can update these properties automatically only if the new values arrive in an event or are added in a data table. You must create a few simple rules to implement this mechanism.

Chapter 2 Designing a service model 41

Page 42: Service Model

Component property updates

42 BMC Impact Solutions: Service Model Administrator’s Guide

Page 43: Service Model

C h a p t e r 3

3 Understanding a service model

A BMC impact service model is made up of

■ data classes that describe the various types of physical and logical IT resources that make up an enterprise’s business

■ corresponding data classes in the SIM KB of cells■ event classes associated with specific resources■ component instances that represent the unique physical and the logical

configuration items that deliver business services■ impact relationships■ management data instances

This chapter presents the following topics:

Service components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Component classes and types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Service component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44Component status and substatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Component status computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

Service model component types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Component relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Service consumers and providers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Relationship states. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55Status propagation in relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54Relationship control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Dynamic status mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

Event associations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Bringing events from the resource into the cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Event alias associations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

Service schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Timeframes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Service schedules example with exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63

Chapter 3 Understanding a service model 43

Page 44: Service Model

Service components

Service componentsThis section contains overview information about components classes and types, types of service component instances, and component statuses.

Component classes and types

A class is the definition or metadata that describes an object type. The class includes information about the object type, such as attributes, primary key, and so on. You can view a list of subclasses or child classes that are associated with a class.

A service component class is a CDM class that is available for inclusion in a service model. These are the only classes visible in BMC Impact Service Model Editor and BMC IM. There are whole classes of objects that are not visible to SIM because they do not make sense in a service model (for example, BMC_Keyboard).

A service component type is a data class that defines a logical or physical asset that participates in the delivery of a business service. Service components can represent a hardware component, an application, a service, customer groups, or any aspect of business for which you want to employ service impact management.

Service components are organized in a hierarchy of classes in which each class represents a component type. The farther down the hierarchy a particular class occurs, the more specific its type.

When you define a new service model component, you must create it using a subclass of the BMC_BaseElement class. Select the most appropriate subclass for each component that you want to create. If an appropriate subclass does not exist or is too generic, you can extend the class hierarchy by adding a new subclass definition to the BMC Atrium CMDB Class Manager. You can also extend an existing class definition by adding one or more slots to store component-specific information.

Classes and their creation are covered in detail in the BMC Atrium CMDB Installation and Configuration Guide.

Service component instances

In BMC Impact Service Model Editor, a component instance is a specific, unique occurrence of a component type. A component type is the generic object: for example, server. The component instance is the specific, unique version of the type: for example, JBoxxServer 123. In BMC Impact Service Model Editor, you select one of the component types from the Templates dockable window and modify that template to create a component instance that defines a specific logical or physical asset.

44 BMC Impact Solutions: Service Model Administrator’s Guide

Page 45: Service Model

Component status and substatus

All service model classes and related slots are stored in the BMC Impact Manager’s server/etc/default/SIM/kb directory. For a description of data class definitions that support the service model, see Appendix B, “Default service model data classes” on page 341.

Component status and substatus

A service component instance is characterized by its status, which is indicated by the color of the component’s icon in BMC Impact Explorer and BMC Impact Portal.

Information about the status of a component instance is stored in the cell in the instance’s status slot. The initial status of a service component instance, just after its creation, is determined by the default value of its class-level status slot (usually this value is green or OK).

Table 7 defines the default service component status values that are available in BMC Impact Explorer.

Table 7 Service component status definitions

Service component status Meaning

Default color value Enumeration

Equivalent BAROC status

01 NONE (no substatus)

BLACKOUT monitoring of the component is suspended for a scheduled period

dark gray 10 BLACKOUT

UNKNOWN status of the component has not yet or cannot be determined

light gray 20 UNKNOWN

OK nothing has occurred that affects the component’s normal delivery of service

green 30 OK

INFORMATION awaiting information on the component

medium blue 40 INFO

WARNING component is delivering services normally, but some problem may effect it

yellow 50 WARNING

MINOR IMPACT component’s delivery of service is slightly affected

light orange 60 MINOR

IMPACTED component’s delivery of service is affected

orange 70 MAJOR

UNAVAILABLE component has a failure and is unable to deliver service

red 80 CRITICAL

Chapter 3 Understanding a service model 45

Page 46: Service Model

Component status computation

Component status computation

The status of a component instance is computed automatically by the cell when new conditions occur, such as

■ a new event is received that has a direct impact on the component■ the severity of an event impacting a component changes■ another component’s status change is propagated to the component

Whether the status of a component is influenced directly by events, by other components’ status changes, or both, depends on the component’s type and its relative position in a particular service infrastructure. For example, the status of an IT component usually reflects the associated resource events that directly impact its status. In contrast, logical components such as applications or business groups rely on their relationships to IT components to provide their current status.

The cell computes a component’s status using a status computation model that you assign to the component instance in the StatusModel attribute. Based on the specific status computation model, the cell uses an algorithm to calculate the

■ status values propagated by inbound relationships■ severities of direct events associated with the service component instance■ impact status and service component self-status

The predefined status computation models available are Standard, Cluster, Weighted Cluster, Self-Preferred, and Cluster By Count.

The Weighted Cluster status computation model uses the Status Weight attribute of the BMC_Impact object. Status Weight is used in impact relationships to determine how much importance (numerically weighted) to give to each provider relationship that impacts a consumer instance. The higher the number, the greater the importance.

You select the status computation model for each component instance in the Create (or Edit) Component dialog box, on the Status and Alias tab, in the Status Computation box. BMC Impact Service Model Editor ensures that each component instance is associated with a valid status computation model. See “Creating service component instances in BMC Impact Service Model Editor” on page 78.

For more information about component status computation and status computation models, see Chapter 7, “Component and relationship status propagation” on page 43.

NOTE Do not confuse the MC_SM_COMPONENT_STATUS enumeration with the STATUS enumeration that defines event status values, such as OPEN or ACK.

46 BMC Impact Solutions: Service Model Administrator’s Guide

Page 47: Service Model

Service model component types

Service model component typesTable 8 lists the component types, the superclass of the component, the icon that represents the component in BMC Impact Service Model Editor and in the consoles, and the class of the component as defined in the data model. These classes are derived from the class BMC_BaseElement.

NOTE Whether and how the status of a provider component is propagated through a relationship is controlled by the relationship policy assigned to the component instance. For more information about selecting a relationship policy for a component, see Chapter 5, “Building a service model in BMC Impact Service Model Editor” on page 43.

Table 8 Service model component types (part 1 of 6)

Component superclass Icon Component type Component class

Logical Entity BMC_LogicalEntity

Activity BMC_Activity

Activity Decision BMC_ActivityActivityType=ActivityDecision

Activity End BMC_ActivityActivityType=ActivityEnd

Activity Interaction BMC_ActivityActivityType=ActivityInteraction

Activity Manual BMC_ActivityActivityType=ActivityManual

Activity Start BMC_ActivityActivityType=ActivityStart

Business Process BMC_BusinessProcess

Business Service BMC_BusinessService

Database BMC_DataBase

Collection BMC_Collection

User Community BMC_UserCommunity

Connectivity Collection BMC_ConnectivityCollection

IP Connectivity Subnet BMC_IPConnectivitySubnet

IPX Connectivity Network BMC_IPXConnectivityNetwork

BMC_LNsCollection BMC_LNsCollection

LAN Network BMC_LAN

WAN Network BMC_WAN

Organization BMC_Organization

Chapter 3 Understanding a service model 47

Page 48: Service Model

Service model component types

System BMC_System

Access Server BMC_ComputerSystem PrimaryCapability=Access Server

Application BMC_Application

Application Infrastructure BMC_ApplicationInfrastructure

Application System BMC_ApplicationSystem

Cluster BMC_Cluster

Communication Server BMC_SoftwareServer SoftwareServerType=Communication Server

Computer System BMC_ComputerSystem

Configuration Management Agent

BMC_SoftwareServer SoftwareServerType=ConfigMgmtAgent

Table 8 Service model component types (part 2 of 6)

Component superclass Icon Component type Component class

48 BMC Impact Solutions: Service Model Administrator’s Guide

Page 49: Service Model

Service model component types

System BMC_System

Database Server BMC_SoftwareServer SoftwareServerType=DataBaseServer

DNS Server BMC_SoftwareServer SoftwareServerType=DNSServer

File Server BMC_ComputerSystem PrimaryCapability=File Server

Firewall BMC_ComputerSystem PrimaryCapability=Firewall

FTP Server BMC_SoftwareServer SoftwareServerType=FTPServer

Gateway BMC_ComputerSystem PrimaryCapability=Gateway

Hub BMC_ComputerSystem PrimaryCapability=Hub

Input/Output Device BMC_ComputerSystem PrimaryCapability

JBOD (Just a Bunch Of Disks) BMC_ComputerSystem PrimaryCapability=JBOD

Layer 3 Switch BMC_ComputerSystem PrimaryCapability=Layer 3 Switch

LDAP Server BMC_SoftwareServer SoftwareServerType=LDAPServer

Load Balancer BMC_ComputerSystem PrimaryCapability=LoadBalancer

Mail Server BMC_SoftwareServer SoftwareServerType=MailServer

Mainframe BMC_Mainframe

Message Server BMC_SoftwareServer SoftwareServerType=MessageServer

Mobile User Device (a hand-held personal data assistant (PDA))

BMC_ComputerSystem PrimaryCapability=Mobile User Device

Table 8 Service model component types (part 3 of 6)

Component superclass Icon Component type Component class

��

Chapter 3 Understanding a service model 49

Page 50: Service Model

Service model component types

System BMC_System

Monitor BMC_Monitor

Print Server BMC_ComputerSystem PrimaryCapability=Print

Print Server BMC_SoftwareServer SoftwareServerType=PrintServer

RAID Storage Device BMC_ComputerSystem PrimaryCapability=RAIDStorageDevice

Resource Server BMC_SoftwareServer SoftwareServerType=ResourceServer

Router BMC_ComputerSystem PrimaryCapability=Router

SAN Bridge BMC_ComputerSystem PrimaryCapability=SANBridge

SAN Director BMC_ComputerSystem PrimaryCapability=SANDirector

SAN Hub BMC_ComputerSystem PrimaryCapability=SANHub

SAN Router BMC_ComputerSystem PrimaryCapability=SANRouter

SAN Switch BMC_ComputerSystem PrimaryCapability=SANSwitch

Security Server BMC_SoftwareServer SoftwareServerType=SecurityServer

Server BMC_ComputerSystem PrimaryCapability=Server

Software Server BMC_SoftwareServer

Storage BMC_ComputerSystem PrimaryCapability=Storage

Switch BMC_ComputerSystem PrimaryCapability=Switch

Table 8 Service model component types (part 4 of 6)

Component superclass Icon Component type Component class

50 BMC Impact Solutions: Service Model Administrator’s Guide

Page 51: Service Model

Service model component types

System BMC_System

Tape Library BMC_ComputerSystem PrimaryCapability=TapeLibrary

Telnet Server BMC_SoftwareServer SoftwareServerType=TelnetServer

Transaction Server BMC_SoftwareServer SoftwareServerType=TransactionServer

UDDI Server BMC_SoftwareServer SoftwareServerType=UDDIServer

Virtual System BMC_VirtualSystem

Web Cache BMC_ComputerSystem PrimaryCapability=Web Caching

Web Server BMC_SoftwareServer SoftwareServerType=WebServer

System Service BMC_SystemService

Application Service BMC_ApplicationService

System Component BMC_SystemComponent

Hardware System Component BMC_HardwareSystemComponent

Media BMC_Media

CD ROM Drive BMC_CDROMDrive

Disk Drive BMC_DiskDrive

Floppy Drive BMC_FloppyDrive

Tape Drive BMC_TapeDrive

Uninterruptible Power Supply (UPS)

BMC_UPS

Table 8 Service model component types (part 5 of 6)

Component superclass Icon Component type Component class

Chapter 3 Understanding a service model 51

Page 52: Service Model

Component relationships

Component relationshipsService management relationships are impact relationships.

Table 9 lists the main relationship classes derived from BMC_BaseRelationship, of which only BMC_Impact defines impact relationships for a service model.

System Component BMC_SystemComponent

Logical System Component BMC_LogicalSystemComponent

File System BMC_FileSystem

Database Storage BMC_DataBaseStorage

Local File System BMC_LocalFileSystem

Remote File System BMC_RemoteFileSystem

Disk Partition BMC_DiskPartition

Software BMC_Software

System Software BMC_SystemSoftware

Operating System BMC_OperatingSystem

Virtual System Enabler BMC_VirtualSystemEnabler

VMware BMC_VMWare

System Resource BMC_SystemResource

Table 9 Main relationship classes

Class name Class description

BMC_Impact The BMC_Impact relationship, and the subclasses that derive from this class are used to define service impact relationships between component instances.

BMC_Dependency BMC_Dependency describes component relationships that are dependent on each other. This is different from impact relationships in that a dependency can be at a lower direct level, while an impact is often at a higher, more indirect level.

BMC_Component BMC_Component is used to define composite objects. One key component relationship in the CMD is between the system and system component classes. This relationship defines a composite computer system, which is made up of a computer system instance, and subinstances of disk drives, monitors, software, network cards, and so on.

Table 8 Service model component types (part 6 of 6)

Component superclass Icon Component type Component class

52 BMC Impact Solutions: Service Model Administrator’s Guide

Page 53: Service Model

Service consumers and providers

Service consumers and providers

A service model relationship is a link between a component that provides a service and the components that consume that service. In a provider/consumer relationship, the provider status naturally impacts the consumer status. When you define relationships in a service model, you make it possible to know, for example, which business services are affected if Router C fails.

The concepts of provider and consumer are relative to the relationship being considered. In Figure 5 on page 54, Component B is a provider in one relationship and a consumer in another.

The service model enables a component instance to be related to another component instance by defining the relationship in the BMC_Impact class. Such a relationship states that a component instance is impacted if something happens to the component instances to which it is related. For example, a group of people responsible for accounting will be impacted when the accounting database server is down.

Service model relationships are organized in a hierarchy of data classes in which each class represents a relationship type.

The parent class for component relationships is BMC_Relationship. All service model relationship classes are defined in the BMC Atrium CMDB as a subclass of BMC_Relationship.

Important components

Some components can be considered “important” components and can be set to propagate their priority back to their provider. For more information about priority propagators, see “Impacts priority” on page 191.

BMC_MemberOfCollection BMC_MemberOfCollection is used to define groupings of instances in a logical manner. It is used to define the network topology, or to define the set of component instances that make up a business process or service.

BMC_ElementLocation BMC_ElementLocation ElementLocation associates a ManagedElement with a Location for positioning, inventory, maintenance and similar purposes.

Table 9 Main relationship classes

Class name Class description

Chapter 3 Understanding a service model 53

Page 54: Service Model

Status propagation in relationships

Figure 5 Impact (status) propagation in relationships

Status propagation in relationships

Status propagation is the passing of a status or a modified status from one component instance to another through a relationship. Depending on the status propagation model assigned to the relationship, the cell can automatically propagate the status of a provider component through its outbound impact relationships as new conditions occur, such as

■ the component’s status changes■ the state of an outbound impact relationship changes, altering the status

propagation from the provider component

This status can then be propagated to subsequent components within the service model.

The service model ensures that each impact relationship instance is associated to a valid status propagation model.

For more information about status propagation and status propagation models, see Chapter 7, “Component and relationship status propagation” on page 169.

54 BMC Impact Solutions: Service Model Administrator’s Guide

Page 55: Service Model

Relationship states

Relationship states

Just as a component is characterized by its status, a relationship is characterized by its state. Relationship state values are defined internally in the cell as the enumeration MC_SM_RELATIONSHIP_STATE.

A relationship can be either active or inactive, as shown in the following table:

In status propagation models, the state of a relationship determines whether the provider’s status or a modification of it is passed to the consumer service component.

Status propagation models

A propagation model defines how the status of a provider component must be propagated in an impact relationship, based on

■ the current state of the relationship (active or inactive)■ the current value of the provider’s status

Status propagation models are used only by impact relationships. The role of the BMC_STATUS_PROPAGATION class instance is to restrict the use of a propagation model to consumer and provider relationships.

Status propagation models serve these purposes:

■ relationship control—Propagation models enforce logical rules in new component relationships so that only valid relationships are created.

dynamic status mapping—Propagation models translate the computed status of the provider component into a propagated status for input into the impact_function slot of the related consumer component.

Relationship state value Meaning

ACTIVE The consumer component depends on its provider. An impact relationship exists.

INACTIVE The consumer does not have a dependency, or the dependency is unimportant. No impact relationship exists.

Chapter 3 Understanding a service model 55

Page 56: Service Model

Relationship control

Relationship control

Relationship control is the enforcement of logical rules in creating new service model relationships. The BMC_STATUS_PROPAGATION table defines the valid pairs of component types whose instances can participate in a specific type of relationship.

Each time an impact relationship instance is submitted for creation, the cell seeks an BMC_STATUS_PROPAGATION instance that matches

■ the name of the propagation model used by the component relationship■ the component type of the provider in the relationship■ the component type of the consumer in the relationship

During this process, the cell uses the component’s class hierarchy to interpret the component types in the BMC_STATUS_PROPAGATION instances. If there is a matching BMC_STATUS_PROPAGATION instance, the relationship is valid. Otherwise, the creation process is blocked.

Dynamic status mapping

Dynamic status mapping translates the main status of the provider component into a propagated status for input into the impact function of the consumer component in a relationship, as described in the following process:

1. bringing the events from the monitoring application into the cell

For physical resources, most of which are or can be instrumented, you can obtain status information by actively monitoring the resource’s variables, parsing its log files, or capturing the SNMP traps that it sends. This information can be formatted into events that a cell can process.

The cell can accept event instances from a variety of sources:

■ Events can be manually obtained directly through adapters and the msend and mposter commands.

■ Cells also provide events through propagation rules.■ Other sources include third-party products that can be integrated with BMC IM.

2. associating those events with the service model component instance that represents the resource

56 BMC Impact Solutions: Service Model Administrator’s Guide

Page 57: Service Model

Dynamic status mapping

You can associate events from a resource with the component instance that represents it by using the alias key. The actual association is done using a slot-mapping data table, which stores all the slot-mapping formulas for event classes. The arrival of an event invokes a unique predefined rule that generates a value for the event’s mc_smc_alias slot and searches for the matching service component in the alias table.

With this process in place, incoming events can alter the status of the component directly in real time. For example, an event with a severity of CRITICAL could turn the status of the associated component to UNAVAILABLE by using a severity-to-status mapping table.

The BMC_PROPAGATION_MAP table defines the status-mapping instances for the relationships. A group of BMC_PROPAGATION_MAP instances sharing the same name form a propagation map that is uniquely bound to the status propagation model with the same name.

When two components participate in an impact relationship and the status of the provider changes, the new status must be propagated to a consumer component. First, the cell seeks the BMC_PROPAGATION_MAP instance in which the following value matches occur:

Then, the cell obtains the appropriate propagated_status value to propagate, depending on the current state of the relationship (ACTIVE or INACTIVE). The cell propagates this value to the consumer component for input to the consumer’s status computation.

For example, consider an impact relationship with service component named XService that is a consumer of an IT component, DBsoftware. The relationship is active and the propagation model assigned to it is INCREASING.

When the cell needs to propagate DBsoftware’s current status (IMPACTED) to its consumer component, XService, it searches the INCREASING propagation map to find the instance corresponding to a provider status of IMPACTED. To obtain the appropriate propagated_status value, it matches the corresponding relationship state (ACTIVE), which is a value of UNAVAILABLE in this instance. Finally, the cell propagates the appropriate changed status to the consumer component.

Propagation maps affect only the way in which the main status of the provider is propagated in the relationship. They do not affect how the substatus is propagated from the provider to the consumer.

BMC_PROPAGATION_MAP instance slot value Matching class instance Matching value

name relationship propagation_model slot value

relationship_state relationship state slot value

provider_status provider component status slot value

Chapter 3 Understanding a service model 57

Page 58: Service Model

Event associations

Event associationsA production service model requires that the incoming events that contain information about the state of a IT asset be associated with the appropriate service model component instance. This event association provides the mechanism for keeping a component instance’s status up-to-date, so that it reflects the real-time health of the actual resource that it represents. Event association uses the aliases that you assign to service components and event alias associations that you create in BMC Impact Service Model Editor.

To set up an event association, you must

■ bring events from the resource into the cell

■ associate the events with the service model component instance that represents the resource

— enter an alias in the Alias attribute of the component instance— create an appropriate event alias association for the component instance

■ verify that the event association works correctly

Bringing events from the resource into the cell

To bring events to a cell, you configure the event sources for the resource, such as a log file or an SNMP trap file, to provide the necessary information about its status.

You can use a BMC Impact Event adapter, a BMC Impact Integration product, a third-party product, or another utility to produce BMC Impact Manager events.

Component aliases

You designate a component instance as participating in alias activity by entering a value in the Alias attribute when you create or edit a component instance in BMC Impact Service Model Editor.

An alias identifies a specific component instance. When an event arrives at the cell, the cell constructs an alias using data in the event’s slots plus any other elements specified in the alias formula. An alias formula defines the content and format of the alias.

58 BMC Impact Solutions: Service Model Administrator’s Guide

Page 59: Service Model

Event alias associations

A service component instance can have several different aliases so that different event types can be easily associated with it. Service component aliases are stored in the BMC Atrium CMDB and are associated with the relevant service component by the component’s universal data identifier (udid).

An alias formula is an object published to the cell; it is not associated with any object in the service model; it is management data supporting the service model.

For information about entering component aliases in a component instance, see “Creating service component instances in BMC Impact Service Model Editor” on page 78.

Event alias associations

You set up the dynamic association of events with a component instance by using the Tools => Alias Formulas menu command in BMC Impact Service Model Editor.

When you set up the dynamic association of events with a component instance, you must specify two elements:

■ an event class■ an alias formula

The event class identifies which incoming events may affect the status of the component instance. For example, for an application component instance, you want events of a particular category, such as SYSTEM_EVENT, APPLICATION_EVENT, DATABASE_EVENT, to be considered by the cell.

After the cell has constructed the event’s alias, it searches each component instance to see if the value in its ComponentAlias attribute matches the alias constructed from values in the event. If it matches, the event is associated with the component instance in the BMC_SIM_ALIAS class and can change the component instance’s status, depending on the component instance’s status propagation model.

The alias formula must have a syntax that can be read by the cell. It consists of sprintf format specifications (which specify the format for the output) followed by expressions that specify event slots and functions involved in the construction of the alias. An example of a simple alias formula is

The order of the sprintf format specifications corresponds to the order of the expressions, as shown in Figure 6.

EXAMPLE [‘sprintf("%s/%s", [$1.mc_object,$1.mc_host])']

Chapter 3 Understanding a service model 59

Page 60: Service Model

Event alias associations

Figure 6 Parts of a simple alias formula

In Figure 6, %s/%s is the data type of the output and $1.mc_object $1.mc_host are variable expressions. The first format specification, %s (a string), corresponds to the first variable expression $1.mc_object (which is the value in the mc_object slot of the event, with $1 representing the event ID). The second format specification %s (a string), corresponds to the second variable expression, $1.mc_host.

Table 10 shows the event data, the alias formula, the alias that was computed from the data in the event and the alias formula, and the alias stored in the component instance, which in this example matches the computed alias from the event data.

When the cell finds a match, an entry is created in the BMC_SIM_ALIAS class, as shown in this example:

The alias links the event DATABASE DOWN to the component instance with the component ID 1234.

Table 10 How an event alias association works

Event Alias Formula Alias Component instance alias

DATABASE DOWN;mc_host='dcsrv02.store.com';mc_object_class='Central Database';mc_object='SALES';msg='Database is down';END

[‘sprintf("%s/%s", [$1.mc_object/

$1.mc_host])’]

The values in mc_object and

mc_host are output as string values,

with a slash between them.

SALES/dcsrv02.store.com

EXAMPLE BMC_SIM_ALIAS;ComponentAlias='SALES/dcsrv02.megastore.com';ComponentID='1234';END

['sprintf("%s/%s",[$1.mc_object/$1.mc_host])']

sprintf format specifications expressions

60 BMC Impact Solutions: Service Model Administrator’s Guide

Page 61: Service Model

Event alias associations

Other examples of alias formulas:

Precedence rules for alias formulas

The most specific matching entry is selected.

Since there can be more than one matching entry, precedence rules determine the entry that is used:

■ a match for element nth has precedence over a match for element (nth + 1)

■ for matches on the same element, precedence is based on the conditional operator in the formula, in the following order:

— equals,— has_prefix,— has_suffix,— contains,— any

■ for multiple has_prefix matches on the same element, the longest prefix wins

■ for multiple has_suffix matches on the same element, the longest suffix wins

■ for multiple contains matches on the same element, the longest contains wins

■ for multiple contains matches on the same element and with the same length, the contains that has its match closer to the beginning of the string wins

NOTE The BMC_SIM_ALIAS object is part of the SIM management data. It is not visible in BMC Impact Service Model Editor.

EXAMPLE [‘sprintf(%s,strextract($1.mc_object,1,6))’]

[‘sprintf(Mail@robot%s,strextract($1.mc_object,(len($1.mc_object)),1)’]

['sprintf("%s%s%s",[$1.date,$1.mc_ueid,$1.adapter_host])']

Chapter 3 Understanding a service model 61

Page 62: Service Model

Service schedules

Service schedulesService schedules are a combination of a defined schedule with a specific service model component that indicates when the component must meet availability or performance goals. Each component is assigned a service schedule (but it can be a schedule shared with other components).

■ Periods when a component instance is in high demand, or when it must meet its availability and performance goals, are called During Schedule.

■ Periods when a component instance is in low demand, or when the component’s s availability and performance are less important, are called Off Schedule. Also, any undefined time is considered Off Schedule.

■ Periods within During Schedule in which a component is considered to be Off Schedule are called Exceptions Within During Schedule.

Component attributes such as cost or base priority might have different values depending on whether the component is in high demand (a During Schedule period) or in low demand (an Off Schedule period). These priority changes are discussed in more detail in “Dynamic prioritization” on page 181.

Timeframes

Service schedules are built of timeframes. Timeframes are blocks of time that specify the times that are During Schedule or Exceptions Within During Schedule. Two types of timeframes exist: Global and Local.

■ Global timeframes are created in the BMC Impact Service Model Editor, stored in the BMC Atrium CMDB and are available to all cells within an environment. You create global timeframes and use them in both BMC Impact Service Model Editor and the BMC Impact Explorer.

■ Local timeframes are stored in a single cell and are only available to the event management policies within that cell. You create local timeframes and use them only in the BMC Impact Explorer schedules editor.

62 BMC Impact Solutions: Service Model Administrator’s Guide

Page 63: Service Model

Service schedules example with exceptions

Table 11 illustrates the differences between Global timeframes and Local timeframes.

Service schedules example with exceptions

Consider a component that is expected to meet its performance goals from 8 A.M. to 5 P.M. each day. This period is would be considered During Schedule. The same component, if not needed from 5 P.M. to 8 A.M. each day, would be Off Schedule during that time.

Within the During Schedule period, if the component is scheduled to be taken offline every day from noon to 1 P.M., instead of creating two different During Schedule timeframes (one for 8 A.M. to noon, and another from 1 P.M. to 5 P.M.), you could create an Exceptions Within During Schedule timeframe.

Table 11 Global and Local timeframe differences

Timeframe type Created in Stored in Available to

Global BMC Impact Service Model Editor

BMC Atrium CMDB all cells

Local BMC Impact Explorer a single cell event management policies within a single cell

Chapter 3 Understanding a service model 63

Page 64: Service Model

Service schedules example with exceptions

64 BMC Impact Solutions: Service Model Administrator’s Guide

Page 65: Service Model

C h a p t e r 4

4 Understanding a service model created in BMC Impact Service Model Editor

This chapter presents the following topics:

Role of the BMC Atrium CMDB in service modeling. . . . . . . . . . . . . . . . . . . . . . . . . . . 66Service model and the Common Data Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66

Sandboxes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Promotion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71Service model publishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Service model execution on cells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73In-model and not-in-model component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73Importing Business Time Segments from BMC Remedy AR System . . . . . . . . . . . . . 74

Chapter 4 Understanding a service model created in BMC Impact Service Model Editor 65

Page 66: Service Model

Role of the BMC Atrium CMDB in service modeling

Role of the BMC Atrium CMDB in service modeling

The BMC Atrium Configuration Management Database (BMC Atrium CMDB) is a multi-component that enables applications to store and share data. Service model developers and administrators use the BMC Atrium CMDB Configuration Console and BMC Atrium CMDB Class manager APIs to build and modify the Common Data Model (CDM).

With the BMC Atrium CMDB you can divide your configuration data into partitions called datasets, each containing component instances and relationships for a given purpose. This makes it possible for the same component or relationship instances to exist in more than one dataset.

Datasets provide a mechanism for storing raw data from multiple resources in discrete locations. Then the reconciliation process takes that data and merges it appropriately to create a composite set of unique data instances that includes information from each source, based on what each source is proficient at obtaining. The ability to capture the raw data from various sources and reconcile it to a controlled dataset enables the interaction between various automation tools.

Service model and the Common Data Model

The Common Data Model (CDM) is an extensible class schema that represents configuration items and their relationships to each other in an IT enterprise. It is designed to store asset data (as hardware, service management, and user information) and to provide a mechanism for linking that information to provide a complete view of how all elements of a company are connected and can affect each other.

All service component types (classes) are defined in the BMC Atrium CMDB as part of the CDM. A class is the definition or metadata that describes an object type. The class includes information about the object type, such as attributes, primary key, and so on.

SIM classes

BMC Impact Solutions extends the BMC Atrium CMDB CDM with a predefined set of SIM-enabled classes. The asset information you use to define the service model is a subset of all of the configuration data in the CDM. The BMC SIM CMDB Extensions also define attributes that are used only for SIM, such as StatusModel and ImpactCostPerSec.

66 BMC Impact Solutions: Service Model Administrator’s Guide

Page 67: Service Model

Service model and the Common Data Model

All components in the data model derive from a single subclass, BMC_BaseElement and all relationships derive from the BMC_BaseRelationship subclass. All impact relationships are instances of BMC_Impact. The BMC_Impact subclass of BMC_BaseRelationship comes with the BMC SIM CMDB Extension of the BMC Atrium CMDB CDM.

The following tables list the main data subclasses to BMC_BaseElement that are associated with service impact management. For a graphical representation of the hierarchy of the Common Data Model, see the Common Data Model Diagram included with BMC Atrium CMDB documentation.

Table 12 lists the SIM-qualified subclasses for BMC_Collection, which provides mechanisms for grouping components together into logical elements, including business processes and services.

Table 12 SIM-qualified subclasses of BMC_Collection

Table 13 lists the SIM-qualified classes for BMC_LogicalEntity, which tracks other logical elements of a system, including people, physical plants, and location information.

Table 13 SIM-qualified subclasses of BMC_LogicalEntity

Table 14 lists the SIM_qualified classes for BMC_System, which contains the definition of computer systems, mainframes, application systems, and virtual systems.

Second Level Third Level Fourth Level

BMC_ConnectivityCollection BMC_ConnectivitySegmentBMC_IPConnectivitySubnetBMC_IPXConnectivityNetwork

BMC_LNsCollection BMC_LANBMC_WAN

BMC_Organization

BMC_UserCommunity

Second Level Third Level

BMC_Activity BMC_BusinessProcess

BMC_BusinessServiceBMC_Database

Chapter 4 Understanding a service model created in BMC Impact Service Model Editor 67

Page 68: Service Model

Service model and the Common Data Model

Table 14 SIM-qualified subclasses of BMC_System

Table 15 lists the SIM-qualified classes for BMC_SystemComponent, which stores information on the components that comprise the system. This includes physical components like disk drives and monitors; applications like Microsoft Word; and other soft elements like network drives and file shares. The attributes for BMC_SystemComponent are SystemClassId and SystemName.

Table 15 SIM-qualified subclasses of BMC_SystemComponent

Table 16 lists the SIM-qualified class for BMC_SystemService, which tracks the services used by systems. The most common services are those used by J2EE application systems, such as J2EE modules. The data model also provides a set of classes for defining relationships among configuration items. The attributes for BMC_SystemService are SystemClassId and SystemName.

Second Level Third Level

BMC_ApplicationSystem BMC_ApplicationBMC_ApplicationInfrastructureBMC_SoftwareServer

BMC_ComputerSystem MainframeBMC_ActivityPrinterVirtualSystem

Second Level Third Level Fourth Level

LogicalSystemComponent BMC_DiskPartitionBMC_SystemResource

BMC_FileSystem BMC_DataBaseStorageBMC_LocalFileSystemBMC_RemoteFileSystem

HardwareSystemComponent BMC_UPS

BMC_Media BMC_CDROMDriveBMC_DiskDriveBMC_FloppyDriveBMC_TapeDrive

Table 16 SIM-qualified subclass of BMC_SystemService

Second Level

BMC_ApplicationService

68 BMC Impact Solutions: Service Model Administrator’s Guide

Page 69: Service Model

Service model and the Common Data Model

SIM attributes

SIM qualifiers have been added to the attributes listed in Table 17.

Table 17 SIM-qualified attributes

Class Namespace Attributes

BMC_BaseElement BMC.CORE AccountID [SIM]Category [SIM, SME_Read, SME_ReadWrite]ClassId [SME_Read, SME_ReadWrite]CMDBRowLevelSecurity [SME_Read, SME_ReadWrite]CMDBWriteSecurity [SME_Read, SME_ReadWrite]DatasetId [SIM, SME_Read, SME_ReadWrite]Description [SIM, SME_Read, SME_ReadWrite]InstanceId [SIM, SME_Read, SME_ReadWrite]Item [SIM, SME_Read, SME_ReadWrite]ManufacturerName [SIM, SME_Read, SME_ReadWrite]MarkAsDeleted [SME_Read, SME_ReadWrite]Model [SIM, SME_Read, SME_ReadWrite]Name [SIM, SME_Read, SME_ReadWrite]Notes [SIM, SME_Read, SME_ReadWrite]OwnerContact [SIM, SME_Read, SME_ReadWrite]OwnerName [SIM, SME_Read, SME_ReadWrite]Priority [SIM, SME_Read, SME_ReadWrite]ReconciliationIdentity [SME_Read, SME_ReadWrite]ShortDescription [SIM, SME_Read, SME_ReadWrite]Type [SIM, SME_Read, SME_ReadWrite]VersionNumber [SIM, SME_Read, SME_ReadWrite]

BMC.AM Site [SIM, SME_ReadWrite]Company [SIM, SME_ReadWrite]Department [SIM, SME_ReadWrite]Floor [SIM, SME_ReadWrite]Region [SIM, SME_ReadWrite]Room [SIM, SME_ReadWrite]SiteGroup [SIM, SME_ReadWrite]

BMC.SIM ReadSecurity [SIM]WriteSecurity [SIM]ComponentAliases [SIM, SME_ReadWrite]ImpactCostPerSec [SIM, SME_ReadWrite]ImpactCostUnit [SIM, SME_ReadWrite]ImpactCostPerSecOut [SIM, SME_ReadWrite]HomeCellAlias [SME_ReadWrite]PriorityWatchdog [SIM, SME_ReadWrite]PriorityOut [SIM, SME_ReadWrite]ScheduleId [SIM, SME_ReadWrite]StatusModel [SIM, SME_ReadWrite]

BMC_Cluster BMC.CORE ClusterType [SIM, SME_Read, SME_ReadWrite]Interconnect [SIM, SME_Read, SME_ReadWrite]InterconnectAddress [SIM, SME_Read, SME_ReadWrite]MaxNumberOfNodes [SIM, SME_Read, SME_ReadWrite]Types [SIM, SME_Read, SME_ReadWrite]

Chapter 4 Understanding a service model created in BMC Impact Service Model Editor 69

Page 70: Service Model

Sandboxes

The definitions of the SIM qualifiers are

■ SIM: 300050■ SIM_Internal: 300060■ SIM_ReadWrite: 300070■ SME_Read: 300080

SandboxesA sandbox is a personal work area for designing and developing a service model. You can make changes to objects and their relationships, and save these changes between work sessions, without affecting the production environment until you are ready to move the changes into the production dataset.

BMC Impact Service Model Editor users each have their own unique, dedicated sandbox, and sandboxes persist between user sessions, allowing you to make multiple edits to the sandbox model until you promote the changes the production dataset. Each user has one sandbox associated with the user account. Changes to your sandbox do not affect sandboxes of other users if those changes are not promoted.

BMC_ConnectivitySegment

BMC.CORE ConnectivityType [SIM, SME_Read, SME_ReadWrite]

BMC_OperatingSystem BMC.CORE OSType [SIM, SME_Read, SME_ReadWrite]

BMC_VirtualSystem BMC.CORE VirtualSystemType [SIM, SME_Read, SME_ReadWrite]

BMC_WAN BMC.CORE WANType [SIM, SME_Read, SME_ReadWrite]

BMC_ComputerSystem BMC.CORE CapabilityList [SIM, SME_Read, SME_ReadWrite]DomainName [SIM, SME_Read, SME_ReadWrite] Hostname [SIM, SME_Read, SME_ReadWrite]PrimaryCapability [SIM, SME_Read, SME_ReadWrite]SystemType [SIM, SME_Read, SME_ReadWrite]

BMC_SystemComponent

BMC.CORE SystemClassId [SIM, SME_Read, SME_ReadWrite]SystemName [SIM, SME_Read, SME_ReadWrite]

BMC_Media BMC.CORE MaxMediaSize [SIM, SME_Read, SME_ReadWrite]MediaType [SIM, SME_Read, SME_ReadWrite]

BMC_SystemService BMC.CORE SystemClassId [SIM, SME_Read, SME_ReadWrite]SystemName [SIM, SME_Read, SME_ReadWrite]

NOTE No two users should have the same data (components, impact relationships, or management data instances) in their sandbox because only the values from the sandbox that was promoted last will be in the production dataset.

Table 17 SIM-qualified attributes

Class Namespace Attributes

70 BMC Impact Solutions: Service Model Administrator’s Guide

Page 71: Service Model

Datasets

DatasetsThe production dataset is the reference dataset, or logical partition of data in the BMC Atrium CMDB, shared by SIM and ITSM applications. Objects contained in the production dataset are components, relationships, and management data. The production dataset is not limited to objects that are in-model. Many of these objects can be out-of-model (they are not yet in BMC Impact Manager cells).

When working with objects in a sandbox, users are making changes to an overlay dataset, a dataset which is related to and masks the production dataset. The overlay dataset provides a view of the underlying production dataset masked by changes made by the user in the overlay dataset.

Another type of dataset is the test dataset. The test dataset relays objects from a sandbox view to a test BMC Impact Manager instance.

TestingBefore moving sandbox changes into production, you can send the changes to a defined test cell and explore service model behavior in the context of various events. For example, you could send test data to a test cell, then view the generated events in BMC Impact Explorer to determine if the desired result occurs.

You must have sufficient permissions to send data to a test cell. If you have promote permissions, you also have access to a test cell.

PromotionYou move changes that you make in a sandbox (on the overlay dataset) to the production dataset in a controlled process called promotion.

When a promotion completes successfully, changes in the sandbox are merged with changes from other users and processes in the BMC Atrium CMDB and, if automated publishing is enabled, in-model data is sent to BMC Impact Manager cells in the environment. As soon as you successfully promote changes to a production dataset, the sandboxes of all other users are updated to reflect the new data.

BMC Impact Service Model Editor limits promotion to 3000 component instances at a time.

Chapter 4 Understanding a service model created in BMC Impact Service Model Editor 71

Page 72: Service Model

Promotion

Promotion and automated publishing process

Promoting and publishing are a sequence, in which you initiate a process to push objects (new or changed) to the BMC Atrium CMDB, followed by the automatic publication process, which sends that data to appropriate BMC Impact Manager cells.

The promotion process is as follows:

■ After making changes in a sandbox View, you start the promotion process from the BMC Impact Service Model Editor interface.

■ BMC Impact Service Model Editor initiates a reconciliation job.

After the actual promotion process begins, you cannot work in BMC Impact Service Model Editor until the process finishes; however, you can stop the promotion or exit the BMC Impact Service Model Editor interface.

■ Promotion log objects are created in the BMC Atrium CMDB. The objects contain the name of the user, a short, user-specified description of the promotion, the ID of the reconciliation job, start and end dates, and a list of objects selected for promotion.

■ BMC Impact Service Model Editor regularly checks the progress of the reconciliation job. When the process is completed, BMC Impact Service Model Editor updates the objects and indicates that the promotion is complete.

■ When the promotion has ended, if automated publishing is enabled, the BMC Impact Publishing Server initiates a publish from the production dataset to the BMC Impact Manager cells in the environment. If other publish operations are underway at that time, the request is queued.

■ After the changes have been published to BMC Impact Manager instances, an execution log is generated. You can view it from the BMC Impact Service Model Editor Promote and Publish History dialog box.

NOTE Most data published during an automated publish comes from sandboxes. By default, new objects from a discovery source such as BMC Foundation Discovery or BMC Topology Discovery, or from BMC Remedy Asset Management, are not flagged as in-model and are not published to the cell. However, these sources can update objects that are already in-model and those changes are published to cells.

72 BMC Impact Solutions: Service Model Administrator’s Guide

Page 73: Service Model

Service model publishing

Service model publishingService model publishing is the process of distributing the service model data to BMC Impact Manager cells. After a promotion completes, the BMC Impact Publishing Server is notified of the termination of a reconciliation and starts a publication. From the BMC Atrium CMDB, the BMC Impact Publishing Server distributes the BMC.ASSET dataset to cells and stores a master copy in the BMC.IMPACT.PROD dataset.

The BMC.IMPACT.PROD dataset is updated and maintained only by the BMC Impact Publishing Server. It mirrors the last successful publish to the cells. Publishing can be initiated automatically by using BMC Impact Service Model Editor or manually by using the BMC Impact Publishing Server CLI publish.

When the component instances and relationships are published, you can monitor the component instances by using BMC Impact Explorer and BMC Portal.

Service model execution on cellsService component instances are associated with events through the use of unique aliases, which you specify for each component instance. When events that require alias processing enter the cell, the cell uses the values in the event’s slots to construct an alias and then searches for that alias in the cell’s impact component instances. When a match is found, the event is associated with the component instance and the instance’s status may be changed.

In-model and not-in-model component instances

Service component instances that are visible in BMC Impact Service Model Editor are classified as in-model or not-in-model component instances.

In-model service component instances exist in the BMC Atrium CMDB and in the specified cell, and can be monitored in BMC Impact Explorer and BMC Impact Portal. (At any given time, they might not be visible in BMC Impact Explorer and BMC Impact Portal, depending on their status.)

Chapter 4 Understanding a service model created in BMC Impact Service Model Editor 73

Page 74: Service Model

Importing Business Time Segments from BMC Remedy AR System

Not-in-model component instances are visible and available in BMC Impact Service Model Editor; however, they have not been published, are not present in the cell, and cannot be monitored in BMC Impact Explorer and BMC Impact Portal. You can choose to designate component instances as not-in-model at design time. For example, you might want to create the component instance but not monitor it right away. You would designate that component as not in model.

Changes to in-model, published component instances are not seen in BMC Impact Explorer and BMC Impact Portal until the changes are published.

A component instance that is in model can be monitored in BMC Impact Explorer and BMC Impact Portal. A component instance that is not in the model cannot be monitored in BMC Impact Explorer or BMC Impact Portal.

Importing Business Time Segments from BMC Remedy AR System

You can import Business Time Segments from BMC Remedy AR System into BMC Impact Service Model Editor to use as timeframes when you define service schedules for service components. Imported timeframes, considered Global timeframes, are published when the next publish occurs.

For information on importing Business Time Segments, see BMC Portal Getting Started.

74 BMC Impact Solutions: Service Model Administrator’s Guide

Page 75: Service Model

C h a p t e r 5

5 Building a service model in BMC Impact Service Model Editor

This chapter provides detailed procedures on how to build the service model in BMC Impact Service Model Editor.

This chapter covers the following topics:

Service model creation process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Launching BMC Impact Service Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Working with service component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

Creating service component instances in BMC Impact Service Model Editor . . . 78Switching sandbox View modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83Viewing properties for a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84Editing component instances. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Performing actions on multiple objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85Copying component instances. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87Hiding a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88Deleting a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89Finding component instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

Defining relationships between component instances . . . . . . . . . . . . . . . . . . . . . . . . . . 96Creating a component relationship in BMC Impact Service Model Editor . . . . . 97Assigning related component instances to cells . . . . . . . . . . . . . . . . . . . . . . . . . . . 101Updating relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102Deleting relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

Associating events with a component instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104Working with timeframes and service schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109

Icons used in the service schedule and timeframes editors . . . . . . . . . . . . . . . . . 110Working with timeframes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110Working with service schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113Assigning components to service schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117

Granting access to service model objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118Granting permissions to individual service model objects . . . . . . . . . . . . . . . . . . . . . 118Testing the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

Testing component relationships . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120Testing event associations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120

Chapter 5 Building a service model in BMC Impact Service Model Editor 75

Page 76: Service Model

Promoting the service model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121About the publishing process. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121Before you promote . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Submitting a promotion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122Verifying promotion status. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125

Organizing service component instances for monitoring . . . . . . . . . . . . . . . . . . . . . . 128Working with BMC Impact Service Model Editor Views. . . . . . . . . . . . . . . . . . . . . . . 132

Saving, opening, renaming, and deleting Views. . . . . . . . . . . . . . . . . . . . . . . . . . . 133Understanding visual cues in a View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134Repositioning objects in a View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135Controlling what you see in a View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136Exploring consumer and provider paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138Refreshing the View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139Repositioning the dockable windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140Showing topology views. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

Exporting and importing service model data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141Exporting class definitions from the BMC Atrium CMDB to a cells . . . . . . . . . . . . . 142

76 BMC Impact Solutions: Service Model Administrator’s Guide

Page 77: Service Model

Service model creation process

Service model creation processTo build a service model in BMC Impact Service Model Editor, you must

■ find or create component instances in the BMC Atrium CMDB■ assign component instances to a BMC Impact Manager cell■ define component instance relationships ■ associate events with component instances ■ assign schedules to component instances■ promote the service model and publish objects to cells

Launching BMC Impact Service Model EditorYou can open BMC Impact Service Model Editor from the BMC Portal.

To log on to BMC Impact Service Model Editor from BMC Portal

1 Open a browser.

2 In the Address box, enter the URL in the format https://serverName.

serverName represents the name of the server on which BMC Portal is installed.

3 Log on to BMC Portal as a user.

For instructions for logging on to BMC Portal, see BMC Portal Getting Started.

4 On the Configure tab, in the navigation pane on left side, under Tasks, click BMC Impact Service Model Editor.

Before you can launch BMC Impact Service Model Editor to view and manage services, you must install it in one of the following ways:

■ as a stand-alone console from the BMC Portal product installation disk

As a stand-alone console, BMC Impact Service Model Editor can reside on the same host computer as the BMC Portal or it can reside on another host computer. However, all user validation and security is managed by the BMC Portal server.

■ as a Java Web Start application from BMC Impact Portal

Chapter 5 Building a service model in BMC Impact Service Model Editor 77

Page 78: Service Model

Working with service component instances

As a Java Web Start application, after BMC Impact Service Model Editor is deployed on your local desktop, you can launch it from

— the local desktop icon— a local startup menu— the Java Web Start Application Manager on your local host computer— from the BMC Portal Configure tab as a task

User authentication and security is managed centrally by the BMC Portal server. To launch BMC Impact Service Model Editor, you must connect to the BMC Portal.

Working with service component instancesTo populate the BMC Atrium CMDB with component instances for the service models, you can use discovery tools such as BMC Topology Discovery or you can manually create the component instances by using the BMC Impact Service Model Editor. The BMC Impact Service Model Editor component provides a GUI to the reconciled dataset in the BMC Atrium CMDB and provides a workspace for you to create service models using the objects from this dataset.

To search for existing component instances, see “Finding component instances” on page 89.

Creating service component instances in BMC Impact Service Model Editor

You can create a service component instance in BMC Impact Service Model Editor by using the following features of the interface:

■ the Template window■ the Create Component menu command

Before you begin

Ensure that you have the service catalog spreadsheet that lists IT components and their relationships.

NOTE BMC Software recommends creating a maximum of 20,000 service model component instances for each BMC Impact Manager cell.

78 BMC Impact Solutions: Service Model Administrator’s Guide

Page 79: Service Model

Creating service component instances in BMC Impact Service Model Editor

Ensure that the BMC Portal product is installed; see the BMC Portal Getting Started guide.

To create a service component instance by using the menu command

1 With a sandbox View open, from the menu bar, choose Edit => Create Component.

When you open BMC Impact Service Model Editor, a new sandbox View opens automatically if you have no saved Views. You can also open a new sandbox View at any time by clicking on the toolbar.

If you have saved Views, you can open the appropriate View from the Views panel.

2 In the Create Component dialog box, on the General tab, scroll in the Component Type pane until you find the appropriate component type for the instance that you are creating.

The service component types are listed in hierarchical order, not in alphabetical order.

Where to go from here

To enter values for other component instance attributes, see “To specify component instance attributes” on page 81.

To learn about creating component instances using the Template window, continue with the next section.

TIP ■ To free more desktop area for the View, you can hide the dockable windows by clicking

the left-pointing quick-expansion arrow located along the right side of the dockable windows.

■ You can also undock and move the Templates, Pan and Zoom, Find, Properties, Views, and Console Navigation Bar windows. See “Repositioning the dockable windows” on page 140.

Chapter 5 Building a service model in BMC Impact Service Model Editor 79

Page 80: Service Model

Creating service component instances in BMC Impact Service Model Editor

To create a service component instance by using the Template window

1 With a sandbox View open, find the appropriate service component type (class) for the instance that you are creating in the Templates window.

When you open BMC Impact Service Model Editor, a new sandbox View opens automatically if you have no saved Views. You can also open a new sandbox View at any time by clicking on the toolbar.

If you have saved Views, you can open the appropriate View from the Views panel.

You can change the way the list of components are presented in the Templates window by clicking the appropriate icon for List, Large Icon, and Tree layouts. The List and Large Icon layouts are sorted alphabetically (you can reverse the sort) and the Tree layout is in SIM class hierarchy order.

2 Drag the component type from the Templates window to the View-Sandbox window.

When placing objects in the sandbox View window, place consumer instances above provider instances for a hierarchical layout.

Create multiple copies of the component type at one time by holding down a number key while dragging the component icon to the View window. For example, to create eight copies of a component, hold the number 8 key while dragging the component icon. Holding down the 0 key while dragging creates ten copies.

Note that holding down the 1 key while dragging creates eleven copies of the component type.

3 In the View-Sandbox window, right-click the new component icon and select Edit Component Properties.

On the General tab, in the Component Type pane, the component type you chose is selected by default.

If you chose the wrong component type, click Cancel and start again with step 2.

Where to go from here

To enter values for component instance attributes other than component type, see “To specify component instance attributes” on page 81.

80 BMC Impact Solutions: Service Model Administrator’s Guide

Page 81: Service Model

Creating service component instances in BMC Impact Service Model Editor

To specify component instance attributes

1 On the General tab, perform the following steps:

A In the Component Name box, replace the default name with a specific component instance name that is meaningful to your enterprise and that you want to use as the component’s label in a View.

B In the Cell box, accept the default, unassigned, or select the cell that will receive events for the component instance.

BMC Impact Service Model Editor retrieves the list of cell names from the BMC Atrium CMDB. If the cell that you need is not listed, see the BMC Portal Getting Started guide for information about adding a cell.

C (optional) In the Description box, enter a component description that is meaningful to your enterprise.

D (optional) In the Owner section, in the Name box, enter the name of the individual who is responsible for the component, and in the Contact box, enter a contact method, such as a phone number or email address, for the individual.

E In the Component Is area, choose Not In Model or In Model:

■ To include a component instance in the service model, select In Model; it can be published to the cell.

■ To not include a component instance in the service model at the present time, select Not In Model; it cannot be published to the cell.

For more information about in-model and not-in-model, see “In-model and not-in-model component instances” on page 73.

2 On the Status and Alias tab, perform the following steps:

WARNING ■ If unassigned is chosen, the component instance is automatically set to Not In Model

and cannot be published.

■ BMC Impact Service Model Editor verifies that the cell name chosen is present in the BMC Impact Portal, but if the component instance is created outside of BMC Impact Service Model Editor or if the cell is deleted from BMC Impact Portal after it has been created but before it is published, data integrity errors may result.

Chapter 5 Building a service model in BMC Impact Service Model Editor 81

Page 82: Service Model

Creating service component instances in BMC Impact Service Model Editor

A In the Status Computation list, select a status computation model.

The default selection is Standard, which is acceptable for most component instance definitions. For more information about status computation models, see Chapter 7, “Component and relationship status propagation.”

The default status for new component instances is OK.

B In the Aliases box, click Add Alias.

Each component instance must have a unique alias; if more than one component instance has the same alias, publishing fails.

For information about aliases, see “Event associations” on page 58.

— In the Alias box, enter the alias and press Return or click OK.

— (optional) Enter additional aliases (one for each event that can potentially affect the status of the component instance) by clicking Add Alias.

Each alias that you enter is listed in the Aliases box.

3 On the Permissions tab, assign the proper permissions for this component instance to each of the roles listed.

4 On the Schedule tab, perform the following steps:

A Assign the appropriate service schedules information to the components.

For more information, see “Assigning components to service schedules” on page 117.

B In the Time-variable Properties area

— Choose a base priority for the components for During Schedule Timeframes and Off Schedule Timeframes.

— Enter the cost units per second for During Schedule Timeframes and Off Schedule Timeframes.

C In the Priority Propagation area, select

■ Yes to have the selected components propagate their self priority to their causal components

■ No (default) if self priority should not be propagated

82 BMC Impact Solutions: Service Model Administrator’s Guide

Page 83: Service Model

Switching sandbox View modes

5 (optional) On the Other tab, enter relevant information about the component in the fields listed.

6 To save the component instance in the BMC Atrium CMDB (or save changes if you used the Templates window), click OK.

Where to go from here

Continue creating component instances until you have a number of component instances that are related, and then see “Defining relationships between component instances” on page 96.

To learn more about working with component instances (viewing, editing, copying, deleting, and finding), continue with the next section.

Switching sandbox View modes

In the sandbox, you can switch between a model-based view of components that displays the components in a hierarchical graph and a table-based view that displays the components in a table that includes properties. Components selected in either mode remain selected after you switch to the other mode.

You can switch View modes by clicking the appropriate toolbar icon, as shown in Table 18.

Table 18 View mode switch icons

Icon View mode

Topology

Component Table

Chapter 5 Building a service model in BMC Impact Service Model Editor 83

Page 84: Service Model

Viewing properties for a component instance

Viewing properties for a component instance

You can view properties for a component instance, do one of the following:

■ In a View window, right-click a component instance and select Properties.■ Select the Properties dockable window, and in a View window, select a component

instance or select a component instance and then click Properties on the Properties dockable window.

■ On the toolbar, click the Display the properties window icon.■ Select a component instance and from the menu bar and choose

Windows => Properties.■ Switch to Component Table mode .

You can select columns (for this session only) by right-clicking any column heading and selecting Configure table columns.

By default, the properties shown for a component in Component Table mode include

You can configure which component properties are displayed for a component in Component Table mode by right-clicking a table column heading and selecting Configure Table Columns.

The default sort order is by Name.

Table 19 Default component properties

Type Description

Type the general component type, such as application, computer system, and database.

Name the name of the component.

Scope whether the component is in a production, sandbox, or test environment.

Cell the name of the BMC Impact Manager to which the component is assigned.

Owner Name the name of the person responsible for the component.

Company the name of the business associated with the component.

Status Model status computation model description, such as Standard

Priority - During Schedule the base priority of a component (1-5) in a During Schedule timeframe

Priority - Off Schedule the base priority of a component (1-5) in an Off Schedule timeframe

Description any special notes on the component

Reconciliation Identity ID used to reconcile this component, as in matching this component instance across datasets

84 BMC Impact Solutions: Service Model Administrator’s Guide

Page 85: Service Model

Editing component instances

You can also change the values for a property from the Properties dockable window by clicking the appropriate Edit button. (Each section of data has its own Edit button.) For more information about changing properties of a component instance, see “Editing component instances.”

Editing component instances

You can change properties (attributes) for a component instance, except the component’s class, by opening the Edit Component Properties dialog box.

If the component is already being edited, a warning dialog is displayed. Though you are not locked-out of editing the component, you should wait until the edit is complete before proceeding.

To modify component instance properties

1 Either

■ in the active View window, select the component instance to edit, or■ in a Table of Components view, select the component property to edit.

2 Do one of the following to display the Edit Component Properties dialog:

■ Right-click the component instance or property and choose Edit Component Properties from the context menu.

■ From the menu bar, choose Edit => Edit Component Properties.

3 Make the appropriate changes. For more information about the properties of components, see “To specify component instance attributes” on page 81.

4 Click OK.

Performing actions on multiple objects

You can perform some actions on multiple objects at the same time (or example, you can add the same cell to several component instances, or delete multiple component instances).

Chapter 5 Building a service model in BMC Impact Service Model Editor 85

Page 86: Service Model

Performing actions on multiple objects

To select multiple objects

1 On the toolbar, click Selection .

2 With the mouse pointer, click and drag to draw a box around all the objects that you want to select.

3 Right-click and select the action that you want to perform.

To change in-model or not-in-model setting quickly

In an active View window, select the component instances, or component instances and relationships, and do use of the following methods:

■ On the toolbar, click the add-to-model or remove-from-model icon.■ Right-click and choose Add to Model or Remove from Model.

Only the object type specific to a particular action is affected and the other type is ignored. For example, selected relationships are ignored when you assign multiple objects to a cell.

To add or change the assigned cell

1 In an active View window, select the component instances.

2 Right-click and choose Assign Component to Cell.

If all the component instances have the same cell, the cell name is displayed. If even one cell name is different, the Cell box is blank.

3 Select a cell from the list, or select [unassigned].

When you select a cell, all component instances are updated with that cell.

If you select unassigned, component instances no longer have cell assignments and all components that were in model are changed to not in model and cannot be published.

86 BMC Impact Solutions: Service Model Administrator’s Guide

Page 87: Service Model

Copying component instances

To edit multiple component instances

1 Select the appropriate component instances. See “To select multiple objects” on page 86.

2 Take one of the following actions:

■ Right-click the component instances and choose Edit Component Properties.■ From the menu bar, choose Edit => Edit Component Properties.

3 In the Edit Multiple Component Properties dialog box, make the necessary changes.

The objects you selected appear in the Component List box. Changes you make will apply to every component instance in the list. If even one component instance has a different value for a property, the field is blank.

4 When you have finished making changes, take on of the following actions:

■ to save and exit, click OK.■ to save and keep the dialog box open, click Apply.■ to discard the changes and exit, click Cancel.

Copying component instances

You can copy one or more component instances and paste the copies into the sandbox View. When pasting copies, you can automatically rename the pasted components by attaching a prefix or suffix to the original component name. To configure copy and paste options, see “To set copy/paste and miscellaneous options” on page 198.

Relationships are not copied unless they are also selected. See “To select multiple objects” on page 86.

To copy component instances

1 Select one or more component instances that you want to copy.

2 Right-click and choose Copy.

3 Right-click and choose Paste.

4 If you are copying more than one component, in the Paste Multiple Components dialog box, add a prefix or suffix to the original component name as needed and click OK.

Chapter 5 Building a service model in BMC Impact Service Model Editor 87

Page 88: Service Model

Hiding a component instance

The default prefix is Copy of, but you can specify a prefix by entering a new value in this box.

Output Preview displays the name of one of the newly pasted component instances. When more than one component instance is selected for copying, the name of only one of the selected component instances displays.

You can replace the default prefix or suffix by changing it in the Options settings. To prevent the Paste Components dialog box from prompting you at each paste, select Do not show this dialog again. When this check box is selected, the current option is used until you change it in the Options settings. See “To set copy/paste and miscellaneous options” on page 198.

Hiding a component instance

You can hide a component instance so that it is not visible in the current active View or in all Views. A hidden component instance that has been published to a cell is not deleted from BMC Impact Service Model Editor and can be retrieved with the Find command.

To hide a component instance

1 Select the component instances to hide.

2 To hide the component instances in the active View, take one of the following actions:

■ Right-click and choose Hide in This View.

■ Choose Edit => Hide in This View.

The selected component instances are removed from the active View, but are still visible in other Views in which they have been saved. If they are part of the service model, they remain in the service model.

3 To hide the component instances in all Views, take one of the following actions:

■ Right-click and choose Hide in All Views.

■ Choose Edit => Hide in All Views.

The selected component instances are removed from all Views and from the service model. Data in the component instance is not modified in any way; the component instance just does not appear in any of the current Views.

88 BMC Impact Solutions: Service Model Administrator’s Guide

Page 89: Service Model

Deleting a component instance

Deleting a component instance

When you delete a component instance in a View

■ Components in the BMC.ASSET (in the BMC Atrium CMDB) that are marked as deleted (MarkAsDeleted) are not visible in BMC Impact Service Model Editor.

■ Components in your sandbox that are marked as deleted appear in BMC Impact Service Model Editor with an “X” icon.

■ Components that are new in the sandbox (that have no copy in BMC.ASSET yet) are hard-deleted from the sandbox.

To delete a component instance

1 In a View window, select the component instances you want to delete and take one of the following actions:

■ Right-click the component instance and choose Delete from CMDB.

■ from the menu bar, choose Edit => Delete from CMDB.

2 Verify that you want to delete the component instances and click Yes.

3 Choose File => Promote All Sandbox Changes.

4 Review the Objects to be Promoted area to ensure that the component instances that you want to delete are listed.

5 Click Begin Promotion.

The deleted instances are removed from the service model; they are no longer available in BMC Atrium CMDB.

Finding component instances

You can search the BMC Atrium CMDB for existing component instances by using the Find command. Only component instances associated with classes that are designated for service impact management in the BMC Atrium CMDB can be found in the BMC Impact Service Model Editor.

NOTE

I

If you want only to remove a component instance from your Views without deleting it permanently, use the Hide in All Views command as described in “Hiding a component instance” on page 88.

Chapter 5 Building a service model in BMC Impact Service Model Editor 89

Page 90: Service Model

Finding component instances

Figure 7 Find Component dialog box

You cannot search for relationships with the Find command, but when related component instances are found and placed in a View, their relationships are also placed in the View.

To find existing component instances

1 Launch the Find command by taking one of the following actions:

■ On the toolbar, click Find.■ From the dockable windows, click Find.■ From the menu bar, choose Window => Find.

2 On the Find tab, in the Component Name box, enter the name of the component instance that you want to find.

To display a list of all component instances, leave the Component Name box blank and click Find.

You can enter a partial name by using the % sign as a wildcard before the partial name, after it, or both (for example, %Sales%, Sales%, or %Sales).

3 (optional) Save the search statement by clicking Add to Saved Finds and reuse it by clicking Open Saved Finds.

90 BMC Impact Solutions: Service Model Administrator’s Guide

Page 91: Service Model

Finding component instances

4 (optional) In the Look in area, accept the default, Sandbox and Production, or filter the list of component instances in the results pane by choosing Production Only or Test Only.

5 (optional) To define the attributes that are displayed in the results table and their order, right-click in any results-table column heading and select Configure table columns.

The attributes shown in the Available Attributes pane are

■ listed in alphabetical order■ common to all component types

In the Configure Find Results dialog box, select the appropriate attributes.

■ To change the order of the columns in the final results display, use the up and down arrow buttons.

■ To move the attributes that you want to display into the Attributes to Show pane, use the left and right arrow buttons.

6 To start the search, click Find.

While the search is in progress, a find-activity indicator spins next to the Find button. You might see results before the search is complete. The indicator disappears when the search is complete.

7 In the Results pane, review the results of the search.

The default sort order is by component name, if component name is one of the columns you choose to display. If component name is not chosen for display, the default sort order is creation date and time.

To sort the values in any column, click the column heading. To change the order of the columns from left to right, drag the column headings.

For each user, the last-used settings are saved and reapplied at the next logon session.

8 (optional) In the results pane, select one of the instances and take any of the following actions:

■ To place objects in a new View window, click Open in New View.

■ To place objects in the active View window, drag the instances into the View window or select them and click Place in Selected View.

Chapter 5 Building a service model in BMC Impact Service Model Editor 91

Page 92: Service Model

Finding component instances

When you move one instance into a View, if the object already exists in that View window, the Duplicate Component dialog box opens. To shift the View focus so that you can see the existing object, click Go to Component.

If you select more than one component instance to move into view, the Go to Component button is not available.

■ To view the characteristics of a selected component instance, click Show Properties.

9 (optional) To start another search, click Reset to clear all the selection criteria options on the Find tab to the default values (blank component name field, All Components, no results in table).

Using the Advanced Find feature

On the Advanced Find tab, you can refine a search based on additional search criteria listed in Table 20 on page 93. For example, in Figure 8, the search will locate objects assigned to the specified cell with a publish date within the past year.

Figure 8 Advanced Find dialog box

92 BMC Impact Solutions: Service Model Administrator’s Guide

Page 93: Service Model

Finding component instances

Table 20 describes the additional search criteria available in Advanced Find.

Using the Conditional Find feature

With Conditional Find you can create a custom selection criteria phrase to select the component instances that cannot be located using Find or Advanced Find.

Table 20 Description of additional search criteria

Search criteria Options Selects based on

Look in Sandbox and Production

components that are in either sandbox or production (promoted and published) Views

Production Only components that have been promoted and published and are now in production

Test Only components that have been assigned to a test cell

Component Type All any component type

list of component types (classes)

the specific component type selected from the list

Cell All any service impact cell

Specific cell names the specific cell name selected from the list

Date Last Edited Date the date range during which the component instance was last changed

Last Created Date the date range during which the component instance was created

User Last Editor the user ID who last changed the component instance properties

Creator the login ID of the user who created the component instance

Chapter 5 Building a service model in BMC Impact Service Model Editor 93

Page 94: Service Model

Finding component instances

Figure 9 Using Conditional Find

In the Query Builder area, you define the attributes and specific values on which you want to base the search.

NOTE When you search on the Aliases attribute, you must use LIKE as the relational operator, because if the component instance has more than one alias, the values are stored as a string, (for example: [dcsrvstore2.cvom, dcsrvstore3.com]).

94 BMC Impact Solutions: Service Model Administrator’s Guide

Page 95: Service Model

Finding component instances

To build selection criteria phrases

1 (optional) If needed, in the first list box in Query Builder, select the beginning parenthesis.

If the statement requires multiple selection criteria phrases, you might need the beginning and ending parentheses to define precedence. For example, you need the parentheses for a statement like

(phrase1 OR phrase2) AND phrase3

2 In the Select list box, select a component instance attribute.

As you build the statement, it is displayed in the Query Display area.

3 In the relational operator list box, select one from those defined in Table 21.

4 In the text box, enter the specific value that must be contained in the attribute.

The relational operator describes the relationship between the value in the attribute from step 2 and the value you specify in step 4.

5 (optional) To create multiple selection criteria phrases, add lines as needed by clicking Add Line.

If you have more than one selection criteria line, in the first list box on the subsequent line, select the appropriate Boolean operator:

■ And means both conditions must be met.■ Or means either condition must be met for the component instance to be

selected.

6 (optional) If needed, in the last list box for any selection criteria phrase, select the ending parenthesis.

Table 21 Definition of relational operators

Relational operators Definition

= equal to

!= not equal to

< less than

> greater than

<= less than or equal to

>= greater than or equal to

LIKE similar to

Chapter 5 Building a service model in BMC Impact Service Model Editor 95

Page 96: Service Model

Defining relationships between component instances

7 (optional) To delete lines, click the Delete Line button that is directly under the line you want to delete.

8 To start the search, click Find.

Using “smart” select

With “smart” select, you can choose to select only component instances in the current view which match the attributes you specify. The smart select attributes include

■ In Model (any view)■ Out of Model (any view)■ New (sandbox view)■ Edited (sandbox view)■ Production Components (sandbox view)■ Components With No Cell (any view)■ Components With Cell but Out of Model (any view)

To use smart select

1 With a View open, choose Edit=>Select.

2 Click on the appropriate attributes to select.

The component instances which match the specified attributes are selected.

Defining relationships between component instances

Impact relationships define how status propagation is passed from the provider component instance to the consumer component instance. An active relationship is an impact relationship and indicates that the status of the consumer instance depends on the status of the connected provider instance. An inactive relationship means that no dependency exists or that the dependency is irrelevant to the model; in either case, an impact relationship does not exist.

TIP To save the search statement for reusing later, click Add to Saved Finds.

96 BMC Impact Solutions: Service Model Administrator’s Guide

Page 97: Service Model

Creating a component relationship in BMC Impact Service Model Editor

Whenever the status of the provider instance changes, it is propagated to the connected consumer component instance.

For each component instance for which you are creating relationships, you must know

■ whether it is a consumer or a provider for the related component■ its relationship state value (active or inactive)■ its status propagation model value (relationship policy)

After you have created relationships, test them to verify that they function in the way that you intended. See “Associating events with a component instance” on page 104.

Creating a component relationship in BMC Impact Service Model Editor

You can create consumer/provider relationships for components in BMC Impact Service Model Editor by

■ drawing lines between components in the View window■ using the Create Relationship command

To create a relationship by using draw mode

1 In the View window, on the toolbar, click .

The default relationship direction is from provider to consumer. If necessary, you can change it to consumer to provider by clicking on the arrow next to the tool.

In draw mode, the cursor changes to .

2 Draw a relationship line from provider to consumer by clicking at the top of the provider component and moving to the bottom of the consumer component, and then click again.

TIP When you place components in a View, place them such that provider components are below consumer components.

TIP To delete a graphic line that you have started and do not want to complete, press Esc.

Chapter 5 Building a service model in BMC Impact Service Model Editor 97

Page 98: Service Model

Creating a component relationship in BMC Impact Service Model Editor

3 On the toolbar, click Selection and right-click on the relationship line you just drew.

Where to go from here

To specify other impact relationship attributes, see “To specify other impact relationship attributes” on page 100.

To learn about creating relationships using the commands, continue with the next section.

To create relationships by using menu commands

1 In a View with component instances that need relationships defined, take one of the following actions:

■ On the toolbar, click Create a new Relationship .■ From the menu bar, choose Edit => Create Relationship.■ In a View window, right-click on a component, and choose Create Relationship.

2 In the Create Relationship Properties dialog box, in the Consumer List area, click Add.

98 BMC Impact Solutions: Service Model Administrator’s Guide

Page 99: Service Model

Creating a component relationship in BMC Impact Service Model Editor

Figure 10 Create Relationship dialog box

3 In the Find window, locate the component instances that function as the consumer in an impact relationship. For information about the Find command, see “Finding component instances” on page 89.

You can add more than one component instance (using basic Windows selection) to either the Consumer List box or the Provider List box.

4 In the Provider List area, click Add.

5 In the Find window, locate and choose the component instance that functions as the provider in the impact relationship.

If there are multiple component instances in the Consumer List, you can add only one provider component instance; the one that is the provider for each of the component instances in the consumer list.

Chapter 5 Building a service model in BMC Impact Service Model Editor 99

Page 100: Service Model

Creating a component relationship in BMC Impact Service Model Editor

6 (optional) To switch the contents of the two lists (make the consumer the provider and vice versa), click Swap List Contents.

Where to go from here

To specify other impact relationship attributes, see “To specify other impact relationship attributes” on page 100.

To specify other impact relationship attributes

1 On the toolbar, select Selection and right-click on a relationship line.

2 Choose Edit Relationship Properties.

3 In the Edit Relationship Properties dialog box, for the Activity options, select Active or Inactive.

■ Active—the status of the provider component instance is propagated to the consumer component instance.

■ Inactive—the status of the provider component instance is not propagated to the consumer component instance.

4 In the Relationship Policy list, select one of the pre-defined status propagation models:

■ Direct—the status of the consumer component instance may be identical to that of its provider component instance, depending on the events directly affecting the consumer’s status, which is also taken into account.

■ Decreasing—the status of the consumer component instance is less critical than that of the provider component instance by one level. For example, if the provider status is WARNING, the consumer status is INFO.

■ Increasing—the status of the consumer component instance becomes more critical than that of its provider component instance by one level. For example, if the provider status is WARNING, the consumer status is MINOR.

WARNING Avoid creating circular relationships in which an component instance can propagate events to itself. For example: instance 1 —> instance 2 —> instance 1 again. Publishing will fail if loops (circular relationships) are created within the service model.

NOTE BMC Impact Service Model Editor verifies that the impact relationship is associated with a valid status propagation model.

100 BMC Impact Solutions: Service Model Administrator’s Guide

Page 101: Service Model

Assigning related component instances to cells

5 In the Status Weight box, accept the default value or enter a number for the consumer object. (Status weight is used in the WEIGHTED_CLUSTER status computation model.)

6 (optional) In the Description box, enter an explanation of the relationship that is meaningful to your enterprise.

7 Click OK.

Figure 11 shows an example sandbox View after some relationships were created.

Figure 11 Drawing relationships

Assigning related component instances to cells

After you have grouped your related component instances of the service model and determined on which cells to publish them, you are ready to assign the related components to the specified cells.

WARNING If you attempt to create a relationship between two components that already have a relationship between them, BMC Impact Service Model Editor displays an error message. Even if the original impact relationship was created outside of BMC Impact Service Model Editor, for example, through BMC Topology Discovery, BMC Impact Service Model Editor detects it.

Chapter 5 Building a service model in BMC Impact Service Model Editor 101

Page 102: Service Model

Updating relationships

First, identify the target cells that share component relationships. Next, in the cells that share relationships, make entries in each mcell.dir file to identify the other related cells.

For example, you intend to publish different component instances of your model across five different cells (1, 2, 3, 4, and 5), but only three cells (1, 3, 5) share a relationship. The mcell.dir file of cell 1 should have entries identifying cells 3 and 5; the mcell.dir file of cell 3 should have entries identifying cells 1 and 5; and the mcell.dir file of cell should have entries identifying cells 1 and 3.

To assign related component instances to cells

1 In an active View window, select one or more of the component instances and do one of the following:

■ Right-click and choose Edit Component Properties. ■ From the menu bar, choose Edit => Edit Component Properties.

The General tab of the Edit Component Properties dialog box displays the corresponding component type in the component type hierarchy. The component instance name is displayed in the Component Name box.

If you chose more than one component instance, the Edit Multiple Component Properties dialog box is displayed.

2 In the Edit Component Properties dialog box (or Edit Multiple Component Properties dialog box), in the Cell box, select the cell to which you want to publish the components.

3 To assign other related components to a different cell, select them in the View window, and repeat steps 1 and 2.

Where to go from here

To continue with the creation of a service model, see “Associating events with a component instance” on page 104.

To learn about updating and deleting relationships, continue with the next section.

Updating relationships

You can change the properties for an existing relationship, but you cannot add or delete the consumer or provider instances, nor can you swap the consumer and provider nodes.

102 BMC Impact Solutions: Service Model Administrator’s Guide

Page 103: Service Model

Deleting relationships

To edit one or more impact relationships

1 In the View window, do one of the following:

■ Select one or more relationship graph lines, right-click and choose Edit Relationship Properties.

■ Select one or more relationship graph lines and from the menu bar, choose Edit => Edit Relationship Properties from the menu bar.

■ Select one or more the relationship graph lines, set the focus on the Properties window, and click Edit.

If more than one relationship is selected, all are listed in the Edit Multiple Relationship Properties window.

2 Enter a new value in the Activity, Relationship Policy, Status Weight, and/or Description boxes.

If more than one relationship was selected:

■ for each of the boxes, values are filled in if they are the same for all relationships listed; if even one relationship has a different value in a property box, the box is blank

■ the changes you make are applied to all relationships listed in the Edit Multiple Relationship Properties dialog box

For more information about the properties, see “To specify other impact relationship attributes” on page 100.

Deleting relationships

When you delete a relationship, the component instances remain in the service model. The relationship is recorded as to be deleted in the user sandbox and it is immediately removed from the SME View.

However, prior to promoting the change, if you activate the Show/Hide Deleted Components toggle button in the toolbar, the deleted relationship can be seen in the View if you re-expand the graph. Relationships that are to be deleted are, by default, rendered in red, though this option can be changed in the Personal Options dialog.

TIP You can select multiple components and multiple relationships and then open the Edit Relationship Properties dialog box.

Chapter 5 Building a service model in BMC Impact Service Model Editor 103

Page 104: Service Model

Associating events with a component instance

When a component is deleted, all relationships referencing the component (provider and consumer) are automatically deleted to maintain the consistency of the service model.

To delete a relationship

1 In the View window, select the relationship line that you want to delete and do one of the following:

■ Right-click and choose Delete from CMDB.■ From the menu bar, choose Edit => Delete from CMDB.

2 In the confirmation window, verify that you are deleting the intended object, and click OK.

3 Select File=>Promote All Sandbox Changes to remove the relationship from the production model.

Associating events with a component instanceWhen an event is received by a cell, its event alias slot is checked for a value. If this value does not exist, the cell uses an alias association formula to construct an alias. The constructed alias must match the value you entered in the Alias box on the Status and Alias tab in the Create (or Edit) Component Properties dialog box. This section describes how to create the formula. For more information about event alias association, see “Event associations” on page 58.

To create an event alias association

1 From the menu bar, choose Tools =>Alias Formulas.

2 In the Event Alias Associations dialog box, click Add.

The list of existing alias event associations displays. To sort either column, click in the column heading.

WARNING ■ Only one promotion can be processed at a time. If you submit a promotion while a

previous promotion is being processed, the second promotion will not start until the second one is complete.

■ Event class definitions must be the same in all SIM cells. If you add custom event classes, you must manually modify the KB of each cell, recompile the KB, and then restart each cell.

104 BMC Impact Solutions: Service Model Administrator’s Guide

Page 105: Service Model

Associating events with a component instance

3 In the Edit Event Alias Associations dialog box, in the Name box, enter a name for the event association.

Figure 12 Creating an alias association

4 In the Event Match Criteria area, in the Event Class box, select an event class from the list.

BMC Impact Service Model Editor looks at the first available cell and uses its event classes in the list.

When an event comes in, its event class has to match the event class or a subclass of the event class before the alias formula is even considered.

5 (optional) In the Match Attributes box, choose attributes and enter values to refine which events (within the event class) will generate aliases.

Chapter 5 Building a service model in BMC Impact Service Model Editor 105

Page 106: Service Model

Associating events with a component instance

Figure 13 Defining the events to be processed by the alias formula

For each attribute you choose, select one of the conditional operators, as described in Table 22, and enter a value in the text box to further define the events that are used to generate aliases using this formula.

If you use more than one attribute, each condition must test true (the Boolean operator between the selection criteria phrases is AND) before the alias formula process is performed. For example, in Figure 14 on page 107, the search phrase would read: Hostname contains SALLOG and IP address equals 555.22.19.105. Both conditions must be true for the event to be selected for alias processing.

Table 22 Description of conditional operators

Conditional operators Description

anything the attribute can contain any value and is not used as a selection criteria

If every attribute listed has anything that means that every incoming event that belongs to the event class will pass through alias formula processing

contains the characters you enter in the text box occur someplace in the value

has prefix the value starts with the characters you enter in the text box

has suffix the value ends with the characters you enter in the text box

equals the value exactly matches the characters you enter in the text box

106 BMC Impact Solutions: Service Model Administrator’s Guide

Page 107: Service Model

Associating events with a component instance

Figure 14 Example of match attributes

6 In the Alias Formula area, use the Attribute, Text, and Function buttons in any order and as many times as needed to build the formula:

A To insert an attribute in the formula, click the Attribute button. The attributes shown are those that belong to the event class you selected in the Event Definition area.

When an attribute is selected, the control shows the attribute name, and the preview area is updated to show the syntax of the formula as it currently exists.

B To insert literal text (for example, a period, semi-colon, the word Oracle), click on the Text button. In the text box, type the literal text that you want in the alias formula.

Literal text appears in the first part of the alias formula with data type definitions.

C To insert a function that defines the data type and an expression in the formula, click on the Function button. Type the function and choose the data type.

For a list of functions you can use, see BMC Impact Solutions: Knowledge Base Development.

TIP If your formula for a component instance (CI) contains the mc_host slot with a host name value, then the mc_host slot of the matching event definition should also contain the host name value, not the IP address, of the CI. For example, if you assign the mc_host slot in your formula the value mycomputer.abc.com, then the mc_host slot of the incoming event should contain the same host name value, not the IP address.

You can check with your system administrator for the correct Domain Name System (DNS) resolution if the object represented by the component instance experiences host name resolution errors.

Chapter 5 Building a service model in BMC Impact Service Model Editor 107

Page 108: Service Model

Associating events with a component instance

D (optional) To change the order of the elements in the alias formula, select the part of the formula you want to move and click the Move arrow button as appropriate.

E (optional) To delete one of the elements in the alias formula, select the part of the formula you want to delete and click the Delete button.

7 When the alias formula is complete, click Save.

Where to go from here

To continue with the creation of a service model, see “Promoting the service model” on page 121.

To learn about editing and deleting an event alias association, and adding an alias to a component instance, continue with the next section.

To edit an event alias formula

1 Choose Tools => Alias Formulas.

2 In the Event Alias Associations dialog box, select an existing alias computing formula.

3 Click Edit.

4 In the Edit Event Alias Association dialog box, make changes as needed.

For details about each field, see “To create an event alias association” starting with step 4 on page 105.

5 When your changes are complete, click OK.

To delete an event alias formula

1 Choose Tools =>Alias Formulas.

2 In the Event Alias Associations dialog box, select an existing alias computing formula.

3 Click Delete.

108 BMC Impact Solutions: Service Model Administrator’s Guide

Page 109: Service Model

Working with timeframes and service schedules

To add an alias to a component instance

1 In an active View window, select a component instance and either

■ right-click the component instance and choose Edit Component Properties

■ choose Edit => Edit Component Properties from the menu bar.

2 On the Status and Alias tab, click Add Alias.

3 In the Input box, enter the alias name and click OK.

Each alias you enter is listed in the Aliases box.

4 (optional) Enter additional aliases (one for each event that can potentially affect the status of the component instance).

5 (optional) To edit an alias name, in the Aliases box, select the alias and click Edit.

6 (optional) To delete an alias, in the Aliases box, select the alias and click Delete.

7 Click OK.

Edits on this tab are not saved to the BMC Atrium CMDB until you click OK.

Where to go from here

To learn about creating service schedules and assigning components to service schedules, continue with the next section.

Working with timeframes and service schedules

You edit service schedules using the Schedules Editor function of BMC Impact Service Model Editor. Schedule information is stored in the BMC Atrium CMDB and can be viewed in BMC Impact Portal and BMC IX.

If a schedule is not selected for a component, the component will have a default schedule of 24 x 7 x 365 (always in schedule).

TIP To search for the component instances that use a specific alias, use the Conditional Find tab in the Find dockable window. One of the attributes available in the Select list box is Aliases. You must use LIKE as the relational operator.

Chapter 5 Building a service model in BMC Impact Service Model Editor 109

Page 110: Service Model

Icons used in the service schedule and timeframes editors

After service schedules are created, you can assign components to schedules in the Edit Component Properties dialog box as described in “Assigning components to service schedules” on page 117.

Full Access, Service Administrators, and Service Managers user groups have access to the schedule editor.

Icons used in the service schedule and timeframes editors

Table 23 contains descriptions of the functions of icons used in the service schedule and timeframe editors.

Working with timeframes

Service schedules are built from timeframes, which can be created and edited using the Timeframe Edit dialog box of BMC Impact Service Model Editor as shown in Figure 15.

Table 23 Service schedule and timeframes editors icons

Icon Function

Edit the selected service schedule or timeframe

Create a new service schedule or timeframe

Copy of the selected service schedule or timeframe

Show Usages of components assigned to the selected service schedule or timeframe. Opens the Timeframe - Components and Schedule dialog box, which lists the components and schedules currently associated with the timeframe. If you are creating a new timeframe, these lists will not contain any components or schedules.

Delete the selected service schedule or timeframe

110 BMC Impact Solutions: Service Model Administrator’s Guide

Page 111: Service Model

Working with timeframes

Figure 15 Timeframe Edit dialog box

Table 24 provides descriptions of the fields in the Timeframe Edit dialog box.

Table 24 Timeframe Edit field descriptions (part 1 of 2)

Name Name of the timeframe

Description Description of the timeframe

Usages (button) Opens the Timeframe - Components and Schedule dialog box, which lists the components and schedules currently associated with the timeframe. If you are creating a new timeframe, these lists will not contain any components or schedules.

Start, End, and Duration Period when the timeframe begins and ends, and the duration of the timeframe. Changing the duration will change the value in the End field, and vice-versa.

The individual time zone of each component’s BMC Impact Manager will be used in timeframe calculations.

Chapter 5 Building a service model in BMC Impact Service Model Editor 111

Page 112: Service Model

Working with timeframes

To create or edit a timeframe

1 From the menu bar, choose Tools => Edit Schedules.

2 In the Schedules Editor dialog box, on the Timeframes tab, click the New icon to create a new timeframe or click the Edit icon to edit an existing timeframe.

3 In the Timeframe Edit dialog box, enter or modify the appropriate information in the fields available in the Timeframe Edit dialog box.

For more information about the Timeframe Edit dialog box, see Table 24, “Timeframe Edit field descriptions,” on page 111.

4 Click Save to save the timeframe and make it available for use in the Schedules Editor.

To copy a timeframe

1 From the menu bar, choose Tools => Edit Schedules.

2 In the Schedules Editor dialog box, on the Timeframes tab, select a timeframe to copy.

3 Click the Copy icon.

4 In the Timeframe Edit dialog box, modify the fields for the copied timeframe as appropriate. The copied timeframe name is appended with the prefix “Copy of.”

For more information about the Timeframe Edit dialog box, see Table 24, “Timeframe Edit field descriptions,” on page 111.

5 Click Save.

Recurrence pattern Defines the frequency in which the timeframe recurs. Changing the selection in the left side list changes the options available on the right side.

Besides the Daily, Weekly, Monthly, and Yearly timeframe options, you can select individual dates that are part of the timeframe by selecting Date List and choosing dates from the displayed calendar.

Range of recurrence Defines the starting and ending date range for the recurrence.

Optionally, instead of choosing an end date, you can enter the number of recurrences for the timeframe.

Table 24 Timeframe Edit field descriptions (part 2 of 2)

112 BMC Impact Solutions: Service Model Administrator’s Guide

Page 113: Service Model

Working with service schedules

To list the service schedules and components that are associated with a timeframe

1 From the menu bar, choose Tools => Edit Schedules.

2 In the Schedules Editor dialog box, on the Timeframes tab, select a timeframe.

3 Click the Show Usages icon.

In the Timeframe - Components and Schedule dialog box is a list of the components and schedules currently associated with the timeframe.

— To view components associated with the selected timeframe, click the Components tab.

— To view service schedules containing the selected component, click the Schedules tab.

4 Click Close.

To delete a timeframe

1 From the menu bar, choose Tools => Edit Schedules.

2 In the Schedules Editor dialog box, select one or more timeframes from the list of timeframes.

3 On the Schedules tab, click the Delete icon.

To view the schedules that make use of a given timeframe, on the Timeframes tab of the Schedules Editor dialog box, click Show Usages. See “To list the service schedules and components that are associated with a timeframe” on page 113.

4 Click Delete.

Working with service schedules

You create and modify service schedules in the BMC Impact Service Model Editor Schedule Edit dialog box as shown Figure 16.

Chapter 5 Building a service model in BMC Impact Service Model Editor 113

Page 114: Service Model

Working with service schedules

Figure 16 Schedule Edit dialog box

To create or edit a service schedule

1 From the menu bar, choose Tools => Edit Schedules.

2 In the Schedules Editor dialog box, on the Schedules tab, click the New icon to create a new service schedule or click the Edit icon to edit an existing service schedule.

3 In the Schedules Edit dialog box, enter or modify the appropriate information in the fields, as shown in Table 25.

Table 25 Schedule Edit field descriptions

Schedule name Name of the service schedule being created or edited

Description Description of the service schedule

Usages (button) Opens the Schedules - Components Assigned to this Schedule dialog box, which lists the components and component descriptions currently associated with the selected schedule.

114 BMC Impact Solutions: Service Model Administrator’s Guide

Page 115: Service Model

Working with service schedules

4 Click Save.

To copy a service schedule

1 From the menu bar, choose Tools => Edit Schedules.

2 In the Schedules Editor dialog box, on the Schedules tab, select a service schedule from the list.

3 Click the Copy icon.

4 In the Schedule Edit dialog box, modify the fields for the copied service schedule as appropriate.

For more information about the Timeframe Edit dialog box, see Table 25, “Schedule Edit field descriptions,” on page 114.

5 Click Save.

Timeframes in this schedule Information on what timeframes are part of the service schedule, what timeframes are Exceptions Within During Schedule, and what timeframes are available.

Any time period that is not part of a service schedule is considered Off Schedule.

Available Timeframes, the center panel, contains the timeframes that are available to be added to the During Schedule and Exceptions Within During Schedule periods.

During Schedule Timeframes, the left panel, contains the timeframes during which the associated components exists in the service schedule period (as opposed to being Off Schedule). Add or remove timeframes from the list by using the arrows between During Schedule Timeframes and Available Timeframes.

Exceptions Within During Schedule, the right panel, contains the timeframes during which the associated components are treated as Off Schedule even though the time exists within the During Schedule period.

Timeframe details Opens the Timeframe Details dialog box listing the times, dates, and recurrence periods of the selected timeframe.

Table 25 Schedule Edit field descriptions

Chapter 5 Building a service model in BMC Impact Service Model Editor 115

Page 116: Service Model

Working with service schedules

To display the component instances that are associated with a service schedule

1 From the menu bar, choose Tools => Edit Schedules.

2 In the Schedules Editor dialog box, on the Schedules tab, select a service schedule from the list.

3 Click the Show Usages icon.

In the Timeframe - Components and Schedule dialog box is a list of the components and schedules currently associated with the timeframe. You can view associated components on the Components tab and associated service schedules on the Schedules tab.

4 Click Close.

To delete a service schedule

1 From the menu bar, choose Tools => Edit Schedules.

2 In the Schedules Editor dialog box, on the Schedules tab, select one or more service schedules from the list.

3 Click the Delete icon.

A Delete Confirmation dialog box is displayed, informing you that after deletion, all components using the deleted schedules will be assigned to the current default schedule.

To view the component instances that are associated with a given service schedule, on the Schedules tab of the Schedules Editor dialog box, click Show Usages. See “To display the component instances that are associated with a service schedule” on page 116.

4 Click Delete.

Where to go from here

After you create service schedules, you assign components to the schedules. See “Assigning components to service schedules” on page 117.

116 BMC Impact Solutions: Service Model Administrator’s Guide

Page 117: Service Model

Assigning components to service schedules

Assigning components to service schedules

You can assign one or more components to service schedules by launching the Schedules Editor from the Edit Component Properties dialog box, Schedule tab, as shown in Figure 17.

Figure 17 Schedules Editor section of Edit Component Properties dialog box

To assign components to service schedules

1 Select one or more components in the active View to which you want to assign to a service schedule.

2 Choose Edit=>Edit Component Properties.

3 On the Schedule tab, in the Schedule pane, click Select.

The Select a Schedule dialog box contains the During Schedule and Exceptions Within During Schedule timeframes. By default, components are assigned the always-in-During Service schedule (24 x 7 x 365).

— To choose a schedule for the components, select the schedule from the Schedules pane and click OK.

— To edit an schedule, select a schedule and click Edit to display the Schedules Editor. For more information about editing schedules see “To create or edit a service schedule” on page 114.

— To view what component instances are using the selected schedule, click Usages.

— To view the details of what times and dates are specified in a selected timeframe, click Timeframe Details.

Chapter 5 Building a service model in BMC Impact Service Model Editor 117

Page 118: Service Model

Granting access to service model objects

4 Click OK.

Granting access to service model objectsYou define and maintain BMC Impact Service Model Editor user groups and permissions in the BMC Impact Portal. To modify user group permissions, go to the BMC Impact Portal, open the Configure tab, and under Tasks, select User Groups. To add users to these user groups, go to the BMC Impact Portal, open the Configure tab, and under Tasks, select Users. For more information, see BMC Portal Getting Started.

Table 26 describes default BMC Impact Service Model Editor user groups and their corresponding rights.

Granting permissions to individual service model objects

By default, BMC Impact Service Model Editor user groups that have permissions to create and edit component and relationship instances are: Service Administrator, Service Manager - Senior, and Service Manager. You can override these default permissions for individual component instances.

Table 26 Default user groups and rights for BMC Impact Service Model Editor

User role Rights

Service Administrators, Service Executives,Service Managers - Senior

■ save View■ create/edit component and relationship instances■ publish service models■ view publication history■ reinitialize to a cell■ import and export service model data

Service Managers ■ save View■ create/edit component and relationship instances■ view publication history

Service Operators - SeniorService Operators

■ read only

118 BMC Impact Solutions: Service Model Administrator’s Guide

Page 119: Service Model

Granting permissions to individual service model objects

To grant permissions to individual component instances

1 With the component instance in an open View, select the component and do one of the following:

■ Right-click and choose Edit Component Properties

■ From the menu bar, choose Edit => Edit Component Properties.

2 In the Edit Component Properties dialog box, on the Permissions tab, select the appropriate options.

Figure 18 Changing access for an individual component instance

User groups with Unassigned selected do not see the object.

3 Click OK.

NOTE When you modify user access permissions in the BMC Impact Service Model Editor, they are effective immediately in BMC Impact Service Model Editor. For the changes to appear in Impact Portal, they must be promoted from BMC Impact Service Model Editor and you must then log out and then log on to Impact Portal. For permissions at the CI (component) level, you need not log out and log into the Portal portal for the permissions to take effect.

Chapter 5 Building a service model in BMC Impact Service Model Editor 119

Page 120: Service Model

Testing the service model

Testing the service modelBefore promoting and publishing the components in your sandbox service model, you may test them by sending the component instances and relationships to a test cell that you have previously created specifically for the purposes of testing. BMC Impact Service Model Editor users having the correct permissions (set up in the BMC Portal) have their own individual test environments.

From the BMC Impact Service Model Editor, you can send component, relationship, and management data to a cell that has been previously created exclusively for testing by using the Send to Test option on the File menu. (if the relationship View option is set to show non-impact relationships, the Send to Test option is not available.)

You can send the sandbox service model to a test cell before promoting it into the production environment.

After the test is initiated, the following events occur:

■ existing data in the test environment is cleared■ components and relationships, including production components, as well as those

in the sandbox, are sent to the test environment. Management data is also sent.■ if no impact relationships are visible in the selected view, or if components exist

which are not part of an impact relationship, a dialog box is displayed warning the user that the test components being sent do not have impact relationships

Testing component relationships

After you have set up a relationship, you can test it by posting events against the provider component in the relationship and observe the resulting status of the consumer component in the relationship.

Testing event associations

After you have set up event alias associations, in the component instance and by creating an alias formula, you need to verify that the association occurs correctly.

In the BMC Impact Explorer console, open the Events tab. When an incoming event is associated with a component instance, the mc_smc_type and mc_smc_id slots will have values. If the slots are empty, the event is not associated. In the BMC Impact Service Model Editor, check the component alias and the event alias formula.

120 BMC Impact Solutions: Service Model Administrator’s Guide

Page 121: Service Model

Promoting the service model

To send components to a test cell

1 Choose File => Send to Test Objects in Current View.

If there are no impact relationships for the components in the current View, a warning dialog box is displayed. Choose Yes to continue, or No to stop.

If there are no test cells available in the current environment, an error dialog box is displayed and the process is stopped.

If the send to test is successful, a dialog box is displayed indicating that the test dataset has been populated. Management data is copied automatically to the test environment.

2 Close the dialog box.

Promoting the service modelAfter promoting component instances in BMC Impact Service Model Editor, these changes are stored in the production dataset (BMC.ASSET) in the BMC Atrium CMDB and are automatically published (by default) to the assigned cells. When you service model data is successfully to the cells, the BMC Impact Publishing Server updates the BMC.IMPACT.PROD dataset, which mirrors the last successful publish to the cells.

About the publishing process

Promotion and publishing are decoupled. Promotion is initiated and controlled from BMC Impact Service Model Editor, while publication is controlled by BMC Impact Publishing Server.

There are two modes of running the BMC Impact Publishing Server.

■ In automated mode, by default, publication is initiated by the completion of a reconciliation job run, such as after a promotion.

■ In manual mode, publication is initiated from CLI commands.

Note that a successful promotion does not guarantee that the automated publication will also be successful. For more details about automated publishing, see Chapter 9, “Managing BMC Impact Publishing Server.”

Chapter 5 Building a service model in BMC Impact Service Model Editor 121

Page 122: Service Model

Before you promote

During the publishing of a service model, new or modified service model components and their relationships are selected from the BMC.ASSET dataset in the BMC Atrium CMDB and copied to respective BMC Impact Manager cells. The objects in BMC.ASSET are compared to any previously published instance in BMC.IMPACT.PROD and the changes between them are sent to the cell. BMC.IMPACT.PROD is then updated with the changes.

After events that affect service component instances are received by the cell, you can monitor status changes using BMC Impact Explorer or BMC Portal for the published component instances.

Before you promote

To ensure a successful promotion and publication of the service model, verify that:

■ each component instance is assigned to a cell■ all target cells that are registered in the BMC Impact Portal are running and have a

live connection with the BMC Impact Publishing Server■ event types are associated with component instances■ the BMC Impact Publishing Server is running in automated mode by using the CLI

command psstat. This command should return Started - Automated mode.■ your user account belongs to one of these user groups: Service Administrator,

Service Manager, or Service Manager - Senior (these are the default user group assignments; you may change them in the BMC Impact Portal)

■ the SIM class definitions are in sync. The BMC Impact Publishing Server validates the class definitions and establishes a live connection with BMC Impact Portal, the BMC Atrium CMDB, and the cells before submitting the publication.

Submitting a promotion

When you submit a promotion, the Promotion Preview dialog box offers the opportunity to compare your unpromoted sandbox service model component instances and relationships with those that have already been promoted so that you can verify the work done in the current editing session. When you click Begin Promotion, service model objects (component instances, impact relationships, and management data) shown in the preview are promoted (and subsequently automatically published).

Before you begin

Verify the items listed in the section “Before you promote” on page 122.

122 BMC Impact Solutions: Service Model Administrator’s Guide

Page 123: Service Model

Submitting a promotion

To promote all sandbox component instances and relationships

1 Start the promotion by doing one of the following:

■ On the toolbar, click Promote .■ From the menu bar, choose File => Promote All Sandbox Changes.■ In a View window, right-click and choose Promote All Sandbox Changes.

2 In the Promotion Preview dialog box, in the Objects to be Promoted area, choose how you want to filter the list of objects that you see. When you filter the list, it only affects what is visible, not what will be promoted. All items will be promoted.

In the first Show list, choose All, Components, Relationships, Components and Relationships, or Management Data.

In the second Show list, choose All Actions, New Objects, Changed Objects, or Deleted Objects.

The component instances and relationships to be promoted are listed in the left pane.

3 In the results pane, review the list of objects.

The default sort order of objects is by Action, then Type (component or relationship), and then by Object Name. To change the sort order, click in the column heading.

The icons in the Action and Type columns are defined in Table 27. The icons in the Class column match the icons associated with the component type in the Templates dockable window.

TIP If promote service model options are unavailable, you may not have the permissions to promote component instances. For information on configuring user rights, see BMC Portal Getting Started.

Table 27 Icons in Objects-to-be-Published pane

Column heading Icon Description

Action object was deleted

object was added

object was modified

Chapter 5 Building a service model in BMC Impact Service Model Editor 123

Page 124: Service Model

Submitting a promotion

4 In the Comparison of Sandbox and Promoted Property Values area, for the Show options, select Changed Properties or All Properties for the component instances you selected in the Objects to be Promoted pane.

5 Select one or more objects in the left pane and, in the right pane, compare the new and previously published property values to verify that the new data is correct before you publish it.

6 Click Begin Promotion.

The Promotion in Progress dialog box is displayed, along with the elapsed time since the promotion was started. Even if BMC Impact Service Model Editor is shut down and restarted, the elapsed time will reflect the total time since the promotion was originally started.

7 (optional) To stop the promotion, in the Promotion in Progress dialog box, click Stop.

Closing the dialog box does not stop the promotion; the promotion continues in the background.

8 (optional) To exit BMC Impact Service Model Editor, click Exit SME, then click the appropriate selection on the confirmation dialog box.

9 A status message indicates the success or failure of the promotion request.

Type component

relationship

timeframe or service schedule

TIP ■ To hide either the Objects to be Promoted pane or the Comparison of New and

Promoted Property Values pane, click on the quick expansion arrows (tiny black arrows) between the panes.

■ You can compare published and newly created, changed, or deleted component instances independently of the publication process by choosing Tools => Compare Sandbox to Production.

Table 27 Icons in Objects-to-be-Published pane

Column heading Icon Description

124 BMC Impact Solutions: Service Model Administrator’s Guide

Page 125: Service Model

Verifying promotion status

If the promotion and subsequent automated publication processes are successful, the service model is available to the specified cells and you can monitor the component instances in BMC Impact Portal and in BMC Impact Explorer.

For troubleshooting information, see “Initial source parameters” on page 245.

Where to go from here

To learn about verifying promotion status, continue with the next section.

Verifying promotion status

After you submit a promotion request, you can view its status in the Promotion in Progress dialog box that displays after a promotion is requested.

After the promotion process completes, a dialog box will display indicating whether the promotion succeeded or failed.

If the promotion fails, the Promotion Status dialog box declares a promotion failure along with the error, a timestamp, and the user name of the submitter. Click OK to dismiss the dialog box.

Note that a publication success or failure is not shown in the dialog box, but can be viewed in the Promote and Publish History dialog box (Tools => Promote and Publish History) or using the plog requestID | plogdisplay -@ commands. For more information about CLI commands, see Appendix 10, “Chapter Contents.”

Chapter 5 Building a service model in BMC Impact Service Model Editor 125

Page 126: Service Model

Working with publication logs

Working with publication logs

This section contains general guidelines to remember when working with publication logs.

■ After you submit a promotion request, the Promotion in Progress dialog box opens automatically, enabling you to monitor the progress of the promotion request. However, promotion results dialogs only report success or failure of a promotion and do not offer information about publication status. More detailed information about each publication is available in BMC Impact Publishing Server log files. A log exists for every publish request containing detailed information as to why publication failed and can be consulted to diagnose a publication failure.

■ All publish logs are available in BMC Impact Service Model Editor's publish history.

■ Publish logs can also be retrieved via the CLI command plog -s <requestId> | plogdisplay -@ (see “plog—Obtaining the XML log for a request” on page 304).

■ It is recommended that you give every promotion a unique description because promotion descriptions are found in the publication log and will make locating each publish easier. Another way to find the correct publication in the log is to use the promotion id.

■ BMC Impact Publishing Server includes detailed messages from the different components (such as BMC Impact Portal, BMC Atrium CMDB, and BMC Impact Managers) it communicates with. To understand and troubleshoot these messages, consult the documentation of those components.

Viewing promotion and publication history

At any time, you can use the Promote and Publish History command in BMC Impact Service Model Editor to review previous promotion and publication information, including failures.

The Promote and Publish History command displays the status and date and time of requests. Information in the Publication errors section of the Publish tab can help you troubleshoot publication failures.

To view promotion history

1 From the menu bar, choose Tools => Promote and Publish History.

2 To view promotion details, select the Promotion tab, then select the promotion for which you want to see details in the Promote History table area.

The list of recent promotions is in reverse chronological order, that is, the most recent is listed first.

126 BMC Impact Solutions: Service Model Administrator’s Guide

Page 127: Service Model

Working with publication logs

To view publication history

1 From the menu bar, choose Tools => Promote and Publish History.

2 To view publication details, select the Publish tab, then select the publication for which you want to see details in the Publication History table area.

The list of recent publications is in reverse chronological order, that is, the most recent is listed first.

Viewing publication history details

This section contains information on viewing publication history details.

To view publication history details

1 From the menu bar, choose Tools => Promote and Publish History.

The list of recent publications is in reverse chronological order, that is, the most recent is listed first.

By default, 100 publication log files are saved; when the 101st log is saved, the first log is deleted. All BMC Impact Publishing Server requests are counted (not only publish and initialization, but also classinfo (for example, export) requests).

You can change the RequestHistorySize parameter in pserver.conf to modify the default number of logs saved.

2 To view publication details, select the Publication tab, then select the publication for which you want to see details in the Publication History table area.

A On the Publication Details tab, review the detailed information for the publication you selected. Failures are displayed in red.

If the failure is the result of a particular component instance, the component type and component name are included. To open a View with the component instance, select the failure and click Open in New View.

B On the Publication Errors tab (available only if there were failures associated with the selected publication), review the failure information.

You can sort on any column and, if the column width limit truncates the text, the tooltip displays the complete text string.

C In the Recommended Action area, review the action to correct the problem with publish.

Chapter 5 Building a service model in BMC Impact Service Model Editor 127

Page 128: Service Model

Organizing service component instances for monitoring

3 To close the dialog box, click Close.

Organizing service component instances for monitoring

Before you can monitor service model component instances that are in production (have been published) in the BMC Impact Portal and the BMC Impact Explorer, you must populate the console navigation tree in BMC Impact Service Model Editor.

The Console Navigation Tree dockable window provides a flexible way of organizing your service component instances under folders that you create. The tree that you create in BMC Impact Service Model Editor is visible in BMC Impact Portal, on the Configure tab, under Properties and in BMC Impact Explorer, from the Services View, the Services Group tab.

The top-level folder of the hierarchical directory is userAccount/Business, with userAccount representing the active BMC Impact Portal user account name. You create subfolders that meet the service monitoring requirements for your enterprise.

Changes that are made to published service model component instances in the console navigation tree are immediately reflected in the BMC Impact Portal.

To see changes that you made in BMC Impact Service Model Editor to a console navigation tree in BMC Impact Explorer, you must exit Impact Explorer and log in again. If you still cannot see changes, they have probably not been published.

To add a folder to the console navigation tree

1 In the Console Navigation Tree dockable window, navigate to and select the folder under which you want to create a folders.

All service component folders must be created under the userAccount/Business folder (which cannot be edited or renamed).

The way you organize the folders and component instances is entirely dependent on your enterprise and the way you want to monitor the component instances in BMC Impact Portal and BMC Impact Explorer.

NOTE You can replace the action recommended by BMC Software, add to it, or modify it by editing the pslog_error_solutions.properties file located in the BMC_PORTAL_KIT_HOME\appserver\websdk\tools\jboss\server\all\conf\resources\en_US\smsConsoleServer directory on the server running BMC Portal.

128 BMC Impact Solutions: Service Model Administrator’s Guide

Page 129: Service Model

Organizing service component instances for monitoring

2 In the Console Navigation Tree toolbar, click Create Folder .

3 In the Create New Folder dialog box, in the text box, enter the folder name.

4 Specify the permission levels for the appropriate user groups. These permissions settings enable users to see the folder and its contents in BMC Impact Portal and BMC Impact Explorer.

5 Click OK.

To rename folders

1 In the Console Navigation Tree dockable window, expand the Business folder under the userAccount folder.

2 Select the folder you want to rename.

3 On the Console Navigation Tree toolbar, click Rename Selected Folder .

4 In the Rename Folder dialog box, enter the new name.

5 Click OK.

To move a folder and its component instances

1 In the Console Navigation Tree dockable window, expand the Business folder under the userAccount folder.

2 Select the folder or component instance that you want to move to another folder.

You can only move those component instances which exist directly under a folder. Components which appear as providers to other component instances in the console navigation tree cannot be moved (that would be editing the model).

3 Drag the object to the new location.

NOTE You can rename group folders, but you cannot rename component instances from the console navigation tree; you can rename them in a View.

Chapter 5 Building a service model in BMC Impact Service Model Editor 129

Page 130: Service Model

Organizing service component instances for monitoring

To copy folders

1 In the Console Navigation Tree dockable window, expand the Business folder under the userAccount folder.

2 Select the folder or component instance that you want to copy to another folder.

3 Control-drag the object to the new location.

To define permissions for folders

1 In the Console Navigation Tree dockable window, navigate to and select the folder for which you want to define permissions.

2 On the Console Navigation Tree toolbar, click Edit Permissions .

3 In the Edit Permissions dialog box, specify the permission level for the appropriate user groups.

4 Click OK.

To remove a folder or a component

1 In the Console Navigation Tree dockable window, expand the Business folder under the userAccount folder.

2 Select the folder you want to remove.

3 On the Console Navigation Tree toolbar, either click Remove Folders or components

or right-click and choose Remove from the context menu.

4 In the Confirmation box, click Yes.

NOTE Folder-level permission for the BMC Impact Service Model Editor is controlled by the BMC Portal. This means that if you create a folder in the BMC Impact Service Model Editor and assign specific access control permissions to that folder, the access control permissions from the BMC Portal override the permissions of the BMC Impact Service Model Editor.

130 BMC Impact Solutions: Service Model Administrator’s Guide

Page 131: Service Model

Organizing service component instances for monitoring

To add a component to the console navigation tree

1 In the Console Navigation Tree dockable window, navigate to and select the folder under which you want to add component instances.

2 On the Console Navigation Tree toolbar, click Add a Component .

3 In the Find window, locate and select the components to add and click Add.

For information on using the Find command, see “Finding component instances” on page 89.

When you click Add, the component instances are automatically saved as part of the console navigation tree.

You can also undock the Find window and drag component instances from the Find results pane to the console navigation tree.

4 (optional) Continue adding component instances using the Find command.

To add a component to the console navigation tree from a View

1 In the Console Navigation Tree dockable window, navigate to and select the folder under which you want to add component instances.

2 In an open View, select the component instances to add and do one of the following:

■ Right-click and choose Add Components to Navigation Tree.■ On the menu bar, choose Edit => Add Components to Navigation Tree.

NOTE ■ When you add a component instance that has providers to a folder, you can drill down

and see the providers in the console navigation tree, even if they are not published. To see component instances in the BMC Impact Portal that you see in the console navigation tree, you must publish them.

■ When you expand the tree, BMC Impact Service Model Editor checks the BMC Atrium CMDB to see if there are changes to provider component instances, and if there are changes, the tree is refreshed. These provider component instances are not saved as part of the console navigation tree.

Chapter 5 Building a service model in BMC Impact Service Model Editor 131

Page 132: Service Model

Working with BMC Impact Service Model Editor Views

To open component instances in a View

1 In the Console Navigation Tree dockable window, expand the Business folder under the userAccount folder.

2 Locate the component instances you want to open in a View.

3 Select the component instances and do one of the following:

■ To open in a new View, on the Console Navigation Tree toolbar, click

Open the selected components in a new view .

■ To open in the current View, on the Console Navigation Tree toolbar, click

Place the selected components in current view .

■ Right-click on the component instances and choose Open in New View or Place in Selected View.

You cannot move a folder into a View.

To refresh the tree

To query the BMC Atrium CMDB and redisplay the tree with the latest data, including provider component instances, on the toolbar, click Refresh navigation tree.

Working with BMC Impact Service Model Editor Views

Table 28 lists the topics covered in this section with page numbers.

Table 28 Topics covered in this section

Topic Page Number

“To save a View” 133

“To open a saved View” 133

“To rename a View” 134

“To delete a View” 134

“Understanding visual cues in a View” 134

“Repositioning objects in a View” 135

“Controlling what you see in a View” 136

132 BMC Impact Solutions: Service Model Administrator’s Guide

Page 133: Service Model

Saving, opening, renaming, and deleting Views

Saving, opening, renaming, and deleting Views

A View is a window into the service model, whether it exists in a sandbox environment, test environment, or the production environment. It may or may not encompass the entire service model, depending on the size of the service model and how the View is set up.

Each View is unique to a user account. Each user can create and save multiple Views and multiple users can have many different Views into the same service model.

To save a View

1 In an open, active View, choose File => Save View.

2 In the View Name box, enter a unique name for the View.

The name of a saved View displays in the title bar of the View.

3 Click OK.

To open a saved View

1 In the dockable panes area, click Views.

2 In the list of Views, locate the View you want to open and do one of the following:

■ Double-click on the View name.■ Select the View and click on the View toolbar.■ Right-click and choose Open View.

When you open a saved View, its component and relationship instances are verified against the definitions in the BMC Atrium CMDB. Depending on the number of objects contained in the View, this process can take some time. If any instance cannot be verified in the BMC Atrium CMDB, the View does not open.

“Exploring consumer and provider paths” 138

“Refreshing the View” 139

“Repositioning the dockable windows” 140

“Showing topology views” 140

Table 28 Topics covered in this section

Topic Page Number

Chapter 5 Building a service model in BMC Impact Service Model Editor 133

Page 134: Service Model

Understanding visual cues in a View

To rename a View

1 In the dockable panes area, click Views.

2 In the list of Views, locate the View you want to rename and do one of the following:

■ Select the View and click on the View toolbar.■ Right-click and choose Rename View.

3 The selected row becomes editable; type a new name and press Enter.

To delete a View

1 In the dockable panes area, click Views.

2 In the list of Views, locate the View you want to delete and do one of the following:

■ Select the View and click on the View toolbar.■ Right-click and choose Delete View.

3 In the Confirm View Delete box, verify that you are deleting the correct View and click Yes.

Understanding visual cues in a View

BMC Impact Service Model Editor is a graphically rich interface. The component types are depicted as unique icons in the Templates dockable window. Additionally, you have the option of defining colors for background, border, line styles. The definitions for the icons in Table 29 can be viewed in the Legend, available by choosing Window => Legend.

Table 29 contains visual cues for components in the View.

NOTE When you delete a View, it does not affect the service model or the topology view. You are deleting only the View window, not any of the actual component or relationship instances in the BMC Atrium CMDB.

134 BMC Impact Solutions: Service Model Administrator’s Guide

Page 135: Service Model

Repositioning objects in a View

Repositioning objects in a View

You can move objects in a View using a variety of methods:

■ To quickly move all the objects in a View, click on the toolbar and move objects as needed.

■ To layout the objects automatically, click on the toolbar.

You can also manually move single or multiple objects in a View as described below.

Table 29 Visual cues in a View

Visual cue Icon Description

a component instance that is set to In Model displays the In model Component icon

a component instance that is set to Not in Model displays the Not in Model Component icon

a component instance that has been edited is flagged with this icon in the top right corner

a newly-created component instance is flagged with this icon in the top right corner

a component that is set to be deleted becomes semitransparent and is flagged with this icon in the top right corner

outline a component instance showing the mouseover effect that results as you drag the mouse cursor over the icon

solid background

a selected component instance has a solid background and can be moved, viewed, and edited

Chapter 5 Building a service model in BMC Impact Service Model Editor 135

Page 136: Service Model

Controlling what you see in a View

To reposition objects manually

1 In an active View, ensure that the mouse cursor is in selection mode .

2 Select an object or multiple objects. To select multiple objects as a group, draw a box around the appropriate objects.

3 Drag the object to the desired position.

Controlling what you see in a View

A service model may become quite large and not be entirely visible in the View window. To explore a service model you need to know how to

■ adjust the graphical view■ use pan and zoom to focus on specific areas of the model■ exploring consumer and provider paths

Table 30 describes each method of adjusting the graphical view.

Table 30 Adjusting the graphical view

Goal Action Toolbar button

automatically align objects ■ on the toolbar, click Auto-Layout or■ from the menu bar, choose

View => Layout Objects

fit all objects in the View window

■ on the toolbar, click Fit to View or■ from the menu bar, choose

View => Fit to View

adjust the zoom factor ■ on the toolbar, choose a value in the percentage list or

■ from the menu bar, choose View => Zoom => value

zoom in or out in predefined percentage intervals

■ on the toolbar, click Zoom Out or Zoom In or

■ from the menu bar, choose View => Zoom In or View => Zoom Out

Zoom Out

Zoom In

grab and move objects see “To use the pan and zoom tool” on page 137.

136 BMC Impact Solutions: Service Model Administrator’s Guide

Page 137: Service Model

Controlling what you see in a View

To use the pan and zoom tool

1 Open a View window.

2 Capture the service model view in a outlined rectangle (panner) by using one of the following methods:

■ From the menu bar, choose Window => Pan and Zoom.■ Click the Pan and Zoom dockable window.

The actions you take in the Pan and Zoom dockable window with the panner rectangle are mirrored on the service model in the View window.

3 (optional) To zoom in, position the cursor over a corner of the panner and reduce the size of the panner. To zoom out, increase the size of the panner.

4 (optional) To resize or reposition the window, drag the panner.

5 (optional) Set the zoom percentage by adjusting the slider bar at the bottom of the Pan and Zoom window.

magnify an area of the model ■ click the magnifier icon to turn on magnifier mode

■ left- or right-click an area of the model to magnify that area.

view the component objects in a topology view

■ click the topology view icon to turn on the topology view

view the component objects in component table

■ click the Component Table View icon to turn on the component table view

show or hide deleted components

■ click the Show Deleted Components icon

show or hide modifier icons for each component

■ click the Show Modifier Icons icon

Table 30 Adjusting the graphical view

Goal Action Toolbar button

Chapter 5 Building a service model in BMC Impact Service Model Editor 137

Page 138: Service Model

Exploring consumer and provider paths

Exploring consumer and provider paths

The relationships between consumers and providers are depicted with lines between the objects. The graph line that connects providers to consumers begins at the expansion handle atop the provider object and connects to the expansion handle at the bottom of the consumer object. By default, consumer objects are arranged above and providers are arranged below a specific node.

To explore consumer and provider paths

1 In an active View window, ensure that the cursor is in selection mode.

2 To explore the consumer paths, click the collapsed expansion handle at the top of the component instance you want to explore.

3 To explore the provider paths, click the collapsed expansion handle at the bottom of the node.

If the component renditions indicate other providers in the chain, you can continue clicking the expansion handles until you reach the last provider node (identifiable because it has no expansion handle).

When you click on a + expansion handle, the server is always queried and an up-to-date list of consumers or providers is displayed.

138 BMC Impact Solutions: Service Model Administrator’s Guide

Page 139: Service Model

Refreshing the View

Refreshing the View

To validate the current component instances against their current class definitions in the BMC Atrium CMDB, do one of the following:

■ On the toolbar, click Refresh .

■ From the menu bar, choose View => Refresh.

To refresh the list of component types, from the menu bar, choose Tools => Refresh Component Types.

Table 31 Understanding expansion handles

A component instance with expansion handles at the top and/or bottom functions as a consumer and/or provider in an impact relationship.

To see the consumer (top +) or provider (bottom +) component instances, click on the expansion handle.

A component instance with two consumer or provider expansion handles indicates that there are other related component instances that are not displayed.

For example, clicking on the expansion handle for Database 1 displays all its providers, in this case, Computer System 3. Computer System 3 has additional consumers as indicated by the extra + symbol at the top of the component instance icon.

Clicking the - symbol above Computer System 3 collapses all of its consumers, as shown.

Clicking on the + symbol above Computer System 3 results in the display of all consumer component instances, as shown.

Chapter 5 Building a service model in BMC Impact Service Model Editor 139

Page 140: Service Model

Repositioning the dockable windows

Repositioning the dockable windows

To undock and move the Templates, Pan and Zoom, Find, Properties, Views, or Console Navigation Bar windows, do one of the following:

■ Select one of the bars and drag it into the right pane of BMC Impact Service Model Editor.

■ Right-click on the bar and choose Undock.

To redock an undocked window, do one of the following:

■ Click the X in the top right corner of the undocked window.■ Right-click in the title bar and choose Close.

Showing topology views

There are many configuration items in the BMC Atrium CMDB that do not have consumer/provider relationships and are not appropriate for service impact management. If non-impact relationships exist between such component instances in your active View, you can see this topology for the entire View.

To show topology

1 In an active View window, from the menu bar, choose View, and then choose one of the following:

■ Impact Relationships

■ Non-impact Relationships

■ All Relationships

2 (optional) In the same View, choose another relationship type to view its topology.

3 (optional) To see a legend of line styles, open the Relationship Legend box by choosing Window => Legend.

TIP You can redefine the line style for each type of relationship by selecting Tools => Options. See “To define line styles for relationships” on page 197.

140 BMC Impact Solutions: Service Model Administrator’s Guide

Page 141: Service Model

Exporting and importing service model data

Exporting and importing service model dataYou can export component instance definitions between different BMC Atrium CMDB datasets only if they contain the following values:

■ DatasetId = BMC.ASSET ■ ServiceModelSet = IN

You cannot select a subset of this data for export. The data is exported as a series of files in XML format to a user-specified directory.

You can import specified component instance definitions in XML format from another BMC Atrium CMDB dataset.

To export service model data

1 From the menu bar, choose File => Export.

2 In the Look in box, choose the directory where you want to save the file.

3 In the Directory Name box, verify that the path is correct.

4 Click Export.

To import service model data

1 From the menu bar, choose File => Import.

2 In the Look in box, locate the folder and select the file you want to import.

3 In the File Name box, verify the name of the file.

4 Click Import.

5 A dialog displays informing you that the import is in progress.

6 (optional) Close the dialog. The import process will continue in the background.

A notification will display when the import process is complete.

NOTE In the Files of type box, do not change the file type; the files must be saved in XML format.

Chapter 5 Building a service model in BMC Impact Service Model Editor 141

Page 142: Service Model

Exporting class definitions from the BMC Atrium CMDB to a cells

7 To update the current View with the most recent data from the BMC Atrium CMDB, on the toolbar, click Refresh .

8 To search for the new data, open the Find dockable window. See “Finding component instances” on page 89.

Exporting class definitions from the BMC Atrium CMDB to a cells

The Export Cell Meta Data command enables you to synchronize the class definitions in the BMC Impact Manager knowledge bases in the target cells with those from the BMC Atrium CMDB.

BMC Impact Service Model Editor sends the export request to the BMC Impact Publishing Server, which collects the entire hierarchy of component and relationship class definitions from the BMC Atrium CMDB. Next, the BMC Impact Publishing Server creates a BAROC-formatted class definition file (mc_sm_object.baroc file) of the component and relationship class definitions so that the BMC Impact Manager cell can interpret the contents of the file. The BMC Impact Publishing Server sends this file to BMC Impact Service Model Editor and you can save it to a location you specify. Then you must manually copy the file to the appropriate directory of the destination cell and recompile the Knowledge Base of the cell.

Alternatively you can export the class definitions with the CLI command

pclassinfo -x -o mc_sm_object.baroc.

For more information on pclassinfo usage, see “pclassinfo—Comparing service model classes on cells with class definitions in the BMC Atrium CMDB” on page 289.

142 BMC Impact Solutions: Service Model Administrator’s Guide

Page 143: Service Model

C h a p t e r 6

6 Upgrading a service model to BMC Atrium CMDB

This chapter covers the following topics:

Upgrading from non-Atrium-CMDB SIM to BMC Atrium CMDB SIM . . . . . . . . . . 144Upgrading SIM data that originates from BMC Performance Manager . . . . . . . 144Upgrading SIM data that originates from third-party source . . . . . . . . . . . . . . . 145sim2cmdb restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145

Recommended upgrade steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145Understanding how the upgrade works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147Ensuring quality data in BMC Atrium CMDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148Identifying components and data reconciliation . . . . . . . . . . . . . . . . . . . . . . . . . . 148Data imported into BMC.SIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151sim2cmdb CLI command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153Running the upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156Reviewing the output files for sim2cmdb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160Upgrade commitment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163CI identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164Dataset cleanup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165sim2cmdb return codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165

Chapter 6 Upgrading a service model to BMC Atrium CMDB 143

Page 144: Service Model

Upgrading from non-Atrium-CMDB SIM to BMC Atrium CMDB SIM

Upgrading from non-Atrium-CMDB SIM to BMC Atrium CMDB SIM

When you have implemented service impact management without the BMC Atrium CMDB product and now want to use the BMC Atrium CMDB to store and manage service components and their relationships, you can upgrade service model data from the cell (version 7.2) to the BMC Atrium CMDB by using the sim2cmdb tool. The sim2cmdb tool facilitates the migration of a non-BMC Atrium CMDB service impact management implementation to a solution where BMC Atrium CMDB stores and manages service components and their relationships. The sim2cmdb tool populates the BMC Atrium CMDB with service model data from the cell.

Service impact management without the BMC Atrium CMDB product (Standard or Basic deployment of BMC Impact Solutions) means that you have created component instances and relationships directly in the cell by using Direct Feed (through BMC Performance Manager, BMC Impact Explorer, mposter CLI command, or rules) or by using Direct Publish (a BAROC source file and the pposter CLI command) or that you are using a third-party database for service model data.

Upgrading SIM data that originates from BMC Performance Manager

Before you execute the sim2cmdb CLI command on Direct Feed service model objects, service model objects in the cell that originated from BMC Performance Manager must be created in the BMC.BPM dataset in the BMC Atrium CMDB, reconciled into the BMC.ASSET dataset, and published to the cell. Because BPM is the source of this data, both BMC Performance Manager and BMC Impact Portal must be upgraded to version 2.6. If you do not upgrade BMC Performance Manager and BMC Impact Portal

■ the data upgraded by BMC Performance Manager in the BMC Atrium CMDB will not be published, because BMC Performance Manager does not set ServiceModelSet to IN)

■ there will be duplicate CIs in the cell (because BMC Performance Manager stores mc_udid as ComponentAlias in the cell, but not in the BMC Atrium CMDB

For more information about the integration between BMC Performance Manager and SIM, see the Direct Service Model Integration section in the BMC Performance Manager Portal Monitoring and Management Guide.

144 BMC Impact Solutions: Service Model Administrator’s Guide

Page 145: Service Model

Upgrading SIM data that originates from third-party source

Upgrading SIM data that originates from third-party source

If you have a third-party repository for your service model, you do not have to use the sim2cmdb tool to copy it into the BMC Atrium CMDB. It is probably more efficient to import this data into the BMC Atrium CMDB directly from the third-party repository than to use the data in BMC Impact Manager as the interface between these two repositories. Once the initial model is imported into the BMC Atrium CMDB, BMC recommends that you make further changes to the model directly in the BMC Atrium CMDB. sim2cmdb is intended as an upgrade tool to be used when the main repository of service impact manage data is actually the BMC Impact Manager; it is not a way to keep a third-part repository in sync with the BMC Atrium CMDB.

sim2cmdb restrictions

The cell must be upgraded to version 7.2, because there are new slots in the cell in version 7.2 that are used in the best match rules. Components that do not have values in these new slots cannot be properly identified and merged into the BMC Atrium CMDB. See Table 32 on page 149 and Table 32 on page 149 for slots that participate in the reconciliation.

Recommended upgrade stepsUse the following process to ensure the most uneventful upgrade to service impact management implementation with the BMC Atrium CMDB.

1 Review and understand how the sim2cmdb upgrade works.

2 Verify that the cell is upgraded to 7.2.

3 Ensure you have quality data in the BMC Atrium CMDB.

4 Analyze and understand the data in the cell so you know how it will be identified and reconciled in the BMC Atrium CMDB.

5 Modify the sim2cmdb.conf file as needed.

6 Run sim2cmdb without any command to verify the data.

Chapter 6 Upgrading a service model to BMC Atrium CMDB 145

Page 146: Service Model

Recommended upgrade steps

Running sim2cmdb without any command verifies if the data is qualified for the BMC Atrium CMDB, generating a detailed output file which lists all the data to be imported and detects any dropped or skipped instances. The dropped or skipped instances are those that could cause potential issues when Running sim2cmdb with the commit option. The output file is explained in the section, “Reviewing the output files for sim2cmdb” on page 160.

7 Repair the offending data in the cell.

8 Repeat steps 6 and 7 until no more data is excluded.

9 Run the sim2cmdb command with the commit option.

When commit is requested, you want as much data as possible to be upgraded. Consequently, set the ContinueOnSkip parameter to T (default is F). For more information about commitment, see “Upgrade commitment” on page 163.

10 Verify that the output file contains no excluded data.

11 Verify that publication was successful.

You can verify if the publication is successful by using CMDB tools or SIM tools. If the data is not automatically published to SIM, you need to diagnose the failure, and, if necessary, repair the data in BMC.ASSET and republish the data using the publishing server client.

12 Check the output file for unidentified CI's. Identify them manually, and reconcile. For more information, see “CI identification” on page 164

13 Verify that publication was successful.

If publication was not successful, diagnose failure and, if necessary, repair data in BMC.ASSET and publish again.

14 If in step 10 data you discovered excluded data, repair the offending data in the cell and restart this procedure from step 6.

Verify that all expected data (especially impact relationships) are exported. You might need to upgrade DirectFeed data, too.

15 When all data from the publish environment is upgraded, close the upgrade.

NOTE If more excluded data is found in the output file, continue through step 13.

146 BMC Impact Solutions: Service Model Administrator’s Guide

Page 147: Service Model

Understanding how the upgrade works

16 When DirectPublish cell data is upgraded to BMC Atrium CMDB, close the publish environment.

The following sections explain some of these steps in greater detail.

Understanding how the upgrade works

To upgrade service model data to the BMC Atrium CMDB product, you execute the sim2cmdb CLI command. sim2cmdb takes the service model data and the management data in the cell of a specific publish environment and copies the data to a BMC Atrium CMDB dataset, BMC.SIM, where it is reconciled into the BMC.ASSET (production) dataset. When reconciliation terminates, the data is automatically (or manually) published back to the cell. In other words, the CI that was originally created directly in the cell is replaced with a CI from BMC Atrium CMDB.

Replacement in the cell is based on

■ for CIs—the ComponentAliases attribute

If a CI has no value in the ComponentAliases slot, then the CI will not be replaced in the cell when the CI in the BMC Atrium CMDB is published back to the cell, resulting in duplicate CIs in the cell.

Upgrading the cell to 7.2 ensures that even CIs without a value in the ComponentAliases attribute are replaced by sim2cmdb, because in 7.2, if ComponentAliases for a CI is empty, it is assigned the mc_udid as a default.

■ for impact relationships—the consumer_id and provider_id attributes■ for management data—key attributes of the class

Best practice for service models with CIs in multiple cells is to upgrade all the involved cells at the same time.

If the service model data you want to import into the BMC Atrium CMDB is from a secure publish environment, you must provide authentication information in the sim2cmdb CLI command string.

NOTE The final set of data in BMC.ASSET (after reconciliation and publication) is not necessarily the same as it was in the cell, because this depends on existing data in BMC.ASSET and the precedences of the reconciliation.

Chapter 6 Upgrading a service model to BMC Atrium CMDB 147

Page 148: Service Model

Ensuring quality data in BMC Atrium CMDB

Ensuring quality data in BMC Atrium CMDB

Before you can upgrade to BMC Atrium CMDB, component data that was created directly in the cell must be qualified. Qualified data means that the data complies with the normalization rules required by the BMC Atrium CMDB so that duplicate CIs can be prevented. Normalization is achieved when a CI from multiple sources is identified by the Reconciliation Engine as the same CI.

To ensure quality data in the BMC Atrium CMDB, you must

■ consider the classes under which component instances were created in the cell. Are they valid classes for BMC Atrium CMDB?

■ consider the attributes for each class under which you have created components in the cell

To guarantee qualified data, data imported to BMC Atrium CMDB has to follow the normalization rules. The BMC Atrium Common Data Model Normalization Guidelines whitepaper provides general guidelines for data normalization on major IT component classes. A CI created directly in the cell needs to have the required slot values assigned and the values must follow the normalization formula addressed in BMC Atrium Common Data Model Normalization Guidelines.

Identifying components and data reconciliation

A default reconciliation job “BMC SIM to CMDB Migration - Identification and Merge” is provided for the sim2cmdb tool. It is installed into BMC Atrium CMDB when the BMC SIM CMDB Extensions are installed. The reconciliation job defines the data identification rules and identification activities for both component instances and management data instances.

■ For IT component classes, the identification is “best match” rule. Attributes that participate in the identification rules are defined by the requirements in BMC Atrium CMDB data normalization. If the Auto Identify flag for identification activity is set to NO, it means that the ReconciliationId value will not be assigned to the CI during the reconciliation process, therefore the instance (CI) will not get pushed to the master dataset (BMC.ASSET by default).

■ For logical business classes (for example, BusinessProcess and BusinessService), SIM is the authoritative source, so the Auto Identify flag is set to Yes and the reconciliation ID is assigned automatically.

■ BMC_BusinessProcess.SourceLocation is set to SIM in BMC Atrium CMDB by sim2cmdb.

148 BMC Impact Solutions: Service Model Administrator’s Guide

Page 149: Service Model

Identifying components and data reconciliation

■ For management data, sim2cmdb uses identification rules that are based on the cell’s key slots. The reconciliation ID is automatically assigned.

■ If you do not use any discovery tools to push data into the BMC Atrium CMDB, you can enable auto identify on all identification rules (before you run sim2cmdb) so that no manual identification is necessary. Be careful; keeping unique CIs in the BMC Atrium CMDB Master Dataset is a very important BMC Atrium CMDB concept. You should only enable the auto identification on all rules if you are certain the action will not create duplicate CIs in the BMC Atrium CMDB.

■ If a CI is not auto identified, then you must manually identify the CI. Refer to the three options as explained in the section, “CI identification” on page 164.

sim2cmdb has a default set of identification groups for identifying the components in the BMC Atrium CMDB. Table 33 lists these identifying components.

■ base class that the identification is defined on■ classes that inherit the identification group■ best match attributes that are used in the rule■ value of the auto-identification flag

NOTE If ITSM is installed, then certain attributes (Category, Type, Item, Model, ManufacturerName) of a CI have to correspond with the attributes of existing products (Tier1, Tier2, Tier3, Product Name, Manufacturer) in the catalog before performing a sim2cmdb commit. If these attributes fail to correspond, the commit will fail when executed.

For more information about how to create entries in the product catalog, how to create product catalog alias mappings, and how to work with trusted datasets for the product catalog see the supplied ITSM documentation.

Table 32 Identifying components in the BMC Atrium CMDB

Base class of the identification group Classes that inherit the rule Best match attributesAuto-identify

BMC_Activity Name Yes

BMC_Application NameApplicationType

No

BMC_ApplicationInfrastructure NameApplicationInfrastructureType

No

BMC_ApplicationService NameSystemNameSystemClassId

No

Chapter 6 Upgrading a service model to BMC Atrium CMDB 149

Page 150: Service Model

Identifying components and data reconciliation

The reconciliation rules for management data are based on the key slots of the classes.

BMC_BaseElement BMC_DataBaseBMC_ApplicationSystemBMC_ClusterBMC_ConnectivityCollectionBMC_ConnectivitySegmentBMC_IPConnectivitySubnetBMC_LNsCollectionBMC_LANBMC_WAN

Name No

BMC_BusinessProcess NameSourceLocation

Yes

BMC_BusinessService Name Yes

BMC_ComputerSystem BMC_MainframeBMC_VirtualSystem

HostNameDomainSerialNumber

No

BMC_HardwareSystemComponent BMC_MediaBMC_CDROMDriveBMC_DiskDriveBMC_FloppyDriveBMC_TapeDriveBMC_UPS

NameSystemNameSystemClassIdSerialNumber

No

BMC_IPXConnectivityNetwork NameNetworkNumber

No

BMC_LogicalSystemComponent BMC_FileSystemBMC_DataBaseStorageBMC_LocalFileSystemBMC_RemoteFileSystemBMC_DiskPartitionBMC_SystemResource

NameSystemNameSystemClassId

No

BMC_Organization Name Yes

BMC_SoftwareServer NameSoftwareServerType

No

BMC_SystemSoftware BMC_OperatingSystem NameSerialNumberVersionNumber

No

BMC_UserCommunity Name Yes

BMC_VirtualSystemEnabler NameSystemNameSsytemClassId

No

BMC_VMWare NameSystemNameSystemClassIdVMImageName

No

Table 32 Identifying components in the BMC Atrium CMDB

Base class of the identification group Classes that inherit the rule Best match attributesAuto-identify

150 BMC Impact Solutions: Service Model Administrator’s Guide

Page 151: Service Model

Data imported into BMC.SIM

You can modify the reconciliation rules and identification activities according to the nature of your data, but do not change the name of reconciliation job.

Data imported into BMC.SIM

This section describes factors that affect the data imported into the BMC.SIM dataset.

If the ContinueOnSkip parameter of the sim2cmbd.conf file is set to =T (true), data will be imported in BMC.SIM, even if some of the data cannot be imported. If the parameter is set to =F (false), then if some of the data cannot be imported, no data is imported. In both cases the data that cannot be imported is to the output file with a message describing the reason for the failure to import.

Table 33 Key slots in reconciliation rules for management data

Class Keys Auto-identify

BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING nameself_priority

Yes

BMC_DOWNTIME_STATUS_CONFIG Yes

BMC_PROPAGATION_MAP namerelationship_stateprovider_status

Yes

BMC_SELF_PRIORITY_MAPPING prioritystatus

Yes

BMC_SERVICE_SCHEDULE_CONFIG Yes

BMC_SEVERITY_TO_STATUS severitystatus

Yes

BMC_SIM_MATCH_TABLE taginput_match

Yes

BMC_SLOT_FORMULAS event_class Yes

BMC_STATUS_COMPUTATION model_name Yes

BMC_STATUS_PROPAGATION nameprovider_typeconsumer_type

Yes

BMC_STATUS_TO_SEVERITY statusseverity

Yes

BMC_TIME_FRAME_TO_SCHEDULE TimeframeSchedule

Yes

BMC_TIME_SCHEDULE Yes

BMC_WORST_SLA_STATE_PRIORITY_MAPPING namesla_state

Yes

SIM_TIME_FRAME Yes

Chapter 6 Upgrading a service model to BMC Atrium CMDB 151

Page 152: Service Model

Data imported into BMC.SIM

When Diary (Notes in SIM) are imported from SIM to CMDB, the Notes slot is not imported as multiple entries. All entries are concatenated into a single string and imported as one entry.

Weak relationships

If the relationship is a weak relationship, its destination member, called the weak member, cannot exist without its source member, called the strong member. A weak relationship creates a logical composite object consisting of both member CIs.

In BMC Atrium CMDB, the strong members are the CIs derived from BMC_System class and the weak members are the CIs derived from BMC_SystemComponent or BMC_SystemService. An example of BMC_System class is BMC_ComputerSystem and an example of BMC_SystemComponent class is BMC_FileSystem. Normally, since a FileSystem can not exist without a ComputerSystem, sim2cmdb creates a weak relationship between them. So, an instance of BMC_HostedSystemComponents is created, which is a logical composite object consisting of both member CIs.

For CIs whose class is derived from BMC_SystemComponent or BMC_SystemService, BMC recommends that you set a value in the SystemName slot so that a weak relationship can be created when sim2cmdb runs.

If a BMC_SystemComponent or BMC_SystemService object has a value in the SystemName slot, sim2cmdb attempts to create the following two weak relationships during the import process:

Possible Import Results

Table 34 lists possible import results for specific circumstances.

Source (Strong member) Weak relationship Destination (Weak member)

BMC_System BMC_HostedSystemComponents BMC_SystemComponent

BMC_System BMC_ HostedService BMC_SystemService

152 BMC Impact Solutions: Service Model Administrator’s Guide

Page 153: Service Model

sim2cmdb CLI command

sim2cmdb CLI command

Before you run sim2cmdb

For Direct Feed data—If you have not previously published data from BMC Atrium CMDB to a cell, then before executing a sim2cmdb, you must execute the CLI command pinit -n cellName. This prevents the default management data from being upgraded as part of the execution of sim2cmdb.

sim2cmdb.conf file and parameters

Table 35 describes the sim2cmdb.conf file which contains properties and parameters for managing the sim2cmdb CLI command.

Modify the following parameters in particular to suit your specific requirements before you execute sim2cmdb.

■ ContinueOnSkip

■ ReverseCellAliases

■ ReconJobTimeout

Table 34 Possible import results

Condition Result

a relationship has only one endpoint in BMC Atrium CMDB

■ the relationship is not created in BMC Atrium CMDB■ the endpoint CI in BMC Atrium CMDB is not affected■ if ContinueOnSkip is true, the relationship is not

imported■ if ContinueOnSkip is false, none of the data is imported

a CI belongs to an abstract class in the cell

■ the CI and any relationships to the CI are not imported into BMC Atrium CMDB

■ the CI and relationships are listed in the output file■ if ContinueOnSkip is true, the CI and relationships are

not imported■ if ContinueOnSkip is false, none of the data is imported

a weak CI points to a strong CI that does not exist in BMC Atrium CMDB

■ the weak relationship is not created■ the no-strong member message is listed in the output file■ if ContinueOnSkip is true, the CI without a strong

relationship is imported, but the weak relationship is not created

■ if ContinueOnSkip is false, none of the data is imported

a value for HomeCellAliases is not found for a CI

■ the CI is not imported into BMC Atrium CMDB■ the not found message is written to the output file■ if ContinueOnSkip is true, the CI is not imported■ if ContinueOnSkip is false, none of the data is imported

Chapter 6 Upgrading a service model to BMC Atrium CMDB 153

Page 154: Service Model

sim2cmdb CLI command

Table 35 sim2cmdb.conf file (part 1 of 3)

Filename sim2cmdb.conf

File path MCELL_HOME/

Description contains the sim2cmdb CLI command configuration properties

Parameter name Description Default value

IASServers specifies the Impact Administration Server (usually by host name) against which the CLI commands authenticate

CLI commands may be executed on a computer other than the computer on which Impact Administration Server is installed.

If you specify a remote Impact Administration Server in the sim2cmdb.conf file, but do not provide user credentials, you must provide them as command line arguments when you run a CLI command.

If the Impact Administration Server has a backup server, then you can specify the primary server as well as the secondary server. If the primary is not running, then the CLI will authenticate against the secondary server.

localhost:3084

IASUserName specifies a valid Impact Administration Server user name to be presented as credentials to the specified Impact Administration Server

none

IASPassword specifies the valid Impact Administration Server password for the specified Impact Administration Server (IASUsername) to be presented as credentials for the specified Impact Administration Server

Enter the IASPassword as plain text. Upon the first execution, it is encrypted.

To set up remote automatic authentication of CLI commands, specify the user name (IASUserName), and password (IASPassword) to be used as valid credentials for the specified Impact Administration Server (IASServers) in the sim2cmdb.conf file.

none

CMDBServer specifies the name of the computer on which BMC Atrium CMDB resides

not defined, set by install

CMDBPort defines the port number for connecting to the BMC Atrium CMDB

not defined, set by install

use 0 for dynamic port detection

154 BMC Impact Solutions: Service Model Administrator’s Guide

Page 155: Service Model

sim2cmdb CLI command

CMDBUser defines the user ID that grants access to the BMC Atrium CMDB

not defined, set by install

CMDBPassword a valid BMC Atrium CMDB user password

appears in plain text when entered; encrypted at first launch

not defined, set by install

ARSXLongTimeOut sets the time to stop waiting on a BMC Remedy AR System operation that occurs slowly

1800

ARSXLongTimeOutEstimate enables (T) or disables (F) the use of the estimate when the length of time exceeds the value that is calculated for committing bulk entry transactions

T (true)

ContinueOnSkip defines sim2cmdb behavior if one or more instances cannot be imported

If ContinueOnSkip is set to T, true, instances that can be imported are imported and instances that cannot be imported are not imported. The output file contains the list of instances that could not be imported.

If ContinueOnSkip is set to F, false (default), the occurrence of even one instance that cannot be imported results in no data being created in the BMC Atrium CMDB. In other words, if all instances can be imported, all data (with attributes) in BMC.SIM is exactly as it is in the cell. If even one instance cannot be imported, only previously existing data in BMC.SIM still exists. The output file indicates the results.

F (false)

ReverseCellAliases specifies which alias corresponds to which cell

Format: cellName, cellAlias{, cellName, cellAlias}

When several aliases point to the same cell, retrieving an alias from a cell name is not deterministic. With the ReverseCellAliases parameter, you can specify which alias corresponds to which cell. It should have only one CellAlias for a cell in ReversecellAliases. The letters in cellAlias value are case sensitive.

If this parameter is not set, sim2cmdb makes an undefined, arbitrary choice.

none

ReconJobTimeout sets the length of time that sim2cmdb checks for the termination of the reconciliation job

If the interval expires before the reconciliation job completes, the sim2cmdb output file does not indicate the results of the reconciliation job. It may or may not have completed successfully.

120 (seconds)

Table 35 sim2cmdb.conf file (part 2 of 3)

Chapter 6 Upgrading a service model to BMC Atrium CMDB 155

Page 156: Service Model

Running the upgrade

Running the upgrade

sim2cmdb is executed as a CLI command.

sim2cmdb syntax

The three commands of sim2cmdb are close, commit, and identify. Unless you specify one of these commands, sim2cmdb will execute in default command, meaning that it will only verify the data. See “Upgrade commitment” on page 163, “CI identification” on page 164, and “Dataset cleanup” on page 165 for more information about each of these commands.

sim2cmdb command options

Table 36 lists the options for the sim2cmdb command.

CommitRetryTimeOut defines the length of time, in seconds, that sim2cmdb retries the bulk entry transaction

If the transaction failed due to the data problem, sim2cmdb will drop the offending data and retry the transaction. sim2cmdb will successfully commit good data into CMDB within the time specified by the CommitRetryTimeOut parameter or terminates the transaction if it exceeds the time specified by the CommitRetryTimeOut parameter.

900 (seconds)

PublishingServerName the name of the publishing server

This name is used in validating the publish environment and for DirectPublish credentials.

ps_hostName

sim2cmdb [-c ConfigFile] [-h|-?] [-i User/Password [@Host[/Port] [,Host[/Port][,...]]] [-l HomeLocation] {-p "Var=Value"} [-v] [-z] [-f] [-q] [-e EnvId1[,EnvId2[...]] [-n Cell1[,Cell2[...]] [-o OutputFile] [close | commit | identify]

Table 35 sim2cmdb.conf file (part 3 of 3)

156 BMC Impact Solutions: Service Model Administrator’s Guide

Page 157: Service Model

Running the upgrade

Table 36 sim2cmdb command options

Options Description

<common options>-c -h -? -i -q -l -p -v -z

see “Understanding common command options for CLIs” on page 281

-e EnvIDenvID1[,envID2[...]]

identifies the specific environments

If an environment is not specified, then Direct Feed data is upgraded.

If you are upgrading Direct Feed data only, EnvID must be empty; do not use the -e option for Direct Feed data.

For example, the following command displays all the Direct Feed data present in the cell to be upgraded

sim2cmdb –v –n <cellname>

For secured environments, you must provide a valid password using the –p “password=xx” option. If multiple EnvID options are specified, you must provide a password value for each EnvID.

If one of the EnvID command options fails during environment verification, the sim2cmdb execution terminates.

If both Direct Feed data and Direct Publish data must be imported, the Direct Publish EnvIDs as well as one empty EnvID has to be specified with –e option. To display data in Direct Feed and Direct Publish environments, use one of the following examples:

sim2cmdb –v –n <cellname> -e “,DirectPubEnvId1,DirectPubEnvId2”

sim2cmdb –v –n <cellname> -e “DirectPubEnvId1,DirectPubEnvId2,”

sim2cmdb –v –n <cellname> -e “DirectPubEnvId1,,DirectPubEnvId2”

The comma (,) at the beginning, end, or middle of the option represents an empty EnvID.

-f forces the command execution without prompting you to confirm the action

If you do not specify the -f option, you must confirm the action when prompted to allow the action to execute.

Chapter 6 Upgrading a service model to BMC Atrium CMDB 157

Page 158: Service Model

Running the upgrade

-n cellName1[,cellName2[...]]

specifies the specific cell or cells from which to retrieve the service model classes

On Windows platforms, you must enclose the cell list in quotation marks (").

If no cell name is specified and there is an –e option, all the cells involved in the EnvIds are included. If there is no –e option, all the cells in the AtriumCMDB PROD environment will be included.

If one of the cells fails during cell verification, the sim2cmdb execution terminates.

-o ReportFileName file that contains the report of sim2cmdb execution, in other words, the list of data that will be imported into BMC Atrium CMDB and a list of data that will not be imported into BMC Atrium CMDB, and a list of errors that have occurred

BMC Software recommends examining this report each time you run sim2cmdb. You might need to correct the SIM date before executing sim2cmdb again.

If you omit this option, sim2cmdb generates a default report file name.

-p Password= specifies the password for each environment listed in the -e option, if a password is required for the environment

Separate additional passwords with commas (,)

For example, if three environments exist, and environment 2 has no password (is unsecured), the command might look like this:

sim2cmdb -e "Env1, NoSecEnv,Env3" -n cell -p "Password=pw1, ,pw3"

close removes all the instances in the BMC.SIM dataset

Although you can force removal of all the data in the BMC.SIM dataset, if the dataset is not clean you should first return to the CI identification stage to identify CIs. Forcing removal of unidentified CIs can cause unsynchronized data between SIM and CMDB.

Table 36 sim2cmdb command options

Options Description

158 BMC Impact Solutions: Service Model Administrator’s Guide

Page 159: Service Model

Running the upgrade

sim2cmbd CLI command examples

sim2cmdb -e testEnv -i user/user

Verifies imported data. Data are from all the cells in the direct publish environment testEnv.

sim2cmdb -e testENV -n cellA -i user/user

Verifies imported data. Data are from cell cellA in the direct publish environment testEnv.

sim2cmdb -n cellB -i user/user

Verifies imported data. Data are from cellB created from direct feed.

sim2cmdb -e testSecuredEnv -i user/user -p Password=mypasswd

Verifies imported data from the secured environment testSecuredEnv with the password parameter.

sim2cmdb -n cellS1, cellS2 -i user/user -p Password=passwd1,passwd2

Verifies imported data from multiple cells with multiple password parameters.

sim2cmdb -e testEnv commit

Runs the commit command to import data into the BMC Atrium CMDB. The reconciliation and publish process takes place following the success of the commit.

sim2cmdb -i user/user identify

commit imports the SIM data into the CMDB BMC.SIM dataset

Upon a successful commit, sim2cmdb automatically starts the reconciliation job to merge data into the BMC.ASSET dataset.

identify assigns a ReconciliationIdentity value to the components in BMC.SIM which have not been identified.

See “CI identification” on page 164 for more information.

Table 36 sim2cmdb command options

Options Description

Chapter 6 Upgrading a service model to BMC Atrium CMDB 159

Page 160: Service Model

Reviewing the output files for sim2cmdb

Assigns the ReconciliationId to the CIs in the BMC.SIM dataset if they are not automatically identified. The reconciliation and publish process takes place following the success of the commit.

sim2cmdb close

Removes all the data in the BMC.SIM dataset.

Reviewing the output files for sim2cmdb

The output files report on the results of sim2cmdb execution. The output includes

■ the sim2cmdb command string that you entered

■ an indication of the success or failure of user authentication

■ an indication of the success or failure of connection to the BMC Remedy AR System

■ a list of instances in the cell that will be copied to the BMC Atrium CMDB (Exporting service impact data from cells)

■ a list of instances that could not be imported into the BMC Atrium CMDB with the reason (Importing service impact data into CMDB’s dataset BMC.SIM)

If there are no issues with the data, this section of the output file is blank; only data instances that cannot be imported will be listed here.

■ an indication of the success or failure of the reconciliation job with a list of instances that you must manually reconcile (BMC SIM to CMDB reconciliation into CMDB’s data BMC.ASSET)

■ an indication of the success or failure of the sim2cmdb execution

Figure 19, Figure 20, and Figure 21 are examples of an output files.

160 BMC Impact Solutions: Service Model Administrator’s Guide

Page 161: Service Model

Reviewing the output files for sim2cmdb

Figure 19 Example output file without commitsim2cmdb -e JZTest -n hou-jezhou-37 -o JTest_Data_Warning_no_commit.log -mSun, 24 Feb 2008 11:31:42:454 CST

User jean successfully authenticated with IAS.

User Demo successfully connected to AR System hou-jezhou-37:0.

==================================================================Exporting service impact data from cell(s).==================================================================

ellName:hou-jezhou-37Components - 1. BMC_ComputerSystem; mc_udid=JZTest_Computer_1; ComponentAliases=[JZTest_Computer_1]; AccountID=JZTest1; Description='test one end relationship publish Computer'; Name=JZTest_Computer_1; OwnerContact='713.918.8800'; OwnerName=jean; Type=WINDOWS_SYSTEM; HostName=JZTest_1;2. BMC_ComputerSystem; mc_udid=JZTest_Computer_2; ComponentAliases=[JZTest_Computer_2]; AccountID=JZTest2; Description='simple test sim2cmdb 2'; Name=JZTest_Computer_2; OwnerContact='713.918.8800'; OwnerName=jean; Type=WINDOWS_SYSTEM; HostName=JZTest_2;3. BMC_FileSystem; mc_udid=JZTest_Filesystem_2; ComponentAliases=[JZTest_Filesystem_2]; AccountID=JZTest2; Description='SIM2CMDB testing No SystemName, no weakrelationship'; Name=JZTest_Filesystem_2; SystemName=JZTest_Computer_2;4. BMC_FileSystem; mc_udid=JZTest_Filesystem_TestWK; ComponentAliases=[JZTest_Filesystem_TestWK]; AccountID=JZTest2; Description='SIM2CMDB testing weakrelationship'; Name=JZTest_Filesystem_TestWK; SystemName='SME-Computer-Test-WkRel';5. BMC_BusinessService; mc_udid=JZTest_BusService_4; ComponentAliases=[JZTest_BusService_4]; AccountID=JZTest4; Description='simple test sim2cmdb 2'; Name=JZTest_BusService_4; OwnerContact='713.918.8800'; OwnerName=jean;6. BMC_ComputerSystem; mc_udid=JZTest_Computer_4; ComponentAliases=[JZTest_Computer_4]; AccountID=JZTest4; Description='simple test sim2cmdb 2'; Name=JZTest_Computer_4; OwnerContact='713.918.8800'; OwnerName=jean; Type=WINDOWS_SYSTEM; HostName=JZTest_4;7. BMC_FileSystem; mc_udid=JZTest_Filesystem_4; ComponentAliases=[JZTest_Filesystem_4]; AccountID=JZTest4; Description='SIM2CMDB testing file to computer with weak_relationship'; Name=JZTest_Filesystem_4; SystemName=JZTest_Computer_4;8. BMC_FileSystem; mc_udid=JZTest_Filesystem_4_1; ComponentAliases=[JZTest_Filesystem_4_1]; AccountID=JZTest4; Description='SIM2CMDB testing Wrong SystemName'; Name=JZTest_Filesystem_4_1; SystemName=WrongSystemName;9. BMC_FileSystem; mc_udid=JZTest_Filesystem_4_2; ComponentAliases=[JZTest_Filesystem_4_2]; AccountID=JZTest4; Description='SIM2CMDB testing No SystemName'; Name=JZTest_Filesystem_4_2;Relationships - 10. BMC_Impact; mc_udid=JZTest_File2_To_Computer2; consumer_id=JZTest_Computer_2; provider_id=JZTest_Filesystem_2; AccountID=JZTest2;11. BMC_Impact; mc_udid=JZTest_Rel_ComputerToService_4; consumer_id=JZTest_BusService_4; provider_id=JZTest_Computer_4; AccountID=JZTest4;12. BMC_Impact; mc_udid=JZTest_File4_To_Computer4; consumer_id=JZTest_Computer_4; provider_id=JZTest_Filesystem_4; AccountID=JZTest2;13. BMC_Impact; mc_udid=JZTest_File4_1_To_Computer4; consumer_id=JZTest_Computer_4; provider_id=JZTest_Filesystem_4_1; AccountID=JZTest2;14. BMC_Impact; mc_udid=JZTest_File4_2_To_Computer4; consumer_id=JZTest_Computer_4; provider_id=JZTest_Filesystem_4_2; AccountID=JZTest2;

==================================================================Importing service impact data into CMDB's dataset BMC.SIM.==================================================================During the data import, the following issues were found:

1. BMC_FileSystem; mc_udid=JZTest_Filesystem_4_1; ComponentAliases='[JZTest_Filesystem_4_1]'; Name=JZTest_Filesystem_4_1; Warning: No System instance with Name WrongSystemName exists in CMDB or input data source. No relationship BMC_HostedSystemComponents with instance JZTest_Filesystem_4_1 is created.Reason/Suggestion: Please verify the valid System CI WrongSystemName is existing in either import source or in CMDB

2. BMC_FileSystem; mc_udid=JZTest_Filesystem_4_2; ComponentAliases='[JZTest_Filesystem_4_2]'; Name=JZTest_Filesystem_4_2; Warning: Slot SystemName has no value. No BMC_HostedSystemComponents relationship created with a BMC_SystemComponent instance.Reason/Suggestion: This CI is an instance of a subclass of BMC_SystemComponent. To create BMC_HostedSystemComponents relationship, it is required to have the SystemName slot value.

==================================================================Reconcile data in BMC.SIM dataset into BMC.ASSET dataset in CMDB==================================================================

The following CIs in BMC.SIM have not been automatically identified:

1. BMC_ComputerSystem; mc_udid=JZTest_Computer_1; ComponentAliases='[JZTest_Computer_1]'; Name=JZTest_Computer_1; 2. BMC_ComputerSystem; mc_udid=JZTest_Computer_2; ComponentAliases='[JZTest_Computer_2]'; Name=JZTest_Computer_2; 3. BMC_FileSystem; mc_udid=JZTest_Filesystem_2; ComponentAliases='[JZTest_Filesystem_2]'; Name=JZTest_Filesystem_2; 4. BMC_FileSystem; mc_udid=JZTest_Filesystem_TestWK; ComponentAliases='[JZTest_Filesystem_TestWK]'; Name=JZTest_Filesystem_TestWK; 5. BMC_ComputerSystem; mc_udid=JZTest_Computer_4; ComponentAliases='[JZTest_Computer_4]'; Name=JZTest_Computer_4; 6. BMC_FileSystem; mc_udid=JZTest_Filesystem_4; ComponentAliases='[JZTest_Filesystem_4]'; Name=JZTest_Filesystem_4; 7. BMC_FileSystem; mc_udid=JZTest_Filesystem_4_1; ComponentAliases='[JZTest_Filesystem_4_1]'; Name=JZTest_Filesystem_4_1; 8. BMC_FileSystem; mc_udid=JZTest_Filesystem_4_2; ComponentAliases='[JZTest_Filesystem_4_2]'; Name=JZTest_Filesystem_4_2;

lease identify them manually with Reconciliation Manager's Manual Identification Console.Then start a new "BMC SIM to CMDB" reconciliation job from Reconciliation Manager's Job History Console.

==================================================================sim2cmdb completed ==================================================================Please verify that the automated publication triggered by the reconciliation was successful, or execute a manual publication with cli publish and verify that it is successful

Chapter 6 Upgrading a service model to BMC Atrium CMDB 161

Page 162: Service Model

Reviewing the output files for sim2cmdb

Figure 20 Example verify.log filesim2cmdb -e testPSR -i user/**** -o test_y_commit.log commitWed, 14 May 2008 09:49:51:954 CDT

IAS Server version: 7.2.00 [Build 1544526 - 29-Apr-2008]User user successfully authenticated with IAS server hou-jezhou-37:3084.

BMC Atrium CMDB version: 2.1.0.0User Demo successfully connected to AR System hou-jezhou-37:0.

Upgrade data of all cells of the publish environment(s).Using cell(s) hou-jz-37-psr for DirectPublish data of testPSR.

==================================================================Exporting service impact data from cell(s)==================================================================

Cell:hou-jz-37-psrComponents:1. BMC_BusinessProcess; mc_udid=BusProcess_Y; ComponentAliases=[BusProcess_Y]; AccountID=Y; Description='SIM2CMDB testing no-InstanceId, relationships'; Name=BusProcess_Y;2. BMC_ComputerSystem; mc_udid=Computer_Y; ComponentAliases=[Computer_Y]; AccountID=Y; Description='SIM2CMDB testing no-InstanceId, relationships'; Name=Computer_Y; Type=WINDOWS_SYSTEM; HostName=JZTest_1;3. BMC_FileSystem; mc_udid=FileSystem_Y; ComponentAliases=[FileSystem_Y]; AccountID=Y; Description='SIM2CMDB testing no-InstanceId, relationships'; Name=FileSystem_Y; SystemName=Computer_wrongName;Relationships:4. BMC_Impact; mc_udid=Computer_Y_TO_BusProcess_Y; PropagationModel=DIRECT; consumer_id=BusProcess_Y; provider_id=Computer_Y; AccountID=Y;5. BMC_Impact; mc_udid=FileSystem_Y_TO_Computer_Y; PropagationModel=DIRECT; consumer_id=Computer_Y; provider_id=FileSystem_Y; AccountID=Y;

==================================================================Importing service impact data into CMDB's dataset BMC.SIM==================================================================

During the data import, the following issues were found:

1. BMC_FileSystem; mc_udid=FileSystem_Y; Name=FileSystem_Y; ComponentAliases=[FileSystem_Y]; Warning: No System instance with Name Computer_wrongName exists in CMDB or upgraded data. No relationship BMC_HostedSystemComponents with instance FileSystem_Y is created.Reason/Suggestion: Please verify the valid System CI Computer_wrongName is existing in either import source or in CMDB.

No SIM data is imported to CMDB because commit was not requested.

==================================================================sim2cmdb result==================================================================Program ended with no SIM data imported to CMDB.

162 BMC Impact Solutions: Service Model Administrator’s Guide

Page 163: Service Model

Upgrade commitment

Upgrade commitment

When you run sim2cmdb with the commit command, SIM data is imported into the BMC Atrium CMDB. The data is first imported into the BMC Atrium CMDB BMC.SIM dataset. Afterward, sim2cmdb starts the reconciliation job, BMC SIM to CMDB Migration, to merge the identified instances into the BMC.ASSET dataset. Finally, the SIM publish process is automatically triggered to push the data into the cell with new reconciliation IDs.

The sim2cmdb commit command terminates for two reasons:

■ If issues are found in data verification and the configuration parameter "ContinueOnSkip" is set to false (default).

Figure 21 Example output file with commitsim2cmdb -e testPSR -i user/**** -o test_commit.log commitWed, 14 May 2008 09:36:44:809 CDT

IAS Server version: 7.2.00 [Build 1544526 - 29-Apr-2008]User user successfully authenticated with IAS server hou-jezhou-37:3084.

BMC Atrium CMDB version: 2.1.0.0User Demo successfully connected to AR System hou-jezhou-37:0.

Upgrade data of all cells of the publish environment(s).Using cell(s) hou-jz-37-psr for DirectPublish data of testPSR.

==================================================================Exporting service impact data from cell(s)==================================================================

ell:hou-jz-37-psrComponents:1. BMC_BusinessProcess; mc_udid=BusProcess_X; ComponentAliases=[BusProcess_X]; AccountID=X; Description='SIM2CMDB testing no-InstanceId, relationships'; Name=BusProcess_X;2. BMC_ComputerSystem; mc_udid=Computer_X; ComponentAliases=[Computer_X]; AccountID=X; Description='SIM2CMDB testing no-InstanceId, relationships'; Name=Computer_X; Type=WINDOWS_SYSTEM; HostName=JZTest_1;3. BMC_FileSystem; mc_udid=FileSystem_X; ComponentAliases=[FileSystem_X]; AccountID=X; Description='SIM2CMDB testing no-InstanceId, relationships'; Name=FileSystem_X; SystemName=Computer_X;Relationships:4. BMC_Impact; mc_udid=Computer_X_TO_BusProcess_X; PropagationModel=DIRECT; consumer_id=BusProcess_X; provider_id=Computer_X; AccountID=X;5. BMC_Impact; mc_udid=FileSystem_X_TO_Computer_X; PropagationModel=DIRECT; consumer_id=Computer_X; provider_id=FileSystem_X; AccountID=X;

==================================================================Importing service impact data into CMDB's dataset BMC.SIM==================================================================

All data was successfully imported.

==================================================================Reconciling data in BMC.SIM dataset into BMC.ASSET dataset in CMDB==================================================================

The following CIs in BMC.SIM have not been automatically identified:

1. BMC_ComputerSystem; mc_udid=Computer_X; Name=Computer_X; ComponentAliases=[Computer_X]; HomeCell=hou-jz-37-psr; 2. BMC_FileSystem; mc_udid=FileSystem_X; Name=FileSystem_X; ComponentAliases=[FileSystem_X]; HomeCell=hou-jz-37-psr;

Please identify them manually with Reconciliation Manager's Manual Identification Console.Then start a new "BMC SIM to CMDB Migration" reconciliation job from Reconciliation Manager's Job History Console.Or, use sim2cmdb 'identify' command to automatically identify CIs in BMC.SIM dataset.

==================================================================sim2cmdb result==================================================================Please verify that the automated publication triggered by the reconciliation was successful, or execute a manual publication with cli publish and verify that it is successful.

Chapter 6 Upgrading a service model to BMC Atrium CMDB 163

Page 164: Service Model

CI identification

To continue upgrading, you must fix the data or set the ContinueOnSkip to true, which commits the data upgrade regardless of issues with the data.

■ The BMC.SIM dataset is not clean. A clean dataset means that all CIs in the BMC.SIM dataset are identified. In other words, all the component instances in the dataset have the unique ReconciliationIdentity value assigned.

If the dataset is not clean, you must either:

■ return to the CI identification step to identify CIs

■ return to the dataset cleanup step to force clean all the data in BMC.SIM dataset

The sim2cmdb commit reports CIs which have not been automatically identified. If the output report contains any un-identified CIs, you must return to the CI identification stage to identify the CIs.

You must also verify the results of data publication, as explained in step 11 on page 146.

CI identification

The CI identification procedure identifies the component instances in the BMC.SIM dataset and triggers the BMC SIM to CMDB Migration reconciliation job.

You have three options to identify CIs.

1. Manually assign ReconciliationIdentity values to unidentified CIs from the CMDB Reconciliation Manager, and then manually run the BMC SIM to CMDB Migration reconciliation job.

2. Modify the identification rules in the BMC SIM to CMDB Migration - Identification and Merge job from the CMDB Console and manually run the reconciliation job. See “Identifying components and data reconciliation” on page 148 for details.

3. Run the sim2cmdb identify command. The sim2cmdb identify command assigns a unique ID to each unidentified CI in the BMC.SIM dataset and calls the reconciliation job.

Options 2 and 3 have the potential to create duplicates in the BMC Atrium CMDB. Duplicates should be avoided. Therefore, use options 2 and 3 only if SIM data are the sole resource of the BMC Atrium CMDB data or you are certain that the option will not cause duplication.

After CIs in the BMC.SIM dataset are identified and the reconciliation job successfully executed, you must verify if the publication is successful.

164 BMC Impact Solutions: Service Model Administrator’s Guide

Page 165: Service Model

Dataset cleanup

Dataset cleanup

The sim2cmdb close command cleans up all the data in the BMC.SIM dataset.

You cannot run the sim2cmdb commit command if the BMC.SIM dataset is not clean. A clean dataset means that all CIs in BMC.SIM dataset are identified, that is, all the component instances in the dataset have a unique ReconciliationIdentity value assigned.

Although you can force removal of all the data in BMC.SIM dataset, BMC Software recommends that if the dataset is not clean you return to the CI Identification stage to identify those CIs. Forced removal of unidentified Cis can cause unsynchronized data between SIM and the BMC Atrium CMDB.

sim2cmdb return codes

When the sim2cmdb command exits with a return value other than 0 (success), additional textual information on the error cause is displayed to standard output and to the generated trace file MCELL_HOME\sim2cmdb.trace.

To enable debug tracing, comment out the last two sections in the MCELL_HOME/sim2cmdb.trace configuration file.

These exit codes, their meanings, and recommended remedial actions are described in Table 37.

Table 37 error exit codes for sim2cmdb CLI command (part 1 of 3)

Error Exit Code Description Recommended remedial action

1 indicates a syntax error on one or more command line arguments or options

Verify the correct syntax for the command string.

3 indicates that the home directory of the CLI is not defined

Do the following:

1. Verify that the MCELL_HOME environment variable is set for the application.

2. Verify that the CLI script (.bat or .sh) file correctly contains:

-DhomeLocation=%MCELL_HOME%

3. Specify the home directory (-D HomeLocation) path at the command line.

4 indicates the supplied configuration file could not be found

Verify that the value of the -c argument is an existing, readable file.

Chapter 6 Upgrading a service model to BMC Atrium CMDB 165

Page 166: Service Model

sim2cmdb return codes

5 indicates an I/O error occurred when reading the configuration file

Verify that the user has read access to the configuration file.

6 indicates the Impact Administration Server (IAS) interface cannot be initialized

Check that the Impact Administration Server (IAS) is up and running.

7 indicates a security problem (for example, write access) to the CLI home directory

Check that the user has read and write access to the etc/ log/ directory and write access to the temp/ directory in the CLI home directory.

8 indicates that the home directory of the CLI does not exist

14 indicates that the CLI cannot find a file that it requires to run properly; for example a FileNotFound exception.

Verify that the file whose name appears as missing does exist

15 indicates that the CLI cannot resolve a host name

Repair the computer’s network settings

16 indicates the failure to authenticate with the BMC Portal server

Do the following:

■ If you are running a CLI command, verify the credentials that you specified.

■ If automatic authentication is set up in the sim2cmdb.conf file, verify that the credentials (IASUsername, IASPassword, and IASServers) are valid.

17 indicates an error with starting impact CLI Do the following:

Verify that the file MCELL_HOME/etc/locale/sim2cmdb.load exists on the BMC Portal server host computer.

18 indicates that the UTF-8 character set is not supported by the host

The host computer must support the UTF-8 character set.

30 indicates verification of publish environment failed

31 indicates an error occurred when retrieving a cell directory from the BMC Atrium CMDB

Verify the access rights for the cell directory.

32 indicates an error occurred when communicating with a cell

Verify that the cell is running.

Verify network connectivity.

33 indicates verification of cell protocol version failed

34 indicates classes between CMDB and cell(s) are not synchronized

Table 37 error exit codes for sim2cmdb CLI command (part 2 of 3)

Error Exit Code Description Recommended remedial action

166 BMC Impact Solutions: Service Model Administrator’s Guide

Page 167: Service Model

sim2cmdb return codes

35 indicates an error when communicating with BMC Atrium CMDB

Verify that BMC Remedy AR System is running.

Verify network connectivity.

36 indicates an error when executing a CMDB operation

37 indicates an error when importing data into CMDB

Check standard out for more details regarding the error.

Table 37 error exit codes for sim2cmdb CLI command (part 3 of 3)

Error Exit Code Description Recommended remedial action

Chapter 6 Upgrading a service model to BMC Atrium CMDB 167

Page 168: Service Model

sim2cmdb return codes

168 BMC Impact Solutions: Service Model Administrator’s Guide

Page 169: Service Model

C h a p t e r 7

7 Component and relationship status propagation

This chapter contains the following topics:

About component and relationship status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169How component status computation works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170

About status computation models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173Anatomy of a status computation model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174Anatomy of a status computation model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174The internal status NONE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174Quorum algorithm examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174How status computation algorithms work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172Quorum algorithm examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174

Relationship status propagation concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177How status propagation works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177Status propagation models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178Default status propagation models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178What is a valid status propagation model? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180

Dynamic prioritization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181Self priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182Impacts priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191Determination of final priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192

About component and relationship statusThe status of a component can be influenced directly by the severities of its associated events, indirectly by the propagated status of its provider components, or by both. Status computation models calculate the new value of component status using these factors.

Chapter 7 Component and relationship status propagation 169

Page 170: Service Model

How component status computation works

A status computation model’s primary role is to associate an algorithm with each of the status computation functions. The model can be applied to one or more component instances, enabling the cell to handle status computation appropriately for those objects.

The BMC_STATUS_COMPUTATION data class is the basis of all status computation model instances. The service model provides status computation models to support the definition of key component classes.

How component status computation worksThe cell computes component status automatically as new conditions occur, such as the reception of a direct impact event, a status change on a provider component that results in a state change on an inbound relationship.

To compute component status, the cell uses the status computation model assigned to a component instance. The cell obtains the name of the status computation model to use from the instance’s StatusComputationModel slot.

Based on the type of condition that triggered the status computation, the cell selects the appropriate function to use from the status computation model. It also obtains the algorithm to use with the function to calculate the appropriate status for the component. Then, the cell calculates the new component status.

Status computation functions

The following functions perform status computation:

■ impact_function■ self_function■ consolidate_function

Table 38 lists the functions, their inputs, and the type of computed status that each function calculates.

170 BMC Impact Solutions: Service Model Administrator’s Guide

Page 171: Service Model

Status computation algorithms

All the functions return a status value in the range of the MC_SM_COMPONENT_STATUS enumeration.

Only the cell maintains the real-time status of components. Component status is not reflected in the BMC Atrium CMDB.

The component instance’s status is set to the computed_status except when you set the component to manual status, in which case, the component instance’s status is set to manual_status.

Status computation algorithms

The status computation algorithms define the functions involved in status computation use the cell’s internal algorithms, such as HIGHEST_VAL. Defining a status computation model includes associating the appropriate algorithm with each function. The algorithms are:

Highest Val—Using this algorithm, a function returns the highest value among those it receives as input. In general, the higher the value, the less desirable it becomes. For example, the highest value for the status of a component is 70 (UNAVAILABLE).

Average—(impact_function only) Using this algorithm, impact_function returns the average status of the propagated status values.

Quorum—(impact_function) This impact_function returns the smaller status value among the highest values propagated by a quorum of incoming active relationships. The number of active relationships that constitute a quorum correspond to the quorum value of the status model multiplied by the total number of incoming active relationships divided by 100 (rounded up to the next integer if necessary).

Table 38 Status computation functions and computed component statuses

Function Description Inputs Output

impact_function computes the impact status from status propagated by provider components

status values propagated by inbound relationships

impact_status

self_function computes the self_status from direct events

severities of direct events associated with the component

self_status

consolidate_function computes the component’s computed_status from impact_status and self_status, or both, or from the no_alert_status of the status computation model

the impact status and the self-status

computed_status

Chapter 7 Component and relationship status propagation 171

Page 172: Service Model

How status computation algorithms work

Weighted—Status weight is an attribute (StatusWeight) of the BMC_Impact object, requiring an integer value. It is used in impact relationships to determine how much importance (numerically weighted) to give to each provider relationship that impacts a consumer instance. A higher numerical value indicates a greater importance.

Self-Preferred—(consolidate_function) computed_status is set to the self_status value except when the self_status is NONE.

By Count—Using this algorithm, a function factors in the number of cluster members in particular states (for example, OK, UNAVAILABLE). By default, the status of the cluster is set to

■ OK if at least two members are OK and no more than one is UNAVAILABLE■ WARNING if one single member is OK and none is UNAVAILABLE■ IMPACTED if one single member is OK and at least one is UNAVAILABLE■ UNAVAILABLE if no member is OK and at least two are UNAVAILABLE

By default, all component types rely on a 3-High status computation model, in which all of the status computation functions use the HIGHEST_VAL algorithm.

How status computation algorithms work

Table 39 shows the type of value that a component status computation function returns when using an available algorithm.

Table 39 What a function returns when using an available algorithm

Function Algorithm Returns

self_function HIGHEST_VAL the highest value among the severities of the direct events, after they have been automatically mapped to component status values

impact_function HIGHEST_VAL the highest value among the status values of the provider components

AVERAGE the average status of the provider components after weighting each status value, where the “weight” is the number of providers propagating this particular status divided by the total number of providers propagating a status

QUORUM the computed impact status is the lowest status that is propagated by the quorum percentage of providers (ignoring relationships propagating NONE)

consolidate_function HIGHEST_VAL the higher value between the impact status and the self-status

SELF_PREFERRED the self_status value except when the self_status is NONE. In this case, the computed_status is set to the no_alert_status value of the status computation model (by default OK).

172 BMC Impact Solutions: Service Model Administrator’s Guide

Page 173: Service Model

About status computation models

About status computation models

In the BMC Impact Service Model Editor product and in the BMC Impact Explorer product, for each component instance, you select one of the predefined status computation models: Standard, Cluster, Weighted Cluster, Self-Preferred, and Cluster By Count. Standard is the default status computation model.

The BMC_STATUS_COMPUTATION data class is the basis of all status computation model instances. For a description of BMC_STATUS_COMPUTATION slots, see “BMC_STATUS_COMPUTATION data class” on page 353.

Table 40 Description of predefined status computation models

Status computation model Description

Standard computes the status of a component using the HIGHEST_VAL impact_function; the impact_status is the highest propagated_status of the incoming relationships

Cluster computes the status of a component using the QUORUM impact function (see “Quorum algorithm examples” on page 174)

Weighted Cluster computes the status of a component using the Status Weight attribute of the BMC_Impact object

Status Weight is used in impact relationships to determine how much importance (numerically weighted) to give to each provider relationship that impacts a consumer instance. The higher the number, the greater the importance.

Self-Preferred computes the status of a component using the self-preferred algorithm for the consolidation_function

Cluster By Count computes the status of a cluster component using the impact_function BY_COUNT

Chapter 7 Component and relationship status propagation 173

Page 174: Service Model

Anatomy of a status computation model

Anatomy of a status computation model

A status computation model defines the following:

■ the algorithm used by each of the functions involved in status computation■ a no-alert status value that applies only when the consolidate_function returns

NONE. The no-alert status is acceptable for all the default status computation functions.

■ a quorum percentage that applies only when the impact_function uses the QUORUM algorithm

■ an external algorithm that applies only when the impact_function uses the EXTERNAL placeholder

The internal status NONE

The status value NONE is an internal status only used in the component status computation function. The main status of a component should never have a value of NONE. For this reason, the following results apply to situations in which there is no input to a function or the input value is NONE.

Quorum algorithm examples

The CLUSTER option for Status Computation uses the QUORUM impact function, which is described below.

When you create a quorum type of StatusModel, you specify a percentage, called the quorum percentage. The quorum value is given by the quorum slot of the BMC_STATUS_COMPUTATION instance.

Function Input value Output value

impact_function Component has no inbound relationship.

NONE

Inbound relationships propagate NONE as a status.

NONE

self_function No events are associated with the component.

NONE

consolidate_function Impact status value is NONE and self-status value is NONE or there are no inputs.

default no-alert status value from the status computation model

174 BMC Impact Solutions: Service Model Administrator’s Guide

Page 175: Service Model

Quorum algorithm examples

The impact_status is the highest propagated_status that a quorum percentage of provider agree upon.

An easy computation of the quorum status can be done as follows:

■ There are n providers with propagated_status different from NONE: let i be the lowest integer that is greater or equal to quorum*n/100.

■ Consider the array of propagated_status ordered from highest to lowest status.■ The impact_status is the status corresponding to the element i of this array.

Chapter 7 Component and relationship status propagation 175

Page 176: Service Model

Quorum algorithm examples

EXAMPLE CASE A website 1 (quorum-based component status computation)host1host2

Example A1QUORUM=50, host1=OK, host2=IMPACTED

50*2/100 = 1 => i = 1array = [IMPACTED, OK]The percentage of hosts that are not AVAILABLE is 50%, which breaches the quorum threshold, so the status of website 1 is IMPACTED.

Example A2QUORUM=51, host1=OK, host2=IMPACTED

1 < 51*2/100 < 2 => q = 2 array = [IMPACTED, OK]

The percentage of hosts that are not AVAILABLE is 50%, which does not breach the quorum threshold, so the status of website 1 is OK.

Example A3QUORUM=51, host1=MINOR, host2=IMPACTED

1 < 51*2/100 < 2 => q=2 array = [IMPACTED, MINOR]There is indeed at least 51% of the providers (actually 100%) that state a severity at least MINOR, so the status of website 1 = MINOR

CASE B website 2 (quorum-driven, impact-based component status computation)host1host2host3host4

Example B1quorum_percent=30, host1=OK, host2=OK, host3=OK, host4=Minor

1<30*4/100<2=>q=2array = [MINOR, OK, OK, OK]The percent of hosts that are not UNAVAILABLE is 25%, which is less than 30%, so the status of website2 is OK.

Example B2quorum_percent=30, host1=OK, host2=OK, host3=UNAVAILABLE, host4=MINOR

1 < 30*4/100 < 2 => q = 2 array = [UNAVAILABLE, MINOR, OK, OK]There is at least 30% (actually 50%) of the providers that state a severity of at least MINOR, so the status of website 2 is MINOR.

Example B3quorum_percent=60, host1=MINOR, host2=OK, host3=UNAVAILABLE, host4=UNAVAILABLE

2 < 60*4/100 < 3 => q=3 array = [UNAVAILABLE, UNAVAILABLE, MINOR, OK]There is at least 60% (actually 75%) of the providers that state a severity at least MINOR, so the status of website 2 = MINOR

176 BMC Impact Solutions: Service Model Administrator’s Guide

Page 177: Service Model

Relationship status propagation concepts

Relationship status propagation conceptsThe cell performs status propagation for relationships and it relies on the status propagation model associated with each impact relationship instance.

The BMC_STATUS_PROPAGATION data class supports relationship control and, together with the BMC_PROPAGATION_MAP data class, provides dynamic status mapping. One status propagation model is made up of several instances in both data classes.

Each status propagation model must have a unique name to identify it. You can create as many status propagation models as needed to control component status propagation. The name of a single BMC_STATUS_PROPAGATION refers to multiple BMC_PROPAGATION_MAP instances all of which have the same name (a one-to-many relationship). Each BMC_PROPAGATION_MAP instance defines how a provider component status is propagated over a relationship to the consumer component.

For example, for the INCREASING status propagation there will be a number of propagation map instances each of which increases the status propagated by a provider component to a consumer component. So, if a provider has status MINOR the status propagated over the relationship to the consumer will be IMPACTED. This would be a single propagation map instances - one is needed for each status.

How status propagation works

The cell automatically propagates the status of component instances through its outbound relationships as new conditions occur, such as a status change on the component or a state change on an outbound relationship. Status propagation is based on impact relationships and status propagation models.

The role of a status propagation model is to define the status value to be propagated in all possible situations. That model can then be applied to one or more impact relationship instances, enabling the cell to handle status propagation appropriately for those objects.

When a status change on a component instance triggers a status propagation, the cell takes the main status (status slot value) of the component, retrieves each outbound impact relationship with its associated state and its status propagation model, and searches the propagation map for a matching entry. The result is the propagated_status value, which is passed as an input to the impact_function of each consumer component.

Chapter 7 Component and relationship status propagation 177

Page 178: Service Model

Status propagation models

When a state change on an outbound impact relationship triggers a new status propagation for that component instance, the cell combines the main status of the component with the retrieved state and the status propagation model of the relationship, and searches the propagation map of the status propagation model for a matching entry. The result is the propagated_status value that is then passed as an input to the impact_function of the consumer component.

Status propagation models

A propagation model defines how the status of a provider component must be propagated in an impact relationship based on

■ the current state of the relationship■ the current value of the provider’s status

Status propagation models are used only by impact relationships.

Status propagation models serve the following purposes:

■ relationship control—enforcement of logical rules in creating new component relationships so that only valid relationships are created

■ dynamic status mapping—translating the main status of the provider component into a propagated status for input into the impact_function of the consumer component in a relationship

The impact_function is part of the status computation of a component. For more information, see “Anatomy of a status computation model” on page 174.

Default status propagation models

The service model provides the following default status propagation models:

■ DIRECT—consumer component depends on the provider’s services to the extent that its status is the same as the provider’s

■ INCREASING—consumer component is overly dependent on the provider. When a problem occurs, the consumer’s status degrades faster than the provider’s does

■ DECREASING—consumer component can function without provider’s services. When a problem occurs, the consumer’s status is less degraded than the provider’s

178 BMC Impact Solutions: Service Model Administrator’s Guide

Page 179: Service Model

Default status propagation models

■ JUST_WARNING—propagates the status of a provider component so that any value less than OK maps to NONE, OK maps to OK, and any value greater than OK maps to WARNING

■ JUST_INFO—propagates the status of a provider component so that any value less than INFO maps to NONE, and any value greater or equal to INFO maps to INFO

Table 41 describes the how status propagation occurs for a specific model.

Table 41 How status propagation models work in relationships

Status propagation model Relationship state Result

DIRECT ACTIVE propagates the provider’s status without modification to the consumer

INACTIVE propagation of the provider’s status is blocked by mapping the provider’s status to NONE

This value is ignored by the consumer.

INCREASING ACTIVE increases the impact of the provider’s status on the consumer’s status

INACTIVE propagation of the provider’s status is blocked by mapping the provider’s status to NONE

This value is ignored by the consumer.

DECREASING ACTIVE decreases the impact of the provider’s status on the consumer’s status

INACTIVE propagation of the provider’s status is blocked by mapping the provider’s status to NONE

This value is ignored by the consumer.

JUST_WARNING ACTIVE for statuses greater than OK, WARNING is propagated

INACTIVE propagation of the provider’s status is blocked by mapping the provider’s status to NONE

This value is ignored by the consumer.

JUST_INFO ACTIVE for statuses greater than or equal to INFO, INFO is propagated; for statuses less than INFO, NONE is propagated

INACTIVE propagation of the provider’s status is blocked by mapping the provider’s status to NONE

This value is ignored by the consumer.

Chapter 7 Component and relationship status propagation 179

Page 180: Service Model

What is a valid status propagation model?

What is a valid status propagation model?

A valid status propagation model is a BMC_STATUS_PROPAGATION instance, complemented with the appropriate number of BMC_PROPAGATION_MAP instances, all sharing the same name. A BMC_STATUS_PROPAGATION instance is not created if the supporting BMC_PROPAGATION_MAP instances have not yet been created.

A valid status propagation model must have:

■ 8 instances of the data class BMC_PROPAGATION_MAP, one for each possible provider component status value for the ACTIVE state

■ 8 instances of the data class BMC_PROPAGATION_MAP, one for each possible provider component status value for the INACTIVE state

■ 1 instance of the BMC_STATUS_PROPAGATION data class that defines the propagation model’s attributes

Important service componentsImportant service components are components with self_priority slot values that affect the overall impact_priority slot value of their root cause component(s). Root cause components propagate their status values forward to the important service components that they impact. In return, the self_priority slot values of the important service components are propagated back to their respective root cause component(s). Figure 22 depicts this relationship.

180 BMC Impact Solutions: Service Model Administrator’s Guide

Page 181: Service Model

Dynamic prioritization

Figure 22 Propagation paths between root cause and important components

Component A is considered as a root cause of component B if

■ A.status > OK■ A.status > A.impact_status

and there is no other such component in the true impact path from A to B.

Dynamic prioritizationDynamic prioritization is a system of setting the priority of a component to help you understand what problems to work on first, based on whether a component is in demand at the time (as defined in its service schedule), the severity of its status, and its impacts.

The final priority of a component is determined by comparing the component’s self priority and impacts priority.

Chapter 7 Component and relationship status propagation 181

Page 182: Service Model

Self priority

The greater value becomes the final priority value of the component.

Self priority

Self priority is a dynamic priority that changes depending on

■ the status of the component■ the schedule status associated to the component (during or off schedule)■ and one of the following three methods of priority computation:

■ base priority (default) ■ cost ■ worst SLA state

Both the cost and the worst SLA state methods rely on the concept of down time. A component is considered down from a cost/SLA perspective when its status is greater or equal to a specified value. This value is stored in the slot status of the BMC_DOWNTIME_STATUS_CONFIG BAROC table.

Figure 23 Self priority determination

NOTE Normally, only one instance of this table should ever exist. If several instances exist, the instance with the lowest status is used.

182 BMC Impact Solutions: Service Model Administrator’s Guide

Page 183: Service Model

Self priority

Base priority method

Base priority is the default method for computing self priority. Self priority is determined by mapping the current base priority (depending on whether the component is on or off schedule) against the status value of the component.

Enabling the base priority method

The base priority method is enabled by default. To specify the base priority method if the default has been changed, modify MC_SM_COMPONENT class to set the SelfPriorityFunction slot to the value BASE_PRIORITY.

How the base priority method calculates priority

Each component has two base priority values:

■ the During Schedule priority, which is the priority assigned to the component during the peak hours of its schedule stored in the Priority slot

■ the Off Schedule priority, which is the priority assigned to the component during the hours that are not critical for its operation stored in the PriorityOut slot

For example, if the component is a server that supports a business that is open from 8:00AM to 6:00PM, then the higher During Schedule priority would be applied to the server during the hours that the business is open and the Off Schedule priority would be applied to the server when the business is closed (6:00PM to 8:00AM).

The base priority values are static priority values that act as a baseline to determine self priority.

Mapping base priority

You can map these values by editing the BMC_SELF_PRIORITY_MAPPING BAROC table in the BMC Impact Service Model Editor.

Chapter 7 Component and relationship status propagation 183

Page 184: Service Model

Self priority

The self-priority value of the important component is calculated based on a formula that takes into account both the base_priority value and its status value, as depicted in the BMC Impact Portal:

This mapping is configured in the match table in BMC Impact Service Model Editor.

Cost method

The cost method determines priority based on the actual cost of a component being down. Cost is a user-specified monetary value per unit of time—for example, $5.00US per second. The more money it costs for a component to be down, the higher priority that component will have.

Creating a BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING instance

The cost model, concomitant cost values, and the mappings between cost values and the severity levels of the self_priority value are user defined. The cost value is typically defined as cost per unit of time: for example, the value 5 can indicate $5.00 per second of downtime.

NOTE The cost of a component is always computed if the During/Off schedule cost values are set for that component, whether or not the cost method is used to determine the self priority of that component.

184 BMC Impact Solutions: Service Model Administrator’s Guide

Page 185: Service Model

Self priority

When you create an instance of the BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING, you specify the cost parameter as a date type REAL as shown:

Enabling the cost method

To enable the cost method, you must modify the following slots in the MC_SM_COMPONENT class:

■ Self_Priority_Function=COST

■ Self_Priority_Function_Param=name of the cost of downtime priority mapping group (a mapping group is made of a varying number of BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING instances sharing the same name)

How the cost method calculates priority

Each component has two cost values:

■ the During Schedule cost, which is the cost assigned to the component during the peak hours of its schedule. This value is stored in the ImpactCostPerSec slot.

■ the Off Schedule cost, which is the cost assigned to the component during the hours that are not critical for its operation. This value is stored in the ImpactCostPerSecOut slot.

Depending on whether the component is in the During Schedule or Off Schedule timeframe, the cell copies one or the other of these values to the slot cost.

The cost method first checks to determine if the component is down as specified by the down time definition in SIM_DOWNTIME_STATUS.

If the cost status is less than the SIM_DOWNTIME_STATUS, then the component is not considered to be down, and its self priority is set the lowest priority (PRIORITY_5). Otherwise, the BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING table is used to determine the self_priority value as follows:

Let c be the cost of the component and n be the name of a mapping stored in the SelfPriorityFunctionParam slot of the component.

BMC_PUBLISH_DATA_CLASS :BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING ISA BMC_SIM_DATADEFINES {name: STRING, key=yes;cost: REAL;self_priority : MC_PRIORITY, key=yes;};END

Chapter 7 Component and relationship status propagation 185

Page 186: Service Model

Self priority

If there is an instance i in this table with

■ name = n■ cost = costi

■ self_priority = priorityi

■ such that costi < c

and there is no other instance j with

■ such that costj > costi and costj < c

then the self_priority of the component is set to priorityi.

If there is no such instance, the self_priority of the component is set to the lowest priority (PRIORITY_5).

The status enumeration values for the cost method are stored in the SIM_DOWNTIME_STATUS_CONFIG table in the mc_sm_root.baroc file of each cell.

Figure 24 Cost priority method of priority determination

Cost method example

In this example, the SelfPriorityFunction of the component definition is set equal to COST and the name of the mapping value is test_cost.

186 BMC Impact Solutions: Service Model Administrator’s Guide

Page 187: Service Model

Self priority

This series of mapping table examples associate different cost values with corresponding self_priority values in ascending order, with 4 as the least severe and 1 as the most severe.

Based on the sample test_cost mapping table, if the status is UNAVAILABLE (or at least greater than or equal to the SIM_DOWNTIME_STATUS) then

■ during schedule the cost is 5.0 and self_priority maps to PRIORITY_2■ off schedule the cost is 1.0 and self_priority maps to PRIORITY_4

BMC_System;mc_udid=comp_r3_c2;Name=comp_r3_c2;SelfPriorityFunction=COST;SelfPriorityFunctionParam=test_cost;PriorityWatchdog=YES;ImpactCostPerSec=5.0;ImpactCostPerSecOut=1.0;END

BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING;name=test_cost;cost=1;self_priority=PRIORITY_4;END

BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING;name=test_cost;cost=2;self_priority=PRIORITY_3;END

BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING;name=test_cost;cost=5;self_priority=PRIORITY_2;END

BMC_COST_OF_DOWNTIME_PRIORITY_MAPPING;name=test_cost;cost=10;self_priority=PRIORITY_1;END

Chapter 7 Component and relationship status propagation 187

Page 188: Service Model

Self priority

Worst SLA state method

The worst SLA state method determines priority based on the Service Level Agreement (SLA) for a component. Each SLA is tracked separately within a specified time period, such as daily or weekly. The SLA states are rolled up for the specified period and the worst SLA state is given priority. The rolled up SLA states are stored in the sla_rollup_status slot. Possible SLA states are:

■ NO_SLAS■ COMPLIANT■ AT_RISK■ BREACHED

The SLA state for each component is assigned by BMC Service Level Management.

Creating a BMC_WORST_SLA_STATE_PRIORITY_MAPPING instance

When you create an instance of the BMC_WORST_SLA_STATE_PRIORITY_MAPPING, you specify the sla_state parameter as belonging to the enumeration type MC_SM_SLM_SLA_STATUS as shown:

The enumeration MC_SM_SLM_SLA_STATUS is defined as follows:

NOTE The worst SLA state method can be used only if you are using the BMC Service Level Management product.

NOTE The sla_rollup_status of a component is always computed if there is at least one service target associated to that component, whether or not the worst SLA method is used to determine the self priority of that component.

MC_PUBLISH_DATA_CLASS :BMC_WORST_SLA_STATE_PRIORITY_MAPPING ISA BMC_SIM_DATADEFINES {name: STRING, key=yes;sla_state: MC_SM_SLM_SLA_STATUS;self_priority : MC_PRIORITY, key=yes;};END

ENUMERATION MC_SM_SLM_SLA_STATUS0 NO_SLAS10 COMPLIANT20 AT_RISK30 BREACHEDEND

188 BMC Impact Solutions: Service Model Administrator’s Guide

Page 189: Service Model

Self priority

Enabling the worst SLA state method

To enable the cost method, you must modify the following slots in the MC_SM_COMPONENT class:

■ Self_Priority_Function=WORST_SLA_STATE

■ Self_Priority_Function_Param=name of the worst SLA state priority mapping group (a mapping group is made up of a varying number of BMC_WORST_SLA_STATE_PRIORITY_MAPPING instances sharing the same name)

How the worst SLA state method calculates priority

To use the cost method to determine priority of a component, set its SelfPriorityFunction slot to the value WORST_SLA_STATE.

The worst SLA state method first determines if the component is down according to the down time definition in SIM_DOWNTIME_STATUS_CONFIG.

If the cost status is less than the SIM_DOWNTIME_STATUS, then the component is not considered to be down, and its self priority is set the lowest priority (PRIORITY_5). Otherwise, the BMC_WORST_SLA_STATE_PRIORITY_MAPPING BAROC table is used to determine the self_priority value as follows:

Let s be the value stored in the sla_rollup_status slot of the component and n be the name of a mapping stored in the SelfPriorityFunctionParam slot of the component.

If there is an instance i in this table with

■ name = n■ sla_state = s■ self_priority = p

then the self_priority of the component is set to p.

If there is no such instance, the self_priority of the component is set to the lowest priority (PRIORITY_5).

The status enumeration values for the worst SLA state method are stored in the SIM_DOWNTIME_STATUS_CONFIG table in the mc_sm_root.baroc file of each cell.

Chapter 7 Component and relationship status propagation 189

Page 190: Service Model

Self priority

Figure 25 Worst SLA method of priority determination

Worst SLA state method example

This series of mapping table examples associate different sla_state values with corresponding self_priority values arranged in ascending order. In this example, 5 is the least severe and 2 indicates a greater severity.

BMC_WORST_SLA_STATE_PRIORITY_MAPPING;name=test_sla;sla_state=NO_SLAS;self_priority=PRIORITY_5;END

BMC_WORST_SLA_STATE_PRIORITY_MAPPING;name=test_sla;sla_state=COMPLIANT;self_priority=PRIORITY_5;END

BMC_WORST_SLA_STATE_PRIORITY_MAPPING;name=test_sla;sla_state=AT_RISK;self_priority=PRIORITY_2;END

BMC_WORST_SLA_STATE_PRIORITY_MAPPING;name=test_sla;sla_state=BREACHED;self_priority=PRIORITY_1;END

190 BMC Impact Solutions: Service Model Administrator’s Guide

Page 191: Service Model

Impacts priority

In this example, the Self_Priority_Function of the component definition is set equal to WORST_SLA_STATE and the name of the mapping value is test_sla.

Impacts priority

The impacts priority of a component reflects the urgency of resolving a problem based on the components it impacts.

The impacts priority is based on the components it is impacting that are marked as priority propagators. A component which is a priority propagator can be considered an “important” component in that a priority propagator sends its self priority value back to its causal component, which can have the result that the causal component’s problem is considered a more urgent problem than it would have been otherwise.

Thus, the impacts priority is a dynamic value which changes as the self-priorities of the impacted components change.

Figure 26 Impacts priority determination

BMC_System;mc_udid=compx;Name=compx;SelfPriorityFunction=WORST_SLA_STATE;SelfPriorityFunctionParam=test_slaPriorityWatchdog=YES;END

Chapter 7 Component and relationship status propagation 191

Page 192: Service Model

Determination of final priority

Determination of final priority

The final priority of a component is the highest value between the self priority and impacts priority, as illustrated in Figure 27 on page 193.

192 BMC Impact Solutions: Service Model Administrator’s Guide

Page 193: Service Model

Determination of final priority

Figure 27 Final priority determination

Chapter 7 Component and relationship status propagation 193

Page 194: Service Model

How cost impact is calculated

How cost impact is calculated

The cell propagates the cost of important components to their root causes (causal components). Root cause components aggregate the cost of all their impacted important components by summing their cost into the impact_cost slot.

How SLA impact is calculated

The cell propagates the sla_rollup_status of important components to their root causes (causal components). Root cause components aggregate the sla_rollup_status of all their impacted important components by propagating the highest value into the impact_sla_rollup_status slot.

NOTE If the cost and sla_rollup_status data are available for an important service component, then these values are always propagated downward to the impact_cost and impact_sla_rollup_status slots of its causal component(s), even if the corresponding cost or worst SLA method is not used to determine the self priority of that important service component.

194 BMC Impact Solutions: Service Model Administrator’s Guide

Page 195: Service Model

C h a p t e r 8

8 Managing BMC Impact Service Model Editor

Service Management administration is performed in large part within BMC Impact Service Model Editor and its supporting data classes, with some administration also being done in the BMC Impact Portal.

Administration includes managing all user access to information contained in the service model. Access control is managed in the service model through individual component instances. Each component has a ReadSecurity and WriteSecurity set of attributes, and each attribute can be associated with a user group that can be assigned either read or write access to a component.

Additional user control functions in BMC Impact Service Model Editor include console navigation trees, which impose a structure on the organization of service management information, control folder-level rights, and pass this information to the BMC Impact Portal.

This chapter includes the following topics:

Setting BMC Impact Service Model Editor options . . . . . . . . . . . . . . . . . . . . . . . . . . . 196Configuring the topology view in BMC Impact Service Model Editor . . . . . . . . . . . 200Configuring the topology view in BMC Impact Service Model Editor . . . . . . . . . . . 200Using a firewall with BMC Impact Service Model Editor . . . . . . . . . . . . . . . . . . . . . . 201Adding new classes to the BMC Atrium CMDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202

Making your changes visible to applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202Creating a new service model component class in the BMC Atrium CMDB. . . 203Associating a custom icon with a service model component . . . . . . . . . . . . . . . . 204Documenting your extensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207

smeserver properties file and parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208

Chapter 8 Managing BMC Impact Service Model Editor 195

Page 196: Service Model

Setting BMC Impact Service Model Editor options

Setting BMC Impact Service Model Editor options

The Options command offers numerous configuration settings for user-specific definition as well as global options and is available to any user with access to BMC Impact Service Model Editor.

Personal options

Personal options settings are unique to the user. The values specified here are specific to the user and are reapplied when the user logs into BMC Impact Service Model Editor on any computer. The options settings are saved on BMC Impact Service Model Editor server. Options that you can change include icon colors and label styles, line styles, regional preferences, View appearance, copy/paste settings, and log file preferences.

All personal options are available by choosing Tools => Personal Options.

To define component instance icon colors and label styles

1 From the menu bar, choose Tools => Personal Options.

2 On the Components tab, in the Component icon area, choose a drawing mode. Drawing mode affects how the component instance looks when it is being moved.

■ Ghost results in a simple rectangular border.■ Opaque results in the component being fully drawn.

3 In the Selection Background Color list, choose a background color for the component instance icon when the component instance is selected.

4 In the Active Border Color list, choose a color for the border of the component instance icon when the mouse cursor is over it.

5 In the Component Label area,

■ choose a font, type size, color, and style for the label that names the component instance icon.

■ in the Maximum Number of Characters to Display box, choose a number that limits the number of characters to display for component instance name labels. If a component name is longer that the maximum number of characters, the name is truncated. This value applies to every component instance in every View.

196 BMC Impact Solutions: Service Model Administrator’s Guide

Page 197: Service Model

Setting BMC Impact Service Model Editor options

To define line styles for relationships

1 From the menu bar, choose Tools => Personal Options.

2 On the Relationships tab, in the Relationship Type pane, select the relationship type that you want to change.

3 In the Line Color list, choose a predefined color or set a custom color for the line.

4 In Line Style list, select one of the predefined line styles or create a custom line style.

To create a custom line style, enter numbers separated by commas, which alternately define the length of the visible/invisible line segments. For example: 9,3,1,3 creates a repeating line pattern with 9 solid units, 3 invisible units, 1 solid unit, and 3 invisible units.

5 In the Line Weight list, choose a predefined line weight or define a custom line weight by entering a decimal number (between 0.01 and 5.0) that defines the width of the line. For example, a weight of 2.0 creates a line that is twice as thick as one with a weight of 1.0.

To set regional preferences

1 From the menu bar, choose Tools => Personal Options.

2 On the Regional Settings tab, in the Locale area, choose the option that works best in your environment.

The Use Country/Region Specified in BMC Portal User Account option uses the locale specified when BMC Portal was registered as a user.

3 In the Date Format and Time Format areas, choose a format for each.

For the Time Format, the Long and Full options appear the same in English, but may be different in other languages.

TIP When a View is open, you can see a legend of line styles by choosing Window => Legend.

Chapter 8 Managing BMC Impact Service Model Editor 197

Page 198: Service Model

Setting BMC Impact Service Model Editor options

To set View appearance options

1 From the menu bar, choose Tools => Personal Options.

2 On the Appearance tab, in the Production/Sandbox View Background Color list, choose a color for the production and sandbox View background.

3 In the Test View Background Color list, choose a color for the test View background.

4 In the Desktop Background Color list, choose a color for the right pane of BMC Impact Service Model Editor before a View is opened.

5 For the Show Tooltips check box,

■ clear this check box to not see tooltips, or

■ enter values (in milliseconds) for the Initial Delay, Dismiss Delay, and Reshow Delay.

6 For the Show Embedded Help Text check box, clear this check box to not display paragraph-style instances of Help text that appear in some dialog boxes.

To set copy/paste and miscellaneous options

1 From the menu bar, choose Tools => Personal Options.

2 On the Other tab, in the Copy/Paste area, select the appropriate copy/paste options for renaming copied component instances. This tab also controls the Paste Multiple Components dialog box; see “To copy component instances” on page 87.

3 In the Miscellaneous area, for the Load Saved Views at Login check box, options are defined as follows:

■ check box selected: data for all Views is loaded into memory when you log into BMC Impact Service Model Editor

■ check box cleared: data for a View is loaded into memory only when you open that specific View.

4 For the Use Live Server Data During Selection check box, options are defined as follows:

■ check box selected: as each component is selected in the View, the data is retrieved again from the BMC Atrium CMDB.

■ check box cleared: data for all the components in a View is retrieved from the BMC Atrium CMDB when the View is opened. Data for an individual component may become outdated.

198 BMC Impact Solutions: Service Model Administrator’s Guide

Page 199: Service Model

Setting BMC Impact Service Model Editor options

5 For the Show Duplicate Component Dialog checkbox, the dialog box displays when you use the Find command and want to place found objects in a View (by dragging or clicking Place in Selected View) that already has contains the objects:

■ checkbox selected: dialog box displays■ checkbox cleared: dialog box does not display; there is no alert that you are

duplicating objects in the View

To set log file preferences

1 From the menu bar, choose Tools => Personal Options.

2 In the Logging tab, set the level of log information you need on the client computer.

Logging becomes more detailed as you go from the top of column one to the bottom of column one, then to the top of column two to the bottom of column two. The most detailed log selection is All.

The more detailed the log is, the more disk space is used.

3 In the Buffer Size box, enter the maximum number of log messages you want to save in memory.

This is a first in, first out buffer; when the maximum number of messages is reached, the oldest message is deleted when a new one is added.

4 In the Log Files area, select options for saving log files on the client computer.

You can specify a directory to save the files in, but the file name bmc_sme_integer_log# is generated by BMC Impact Service Model Editor.

The first file saved is numbered 0; subsequent logs increment by one. When the number of log files saved reaches the value in the Number of Log Files box, the count starts again at zero and the existing files with the same name are written over.

Global options

To set component instance self-priorities when in a given status, select Tools => Options => Global Options.

NOTE Whichever setting is selected, when you open the Edit Component or Edit Relationship dialog boxes, the latest information is always retrieved from the BMC Atrium CMDB.

Chapter 8 Managing BMC Impact Service Model Editor 199

Page 200: Service Model

Configuring the topology view in BMC Impact Service Model Editor

For more information on Service Schedules, see “Service schedules” on page 62.

To edit service schedule self-priorities

1 In the Options - Global dialog box, in the Base Priority/Status table, select the appropriate status level (1-5) for each base priority/status level.

2 In the Impacts Priority Calculation Method, choose the calculation method for the component.

3 In the Default Component Types that Propagate Priority box, enter the classes of components that will have a default value of Propagate Priority=Yes. Separate the class names by commas.

4 Click OK to save your changes.

For more information, see Chapter 7, “Component and relationship status propagation.”

Configuring the topology view in BMC Impact Service Model Editor

You can set the type of topology views displayed by BMC Impact Service Model Editor in the ..\smsIwc\application.properties file using the com.bmc.sms.sme.topoviews parameter. This parameter has a comma-delimited list of the supported topology views. For example, the default is shown in Figure 28.

Each item in the list has two functions:

■ It is a resource key to a localized name (that can appear in the user interface). The localized name is defined in the sme_messages.properties file for the appropriate locale.

■ It is the base key for the definition of the topology view.

NOTE If you change the self-priority of the component for an Other status, the self-priority values are automatically changed for the statuses of INFO, UNKNOWN, and BLACKOUT.

Figure 28 Default value for com.bmc.sms.sme.topoviews parameter

com.bmc.sms.sme.topoviews=com.bmc.sms.sme.topo.application,com.bmc.sms.sme.topo.non.impact

200 BMC Impact Solutions: Service Model Administrator’s Guide

Page 201: Service Model

Using a firewall with BMC Impact Service Model Editor

Each base key is appended with an integer (for as many as needed) that defines a graph to traverse for the topology view.

The general format of a graph definition is shown in Figure 29.

For example, for a graph type whose key is com.bmc.sms.sme.topo.application, the following graph entries could be defined as shown in Figure 30.

A graph definition can include as many types as desired, but it must always begin and end with a component type. For example:

Using a firewall with BMC Impact Service Model Editor

If your environment contains a firewall between the BMC Impact Service Model Editor client and BMC Impact Service Model Editor server (with http port open), the BMC Impact Service Model Editor Client will fail unless ports 9378 and 9386 are opened in the firewall.

Figure 29 Graph definition format

<ComponentType>.<RelationshipType>.<ComponentType>

Figure 30 Example of a graph definition

com.bmc.sms.sme.topo.application.1=BMC_BaseElement.BMC_Component.BMC_BaseElementcom.bmc.sms.sme.topo.application.2=BMC_BaseElement.BMC_MemberOf.BMC_BaseElement

BMC_BaseElement.BMC_Impact.BMC_BaseElement

Chapter 8 Managing BMC Impact Service Model Editor 201

Page 202: Service Model

Adding new classes to the BMC Atrium CMDB

Adding new classes to the BMC Atrium CMDBThis section contains information about adding new classes and attributes to your data model.

Making your changes visible to applications

When you add classes and attributes to your data model, they are not automatically picked up by BMC Software products that use the BMC Atrium CMDB, such as BMC Impact Solutions products or BMC Remedy Asset Management. You must modify new classes and attributes so they can be used with these applications.

BMC Remedy AR System applications

Some BMC Remedy AR System applications, such as BMC Remedy Asset Management, maintain their own set of join forms for viewing and modifying BMC Atrium CMDB instance data. The BMC Atrium CMDB now has the ability to generate attribute fields for such an application and arrange the fields according to view templates specified by the application. For information about using this feature, see the BMC Atrium CMDB 2.0.1 Installation and Configuration Guide.

BMC Impact Solutions

While updating BMC Impact Solutions to use new classes and attributes, note the following information about classes:

■ Classes with the custom qualifier 100050 are SIM-enabled classes. Instances with this property are pushed by the BMC Impact Publishing Server to the cells.

■ SIM-enabled class definitions in the BMC Atrium CMDB and the class definitions in the BMC Impact Manager cell must match. For more information, see “Exporting class definitions from the BMC Atrium CMDB to a cells” on page 142.

■ For your new class to be a service model component class, not only does the new class need to be SIM-enabled (having the class custom qualifier value of 100050), its superclasses, whether concrete or abstract, up to the root class (such as BMC:BaseElement, BMC:BaseRelationship) must be SIM-enabled as well.

■ BMC Impact Service Model Editor filters out abstract classes.■ The new class inherits the attributes of its superclass.

Note the following information about attributes:

■ SIM-enabled attributes have the custom qualifier 300050.■ BMC Impact Publishing Server pushes attribute values to the cells.

202 BMC Impact Solutions: Service Model Administrator’s Guide

Page 203: Service Model

Creating a new service model component class in the BMC Atrium CMDB

Perform the following steps to update BMC Impact Solutions to use new classes and attributes:

1 Using the Class Manager, add these custom qualifiers to the new classes and attributes:

■ Classes: 1\100050\2\1\

■ SMEReadWrite attributes: 2\300050\2\1\300070\2\1\

■ SMEReadOnly attributes: 2\300050\2\1\300080\2\1\

For instructions on this step, see “Creating a new service model component class in the BMC Atrium CMDB” on page 203.

2 Add custom icons for new classes.

For instructions on this step, see “Associating a custom icon with a service model component” on page 204.

3 From BMC Impact Service Model Editor, export cell metadata, import the resulting file into the cell’s Knowledge Base, and recompile the cell.

For instructions on this step, see “Exporting and importing service model data” on page 141 and BMC Impact Solutions: Knowledge Base Development.

Creating a new service model component class in the BMC Atrium CMDB

This section contains steps for creating a new service model component class.

To create a new service model component class in the BMC Atrium CMDB

1 Use the BMC Atrium CMDB Class Manager to create a new CI class. For instructions, see “Modifying the Data Model” in the BMC Atrium CMDB 2.0.1 Installation and Configuration Guide.

2 Assign the class to the namespace.It is advised not to add new classes to BMC.CORE or BMC.SIM. User userName should use namespace userName.

3 Select the service model component superclass to which you want to assign the new service model component class. SIM-enabled classes are listed in “Service model and the Common Data Model” on page 66.

Chapter 8 Managing BMC Impact Service Model Editor 203

Page 204: Service Model

Associating a custom icon with a service model component

4 Specify the Custom Qualifier 1\100050\2\1\ in the General tab.

5 Click Save.

All superclasses of a SIM class, up to BMC_BaseElement, need to be SIM classes, regardless if they are abstract or concrete.

Associating a custom icon with a service model component

The BMC Impact Service Model Editor, BMC Impact Portal, and BMC Impact Explorer Services views utilize icons to represent service model components. Each component type in BMC Impact Service Model Editor is associated with an icon, which you can view in the Templates dockable window. For a list of default service model component icons, see “Service model component types” on page 47.

When you create a new component type by adding a new class to the BMC Atrium CMDB, associate an icon with the new component.

To associate an icon with a service model component class

When adding a custom icon to a newly created class, follow this sequence for initializing the new data and synchronizing the class definition with those in the SIM KB of the target cell or cells.

1 Create a new class in the BMC Atrium CMDB. For instructions, see “Adding new classes to the BMC Atrium CMDB” on page 202.

2 Create a set of the three different-sized icons for the new class, and save them using the file naming convention className_size.ext. See “Guidelines for associating a custom icon with a service model component class” on page 206.

3 Store an identical set of the three icon files—each file in the set designating a different pixel size—under each of the three specified subfolders on the system where the BMC Portal application server is running. See “Guidelines for associating a custom icon with a service model component class” on page 206.

4 Associate the icon with the service model component class by performing the following actions:

NOTE Icons must be in .gif format. The .gif format is the only supported file type for icons.

204 BMC Impact Solutions: Service Model Administrator’s Guide

Page 205: Service Model

Associating a custom icon with a service model component

A Edit the component_icon.properties file. By default, the component_icon.properties file is located in the following directory path:

■ Solaris—%BMC_Portal_Kit_Home%\appserver\websdk\tools\jboss\server\all\conf\properties\smsConsoleServer\

■ Windows—%BMC_Portal_Kit_Home%\appserver\websdk\tools\jboss\server\all\conf\properties\smsConsoleServer\

B Add the following to the component_icon.properties file:

Replace ClassName with the name of the new class you defined in the BMC Atrium CMDB and IconFileClassName with the prefix you used to name the three icon files (className_size.ext).

C Save the component_icon.properties file.

5 Restart the BMC Impact Administration Server.

6 Restart the BMC Portal application server and all BMC Impact Service Model Editor client instances.

7 Refresh BMC Impact Service Model Editor templates by using Tools => Refresh Component Types.

8 Synchronize the new service model class definitions with the SIM KB. For instructions see “Exporting and importing service model data” on page 141.

9 Create the new class definition in BAROC format by using Tools => Export Cell Meta Data. The file that is created is named mc_sm_object.baroc.

After you convert the class definition to BAROC format, you make it available to the SIM KB of the target cell or cells.

10 Manually copy the mc_sm_object.baroc file to the destination directory of the target cell or cells.

By default, the mc_sm_object.baroc file is located in the following directory path:

■ Solaris—$MCELL_HOME/etc/CellName/kb/classes

■ Windows—%MCELL_HOME%\etc\CellName\kb\classes

sms.component.icon.ClassName=IconFileClassName

Chapter 8 Managing BMC Impact Service Model Editor 205

Page 206: Service Model

Associating a custom icon with a service model component

11 Recompile each cell’s KB by using the mccomp -v manifest.kb command.

12 Restart the cell or cells.

Guidelines for associating a custom icon with a service model component class

Follow these guidelines when adding and associating custom icons with service model component classes:

■ BMC Impact Service Model Editor and BMC Impact Portal accept three sets of pixel sizes for the component icons: 16 x 16, 32 x 32, and 128 x 128.

■ For each custom class that you create, you must include three sets of identical icons, each set using the three different pixel sizes: 16 x 16, 32 x 32, and 128 x 128. Use .gif format only.

For example, set one contains three identical icons of 16 x 16, 32 x 32, and 128 x 128 pixels; set two contains the same three icons of 16 x 16, 32 x 32, and 128 x 128 pixels, and so forth.

■ Name each custom icon using the same name as the custom class it represents. Follow this naming convention:

className is the name of the custom class you created. size refers to the pixel sizes 16, 32, and 128. gif is the file extension and is required. For example, if you created a custom class named BMC_ABCServer, you would create three corresponding custom icons named as follows:

— BMC_ABCServer_16.gif

— BMC_ABCServer_32.gif

— BMC_ABCServer_128.gif

■ Save a set of the three different-sized custom icons to each of the following three subdirectories under the BMC_Portal_Kit_Home installation directory. You can find these directories on the system where the BMC Portal application server is installed.

On Windows, the directories are located as follows:

— %BMC_Portal_Kit_Home%\appserver\websdk\tools\jboss\server\all\modules\smsSme.sar\smsSme.war\images

— %BMC_Portal_Kit_Home%\appserver\websdk\tools\jboss\server\all\data\smsConsoleServer\Image\Icon\objects

className_size.gif

206 BMC Impact Solutions: Service Model Administrator’s Guide

Page 207: Service Model

Documenting your extensions

NOTE: You must create the objects subdirectory in the path above and save the icons there.

— %BMC_Portal_Kit_Home%\appserver\websdk\tools\jboss\server\all\modules\smsConsoleServer.sar\smsConsoleServer.war\images\objects

On Solaris, the directory are located as follows:

— $BMC_Portal_Kit_Home/appserver/websdk/tools/jboss/server/all/modules/smsSme.sar/smsSme.war/images

— $BMC_Portal_Kit_Home/appserver/websdk/tools/jboss/server/all/data/smsConsoleServer/Image/Icon

— $BMC_Portal_Kit_Home/appserver/websdk/tools/jboss/server/all/modules/smsConsoleServer.sar/smsConsoleServer.war/images/objects

By saving an identical set of the three different-sized icon files to each of the subdirectories, you are making them available to both BMC Impact Service Model Editor, BMC Impact Portal, and BMC Impact Explorer Services View.

Default icon when no match is found

When retrieving component icons, BMC Impact Service Model Editor first searches its local repository for the icons shipped with the product. If the matching icons are not found, it next searches the images subfolder. If no match is found, BMC Impact Service Model Editor uses the default icon Unknown_16.png, Unknown_32.png, or Unknown_128.png.

Figure 31 BMC_BaseElement default icon image

Documenting your extensions

Just as you need to occasionally look up information about classes in the CDM, you will need to look up information about classes you create. One easy way to document a class is to copy one of the existing HTML files in CMDBInstallationFolder\sdk\doc\cdm and modify it to fit your class. If you copy the help file for a class with the same superclass as your class, you won’t need to change the information about inherited attributes and relationships.

After creating your HTML help files, be sure to make a backup copy of them in a separate location so that they won’t be overwritten when you install a future version of the BMC Atrium CMDB.

Chapter 8 Managing BMC Impact Service Model Editor 207

Page 208: Service Model

smeserver properties file and parameters

smeserver properties file and parametersTable 42 describes the smeserver.properties file and its parameters.

Table 42 smeserver.properties file

Filename smeserver.properties

File pathBMC_PORTAL_KIT_HOME/appserver/webskd/tools/jboss/server/all/conf/properties/smsSme

Description contains all the user configurable BMC Impact Service Model Editor properties

Parameter name Description Default value

com.bmc.sms.sme.server.cmdbservice.precache.componenttypes

sets whether the precache applet is run to request component types from the BMC Atrium CMDB

true

com.bmc.sms.sme.server.cmdb.find.result.limit

if defined, sets the number (integer) of component instances retrieved as a result of the Find command

undefined; no limit

com.bmc.sms.sme.server.tmpdir

sets the temp directory of the BMC Impact Service Model Editor server

undefined; default temp directory is JBOSS_HOME/ server/all/tmp/ sme

com.bmc.sms.sme.server.publish.queue.requests

sets the name for the BMC Impact Publishing Server request queue

ps_requests

com.bmc.sms.sme.server.publish.queue.response

sets the name for the BMC Impact Publishing Server response queue

ps_response

com.bmc.sms.sme.server.publish.topic.publish.status.change

sets the name for the BMC Impact Publishing Server notification topic

ps_notifications

com.bmc.sms.sme.server.publish.controller.name

sets the Java Management Extensions (JMX) name for the publishing controller component of the BMC Impact Publishing Server

com.bmc.sms. sme.server: name=PublishServiceController

com.bmc.sms.sme.lsp.manager defines the JMX name of the last successful Publishing Manager

com.bmc.sms. consoleserver: name=LastPublishManager

com.bmc.sms.sme.server.publish.response.timeout

sets the timeout value (the number of seconds to wait) for reception of BMC Impact Publishing Server responses

60 seconds

com.bmc.sms.sme.server.publish.extended.response.timeout

sets the timeout value (the number of seconds to wait) for reception of BMC Impact Publishing Server extended responses

3600 seconds

com.bmc.sms.sme.server.promotion.timeout

sets the timeout, in seconds, for the Reconciliation Engine to reconcile objects into production

3600000 seconds

208 BMC Impact Solutions: Service Model Administrator’s Guide

Page 209: Service Model

smeserver properties file and parameters

If you edit any of these configuration files manually, you must restart the BMC Portal service or daemon for the changes to take effect. If you have edited any of the BMC Impact Publishing Server configuration files, you must restart the BMC Impact Publishing Server service or daemon also.

com.bmc.sms.sme.server.promotion.wait.time

sets the amount of time to wait before checking the status on a reconciliation job

1000 seconds

com.bmc.sms.sme.publish.preview.enable

enables (true) or disables (false) publishing previews true

com.bmc.sms.sme.date.format sets the date format for the BMC Impact Service Model Editor

HH:mm:ss z MM/dd/yyyy

com.bmc.sms.sme.server.export.datasetid

defines the dataset (using dataset ID) to use for service model exports

BMC.ASSET

com.bmc.sms.sme.cmdb.ping sets the polling interval, in seconds, for pinging the BMC Atrium CMDB to ensure that it is available

60 seconds

com.bmc.sms.sme.localized.classes.dir

defines the base directory used under SDK_HOME/tools/jboss/server/all/conf/resources/locale/classesdir to retrieve localized server resources for class names and attributes

smsConsoleServer

com.bmc.sms.sme.kb.info.resources

lists the names of property files that contain localized classes and attributes.

You can define custom files and add them to the list. The files are loaded in the order listed and the files loaded later override settings in files loaded earlier. The files listed must exist in the SDK_HOME/tools/jboss/server/all/conf/resources/locale/classesdir

kb_deprecated_resource. properties,kb_core_resource. properties

com.bmc.sms.sme.topoviews defines a comma-delimited list of supported topology views. Each element in the list has two functions:

■ It is a resource key for a localized name (suitable for the UI).

■ It is the base key for the definition of the topology view. Each key is appended with an integer (for as many as needed) that defines a graph to traverse for the topology view.

See smeserver. properties file for current default values.

Table 42 smeserver.properties file

Chapter 8 Managing BMC Impact Service Model Editor 209

Page 210: Service Model

smeserver properties file and parameters

210 BMC Impact Solutions: Service Model Administrator’s Guide

Page 211: Service Model

C h a p t e r 9

9 Managing BMC Impact Publishing Server

After you create a service model, the service model data must be delivered from the BMC Atrium CMDB or the pposter source files to the cells. The process of distributing SIM data from the source to the cells is managed and controlled by the BMC Impact Publishing Server component of BMC Impact Solutions.

This chapter provides information on managing the BMC Impact Publishing Server and contains these topics:

Starting and stopping the BMC Impact Publishing Server . . . . . . . . . . . . . . . . . . . . . 212Starting and stopping BMC Impact Publishing Server on Windows . . . . . . . . . 212Starting and stopping BMC Impact Publishing Server on UNIX. . . . . . . . . . . . . 214

Working with publication logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215Viewing publication history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215Viewing publication history details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216

Specifying a port for Service Model Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217High availability and BMC Impact Publishing Server . . . . . . . . . . . . . . . . . . . . . . . . . 217Monitoring BMC Impact Publishing Server with BMC Impact Manager events. . . 218

Modifying the generation of events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218Understanding classes and slots for BMC Impact Publishing Server events . . . 220

About SIM management data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228Understanding publish environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229

About publish environments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230About home cell, home cell alias, and cell alias . . . . . . . . . . . . . . . . . . . . . . . . . . . 231

Publishing from the BMC Atrium CMDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232Enabling AtriumCMDB Publish publishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232Using BMC Impact Service Model Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233Creating advanced publish environments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236Examples of advanced environments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237Defining BMC Atrium CMDB classes for SIM . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239Defining BMC Atrium CMDB attributes for SIM . . . . . . . . . . . . . . . . . . . . . . . . . . 239ServiceModelSet attribute for components and management data . . . . . . . . . . . 240ServiceModelSet attribute for impact relationships . . . . . . . . . . . . . . . . . . . . . . . . 241Initializing the BMC Atrium CMDB with SIM data. . . . . . . . . . . . . . . . . . . . . . . . 241

Chapter 9 Managing BMC Impact Publishing Server 211

Page 212: Service Model

Starting and stopping the BMC Impact Publishing Server

Initializing a cell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246Example—creating SIM data in BMC Atrium CMDB from BAROC files . . . . . . 248Purging and deleting service model objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249Publishing in automated or manual mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250

Publishing from a Direct Publish source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252About home cell and cell alias . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 253About class and slot data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255Enabling Direct Publish publishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255Creating an environment for SIM management data . . . . . . . . . . . . . . . . . . . . . . . 256Publishing SIM management data from exclusive environment . . . . . . . . . . . . . 256Creating an environment for component instances and relationships . . . . . . . . 257Modifying home cell and cell aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257Initializing a cell from a Direct Publish environment. . . . . . . . . . . . . . . . . . . . . . . 258Examples—using cell aliases for Direct Publish publishing . . . . . . . . . . . . . . . . . 258

Securing publish environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260pserver.conf file and parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262Configuring the Notify ARDBC plug-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266

Starting and stopping the BMC Impact Publishing Server

BMC Impact Publishing Server is installed in the MCELL_HOME directory. It runs as a service (or process). Clients, such as the BMC Impact Service Model Editor and command line interfaces (CLIs) communicate with BMC Impact Publishing Server by using the Java Messaging Service (JMS) of the BMC Impact Portal.

Starting and stopping BMC Impact Publishing Server on Windows

The installation process creates a service named BMC Impact Publishing Server ps_hostName with Startup type Automatic. When the computer is rebooted, the BMC Impact Publishing Server ps_hostName service is automatically started. The service also starts automatically after installation.

To start the BMC Impact Publishing Server on Windows platforms by using services

1 Open the Services window by choosing Start => Settings => Control Panel => Administrative Tools => Services.

2 Select BMC Impact Publishing Server ps_hostName.

212 BMC Impact Solutions: Service Model Administrator’s Guide

Page 213: Service Model

Starting and stopping BMC Impact Publishing Server on Windows

3 Click Start Service.

To start the BMC Impact Publishing Server on Windows platforms by using the net start command

1 Select Start => Programs => Command Prompt.

2 Enter the following command: net start "BMC Impact Publishing Server ps_hostName"

To start the BMC Impact Publishing Server from a command prompt

1 Select Start => Programs => Command Prompt.

2 Enter the following command: pserver

This command defaults to pserver -b ps_hostName, so it starts BMC Impact Publishing Server ps_hostName.

On Windows only, pserver always runs in the foreground, so the -d option has no affect.

To stop the BMC Impact Publishing Server on Windows platforms by using services

1 Open the Services window by choosing Start => Settings => Control Panel => Administrative Tools => Services.

2 Select BMC Impact Publishing Server ps_hostName.

3 Click Stop Service.

To stop the BMC Impact Publishing Server on Windows platforms by using the net start command

1 Select Start => Programs => Command Prompt.

2 Enter the following command: net stop "BMC Impact Publishing Server ps_hostName"

Chapter 9 Managing BMC Impact Publishing Server 213

Page 214: Service Model

Starting and stopping BMC Impact Publishing Server on UNIX

To stop the BMC Impact Publishing Server from a command prompt

1 Select Start => Programs => Command Prompt.

2 Enter the following command:pscontrol stop

Starting and stopping BMC Impact Publishing Server on UNIX

The installation process creates the script BMCImpactPublishingServer in /etc/init.d. When you reboot the computer, the daemon BMCImpactPublishingServer automatically starts. After install, the daemon BMCImpactPublishingServer automatically starts.

To start the BMC Impact Publishing Server as a daemon on UNIX platforms

Execute the command: pserver

This command defaults to pserver -b ps_hostName

To start the BMC Impact Publishing Server in the foreground on UNIX platforms

Execute the command: pserver -d

which defaults to pserver -b ps_hostName -d

To stop the BMC Impact Publishing Server on Unix platforms

Execute the command: pscontrol stop

214 BMC Impact Solutions: Service Model Administrator’s Guide

Page 215: Service Model

Working with publication logs

Working with publication logsThis section contains general guidelines to remember when working with publication logs.

■ After you submit a promotion request in BMC Impact Service Model Editor, the promotion results dialog box reports only the success or failure of a promotion. It does not offer information about publication status. Detailed information about each publication is available in the request log files. A request log file exists for every publish request containing detailed information as to why publication failed and must be consulted to diagnose a publication failure.

■ All request logs are available in BMC Impact Service Model Editor's publish history.

■ Publish logs can also be retrieved by using the CLI command plog -s <requestId> | plogdisplay -@ (see “plog—Obtaining the XML log for a request” on page 304).

■ BMC recommends that you give every promotion a unique description because that makes it easier to locate a specific publish in the BMC Impact Service Model Editor’s publish history. Another way to find the correct publication in the publish history is to use the promotion ID.

■ BMC Impact Publishing Server includes detailed messages from the different products it communicates with (such as BMC Impact Portal, BMC Atrium CMDB, and BMC Impact Managers). To understand and troubleshoot these messages, consult the documentation of the product.

Viewing publication history

At any time, you can use the Promote and Publish History command in BMC Impact Service Model Editor to review publication information, including failures.

The Promote and Publish History command displays the status and date and time of requests. Information in the Publication errors section of the Publish tab can help you troubleshoot publication failures.

To view publication history

1 From the menu bar, choose Tools => Promote and Publish History.

2 To view publication details, select the Publish tab, then select the publication for which you want to see details in the Publication History table area.

The list of recent publications is in reverse chronological order, that is, the most recent is listed first.

Chapter 9 Managing BMC Impact Publishing Server 215

Page 216: Service Model

Viewing publication history details

Viewing publication history details

This section contains information on viewing publication history details.

To view publication history details

1 From the menu bar, choose Tools => Promote and Publish History.

The list of recent publications is in reverse chronological order, that is, the most recent is listed first.

By default, 100 publication log files are saved; when the 101st log is saved, the first log is deleted. All BMC Impact Publishing Server requests are counted (not only publish and initialization, but also classinfo (for example, export) requests).

You can change the RequestHistorySize parameter in pserver.conf to modify the default number of logs saved.

2 To view publication details, select the Publication tab, then select the publication for which you want to see details in the Publication History table area.

A On the Publication Details tab, review the detailed information for the publication you selected. Failures are displayed in red.

If the failure is the result of a particular component instance, the component type and component name are included. To open a View with the component instance, select the failure and click Open in New View.

B On the Publication Errors tab (available only if there were failures associated with the selected publication), review the failure information.

You can sort on any column and, if the column width limit truncates the text, the tooltip displays the complete text string.

C In the Recommended Action area, review the action to correct the problem with publish.

3 Click Close.

NOTE You can replace the action recommended by BMC Software, add to it, or modify it by editing the pslog_error_solutions.properties file located in the BMC_PORTAL_KIT_HOME\appserver\websdk\tools\jboss\server\all\conf\resources\en_US\smsConsoleServer directory on the server running BMC Portal.

216 BMC Impact Solutions: Service Model Administrator’s Guide

Page 217: Service Model

Specifying a port for Service Model Manager

Specifying a port for Service Model ManagerThe Service Model Manager (smmgr) is a service (or process) that is started by the cell to assist in publishing. When the service starts, it selects an available ephemeral port. You can configure it to listen on a fixed port so that the connection is not prevented when a random port crosses a firewall.

To specify a fixed port for Service Model Manager, in the file MCELL_HOME/etc/cellName/smmgr.conf, change the parameter ServerPort to a specific port number. The default value is 0, which means that any port number can be used. If the specified port is not available when Service Model Manager is started, start up fails.

High availability and BMC Impact Publishing Server

When a publish request is received by the BMC Impact Publishing Server component, the Publishing Server automatically connects to the active server (either primary or secondary) and publishes. To determine which server was active for a specific publish, look in the request log. For information about publishing logs, see “Working with publication logs” on page 126.

If neither the primary nor the secondary server is active, then the publish request fails. The request log indicates that neither server is active. If the active server goes down during a publish, then the publication fails. When a server is active again, you must manually re-execute the publish on the active server with the CLI publish command. For automated publications, there are default retrials, but if the specified number of retrials was executed while there was no active server, and a new retrial will not be executed after one of the servers becomes active, you must execute the publish command again. For information about the CLI command publish, see “publish—Publishing a service model or viewing instances to be published” on page 322.

Chapter 9 Managing BMC Impact Publishing Server 217

Page 218: Service Model

Monitoring BMC Impact Publishing Server with BMC Impact Manager events

Monitoring BMC Impact Publishing Server with BMC Impact Manager events

This section describes how to monitor the BMC Impact Publishing Server using BMC Impact Manager events. By default, the BMC Impact Publishing Server sends event information to the Impact Administration Cell (IAC). Users with Full Access and Service Administrator access can monitor the status of BMC Impact Publishing Server in BMC Impact Explorer on the Impact Administration Cell subtab. For the request, connection, and error events, see the Events tab. For more information about Impact Administration Cells, see BMC Impact Solutions: General Administration.

You can view all generated events in BMC IX on the Events tab in the collector "By Location - System - Publishing Server".

Also, the IAC creates ADMIN_EVENTs for the control events of BMC Impact Publishing Server, so you can view the status of the BMC Impact Publishing Server in the Infrastructure Management view of BMC IX.

If automated AtriumCMDB Publishing is enabled, you should monitor the publish requests to find publication failures.

Modifying the generation of events

The BMC Impact Publishing Server creates status, connection, and publish request information that describes the internal state of the BMC Impact Publishing Server and its connection to the BMC Atrium CMDB and BMC Impact Manager cells.

To modify the BMC Impact Publishing Server events sent to a cell, you make changes in configuration files. Table 43 describes the types of events with an example, the configuration file for each, and the location of the configuration file.

218 BMC Impact Solutions: Service Model Administrator’s Guide

Page 219: Service Model

Modifying the generation of events

To modify the generation of events

1 In the pserver.conf file, set the IPSEventsIM parameter to the name of the cell that will receive the events.

In the example, events are sent to the cell named cell.Admin (default Impact Administration Cell).

Table 43 BMC Impact Publishing Server event generation

Type of eventExample event message

Configuration file name

Configuration file location on the BMC Impact Manager computer

control—status events generated when BMC Impact Publishing Server starts or stops in a controlled way

BMC Impact Publishing Server started

pserver.conf MCELL_HOME/etc/ps_hostName/pserver.conf

or if this file does not exist, then MCELL_HOME/etc/pserver.conf

connection—events generated when the BMC Impact Publishing Server makes a connection with one of its surrounding components

serverName connection failure.

pserver.conf MCELL_HOME/etc/ps_hostName/pserver.conf

or if this file does not exist, then MCELL_HOME/etc/pserver.conf

request—events generated for every publish and classinfo request that is processed by Publishing Server

Class validation request failed.

pserver.conf MCELL_HOME/etc/ps_hostName/pserver.conf

or if this file does not exist, then MCELL_HOME/etc/pserver.conf

error—events that indicate there is a problem with the correct functioning of the BMC Impact Publishing Server

serverName exception occurred: xxx

pserver.trace MCELL_HOME/etc/ps_hostName/pserver.trace

or if this does not exist, then MCELL_HOME/etc/pserver.trace

EXAMPLE In the relevant section of the pserver.conf file:

#---------------------------------------------------------------------------#Events#---------------------------------------------------------------------------#Events tracking Publishing Server’s operation and errors are sent to im#<IPSEventsIM>#IPSEventsIM=<ImpactAdminCell>#By default IPS_EVENTs are generated to the Impact Admin CellIPSEventsIM=cell.Admin#Only operation events of the classes listed in IPSEventClasses are created.#By default events of all IPS_EVENT concrete subclasses are created#IPSEventClasses=IPS_START,IPS_STOP,IPS_CONFIG,IPS_CONNECT,#IPS_IM_CONNECT,#IPS_PUBLISH,IPS_CLASSINFO#Enabling of error events (IPS_ERROR) is to be configured in pserver.trace

Chapter 9 Managing BMC Impact Publishing Server 219

Page 220: Service Model

Understanding classes and slots for BMC Impact Publishing Server events

If you enter an incorrect cell name in this file, (a cell name that is not present in the cell directory as it is configured by IMFileDirectoryName), then no events are generated. In the tmp/ps_hostname/pserver.trace output file, the error message is Unable to report ips events to im X: IPSEventsIM points to unregistered im.

2 To generate error events, in the etc/pserver.trace file, uncomment the following line by removing the # at the beginning of the line.

#log4j.logger.com.bmc.sms.ps=DEBUG, IPSERROREVENTS

as shown in the example.

3 Restart the BMC Impact Publishing Server service or process.

Understanding classes and slots for BMC Impact Publishing Server events

Table 44 describes the Common Event Model (CEM) slots (defined in CORE_EVENT) and values that are applicable to all events generated by BMC Impact Publishing Server.

EXAMPLE In the relevant section of the pserver.trace file:

# Print messages of level DEBUG or above in the package#log4j.logger.com.bmc.sms.imapi=DEBUG#log4j.logger.com.bmc.sms.imapi.nls=DEBUG#log4j.logger.com.bmc.sms.imapi.gw=DEBUG#log4j.logger.com.bmc.sms.imobject=DEBUGlog4j.logger.com.bmc.sms.ps=DEBUG, IPSERROREVENTS

220 BMC Impact Solutions: Service Model Administrator’s Guide

Page 221: Service Model

Understanding classes and slots for BMC Impact Publishing Server events

Event classes and slots specific to BMC Impact Publishing Server

The event classes that are specific to BMC Impact Publishing Server are subclasses of the class IPS_EVENT. The class hierarchy for IPS_EVENT is

Table 44 Common Event Model (CEM) slots

Slot nameSlot label in BMC IX Description Default value

mc_event_category Category high-level normalized category of the object the event represents

OPERATIONS_MANAGEMENT

mc_object_class Object Class identifies the class of an object ■ for status events of the publishing server itself = BMC Impact Publishing Server

■ for status events of the automated publishing service of the publishing server = BMC Impact Publishing Server - Automated Publishing

mc_object Object name of the BMC Impact Publishing Server instance

ps_hostname

mc_host_class Host Class type of host Computer

mc_host Host name of the computer on which BMC Impact Publishing Server is running

not defined

mc_host_address Host Address network address of the host computer on which BMC Impact Publishing Server is running

not defined

mc_origin_class Origin Class identifies the event management system type

BMC Impact Publishing Server

mc_origin Origin specifies the event management system that is “closest” to the source of the event and is considered to have detected the event

ps_hostName

mc_tool_class Tool Class the way in which the incident is reported to the cell

BMC Impact Publishing Server

mc_tool Tool defines where any event is within a value that can further distinguish where the event is coming from within the mc_tool_class value

ps_hostName

mc_tool_address Tool Address IP address of the host computer on which BMC Impact Publishing Server is running

not defined

Chapter 9 Managing BMC Impact Publishing Server 221

Page 222: Service Model

Understanding classes and slots for BMC Impact Publishing Server events

IPS_EVENTIPS_CONTROL

IPS_STARTIPS_STOPIPS_CONFIG

IPS_CNXIPS_CONNECT

IPS_IM_CONNECTIPS_ERRORIPS_REQUEST

IPS_CLASSINFOIPS_PUBLISH

These classes are defined in the ips.baroc file, located in the MCELL_HOME\etc\default\EM\kb\classes directory.

When you enable event generation to a SIM cell, all operational events are generated, which are the event classes IPS_START, IPS_STOP, IPS_CONFIG, IPS_CONNECT, IPS_IM_CONNECT, IPS_PUBLISH, and IPS_CLASSINFO.

In addition to operational events, you can also enable the generation of BMC Impact Publishing Server error events of the class IPS_ERROR.

IPS_START—Impact Publishing Server start

The IPS_START class contains events that occur when the BMC Impact Publishing Server service (or process) is started or when automated publishing is started.

IPS_STOP—Impact Publishing Server stop

The IPS_STOP class contains events that occur when the BMC Impact Publishing Server service (or process) is stopped.

Table 45 IPS_START slots

Slot name Slot label in BMC IX Description

process_run_id Process Run ID All IPS_CONTROL events that are generated from the same processing run of BMC Impact Publishing Server are assigned the same process run ID (guid) for easy correlation of these events.

mc_parameter Status value is the string status

mc_parameter_value Parameter Value indicates the status of BMC Impact Publishing Server:

■ as it launches: starting■ when up and running: started

222 BMC Impact Solutions: Service Model Administrator’s Guide

Page 223: Service Model

Understanding classes and slots for BMC Impact Publishing Server events

IPS_CONFIG—Impact Publishing Server configuration file

The IPS_CONFIG class contains events that are generated when BMC Impact Publishing Server starts and display configuration information for the Publishing Server instance, as shown in Table 47.

Event generation for this class is enabled by default.

Table 46 IPS_STOP slots

Slot name Slot label in BMC IX Description

process_run_id Process Run ID All IPS_CONTROL events that are generated from the same processing run of BMC Impact Publishing Server are assigned the same process run ID (guid) for easy correlation of these events.

severity Severity seriousness of the event; default is INFO

mc_parameter Status value is the string status

mc_parameter_value Parameter Value indicates the status of the BMC Impact Publishing Server:

■ when stopping: stopping■ when stopped: stopped

Table 47 IPS_CONFIG slots (part 1 of 2)

Slot name Slot label in BMC IX Description

os_class OS Class indicates the class of the operating system

os_version OS Version indicates the version of the operating system

process_run_id Process Run ID All IPS_CONTROL events that are generated from the same processing run of BMC Impact Publishing Server are assigned the same process run ID (guid) for easy correlation of these events.

ps_version IPS Version contains the version of the Publishing Server

ps_build_number IPS Build Number contains the software build number of the Publishing Server

ps_build_date IPS Build Date contains the build date of the Publishing Server

home_dir Home Directory contains the absolute path of the home directory for the Publishing Server

conf_file Configuration File contains the absolute path of the configuration file; pserver.conf is the default file

kb_dir KB Directory contains the absolute path of the kb directory

log_dir Log Directory contains the absolute path of the log directory

mcell_dir Cell Directory File contains the absolute path of the cell directory file (default is mcell.dir)

Chapter 9 Managing BMC Impact Publishing Server 223

Page 224: Service Model

Understanding classes and slots for BMC Impact Publishing Server events

IPS_CONNECT—Impact Publishing Server connect

The IPS_CONNECT class contains events that occur when BMC Impact Publishing Server tries to establish a connection to other components.

trace_conf Trace Configuration File

contains the absolute path of the trace configuration file; pserver.trace is the default file

trace_file Trace File contains the absolute path of the trace file; pserver.trace if the default file

Table 48 IPS_CONNECT slots

Slot name Slot label in BMC IX Description

ips_request_id Request ID the ID of the request sent to the BMC Impact Publishing Server

The connection is required for the processing of the request. For every request, IPS_CONNECT events are created for every component that needs to be connected.

destination Destination type of the component to which BMC Impact Publishing Server is connecting; possible values are:

■ CMDB for BMC Atrium CMDB■ IM for BMC Impact Manager■ SMM for Service Model Manager

dst_name Destination Name name of the component to which BMC Impact Publishing Server is connecting

dst_location Destination Location host and port number of the computer to which BMC Impact Publishing Server is connecting

dst_user Destination User logon used to connect

blank for Impact Manager and Service Model Manager connections because those connections do not require authentication

result Result indicates the success or failure of the connection; possible values are

■ SCS when the connection succeeds■ FLR when the connection fails

Table 47 IPS_CONFIG slots (part 2 of 2)

Slot name Slot label in BMC IX Description

224 BMC Impact Solutions: Service Model Administrator’s Guide

Page 225: Service Model

Understanding classes and slots for BMC Impact Publishing Server events

IPS_IM_CONNECT—Impact Publishing Server connect

The IPS_IM_CONNECT class contains events that occur when BMC Impact Publishing Server tries to establish a connection to an Impact Manager cell.

IPS_REQUEST—BMC Impact Publishing Server request

The IPS_REQUEST class contains events that occur when BMC Impact Publishing Server receives a request (for example, a request for a publishing preview).

Table 49 IPS_IM_CONNECT slots

Slot name Slot label in BMC IX Description

dst_location2 Destination Secondary Location

host and port number of the secondary Impact Manager server, if high availability is enabled

Table 50 IPS_REQUEST slots (part 1 of 2)

Slot name Slot label in BMC IX Description

severity Severity enables you to follow the status of a request

When the request is sent to the BMC Impact Publishing Server, the severity is INFO. When the BMC Impact Publishing Server finishes the processing of this request, it updates the severity of the event:

■ OK if the request is successful■ WARNING if the request failed

client_data Client Data data coming from the client

For automated publishes resulting from a BMC Impact Service Model Editor promotion, this slot displays the ReconJobRunId and the PromotionId.

request_id Request ID the ID of the request sent to the BMC Impact Publishing Server

This ID is necessary when you retrieve the request log by using a BMC IX local action and is useful in diagnosing publication failures. See “Diagnosing publication failures” on page 335.

request_msg Request Message the content of the request (for example, EnvId=PROD; Queue=T)

This is the internal communication protocol, useful for debugging.

Chapter 9 Managing BMC Impact Publishing Server 225

Page 226: Service Model

Understanding classes and slots for BMC Impact Publishing Server events

request_result Request Result initially UNK (unknown)

Set to SCS (success) or FLR (failure) when processing is terminated.

result_msg Result Message brief description of the success or the failure of the handled request

For example, Request failed: Publish verification of IM(s) failed. You can find more detailed failure messages in the request log.

user_id User ID the logon user ID of the requestor

For automated publishes that are invoked from a BMC Impact Service Model Editor promotion, this slot displays the BMC Impact Service Model Editor logon user ID.

For publishes from a CLI, this slot displays the user of the CLI or publish@hostname if the CLI is run locally without authentication.

description Description the description that comes with the request

For automated publishes resulting from a BMC Impact Service Model Editor promotion, this slot displays the BMC Impact Service Model Editor promotion comment.

For publishes from a CLI, this slot displays the description you enter when using the -s option.

Table 50 IPS_REQUEST slots (part 2 of 2)

Slot name Slot label in BMC IX Description

226 BMC Impact Solutions: Service Model Administrator’s Guide

Page 227: Service Model

Understanding classes and slots for BMC Impact Publishing Server events

IPS_PUBLISH—BMC Impact Publishing Server publish request

The IPS_PUBLISH class contains events that occur when a request for a publish is generated.

IPS_CLASSINFO—BMC Impact Publishing Server class information request

The IPS_CLASSINFO class contains events that are generated when information about classes is requested, for example, when you use a CLI to verify the class definitions between a cell and the BMC Atrium CMDB.

Table 51 IPS_PUBLISH slots

Slot name Slot label in BMC IX Description

publish_type Publish Request Type indicates the type of publish; possible values are

■ direct when the publish request is for a DirectPublish

■ init when the publish request is an initialization, as with the pinit cli

■ publish when the publish request is a delta or incremental publication, as with automated publish or with the publish CLI command

■ selected_publish when a publish request is for selected objects, as with the publish -d CLI command

env_id Environment ID ID of the publish environment

For example:■ PROD for production environment■ TEST.user.1 for BMC Impact Service Model

Editor test environment

Table 52 IPS_CLASSINFO slots

Slot name Slot label in BMC IX Description

classinfo_type Class Info Request Type

indicates the type of classinfo; possible values are

■ validation when the classInfo request happens with the CLI command pclassinfo -n cellName

■ export when the classInfo request is generated with BMC Impact Service Model Editor export meta data functions, or with the CLI command pclassinfo -x

Chapter 9 Managing BMC Impact Publishing Server 227

Page 228: Service Model

About SIM management data

IPS_ERROR—BMC Impact Publishing Server errors

IPS_ERROR events are different from other events in the IPS_EVENT class. They report issues that occur with the BMC Impact Publishing Server, while other IPS_EVENTs report information.

IPS_ENV—BMC Impact Publishing Server environment request

Each time a penv CLI is issued (except for the action command info), an IPS_ENV event is generated. IPS_ENV events are generated for these environment requests:

■ creation of a publish environment■ modification of a publish environment■ initialization of CMDB datasets of a AtriumCMDB? publish environment ■ removal of a publish environment

About SIM management dataManagement data are the data that are referred to by component instances and impact relationships. Management data is always common to all cells of a publish environment. A default set of management data is in the SIM CMDB extension as well as in the kb/data directory of BMC Impact Publishing Server.

Each SIM management data instance may be published once and only once to a cell. Before a component or an impact relationship can refer to a particular SIM management data instance, it must be published.

Table 53 IPS_ERROR slots

Slot name Slot label in BMC IX Description

severity Severity indicates the seriousness of the event

The default is WARNING

Table 54 IPS_ENV slots

Slot name Slot label in BMC IX Description

origin_id Origin ID contains the origin ID (AtriumCMDB or DirectPublish) of the publish environment

env_id Environment ID contains the IDs of the publish environment

env_type Environment Request Type

contains the action open, set, init or close

228 BMC Impact Solutions: Service Model Administrator’s Guide

Page 229: Service Model

Understanding publish environments

Each component and impact relationship of a cell can refer to each management data instance regardless of the source of the management data in the cell (Direct Feed or AtriumCMDB publishing or DirectPublish publishing).

If AtriumCMDB Publish is not enabled, best practice for Direct Publish environments is to create a publish environment that has only SIM management data. Then, any other Direct Publish environments that you create on the cell use that management data. For example, you could create an environment MgmtDataEnv and publish the management data to it using pposter.

If the HomeCell of the environment is set, management data is published to it. If it is not set, management data is published to all cells defined in CellAliases.

If you want to publish SIM data from a Direct Publish source to a cell that

■ already has service model data that originated from BMC Atrium CMDB, then management data has already been published to the cell and you do not have to manually send it

■ has no service model data that originates from the BMC Atrium CMDB, then you must send service management data to the cell manually, using the CLI command pposter

■ will have service model data that originates from BMC Atrium CMDB, but does not yet (you will execute a pposter command before data is published from BMC Atrium CMDB), you must initialize the environment with management data by executing the command

pinit -n cellName

which defaults to pinit -n cellName -e PROD (which initializes from the Atrium CMDB PROD publish environment).

Understanding publish environmentsA publish environment defines the source of the data and the cells to which the data is sent.

WARNING Loading SIM management data more than once on a cell causes the publication to fail.

If you define one environment (EnvA) that has both SIM management data and component instances and relationships, define another environment for the cell (EnvB), and then delete EnvA, management data is also deleted. This causes publications to EnvB to fail because the required management data no longer exists in the cell.

Chapter 9 Managing BMC Impact Publishing Server 229

Page 230: Service Model

About publish environments

You can secure publish environments by password protecting them.

About publish environments

A publish is always executed within a set of conditions defined by the requirements of the SIM data. This set of conditions is referred to as a publish environment. For example, you want to send a service model from BMC Atrium CMDB (one condition) to a test cell (second condition). If the source of the service model data is a BAROC file and the data goes to a production cell, this requires a different environment and is handled differently by BMC Impact Publishing Server.

The BMC Impact Publishing Server component supports publishing SIM data (service model data and management data) from two sources or origins: BMC Atrium CMDB, which is referred to as an Atrium Publish Feed or from BAROC source files using the CLI command pposter, which is referred to as Direct Publish Feed.

An environment is uniquely identified by EnvID plus OriginId. The environment identifier must be unique within all AtriumCMDB Publish environments or within all Direct Publish environments. However, it is simpler and easier to manage if all publish environments in your enterprise have unique identifiers.

Specifying the publish origin

Publishing from these two origins is enabled or disabled with configuration parameters (AtriumCMDBPublishOrigin and DirectPublishOrigin) in the pserver.conf file.

AtriumCMDB Publish is enabled by default and is initiated either through automated publishing or the CLI command publish.

Direct Publish is disabled by default and is initiated either through an API program or the CLI command pposter.

Publish origin Publish is initiated from OriginID

BMC Atrium CMDB ■ BMC Impact Service Model Editor■ termination of reconciliation job■ CLI command publish

AtriumCMDB

Direct Publish ■ CLI command pposter DirectPublish

230 BMC Impact Solutions: Service Model Administrator’s Guide

Page 231: Service Model

About home cell, home cell alias, and cell alias

About home cell, home cell alias, and cell alias

A service model component can be assigned to only one cell at a time. If you want, to example, to assign a component to a production cell and, at the same time, use it in a test cell for impact experiments, a mechanism is needed to make this possible. The parameters, HomeCell, CellAliases, and the attributes HomeCell and HomeCellAlias are used by BMC Impact Publishing Server to determine the cells to which a component instance is sent, depending on which have values. CellAliases and HomeCell are parameters of the publish environment, whereas HomeCell and HomeCellAlias are attributes of the component instance.

The environment’s parameter home cell defines the one cell to which all service model data and management data is sent.

The component’s attribute home cell alias defines another name for home cell looked up from a table so that the data with a specific home cell alias can be sent to different cells for different publish environments.

Cell alias defines another name for a cell so that data can be sent to more than one cell.

A cell can have multiple cell aliases, but in a single publish environment, a cell can have only one cell alias. The mapping of cell alias-to-cell name is one to many per environment. In other words, for each environment and for each cell alias, there can be only one cell name, but many cell aliases can be mapped to the same cell name.

A cell name can only be used in one AtriumCMDB Publish environment, however it can be re-used in many DirectPublish environments, even if it is also used in AtriumCMDB environment.

Cell-alias to cell-name values must already be defined when publishing is initiated.

Determining the cell to which a component is published

To determine the cell to which a component is published, the BMC Impact Publishing Server uses the following algorithm:

1. If HomeCell is defined for the publish environment, that value is used (regardless of the values in the component’s HomeCellAlias attribute).

2. The component’s HomeCellAlias is looked up in the CellAliases for the publish environment.

3. If one of the CellAliases defined for the publish environment has empty CellAlias, then its cell name is used as the default cell. Every component that has no HomeCellAlias set is published to this default cell.

Chapter 9 Managing BMC Impact Publishing Server 231

Page 232: Service Model

Publishing from the BMC Atrium CMDB

Publishing from the BMC Atrium CMDBIn the case of AtriumCMDB Publish environments,

■ you can promote SIM objects in the BMC Impact Service Model Editor product, which triggers reconciliation and when that terminates, publishing of the objects to the cells

■ you can reconcile from any BMC Atrium CMDB reconciliation dataset

■ you can use the Send to test function in BMC Impact Service Model Editor, in which case, the parameters of the environment are defined and managed for you, based on choices you make in the BMC Impact Service Model Editor

■ you can create other AtriumCMDB Publish environments for advanced staging, for which you define the parameters of the environment using the CLI command penv.

During the publishing of a service model, new or modified service model components and their relationships are selected from the asset dataset in the BMC Atrium CMDB and copied to respective BMC Impact Manager cells.

New objects coming from a discovery source (such as BMC Topology Discovery or BMC Foundation Discovery) are not flagged as In-Model and are therefore ignored by BMC Impact Publishing Server. If discovery sources provide updates to objects that are flagged as In-Model, these changes are sent to the cells.

Enabling AtriumCMDB Publish publishing

AtriumCMDB Publish is enabled by default, with a parameter in the pserver.conf file, located in MCELL_HOME/etc, ServiceModelPublish = T. (Default = T.)

For AtriumCMDB environments, cell information is looked up from the class SIM_CellInformation from the BMC.ASSET dataset of BMC Atrium CMDB. The Impact Administration Server (IAS) creates this information whenever you administer a cell.

232 BMC Impact Solutions: Service Model Administrator’s Guide

Page 233: Service Model

Using BMC Impact Service Model Editor

Using BMC Impact Service Model Editor

When the source of the service model data is the BMC Atrium CMDB and you are using BMC Impact Service Model Editor, the BMC Impact Publishing Server component can handle all of the requirements for standard publishing. BMC Impact Publishing Server defines the proper publishing environment based on choices you make in BMC Impact Service Model Editor and can automatically deliver the SIM data to the cell after you promote the objects in BMC Impact Service Model Editor.

About cell alias

When you use only the BMC Impact Service Model Editor to create service models, it is not necessary for you to understand the concept of cell alias because these values are created and managed for you.

In BMC Impact Service Model Editor, every component instance that is created or modified must have a value for cell name (required field). For each component’s cell name, a cell alias is automatically created and managed by BMC Remedy AR System.

■ When you register a cell in BMC Impact Portal and define it as production, an alias with the same name as the cell name is defined and stored in the SIM_CellAlias CMDB class in the dataset BMC.ASSET.

■ When you send service model objects to test in the BMC Impact Service Model Editor (using the Send to test function), all existing aliases are mapped to the test cell you chose for the test in BMC Impact Service Model Editor.

In production the three component instances are sent to the production cells: cellA, cellB, and cellC. When you send them to test in BMC Impact Service Model Editor, they are all sent to the same test cell, testcell1.

Component Cell alias Cell name (prod cell) Cell name (test cell)

SL Appl cellA cellA testcell1

SL DB cellB cellB testcell1

SL Server cellC cellC testcell1

Chapter 9 Managing BMC Impact Publishing Server 233

Page 234: Service Model

Using BMC Impact Service Model Editor

About the production environment

An AtriumCMDB Publish environment consists of an asset dataset, by default BMC.ASSET.EnvId and an impact dataset, BMC.IMPACT.EnvId.

The production AtriumCMDB publish environment has the following two datasets:

The production service model data is in the BMC Atrium CMDB in the production dataset BMC.ASSET. After you promote service model objects in BMC Impact Service Model Editor, these changes are reconciled in the production dataset and then stored in the production dataset BMC.IMPACT.PROD upon successful publication, which mirrors the last successful publish to the cells.

Datasets in BMC Atrium CMDB Description Comments

asset dataset:

by default, BMC.ASSET

contains objects to be published

This is the dataset from which service model data is published to cells.

regular dataset

■ read-only; can be updated only by the CMDB Reconciliation Engine as objects are reconciled

■ not limited to objects that are in-model

■ a service model object is successfully promoted when it is moved from the sandbox to this dataset in the BMC Atrium CMDB

impact dataset:

by default, BMC.IMPACT.PROD

contains objects that have been successfully published

This dataset is a “master copy” of the service model data in the asset dataset

regular dataset

■ read-only: can only be updated by the BMC Impact Publishing Server as objects are published

■ a service model object is successfully published when a copy of it is in this dataset in the BMC Atrium CMDB

WARNING To ensure that the service model data in the BMC Atrium CMDB and in the cell are synchronized, the data in the impact dataset should be managed solely by BMC Impact Publishing Server.

234 BMC Impact Solutions: Service Model Administrator’s Guide

Page 235: Service Model

Using BMC Impact Service Model Editor

About test environments

When you select Send To Test Objects In Current View in BMC Impact Service Model Editor, a request is sent to the BMC Impact Publishing Server to open a test environment. The test environment consists of two datasets:

■ asset dataset BMC.ASSET.user.Test.1

■ impact dataset BMC.IMPACT.user.Test.1

BMC Impact Service Model Editor puts the service model data that was sent to test into the asset dataset (BMC.ASSET.user.Test.1) of the new test environment and requests a publication from the BMC Impact Publishing Server. The BMC Impact Publishing Server then looks up the test cell for the cell alias of every component. The last successful publish to the test cells is mirrored in the impact dataset BMC.IMPACT.user.Test.1.

The Send to Test function

■ validates the existence of or creates a test publish environment for the user■ validates the existence of an available test cell for publishing■ updates entries in the Cellalias table for the current environment■ empties test datasets of previous contents

A test cell contains only the latest objects sent to test. Any previous objects are removed. Test objects cannot be added to the Console Navigation Tree in BMC Impact Service Model Editor, which means they cannot be monitored in BMC Impact Portal.

After a successful publish, the BMC Atrium CMDB contains entries in the BMC.ASSET.user.TEST.1 and BMC.IMPACT.user.TEST.1 datasets for the environment.

The BMC Impact Service Model Editor test publish environments have an overlay asset dataset, with the production dataset as underlying dataset.

■ To have all management data instances of the production dataset in the test environment, publish mode Overlay is used for PublishModeMgmtData.

■ To be able to cut down the test to a limited number of components and impact relationships the publish mode Current is used for PublishModeServiceModel.

WARNING To ensure that the service model data in the BMC Atrium CMDB and in the cell are synchronized, only the BMC Impact BMC Impact Publishing Server should modify the data in the impact test dataset.

Chapter 9 Managing BMC Impact Publishing Server 235

Page 236: Service Model

Creating advanced publish environments

Creating advanced publish environments

To do advanced publishing for SIM data in AtriumCMDB Publish environments, you need to

You use the CLI command penv and the pclient.conf file to create, modify, and delete publish environments. For more information about these topics, see “penv—Managing publish environments” on page 292.

In an AtriumCMDB Publish environment, the cell is automatically initialized with SIM management data of the asset dataset of the environment when you execute the CLI command publish.

Home cell and home cell alias

If all component instances and relationships are being published to one cell, you can assign a home cell by

■ defining it in the CLI command penv when you define the environment■ defining it after the environment is opened in a CLI command penv with the action

command set

Table 55 Basic steps to create advanced test environments

Basic steps How to do

1. Determine the cells to use and create if necessary.

See BMC Impact Solutions: General Administration.

2. Register any new cells in BMC Impact Portal (which automatically creates them in BMC Atrium CMDB).

See BMC Impact Solutions: General Administration.

3. Determine the source of the service model data (another environment or a BAROC source file).

Use the penv init parameters SourceEnvMgmtData and SourceEnvServiceModelor SourceBarocMgmtData and SourceBarocServiceModel

Create a BAROC source file.

4. Define the environment. Execute a CLI command penv open

5. Enter the data in the BMC Atrium CMDB.

If cells are running, this initializes cells with this data.

Execute a CLI command penv init

6. Publish the objects to the cell. Execute a CLI command publish

7. Monitor services. In BMC Impact Explorer, on the Services tab

8. Troubleshoot problems. See Appendix A, Troubleshooting

236 BMC Impact Solutions: Service Model Administrator’s Guide

Page 237: Service Model

Examples of advanced environments

If home cell is defined, cell aliases, as defined in the BMC Atrium CMDB, are ignored. All service model data in that environment is published to the cell specified in HomeCell, even if HomeCellAlias contains a cell alias that points to another cell.

Cell aliases

If you do not have home cell defined, then cell aliases are required. Using Remedy User or an API program, you must assign cell alias-to-cell name values (per environment) in the BMC Atrium CMDB in instances of the BMC.ASSET dataset in the BMC Atrium CMDB class BMC.SIM.CONFIG:SIM_CellAliases. The values that are assigned at the time of publishing are also stored in the dataset BMC.IMPACT.PROD.

■ set the attribute EnvId to the ID of the publish environment■ set the attribute CellAlias to the alias■ set the attribute CellName to the name of a cell that is registered in BMC Impact

Portal (registered in the class SIM_CellInformation)

You can set a default cell by setting CellAlias to null. In this way, the attribute HomeCellAlias for individual CIs is not required to publish. If you create an instance in the BMC Atrium CMDB class BMC.SIM.CONFIG:SIM_Cellaliases like

then every CI in BMC.ASSET.EnvId that has no value in HomeCellAlias is published to the cell arwad.

Examples of advanced environments

You use the Send to test function in BMC Impact Service Model Editor to test small service models. For larger service models, more advanced staging and testing options are available with the CLI command penv.

The penv command allows for staging scenarios like the following:

Example 1—Creating two service models for two departments

This approach is best suited for testing large service models where the effort to automate the tasks by script is acceptable in light of the volume of data being tested.

At the beginning of a BSM project, you want to test two separate service models for two different departments.

Environment CellAlias CellName

EnvId arwad

Chapter 9 Managing BMC Impact Publishing Server 237

Page 238: Service Model

Examples of advanced environments

1. You define two environments for the two different departments, by executing the following command:

2. The components and impact relationships for each department are loaded from BAROC files, in the respective asset datasets BMC.ASSET.dept1 and BMC.ASSET.dept2.

After an initial publication, modifications are published incrementally. When you are satisfied with the results, the staging asset datasets can be reconciled into the production dataset.

3. Reconcile the staging asset datasets into the production dataset.

Example 2—Publishing a single service model to multiple environments

Additionally, it is possible to publish a single service model (the data in an asset dataset) to multiple environments. For example, you can send the service model to production cells (for real-life monitoring and impact analysis) and send the same service model data to a test cell to experiment with the impact of component failure.

For the simulation publish environment, the HomeCell parameter of the publish environment is defined.

Both the production publish environment and the simulation publish environment use the production asset dataset BMC.ASSET. The last successful publish of the production publish environment is saved in BMC.IMPACT.PROD. The last successful publish of the simulation publish environment SIMULATION is saved in BMC.IMPACT.SIMULATION. A reconciliation merge to the BMC.ASSET dataset triggers an automated publish on both environments.

Alternatively, if you want to do simulations on a service model that is derived from the production service model, then your simulation publish environment would use an overlay asset dataset BMC.ASSET.SIMULATION with underlying dataset BMC.ASSET. Reconciliation merges to the BMC.ASSET dataset will trigger an automated publish (if enabled) on the simulation publish environment.

To create a simulation publish environment that uses the production asset dataset, execute a command similar to the following:

EXAMPLE >penv open -e dept1

>penv open -1 dept2

EXAMPLE penv -e SIMULATION -p “AssetDataSetId=BMC.ASSET” -p “HomeCell=simulation”

238 BMC Impact Solutions: Service Model Administrator’s Guide

Page 239: Service Model

Defining BMC Atrium CMDB classes for SIM

This command creates only the simulation publish environment, not the production publish environment, which should already exist since it is created by default.

To create a simulation publish environment with an overlay asset dataset:

Defining BMC Atrium CMDB classes for SIM

Not all BMC Atrium CMDB classes have component instances that are useful for impact analysis. In order to be published to SIM, BMC Atrium CMDB classes must have the attribute Custom Properties = 100050. You can qualify classes that are not defined as SIM classes out-of-the-box.

To define a class as a SIM class

1. In Remedy User's Class Manager Console, add the value 100050 to the existing Custom Properties.

2. Export the modified SIM class information by executing the CLI command pclassinfo -x.

3. Update the Knowledge Base of the cells and recompile.

For more information, see “Adding new classes to the BMC Atrium CMDB” on page 202.

Defining BMC Atrium CMDB attributes for SIM

Not all of the CMDB attributes of SIM classes are useful for SIM. In order to be published to SIM, CMDB attributes must have attribute Custom Properties = 300050. You can qualify attributes that are not defined as SIM attributes out-of-the-box.

To define an attribute as a SIM attribute

1. In Remedy User's Class Manager Console, add the value 300050 to the existing Custom Properties.

2. Export the modified SIM class information by executing the CLI command pclassinfo -x.

EXAMPLE penv -e SIMULATION -p “AssetDataSetType=Overlay” -p “HomeCell=simulation” -p “AutomatedPublish=T”

Chapter 9 Managing BMC Impact Publishing Server 239

Page 240: Service Model

ServiceModelSet attribute for components and management data

3. Update the Knowledge Base of the cells and recompile.

ServiceModelSet attribute for components and management data

All SIM classes in the BMC Atrium CMDB have a ServiceModelSet attribute. This attribute makes it possible for data to be in the BMC Atrium CMDB but not be included in any data published to a SIM cell. Possible values are listed in Table 56.

For a component in the BMC Atrium CMDB to be considered for publishing by BMC Impact Publishing Server, this attribute must contain specific values:

■ Only CIs with ServiceModelSet IN or OUT_OF_IN are considered by the BMC Impact Publishing Server.

■ The value IN indicates that the CI is included in the service model published to a SIM cell. The value OUT_OF_IN indicates that the CI is not included in the service model published to SIM.

To ensure synchronization between the impact dataset in BMC Atrium CMDB and the service model in a SIM cell, ServiceModelSet cannot be reset to OUT after it has been IN or OUT_OF_IN.

Every CI that has a ServiceModelSet value of IN or OUT_OF_IN should have a ReconciliationIdentity defined.

See also “In-model and not-in-model component instances” on page 73.

Table 56 ServiceModelSet attribute values

Value Description

IN indicates the data instance is in the service model

In-model component instances are published to the cell.

OUT indicates the data instance is not in the service model

Out-of-model instances are not published to the cell.

default value

OUT_OF_IN indicates the data instance was in the model but has since been removed from the model

At the next publication, the instance is removed from the cell.

240 BMC Impact Solutions: Service Model Administrator’s Guide

Page 241: Service Model

ServiceModelSet attribute for impact relationships

ServiceModelSet attribute for impact relationships

For an impact relationship, the value in ServiceModelSet is calculated from the ServiceModelSet values assigned to the relationships consumer and provider component instances and is determined in the manner shown in Table 57 on page 241.

The determination is:

■ If both instances are assigned IN, then the ServiceModelSet value for the impact relationship is IN.

■ If either or both are assigned OUT_OF_IN, then the relationship is defined as OUT_OF_IN.

■ If either or both are assigned OUT, then the relationship is defined as OUT.

Initializing the BMC Atrium CMDB with SIM data

SIM requires service management data for successful operations. During installation of SIM’s CMDB extensions, the production dataset is initialized with service model management data. Although possible, it is unlikely that reinitialization of the production environment will be necessary.

For publish environments other than those with an asset dataset BMC.ASSET or overlay asset dataset with BMC.ASSET as the underlying dataset, initialization of the environment with service management data is required for a successful publication.

When you initialize a specific publish environment, objects in the asset and in the impact dataset of that environment are initialized (as well as objects in the datasets of an environment with asset dataset that overlays the asset dataset of the environment that is being initialized):

Table 57 Determination of ServiceModelSet value for an impact relationship

If component instance 1 has value

and if component instance 2 has value

Then value of ServiceModelSet for the impact relationship is

IN IN IN

OUT_OF_IN IN OUT_OF_IN

IN OUT_OF_IN

OUT_OF_IN OUT OUT

OUT OUT_OF_IN

OUT IN

IN OUT

OUT OUT

Chapter 9 Managing BMC Impact Publishing Server 241

Page 242: Service Model

Initializing the BMC Atrium CMDB with SIM data

■ in the impact dataset, existing objects are removed

■ in the asset dataset, existing objects are either removed or kept, but are moved out-of-model, depending on the values in the InitEffectivelyMgmtData and InitEffectivelyServiceModel parameters

■ new initial objects in asset dataset and in impact dataset are copied from the initialization source (see “Initial source parameters” on page 245)

Objects in the datasets of an environment with asset dataset that overlays the asset dataset of the environment that is being initialized are also initialized.

For more information about initializing a publish environment, see also the init action command under “penv—Managing publish environments” on page 292.

Using initialization parameters

You use the configuration parameters of the CLI command penv (with the -p option) to define the initialization. These parameters are defined in the pclient.conf configuration file, located in the MCELL_HOME/etc directory. Two of the parameters, InitEffectivelyMgmtData and InitEffectivelyServiceModel reference the attribute ServiceModelSet.

Table 58 lists and describes the parameters for initializing.

Table 58 Parameters in the pclient.conf file for initializing the BMC Atrium CMDB

Parameter Description

InitEffectivelyMgmtData determines which management data instances are removed from the BMC Atrium CMDB during initialization or reinitialization, based on the value in the ServiceModelSet class attribute

InitEffectivelyServiceModel determines which service model component and impact relationship instances are removed from the BMC Atrium CMDB during initialization or reinitialization, based on the value assigned in the SeviceModelSet class attribute

InitMgmtData specifies whether management data is initialized

InitServiceModel specifies whether service model data is initialized

SourceBarocMgmtData specifies the BAROC files from which the default or initial management data instances are copied

SourceBarocServiceModel specifies the BAROC files from which initial components and impact relationships are copied

SourceEnvMgmtData specifies the publish environment. From its datasets the default or initial management data instances are copied

SourceEnvServiceModel specifies the publish environment. From its datasets the initial components and impact relationships are copied

242 BMC Impact Solutions: Service Model Administrator’s Guide

Page 243: Service Model

Initializing the BMC Atrium CMDB with SIM data

InitEffectively parameters

The two InitEffectively parameters determine the retention of the existing instances in the asset dataset when initializing. Only the IN and OUT values for ServiceModelSet attribute are taken into consideration.

InitEffectivelyMgmtData relates to management data instances.

InitEffectivelyServiceModel relates to component instances and impact relationship instances.

When the objects in the BAROC file have a value in the mc_udid slot, keeping existing data may be impossible. In BMC Atrium CMDB, the DatasetId and the ReconciliationIdentity must be unique.

InitEffectivelyMgmtData parameter settings and their results

Table 59 lists the possible values for the InitEffectivelyMgmtData configuration parameter and the subsequent actions taken during BMC Atrium CMDB reinitialization.

Table 59 InitEffectivelyMgmtData parameter values and results (part 1 of 2)

InitEffectivelyMgmtData parameter setting

Resulting actions on asset management data during Atrium CMDB reinitialization

InitEffectivelyMgmtData=IN,OUT If set to this default value, all current management data instances are removed from the BMC Atrium CMDB.

InitEffectivelyMgmtData=IN Management data instances with the ServiceModelSet attribute value of IN or OUT_OF_IN are removed from the BMC Atrium CMDB.

InitEffectivelyMgmtData=OUT ■ Management data instances with ServiceModelSet attribute value of OUT are removed from the BMC Atrium CMDB.

■ Management data instances with the ServiceModelSet attribute value of IN or OUT_OF_IN have their attribute value reset to OUT.

Chapter 9 Managing BMC Impact Publishing Server 243

Page 244: Service Model

Initializing the BMC Atrium CMDB with SIM data

InitEffectivelyMgmtData= If set to an empty list (default), these actions occur

■ Existing management data instances are kept in the BMC Atrium CMDB.

■ Instances with the ServiceModelSet attribute value of IN or OUT_OF_IN have their values reset to OUT.

Generally, you do not move management data in and out of model. Therefore, you do not want to keep existing management data instances. In fact, some of the default management data instances have a mc_udid set, which makes it impossible to keep them.

In order to keep a backup of custom management data instances, which is useful when you must reinitialize the production environment, export them to BAROC files by using the CLI command mquery. The default management data BAROC files are stored in the file:

MCELL_HOME\etc\ps_hostname\kb\data

Table 59 InitEffectivelyMgmtData parameter values and results (part 2 of 2)

InitEffectivelyMgmtData parameter setting

Resulting actions on asset management data during Atrium CMDB reinitialization

244 BMC Impact Solutions: Service Model Administrator’s Guide

Page 245: Service Model

Initializing the BMC Atrium CMDB with SIM data

InitEffectivelyServiceModel parameter settings and their results

Table 60 lists the possible values for the InitEffectivelyServiceModel configuration parameter and the subsequent actions taken during BMC Atrium CMDB reinitialization.

Initial source parameters

The initial data can come from

■ BAROC files■ another publish environment (asset and impact datasets)

Table 60 InitEffectivelyServiceModel parameter settings and results

InitEffectivelyServiceModel parameter setting

Resulting actions on service model asset component instances and impact relationships during BMC Atrium CMDB reinitialization

InitEffectivelyServiceModel= If set to an empty list (default), these actions occur

■ all service model component or impact relationship instances are not removed from the BMC Atrium CMDB

■ components and impact relationships with the ServiceModelSet attribute value of IN or OUT_OF_IN have their attribute value reset to OUT

The default initialization does not contain any component or impact relationship. Generally, when reinitializing you do not want to lose components and impact relationships that were already defined or that were detected by a discovery tool. When you reinitialize, you need to browse the existing components and decide if they still need to be in model.

InitEffectivelyServiceModel=IN Components and impact relationships with the ServiceModelSet attribute value of IN or OUT_OF_IN are removed from the BMC Atrium CMDB.

InitEffectivelyServiceModel=IN, OUT All components and impact relationships, regardless of the value of ServiceModelSet being IN, OUT_OF_IN or OUT, are removed from the BMC Atrium CMDB.

Chapter 9 Managing BMC Impact Publishing Server 245

Page 246: Service Model

Initializing a cell

By default, the source of service management data for the production publish environment (BMC.ASSET and BMC.IMPACT.PROD) is the BAROC files in MCELL_HOME/etc/ps_hostname/kb/data/.load. For other AtriumCMDB publish environments, the production environment is the source.

If the source is BAROC files, then the baroc instances are copied to the asset dataset and the impact dataset.

If the source is a publish environment, then the instances from the impact dataset of the source publish environment are copied to the impact dataset of the publish environment that is being initialized. Likewise, the instances from the asset dataset of the source publish environment are copied to the asset dataset of the publish environment that is being initialized.

In copying to the asset dataset, the type (Overlay or Regular) and the publish mode (Overlay or Current) is taken into account. If the asset dataset is an overlay dataset and the publish mode is overlay and the initialization's source is the underlying asset dataset, then effectively no copies are taken.

Initializing a cell

Initialization deletes all existing SIM data (service model data and service management data) of the publish environment from the cell. For an AtriumCMDB publish environment, it sends the contents of the BMC Atrium CMDB impact dataset to the cells.

When a cell is initialized, existing events are associated with new copies of components, so status information of component instances is not lost.

You reinitialize a cell by using the CLI command pinit. Typically, you reinitialize only when

■ a cell is reinstalled (restart the cell with the -i option)■ a cell must be restarted for recovery purposes ■ SIM data in the cell is no longer in sync with the data in the BMC Atrium CMDB

impact dataset or with the data in the Direct Publish source

When you add a new cell alias to an AtriumCMDB publish environment, the BMC Impact Publishing Server automatically initializes it with the service model management data upon the first publication to it. When you initialize cells of an AtriumCMDB publish environment, the data in the impact dataset (like BMC.IMPACT.PROD) is sent by the BMC Impact Publishing Server to the cells.

When only DirectPublish publishing is enabled, then you have to initialize the new cell with management data manually.

246 BMC Impact Solutions: Service Model Administrator’s Guide

Page 247: Service Model

Initializing a cell

To initialize a cell from the BMC Atrium CMDB production environment, execute the following CLI command:

pinit -n cellName

For more information about reinitializing a cell, see “pinit—Initializing a cell with service model data” on page 301.

Chapter 9 Managing BMC Impact Publishing Server 247

Page 248: Service Model

Example—creating SIM data in BMC Atrium CMDB from BAROC files

Example—creating SIM data in BMC Atrium CMDB from BAROC files

In this scenario, the goal is to initialize the publish environment for Dept1 with the default management data instances and with a number of components and impact relationships.

Creating a BAROC source with component and relationship objects

The following BAROC file, sm.baroc, defines the components and impact relationships of “dept1”:

EXAMPLE BMC_BusinessProcess; mc_udid=test1; Name=test1; OwnerName='DSM PSR/I Lab'; OwnerContact='713.918.8800'; Description='BMC DSM - PSR and Interoperability Lab Test Business Process'; StatusModel=STANDARD; HomeCell=lopud;END

BMC_BusinessService; mc_udid=test1_S0101; Name=test1_S0101; OwnerName='DSM PSR/I Lab'; OwnerContact='713.918.8800'; HomeCell=lopud;END

BMC_ComputerSystem; mc_udid=test1_S0101_N01; Type='WINDOWS_SYSTEM'; Name=test1_S0101_N01; OwnerName='DSM PSR/I Lab'; OwnerContact='713.918.8800'; Description=Computer; HostName=test1_S0101_N01; HomeCell=lopud;END

BMC_Application; mc_udid=test1_S0101_N01_A01; Name=test1_S0101_N01_A01; Type=app_type1; OwnerName='DSM PSR/I Lab'; OwnerContact='713.918.8800'; Description=Application; HomeCell=lopud; END

BMC_Impact; mc_udid=test1_obj1<-obj2; provider_id=test1_S0101; consumer_id=test1; PropagationModel=DIRECT; provider_home_cell=lopud; consumer_home_cell=lopud;

END

248 BMC Impact Solutions: Service Model Administrator’s Guide

Page 249: Service Model

Purging and deleting service model objects

Sending service model data to a cell using a BAROC source file

To initialize the publish environment for Dept1 with the default management data instances and a number of components and impact relationships, do the following:

1 Create a directory MCELL_HOME/etc/ps_hostname/kb/data_Dept1.

2 Copy into it the kb/data directory, add the file sm_Dept1, and edit the .load to add the sm_dept1.

3 Define the HomeCell parameter of the Dept1 environment as lopud.

4 Execute the following command:penv -e dept1 -p "SourceBarocServiceModel=etc/kb/data_dept1/.load" init -v

The service model is created in the asset and impact datasets of the AtriumCMDB Publish environment Dept1. The cell for Dept1 is running and is initialized immediately when you initialize the BMC Atrium CMDB.

When the initialization completes, the cell has the components and the impact relationships.

Purging and deleting service model objects

BMC recommends that service model objects be soft-deleted in BMC Atrium CMDB (MarkAsDeleted=Yes) until the BMC Impact Publishing Server is able to process their deletion. Ensure that you have retention rules on the Reconciliation's Purge activities for SIM classes. Occasionally, when objects have been purged or hard deleted in BMC Atrium CMDB before being published, the BMC Impact Publishing Server needs to publish them to avoid synchronization problems between cells and BMC Atrium CMDB data.

For automated publishing, if objects are purged from the asset dataset by a reconciliation’s purge activity, then the automated publisher is triggered, deleting the instances from the cells.

For manual publishing, the CLI command publish supports two parameters: Purge and Merge. By default, Purge=F and Merge=T.

To purge objects from the cells that have been hard deleted (purged) from the asset dataset, execute the following command:

publish -p “Purge=T”

Chapter 9 Managing BMC Impact Publishing Server 249

Page 250: Service Model

Publishing in automated or manual mode

Publishing in automated or manual mode

When the source of the service model data is the BMC Atrium CMDB, you can control when publishes occur by enabling or disabling automated publish.

By default, the BMC Impact Publishing Server automatically publishes service model objects to the cells. The BMC Impact Publishing Server service (or process) starts in automated mode.

To publish service model objects manually, you disable automated publish and use the CLI command publish. For more information about publish, see “publish—Publishing a service model or viewing instances to be published” on page 322.

Switching between automated publish and manual publish

By default, the BMC Impact Publishing Server service starts in automated mode. This is controlled in the pserver.conf configuration file by the parameter AutomatedStartMode (which is set to Automated).

To permanently switch the mode (if you always want to control all publications, for example), edit the pserver.conf file and change the value of the parameter AutomatedStartMode to Manual.

To temporarily switch the mode in which BMC Impact Publishing Server is running, execute the command pscontrol automated or pscontrol manual.

Automated publish considerations

When automated publish is enabled,

■ publishing operates in the background

■ publish is pre-authenticated if you password protect the AtriumCMDB Publish environment

■ publish requests are queued; a new request starts when the one in progress completes

■ if multiple promotion and reconciliation processes are running at the same time, the throughput time of the publication increases

■ all modified instances since the last successful publish are published, so the instances that are promoted and reconciled, and the instances that are published are not necessarily the same

250 BMC Impact Solutions: Service Model Administrator’s Guide

Page 251: Service Model

Publishing in automated or manual mode

■ publication failures caused by reasons independent of model consistence (for example, when a cell is not available) result in the automated publisher reattempting the publication

■ promotion and reconciliation, and publish are independent processes. It is possible that the promotion and reconciliation processes are successful, but the subsequent publish fails.

■ if an in-progress publish is still retrieving publishable data from an asset dataset, it will also find publishable data that became publishable after the in-progress publish was initiated. This

— might cause inconsistent data (like an impact relationship pointing to a non-existent component) and publication failure. Such a failure cannot be prevented because the BMC Atrium CMDB does not “know” the concept of transactions.

— causes the first publication to also publish the data of the second reconciliation. The second publication displays the message Nothing to be published.

■ you can also use the CLI command publish

How automated publish works

When a BMC Atrium CMDB Reconciliation Engine job terminates, the ARDBC plug-in notifies the BMC Impact Publishing Server that the reconciliation job has terminated. BMC Impact Publishing Server looks up changes to SIM data in the asset dataset since the last successful publication and attempts to publish the changes to the specified cells on publish environments for which automated publication is enabled.

When the automated publisher is temporarily off, notifications from a reconciliation job run are saved in BMC Impact Publishing Server’s persistent store. This ensures that no notifications are lost. When automated publisher restarts, all the notifications that are present are included in one publish request.

By default, automated publish is enabled on publish environments with regular asset dataset, so a promotion from BMC Impact Service Model Editor to a production cell is automatically published. By default, automated publish is disabled on publish environments with overlay asset dataset and an overlay publish mode, so a reconciliation to an asset dataset of a SME test environment to a test cell is not automatically published.

Chapter 9 Managing BMC Impact Publishing Server 251

Page 252: Service Model

Publishing from a Direct Publish source

Determining the current publish mode

To determine the current publish mode in which the BMC Impact Publishing Server is running, execute the CLI command psstat. One of the following messages is returned:

■ Started - Starting Automated mode■ Started - Automated mode■ Started - Manual mode

For more information about psstat, see “psstat—Displaying status of BMC Impact Publishing Server” on page 321.

Publishing from a Direct Publish sourceWhen you have a source of data other than BMC Atrium CMDB, you can send it to cells using Direct Publish publishing. You provide a BAROC file that contains the data that is to be added, updated or deleted in the cells. You execute the CLI command pposter to publish the data from a Direct Publish environment. You can publish from multiple publish environments.

Data that you send from a Direct Publish environment must be updated and deleted in the context of a Direct Publish environment. For example, if you create a component by publishing from the Direct Publish environment MySource, then the component can only be updated or deleted by publishing from the same Direct Publish environment.

The basic process of publishing from a Direct Publish source is

Table 61 Basic process of publishing from a Direct Publish source

Basic process For instructions, see

1. Enable Direct Publishing. “Enabling Direct Publish publishing” on page 255.

2. Create a Direct Publish environment for the SIM management data.

“Creating an environment for SIM management data” on page 256

3. Publish the SIM management data from the Direct Publish environment.

“Publishing SIM management data from exclusive environment” on page 256

4. Create a Direct Publish environment for component instances and impact relationships.

“Creating an environment for component instances and relationships” on page 257

252 BMC Impact Solutions: Service Model Administrator’s Guide

Page 253: Service Model

About home cell and cell alias

About home cell and cell alias

Table 62 describes the parameters that apply to a Direct Publish environment.

You must define either the HomeCell or the CellAliases parameter for a Direct Publish environment.

You can set a default cell by setting CellAlias to null. Then, the components that do not have a value set for the attribute HomeCellAlias are published to that default cell.

You can define values for the parameters HomeCell and CellAliases of Direct Publish environments when you define the environment or you can modify them later. However, when you modify them, keep track of the cells to which you published data using the Direct Publish environment.

Determining the cell to which a component is published

To determine the cell to which a component is published, the BMC Impact Publishing Server uses the following algorithm:

1. If a HomeCell is defined for the publish environment, that value is used (regardless of the values of the component’s HomeCell or HomeCellAlias slots)

2. Only cell aliases and cell names defined in the publish environment's CellAliases parameter are used.

5. Create a source file that contains the service model data in BAROC format.

“pposter—Sending service model objects to a cell” on page 307

6. Send service model data in the BAROC source file to the cells.

“pposter—Sending service model objects to a cell” on page 307

Table 62 Valid parameters for a Direct Publish environment

Parameter name Function

CellAliases specifies one or more cell alias to cell name pairs

By default, this parameter is not set.

HomeCell specifies to which cell to publish. If HomeCell is set, all SIM data is published to that cell and CellAliases are not used.

By default, this parameter is not set.

Table 61 Basic process of publishing from a Direct Publish source

Basic process For instructions, see

Chapter 9 Managing BMC Impact Publishing Server 253

Page 254: Service Model

About home cell and cell alias

3. If the component’s attribute HomeCell is set, that value is used (regardless the value of the HomeCellAlias slot).

4. The value of the HomeCellAlias slot is used to look up the HomeCell in the publish environment's CellAliases.

Determining the cell to which an impact relationship is published

To determine the cell to which a impact relationship is published, the BMC Impact Publishing Server uses the following algorithm:

1. If HomeCell is defined for the publish environment, that value is used (regardless of the values of the component's consumer_home_cell or Consumer.HomeCellAlias slots)

2. Only cell aliases and cell names defined in the publish environment's CellAliases are used.

3. If consumer_home_cell is set, that value is used (regardless the value of the Consumer.HomeCellAlias slot)

4. The value of the Consumer.HomeCellAlias slot is used to look up the consumer_home_cell in the publish environment's CellAliases.

An impact relationship must go to the cell of its consumer.

About the home cell of the provider

1. If HomeCell is defined for the publish environment, that value is used (regardless of the values of the component's provider_home_cell or Provider.HomeCellAlias slots)

2. Only cell aliases and cell names defined in the publish environment's CellAliases are used.

3. If provider_home_cell slot is set, that value is used (regardless of the value of the Provider.HomeCellAlias slot)

4. The value of the Provider.HomeCellAlias slot is used to look up the provider_home_cell in the publish environment's CellAliases.

In a Direct Publish environment, status is not propagated when the value for provider_home_cell for a remote provider is incorrect.

254 BMC Impact Solutions: Service Model Administrator’s Guide

Page 255: Service Model

About class and slot data

Relationships that cross cells

When a relationship crosses cells (the provider and consumer components belong to different cells), you must set the provider_classname slot for successful creation of relationship.

Determining the cells to which management data is published

1 If HomeCell is defined for the publish environment, then management data is send to HomeCell.

2 Management data is sent to all cells defined in the CellAliases of the publish environment.

About class and slot data

If there are classes in the source files that do not exist in the cell, the publication continues or terminates, depending on the value of the parameter ContinueOnFailure in the pclient.conf file. For information about the pclient.conf file, see “Configuration file and parameters for CLIs” on page 273.

The attributes or slots in the source files must also exist in the cell or the publication fails.

All slots that are defined in the source files for pposter, except possibly HomeCell, HomeCellAlias, Consumer.HomeCell, Consumer.HomeCellAlias, Provider.HomeCell, and Provider.HomeCellAlias are published to the cell.

Enabling Direct Publish publishing

By default, Direct Publish publishing is enabled. Direct Publish is controlled in the pserver.conf file, located in MCELL_HOME/etc, by the parameter DirectPublishOrigin = T. (Default = T)

For DirectPublish environments, the cell information is looked up from a cell directory file. You set this file in pserver.conf with the parameter IMFileDirectoryName. It defaults to mcell.dir, so cells and BMC Impact Publishing Server share the file.

Chapter 9 Managing BMC Impact Publishing Server 255

Page 256: Service Model

Creating an environment for SIM management data

Creating an environment for SIM management data

Creating an environment exclusively for SIM management data makes managing this data easier because you will not remove it when executing a reinitialization on the environment by which the management data was published.

Create a Direct Publish environment exclusively for SIM management data by executing a command similar to the following:

penv open -e MgmtDataEnv -p “OriginId = DirectPublish”

MgmtDataEnv represents the ID of the environment (or you can use MgmtDataEnv as the literal ID of the environment for SIM management data).

Publishing SIM management data from exclusive environment

Publish default SIM management data by executing the pposter CLI command for all the BAROC files that are in the MCELL_HOME/etc/ps_hostName/kb/data directory.

EXAMPLE >pposter -e MgmtDataEnv -v MCELL_HOME/etc/ps_hostName/kb/data/ di_event.mapping.baroc

>pposter -e MgmtDataEnv -v MCELL_HOME/etc/ps_hostName/kb/data/di_models.baroc

>pposter -e MgmtDataEnv -v MCELL_HOME/etc/ps_hostName/kb/data/ sim_downtime_status.baroc

>pposter -e MgmtDataEnv -v MCELL_HOME/etc/ps_hostName/kb/data/ sim_schedules.baroc

>pposter -e MgmtDataEnv -v MCELL_HOME/etc/ps_hostName/kb/data/ sim_self_priority_mapping.baroc

NOTE Do not use the files in the MCELL_HOME/etc/hostName/kb/data folder because this default folder does not contain any mc_udids, which are needed.

256 BMC Impact Solutions: Service Model Administrator’s Guide

Page 257: Service Model

Creating an environment for component instances and relationships

Creating an environment for component instances and relationships

Sending SIM data to one cell

When all the SIM data for the environment goes to one cell, you can define the cell once with the parameter HomeCell. Create a Direct Publish environment and define HomeCell by executing the following command:

penv open -e EnvId -p “OriginId = DirectPublish” -p “HomeCell = cellName”

EnvId represents the name of the environment you are creating.cellName represents the name of the cell to which you are sending objects.

Sending SIM data to multiple cells

When SIM data for the environment goes to more than one cell, you need to define cell aliases with the parameter CellAliases. Create a Direct Publish environment and define CellAliases by executing a similar command (depending on the number of cells):

penv open -e EnvId -p “OriginId=DirectPublish” -p “CellAliases = [cellAlias1, cellName1, cellAlias2, cellName2]”

EnvId represents the name of the environment you are creating.cellAlias# represents the cell alias to which you are sending objects.cellName# represents the name of the cell to which you are sending objects with the preceding cell alias.

Modifying home cell and cell aliases

To modify existing values for the parameters HomeCell or CellAliases, use the CLI command penv with its action command set.

To change the value of HomeCell to null (unset or remove the value), use the following command:

penv set -e EnvId -p "HomeCell="

NOTE

When you modify the value of the parameter CellAliases, you must redefine all cell aliases.

Chapter 9 Managing BMC Impact Publishing Server 257

Page 258: Service Model

Initializing a cell from a Direct Publish environment

To change the value of CellAliases to null (unset or remove the value), use the following command:

penv set -e EnvId -p "CellAliases="

Initializing a cell from a Direct Publish environment

Initializing a cell from a Direct Publish environment consists of deleting all existing SIM data of the publish environment from the cell and then recreating it from the original BAROC source file.m

Reinitializing a cell

To initialize a cell from a Direct Publish environment and recreate the data from the BAROC source file, execute CLI commands similar to the following:

pposter -e EnvId sourceFileName.baroc

pposter -e EnvId -p “Init=T” sourceFileName.baroc

Removing data from a cell

To remove existing service model data for a specific environment from a cell, the second pposter command references an empty (containing no data) BAROC file. Execute CLI commands similar to the following:

pposter -e EnvId sourceFileName.baroc

pposter -e EnvId -p “Init=T” emptyFileName.baroc

For more information about reinitializing a cell, see “pinit—Initializing a cell with service model data” on page 301.

Examples—using cell aliases for Direct Publish publishing

Example 1

You need a service model for the Sales department in the production cells austin and brussels.

You define a Direct Publish production environment by executing the following command:

258 BMC Impact Solutions: Service Model Administrator’s Guide

Page 259: Service Model

Examples—using cell aliases for Direct Publish publishing

You create a BAROC source file named sales.baroc. In the source file, these attributes are set: HomeCellAlias = austin, Consumer.HomeCellAlias = austin and Provider.HomeCellAlias = brussels.

You send the objects in the source file to the cells austin and brussels by executing the following command:

Now you want to experiment with the impact of a change to the service model in the test cells austin_test and brussels_test. You define a test Direct Publish environment by executing the following command:

You make a copy of the BAROC source file, sales.baroc, and name the copy sales_test.baroc. In the sales_test.baroc file, you add a new component and a new impact relationship and leave the remainder of the data in the source file unmodified.

You send the objects in the source file sales_test.baroc to the cells austin_test and brussels_test by executing the following command:

Example 2

The service model for the Sales department is needed for training.

You define a Direct Publish environment by executing the following command:

EXAMPLE penv open -e Sales -p “OriginId = DirectPublish” -p “CellAliases = [austin, austin, brussels, brussels]”

EXAMPLE pposter -e Sales sales.baroc

EXAMPLE penv open -e Sales.Test “OriginId = DirectPublish” -p “CellAliases = [austin, austin_test, brussels, brussels_test]”

EXAMPLE pposter -e Sales sales_test.baroc

EXAMPLE penv open -e Sales.Training -p “OriginId = DirectPublish” -p “CellAliases = [austin, austin_training, brussels, brussels_training]”

Chapter 9 Managing BMC Impact Publishing Server 259

Page 260: Service Model

Securing publish environments

You need the same objects in the Sales.Training environment that are in the source file sales.baroc, so you send the objects in that source file to the cells austin_training and brussels_training by executing the following command:

Even though you did not modify the source file sales.baroc, which has component instances defined with HomeCellAlias = austin, the service model objects are sent to the cell austin_training because the Sales.Training environment was defined with cellalias-to-cellname pairs as austin, austin_training and brussels, brussels_training. See “Determining the cell to which a component is published” on page 253.

Securing publish environmentsYou can control the execution of publishes for a specific publish environment by putting a password on the environment. You can password protect both Atrium CMDB environments and Direct Publish environments.

Passwords are removed in generated request logs and from BMC Impact Publishing Server request events (class IPS_REQUEST), unless you enable password logging by setting the PasswordLogging parameter to T (true) in the pserver.conf file.

Passwords that contain a semicolon (;) and passwords that end with (encrypted) are not supported.

You can put a password in the pclient.conf CLI’s configuration file. You enter the password in plain text and it is encrypted the first time a CLI is executed. This relieves you from having to enter the password on the command line when executing the CLI, however it makes the password available for anyone who has the right to execute the CLI. Also, a password that is in a CLI's configuration file applies to all executions that do not specify a password on the command line itself, regardless of the publish environment. Therefore, if you have multiple secured environments, you need to decide if you want to put the password of one of them in the configuration file.

Executing commands on password protected environments

If a publish environment is password protected, then you must enter the password for every action on the environment: publishing, initializing, and penv action commands: init, set, close.

EXAMPLE pposter -e Sales.Training sales.baroc

260 BMC Impact Solutions: Service Model Administrator’s Guide

Page 261: Service Model

Securing publish environments

For example, you want to assign a value to the HomeCell parameter for the Accounting department, which has an environment ID = Accounting and is password protected, so you execute the following command:

Adding a password when you create an environment

To add a password when you create a new publish environment, you use the CLI command penv and the action command open, in the format:

For example, you want to create a service model for the Sales department using a BAROC source file for the service model data and password protect it. So you create a Direct Publish environment with the CLI command penv and the action command open using the following command:

You can also enter a password in the pclient.conf or pinit.conf configuration files. You enter the password in plain text and it is encrypted the first time a CLI command that uses the configuration file is executed.

Adding a password to an existing environment

To add a password to an environment that was not password protected when it was created, you use the CLI command penv and the action command set, in the format:

EnvId represents the environment ID.the_password (first occurrence) represents the password.the_password (second occurrence) represents the password again, to confirm it.

Modifying the password on an environment

To change a password on an environment, you use the CLI command penv and the action command set, in the format:

EXAMPLE penv set -e Accounting -p “Password=ut0p1a” -p “HomeCell=cell2”

penv open -e EnvId -p “OriginId=DirectPublish|AtriumCMDB” -p “NewPassword1=the_password” -p “NewPassword2=the_password”

EXAMPLE penv open -e Sales -p “OriginId=DirectPublish” -p “NewPassword1=sam3ul” -p “NewPassword2=sam3ul”

penv set -e EnvId -p “NewPassword1=the_password” -p “NewPassword2=the_password”

Chapter 9 Managing BMC Impact Publishing Server 261

Page 262: Service Model

pserver.conf file and parameters

Removing the password on an environment

To remove the password on an environment, you use the CLI command penv and the action command set, in the format:

Using CLI command publish for a password protected AtriumCMDB Publish environment

If you password protect an Atrium CMDB Publish environment, you must include the password in the command string when you execute the CLI command publish. For example:

Automated publishing for a secured Atrium CMDB Publish environment is pre-authenticated.

Using CLI command pposter for a password protected Direct Publish environment

If you password protect a Direct Publish environment, you must include the password in the command string when you execute the CLI command pposter. For example:

pserver.conf file and parametersThis section contains information you need to configure the BMC Impact Publishing Server. For changes to this file to take affect, you must restart the BMC Impact Publishing Server service or process.

Table 63 describes the default pserver.conf file and all its parameters.

penv set -e EnvId -p “Password=old_password” - p “NewPassword1=new_password” -p “NewPassword2=new_password”

penv set -e EnvId -p “Password=old_password” - p “NewPassword1=” -p “NewPassword2=”

EXAMPLE publish -e Accounting -p “Password=l0b3l1a”

EXAMPLE pposter -e Payroll -p “Password=86a032” sm_payroll.baroc

262 BMC Impact Solutions: Service Model Administrator’s Guide

Page 263: Service Model

pserver.conf file and parameters

Table 63 pserver.conf file

Filename pserver.conf

File path MCELL_HOME/etc/ps_hostname or if that file does not exist MCELL_HOME/etc

Descriptioncontains the configuration settings that control the behavior of the BMC Impact Publishing Server

Parameter name Description Default value

SystemLogDirName specifies the name of the log directory for the BMC Impact Publishing Server

log

AtriumCMDBPublishOrigin enables (T) or disables (F) publishing from BMC Atrium CMDB to a cell

T (true)

AtriumCMDBHeartbeatInterval sets the length of time that BMC Impact Publishing Server waits for a heartbeat, a cancel, or a commit from a client during publish preview

When no heartbeat is received after this interval, the publish is cancelled.

180 (seconds)

AtriumCMDBPreviewTimeout sets the length of time that BMC Impact Publishing Server waits for an answer to cancel or commit the publish after publish preview

When no answer is received after this interval, the publish is cancelled.

180 (seconds)

DirectPublishOrigin enables (T) or disables (F) direct publishing feed F (false)DirectPublishHeatbeatInterval sets the length of time that BMC Impact Publishing

Server waits for a heartbeat, a direct request, or a close from a client

When no heartbeat is received after this interval, the publish is cancelled.

180 (seconds)

JNPServers defines the host and port of JNP Servers

When the Portal is set up in cluster mode, this value must match the same value in the pclient.conf file.

localhost:9379

JMSCommWarnReconnectCount the number of times to retry to establish JMS communication

If the trial fails then an IPS_ERROR event with message "Unable to establish JMS communications." of severity WARNING is generated.

If JMSCommWarnReconnectCount is -1 then retries continue indefinitely.

30 (reconnect attempts)

JMSCommWarnReconnectInterval the interval (in seconds) between two reconnection attempts

10 (seconds)

Chapter 9 Managing BMC Impact Publishing Server 263

Page 264: Service Model

pserver.conf file and parameters

JMSCommMajorReconnectCount the number of times to retry to establish JMS communication

If the trial fails then an IPS_ERROR event with message "Unable to establish JMS communications." of severity MAJOR is generated.

If JMSCommMajorReconnectCount is -1 then retries continue indefinitely.

-1 (connection attempts)

JMSCommMajorReconnectInterval the interval (in seconds) between two reconnection attempts

300 (seconds)

CMDBServer specifies the name of the computer on which BMC Atrium CMDB resides

not defined, set by install

CMDBPort defines the port number for connecting to the BMC Atrium CMDB

not defined, set by install

use 0 for dynamic port detection

CMDBUser defines the user ID that grants access to the BMC Atrium CMDB

not defined, set by install

CMDBPassword a valid BMC Atrium CMDB user password

appears in plain text when entered; encrypted at first launch

not defined, set by install

RequestHistorySize sets the maximum number of request log files that are retained by the BMC Impact Publishing Server

100

CellConnectionTimeout sets the length of time the BMC Impact Publishing Server maintains a connection to a cell when there is no activity from the cell

60 (seconds)

IMMessageBufferSize sets the size of the message buffer for communication with the cell

2000

IMMessageBufferKeepSent sets the time to keep messages buffered while waiting for an answer

300 (seconds)

IMFileDirectoryName defines the name of the Impact Manager directory for direct publications; it is looked up in the directory MCELL_HOME/etc/PSName, or if that file does not exist, in the directory MCELL_HOME/etc

This directory file is also used to locate the cell for BMC Impact Publishing Server event generation.

mcell.dir

PaswordLogging enables (T) or disables (F) the display of passwords in generated request logs and IPS_REQUEST events

F (false)

SMMMessageBufferSize sets the size of the message buffer for communication with Service Model Manager

500

SMMMessageBufferKeepSent sets the time to keep messages buffered while waiting for an answer

300 (seconds)

Table 63 pserver.conf file

264 BMC Impact Solutions: Service Model Administrator’s Guide

Page 265: Service Model

pserver.conf file and parameters

SMMMessageBufferKeepSentEstimate

enables (T) or disables (F) the use of the estimate when the length of time exceeds the value that is calculated for the upload time of the service model

T (true)

ARSNormalTimeOut sets the time to stop waiting on a BMC Remedy AR System operation that occurs quickly

120 (seconds)

ARSLongTimeOut sets the time to stop waiting on a BMC Remedy AR System operation that occurs slowly

300 (seconds)

ARSXLongTimeOut sets the time to stop waiting on a BMC Remedy AR System operation that occurs slowly

1800

ARSXLongTimeOutEstimate enables (T) or disables (F) the use of the estimate when the length of time exceeds the value that is calculated for committing bulk entry transactions

T (true)

AutomatedCancelAckTimeout When automated publishing is stopped, an ongoing publish is canceled, if possible. This parameter sets the length of time for an ack reply of the publishing request, which returns the requestID.

If the requestID is unknown, then the publish request is not canceled.

5 (seconds)

AutomatedCancelScsFlrTimeout When automated publishing is stopped, an ongoing publish is canceled, if possible. This parameter sets the length of time for the final reply of the publish request, which returns a message indicating if the publish request was canceled or not.

If the publish is canceled or if the final reply is unknown, then the publish is retriggered when automated publish is restarted.

900 (seconds)

AutomatedHeartbeatInterval sets the length of time between the BMC Impact Publishing Server and the AR Notify plugin for heartbeat. 0 or a negative value disables heartbeat.

-1 (seconds)

AutomatedHeartbeatTimeout sets the length of time that BMC Impact Publishing Server waits for an answer to a heartbeat from the AR Notify plugin.

5 (seconds)

Table 63 pserver.conf file

Chapter 9 Managing BMC Impact Publishing Server 265

Page 266: Service Model

Configuring the Notify ARDBC plug-in

Configuring the Notify ARDBC plug-inThe Notify ARDBC plug-in adds real-time notification functionality to BMC Remedy AR System applications and enables clients to receive notification about events in BMC Remedy AR Server.

You can modify the Notify ARDBC parameters in the following files:

UNIX: arInstallDirectory/conf/ar.conf Windows: arInstallDirectory\conf\ar.cfg

AutomatedPublishRetryCount the maximum number of times automated publishing is retried after failures

n represents the number of repeated publication attempts:

■ n = 0 means the publication is attempted once and not retried

■ n = 1 means the publication is attempted and then retried once

■ n < 0 means the BMC Impact Publishing Server continues to retry until a publication is successful

Publications that are skipped are not counted as retry attempts, so AutomatedPublishRetryCount is the effective maximum number of retries.

12

AutomatedPublishRetryPeriod sets the length of time between two consecutive publish requests when publish fails

If a previous publish request is not terminated when the interval times out, the next trial is skipped.

300 seconds

AutomatedStartMode the publishing mode when the BMC Impact Publishing Server starts or restarts. When the BMC Impact Publishing Server is running, you can change the publishing mode by using requests (using the CLI command pscontrol). By default, the BMC Impact Publishing Server starts in automated mode.

automated

IPSEventsIM defines the cell to which BMC Impact Publishing Server events are sent

not defined, set by install to Impact Administration Cell

IPSEventClasses defines the event classes for which BMC Impact Publishing Server events are created

all subclassess of IPS_EVENT

Table 63 pserver.conf file

266 BMC Impact Solutions: Service Model Administrator’s Guide

Page 267: Service Model

Configuring the Notify ARDBC plug-in

After you make changes to these parameters, restart BMC Remedy AR System so the changes take affect.

Table 64 ar.cfg file parameter descriptions

Parameter Description Default value

BMC-ARDBC-NOTIFY-Verify-Log log file location Remedy AR System/ Impact directory

BMC-ARDBC-NOTIFY-Server-Port port number for the server

If 0 is specified, the plug-in allows the operating system to choose an available port and binds to that port. The actual port is visible in the NOTIFY:servers form.

0

BMC-ARDBC-NOTIFY-Protocol-V1-Encrypt switches encryption for V1 protocol on or off

If encryption is switched on (T), the NOTIFY:protocols property for the V1 protocol contains the key to use for encryption.

If encryption is switched off (F), the NOTIFY:protocols property for the V1 protocol is empty.

T (True)

BMC-ARDBC-NOTIFY-Mem-Trace enables (T) or disables (F) memory tracing

You should enable memory trace only when BMC Customer Support requests it.

F (False)

BMC-ARDBC-NOTIFY-Event-Cache sets the number of events for the event cache

When the size is 0, event caching is disabled

200

Chapter 9 Managing BMC Impact Publishing Server 267

Page 268: Service Model

Configuring the Notify ARDBC plug-in

268 BMC Impact Solutions: Service Model Administrator’s Guide

Page 269: Service Model

C h a p t e r 10

10 BMC Impact Publishing Server CLIs

Use the BMC Impact Publishing Server Command Line Interface (CLI) to

■ start the BMC Impact Publishing Server service or daemon■ stop the BMC Impact Publishing Server service or daemon■ initiate a service model publish■ create service model data (with a BAROC source file)■ create, initialize, and close publish environments■ request and review information about BMC Impact Publishing Server execution■ compare service model class definitions on cells with the class definitions in the

BMC Atrium Configuration Management Database (BMC Atrium CMDB)

This appendix provides reference information on the BMC Impact Publishing Server CLIs. It contains the following topics:

Installing the CLIs on another computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270Configuring BMC Impact Publishing Server CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272

Configuration file and parameters for CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 273Changing the time-out values for all the CLI commands . . . . . . . . . . . . . . . . . . . 279Setting the configuration for a specific CLI command . . . . . . . . . . . . . . . . . . . . . 280Setting up automatic authentication of CLI commands . . . . . . . . . . . . . . . . . . . . 280Specifying the BMC Impact Administration Server used for CLI authentication . .

281Configuring trace for CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281

Understanding common command options for CLIs. . . . . . . . . . . . . . . . . . . . . . . . . . 281Understanding return codes for CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283Using CLI commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287

Summary of CLI commands for BMC Impact Publishing Server . . . . . . . . . . . . 287pclassinfo—Comparing service model classes on cells with class definitions in

the BMC Atrium CMDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289penv—Managing publish environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292pinit—Initializing a cell with service model data . . . . . . . . . . . . . . . . . . . . . . . . . . 301plog—Obtaining the XML log for a request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304plogdisplay—Converting the XML log for a request to text format . . . . . . . . . . 306pposter—Sending service model objects to a cell . . . . . . . . . . . . . . . . . . . . . . . . . . 307

Chapter 10 BMC Impact Publishing Server CLIs 269

Page 270: Service Model

Installing the CLIs on another computer

pscontrol—Sending a command to BMC Impact Publishing Server . . . . . . . . . . 318pserver—Starting the BMC Impact Publishing Server service or daemon . . . . . 320psstat—Displaying status of BMC Impact Publishing Server. . . . . . . . . . . . . . . . 321publish—Publishing a service model or viewing instances to be published . . . 322

Installing the CLIs on another computerYou can set up the BMC Impact Publishing Server CLIs on another computer so that you can run CLI commands for the BMC Impact Publishing Server and manage service model publishing remotely.

To set up the BMC Impact Publishing Server CLI on a remote computer

1 Copy the following CLI commands from the MCELL_HOME/bin directory to the MCELL_HOME/bin directory on the remote computer.

■ pclassinfo■ penv■ pinit■ plog■ plogdisplay■ pposter■ pscontrol■ psstat■ publish

2 Adjust the script setenv_pcli to set the correct environment variables JAVA_HOME and IM_HOME.

NOTE pserver must be run from only one computer at a time, and BMC Software recommends that you do not install pserver on multiple computers.

The only valid situation for which pserver should be installed on multiple boxes is for a high availability scenario. In this case, multiple pservers share the same log directory, so that when the primary server goes down, the pserver of the secondary server can immediately be started and take over.

270 BMC Impact Solutions: Service Model Administrator’s Guide

Page 271: Service Model

Installing the CLIs on another computer

3 Copy the MCELL_HOME/etc directory with the following contained files and directories to the equivalent /etc directory on the remote computer.

■ pclient.conf ■ locale/imapi.properties■ locale/ixsmsg.properties ■ locale/mcmdmsg.properties ■ locale/pclient.load■ locale/psmsg.properties■ locale/pclientmsg.properties■ locale/pclimsg.properties■ locale/mcellmsg.properties■ locale/mccompmsg.properties■ locale/psautomated.properties■ locale/messages.properties

4 Copy the following files and directories from the MCELL_HOME/lib directory to the equivalent /lib directory on the remote computer.

■ commons-cli-1.0.jar■ imapi.jar■ ixscomm.jar■ log4j-1.2.15.jar ■ pcli.jar■ pslog.jar■ psapi.jar ■ jboss directory■ jwsdp directory

5 Edit the pclient.conf file with a text editor to change the JNPServers parameter value to identify the host computer on which the BMC Portal resides (and provides JNDI services).

The other parameters do not need to be modified when copying CLIs on another host.

Chapter 10 BMC Impact Publishing Server CLIs 271

Page 272: Service Model

Configuring BMC Impact Publishing Server CLIs

When you run a BMC Impact Publishing Server CLI command on a computer that is not a BMC Portal host computer, you must provide the user credentials to the specified BMC Portal server. You can provide all the authentication information as arguments of the -i common option of the CLI command. Or, with the proper configuration, when you run a CLI command remotely, you can:

■ authenticate automatically; see “Setting up automatic authentication of CLI commands” on page 280

■ provide only user credentials on the command; see “Specifying the BMC Impact Administration Server used for CLI authentication” on page 281

Configuring BMC Impact Publishing Server CLIs

You configure the BMC Impact Publishing Server CLI by using a text editor to set the parameter values in the pclient.conf file located in the MCELL_HOME/etc directory.

You can

■ configure the CLI to change the length of time that CLI commands wait for an acknowledgement of a request (ConnectionInitTimeout) or for the completion of a request (RequestTimeout). See “Changing the time-out values for all the CLI commands” on page 279.

■ eliminate the need to provide full user credentials for authentication when you run a CLI command remotely. You can:

— set automatic authentication up by specifying the user name, password, and host computer for authentication. Then, when you run a CLI command remotely, you do not need to use the -i option to authenticate. See “Setting up automatic authentication of CLI commands” on page 280.

— specify the BMC Impact Administration Server (IAS) for authentication. Then, when you run a CLI command remotely, you must provide only the user name and password arguments for authentication. See “Specifying the BMC Impact Administration Server used for CLI authentication” on page 281.

272 BMC Impact Solutions: Service Model Administrator’s Guide

Page 273: Service Model

Configuration file and parameters for CLIs

Configuration file and parameters for CLIs

Table 65 on page 273 lists and describes the configuration parameters for BMC Impact Publishing Server CLIs, located in the MCELL_HOME/etc/pclient.conf file.

Table 65 pclient.conf parameters (part 1 of 7)

Parameter Description Default value

JNPServers host and port of the naming service of BMC Impact Portal.

When the Portal is set up in cluster mode, the values must match.

<host of Portal>: 9379

IASServers specifies the BMC Impact Administration Server (usually by host name) that authenticates the CLI commands

If you specify a remote BMC Impact Administration Server in the pclient.conf file but do not provide user credentials, you must provide them as command line arguments when you run a CLI command.

Two BMC Impact Administration Servers can be setup as a high availability pair. To do this, you must enter both servers as a comma separated list, for example:

primaryIAS:3084,secondaryIAS:3084

The p-CLIs first attempt to connect the BMC Impact Administration Server on the host primaryIAS. If that connection attempt fails, an attempt is made to connect to the BMC Impact Administration Server on the host secondaryIAS. Note that this is not only applicable to nodes of a high availability BMC Impact Administration Server pair. You can specify more than one independent BMC Impact Administration Server. The p-CLIs attempt to connect to the first BMC Impact Administration Server. If that connection attempt fails, an attempt is made to connect to the next server in the list and so on until a connection is successful.

localhost: 3084

IASUsername specifies a valid BMC Impact Administration Server user name to be presented as credentials to the specified BMC Impact Administration Server

none

Chapter 10 BMC Impact Publishing Server CLIs 273

Page 274: Service Model

Configuration file and parameters for CLIs

IASPassword specifies the valid BMC Impact Administration Server password for the specified BMC Impact Administration Server (IASUsername) to be presented as credentials for the specified BMC Impact Administration Server

Enter the IASPassword as plain text. Upon the first execution, it is encrypted.

To set remote automatic authentication of CLI commands up, specify the user name (IASUserName), and password (IASPassword) to be used as valid credentials for the specified BMC Impact Administration Server (IASServers) in the pclient.conf file.

none

ConnectionInitTimeout sets the length of time, measured in seconds, that a CLI command on making a request waits for the acknowledging reply from the BMC Impact Publishing Server, or if the Portal is not running, or the Portal's JMS service is not up and running

Normally, the BMC Impact Publishing Server immediately acknowledges any request that it receives. If this time-out expires, it often indicates the BMC Impact Publishing Server is not receiving the request. For example, the BMC Impact Publishing Server service is not running.

5 seconds

RequestTimeout sets the length of time, measured in seconds, that a CLI command waits for the processing of an acknowledged request to complete

Depending on the type of request, request processing may take a reasonable amount of time. If this time-out period expires, the CLI command stops following the request processing and, if possible, cancels the request.

3600 seconds

Locale outputs messages in the language of the specified locale if message resource files for the language are defined. The format is language[_country]. Language is a valid 2-letter ISO Language Code as defined by ISO-639. Country is a valid 2-letter ISO Country Code as defined by ISO-3166.

inherits system’s locale

Parameters specific to the publish CLI command

Merge indicates whether the Publishing Server should look for additions, modifications, and soft deletions that are to be published. The option is set to T when an automated publication is triggered from a reconciliation job with Merge activity

T

Purge indicates whether the Publishing Server should look for hard deletions that are to be published. This option is set to T when an automated publication is triggered from a reconciliation job with Purge activity

F

Table 65 pclient.conf parameters (part 2 of 7)

Parameter Description Default value

274 BMC Impact Solutions: Service Model Administrator’s Guide

Page 275: Service Model

Configuration file and parameters for CLIs

Password sets the password of a secured publish environment for the execution of the publish CLI command

none

Parameters specific to the pposter CLI command

ContinueOnFailure indicates whether pposter should stop when encountering invalid data in the source file

If ContinueOnFailure is set to T, true (default), pposter sends as much data as possible, skipping invalid data in the source file.

If ContinueOnFailure is set to F, false, pposter stops as soon as invalid data in the source file is encountered and no data is sent to the cell, not even those items processed before the incorrect data in the source file.

T

Init when set to T (true), pposter removes all existing data in the cell of the publish environment and recopies the data in the input BAROC file to the cell

when set to F (false), pposter incrementally updates the cell of the publish environment with data in the input BAROC file

F

Password sets the password of a secured publish environment for the execution of the pposter CLI command

none

Parameters specific to the penv CLI command

AssetDataSetId specifies the asset dataset name BMC.ASSET. EnvId

AssetDataSetType sets the asset dataset type

options are Regular or Overlay

Regular

AssetUnderlyingDataSetId sets the underlying dataset ID

Used when AssetDataSetType = Overlay

BMC.ASSET

AutomatedPublish enables (T) or disables (F) automated publishing on the publish environment

The default value is T, except for an overlay publish environment (an overlay dataset which has a publish mode of overlay), which defaults to F. In this way, automated publication is by default enabled on PROD environment, and is disabled by default on test environments of BMC Impact Service Model Editor.

T (true)

Table 65 pclient.conf parameters (part 3 of 7)

Parameter Description Default value

Chapter 10 BMC Impact Publishing Server CLIs 275

Page 276: Service Model

Configuration file and parameters for CLIs

CellAliases defines cell alias and cell name pairs that are unique in a given environment, in the BAROC list of string format:

[cellAlias,cellName[,cellAlias,cellName]]

This parameter applies only on Direct Publish environments. For Atrium CMDB environments, cells aliases cannot be created or modified with the penv CLI command.

not defined

Cells If cell aliases are not used, you can set this parameter as an alternative, in the BAROC list of string format:

[cellName[,cellName]]

This parameter applies only on Direct Publish environments.

not defined

CloseAliases enables (T) or disables (F) the removal of aliases of an environment; this releases the cells for use in another environment

F (false)

CloseAsset enables (T) or disables (F) the removal of the asset dataset along with all objects in the dataset

F (false)

CloseCells enables (T) or disables (F) the removal of all data instances (including management data) of the service model from the cells

T (true)

EnvDesc specifies a description for the environment to BMC Asset EnvDesc

BMC Asset EnvDesc

EnvName sets the environment name to BMC Asset EnvId BMC Asset EnvId

Format sets the format of information to Raw (a parsable data stream) or Display (readable by a user)

specific to the CLI; it is not sent to the Publishing Server as a request

Display

HomeCell sets the cell to which the entire service model is published

If set, CellAliases are not used.

not set

InitEffectivelyMgmtData determines which asset management data instances, based on the value assigned to their ServiceModelSet class attribute, are removed from the BMC Atrium CMDB

Before setting this parameter, please refer to “InitEffectively parameters” on page 243 which discusses the effect of the possible InitEffectivelyMgmtData settings on management data retention in or removal from the BMC Atrium CMDB.

IN, OUT

Table 65 pclient.conf parameters (part 4 of 7)

Parameter Description Default value

276 BMC Impact Solutions: Service Model Administrator’s Guide

Page 277: Service Model

Configuration file and parameters for CLIs

InitEffectivelyServiceModel determines which service model component and impact relationship instances, based on the value assigned to their ServiceModelSet attribute, are removed from the BMC Atrium CMDB asset dataset

Before setting this parameter, please refer to “InitEffectively parameters” on page 243 that discusses the effect of the possible InitEffectivelyServiceModel settings on SIM component instance retention in or removal from the BMC Atrium CMDB.

By default, all service model component or impact relationship instances are not removed from the BMC Atrium CMDB. Asset instances with the ServiceModelSet attribute value of IN or OUT_OF_IN have their attribute value reset to OUT.

blank

InitMgmtData specifies whether management data are initialized, T (true) or F (false)

T

InitServiceModel specifies whether the service model is initialized, T (true) or F (false)

T

Level determines the amount of information display by the info action command. Cell names and aliases are displayed only when -p “Level=1” is part of the command string.

0

NewPassword1 sets a new password for a secured environment not defined

NewPassword2 confirms a new password for a secured environment not defined

OriginId specifies the origin of the environment

options are AtriumCMDB or DirectPublish

AtriumCMDB

Password sets a password for a secured environment not defined

PublishModeMgmtData determines the mask used when retrieving publishable management data instances if AssetDataSetType = Overlay

if Overlay, all instances of the overlay dataset, as well as the underlying dataset, are considered

if Current, only instances of the overlay dataset are considered.

Overlay

Table 65 pclient.conf parameters (part 5 of 7)

Parameter Description Default value

Chapter 10 BMC Impact Publishing Server CLIs 277

Page 278: Service Model

Configuration file and parameters for CLIs

PublishModeServiceModel determines the mask used when retrieving publishable components and impact relationships, if AssetDataSetType = Overlay

used when the dataset type is overlay, this parameter determines the mask used when retrieving publishable service model instances.

if Overlay, all instances of the overlay dataset, as well as the underlying dataset, are considered

if Current, only instances of the overlay dataset are considered.

Overlay

SIM enables (T) or disables (F) the classes that may be published for the Direct Publish environments only

if T, only SIM classes may be published

if F, components and relationships of MC_SM_COMPONENT, MC_SM_RELATIONSHIP, and all subclasses cannot be published

T (true)

SourceBarocMgmtData causes the import of initial management data from instances in the .baroc files pointed to in the .load file. Service model instances in those files are ignored. This parameter cannot be set if SourceEnvMgmtData is set.

MCELL_HOME/etc/<PSName>/kb/data/.load

This is the default value for the PROD environment.

SourceBarocServiceModel causes the import of initial service model data from instances in the .baroc files pointed to in the .load file. Management data in those files are ignored. This parameter cannot be set if SourceEnvServiceModel is set.

MCELL_HOME/etc/<PSName>/kb/data/.load

This is the default value for the PROD environment.

Table 65 pclient.conf parameters (part 6 of 7)

Parameter Description Default value

278 BMC Impact Solutions: Service Model Administrator’s Guide

Page 279: Service Model

Changing the time-out values for all the CLI commands

Changing the time-out values for all the CLI commands

You can change the length of time that CLI commands wait for an acknowledgement of a request (ConnectionInitTimeout) or for the completion of a request (RequestTimeout).

To set the time-out values for all the CLI commands

Use a text editor to edit the pclient.conf file located in the MCELL_HOME/etc directory and change the values set of these parameters:

■ ConnectionInitTimeout■ RequestTimeout

SourceEnvMgmtData causes initial management data to be imported from instances of the source environment EnvId.

SourceEnvMgmtData cannot be set if SourceBarocMgmtData is set.

PROD environment

This is the default value for all environments other than PROD.

SourceEnvServiceModel causes initial service model data to be imported from instances in the asset dataset in the source environment EnvId. Data are created in the asset dataset of the environment.

If the asset dataset of source environment is an overlay dataset and EnvId refers to an underlying regular dataset, then:

■ If PublishModeServiceModel is Overlay, no instances are created in the overlay dataset.

■ If PublishModeServiceModel is Current, all instances will be created in the overlay dataset.

SourceEnvServiceModel cannot be set if SourceBarocServiceModel is set.

PROD, for re-initialization of environments other than PROD

Table 65 pclient.conf parameters (part 7 of 7)

Parameter Description Default value

Chapter 10 BMC Impact Publishing Server CLIs 279

Page 280: Service Model

Setting the configuration for a specific CLI command

Setting the configuration for a specific CLI command

If you want to customize a configuration for a specific CLI command, you can create a configuration file just for it; for example, pposter.conf.

To set the configuration for specific CLI command

1 Make a copy of the pclient.conf file and name it CLIcommand.conf where CLIcommand is the name of the CLI command for which you are creating a special configuration; for example: pposter.conf.

2 Save the file in the MCELL_HOME/etc directory.

3 Edit the new configuration file with a text editor and set the appropriate parameter values.

When the CLI command is run, the values in the appropriate configuration file are used. Alternately, you can use the -c option (see “Understanding common command options for CLIs” on page 281).

Setting up automatic authentication of CLI commands

You can define the credentials to be used to automatically authenticate CLI commands being run remotely. This eliminates the need to use the -i command option to manually enter user credentials.

To set up the automatic authentication of CLI commands

1 Edit the pclient.conf file located in the MCELL_HOME/etc directory of the computer on which you run the BMC Impact Publishing Server CLI commands, using a text editor.

2 Type the name or names of the BMC Impact Administration Server to which you are presenting a valid user credential as the value or values for the BIPServers parameter.

3 Type a valid user name for the specified BMC Impact Administration Server (IASServers) as the IASUsername parameter value.

4 Type the valid password for the specified user name (IASUsername) as the IASPassword parameter value.

Enter the IASPassword in plain text. Upon the first execution, it is encrypted.

280 BMC Impact Solutions: Service Model Administrator’s Guide

Page 281: Service Model

Specifying the BMC Impact Administration Server used for CLI authentication

5 Save the file.

Specifying the BMC Impact Administration Server used for CLI authentication

You can specify the BMC Impact Administration Server to use for authentication when you run a CLI command. Then, when you run a CLI command remotely, you can enter only the -i option user name and password arguments to authenticate.

To specify the BMC Impact Administration Server to use for authentication

1 Edit the pclient.conf file located in the MCELL_HOME/etc directory of the computer on which you run the BMC Impact Publishing Server CLI commands with a text editor.

2 Edit the IASServers parameter to specify the name of the BMC Impact Administration Server to use for authentication in the pclient.conf file.

3 Save and close the file.

Configuring trace for CLIs

You set and configure tracing of the BMC Impact Publishing Server CLIs in the MCELL_HOME\etc\pclient.trace file.

By default, only fatal, error, and warning messages appear in the trace file MCELL_HOME/tmp/pcli/pcli.trace.

You can enable the inclusion of informational and debugging messages for specific packages and subpackages by editing the pclient.trace file and removing the comment character (# ) from the lines that contain the value =DEBUG.

Understanding common command options for CLIs

Many BMC Impact Publishing Server CLI commands use the same option to perform the same function. This section describes the options that may be used by multiple commands.

Chapter 10 BMC Impact Publishing Server CLIs 281

Page 282: Service Model

Understanding common command options for CLIs

Syntax for common options

Common command options

Table 66 describes the common options for the BMC Impact Publishing Server CLI commands.

[-c ConfigFile] [-h|-?] [-i User/Password[@Host[/Port][,Host[/Port][,...]]] [-q] [-l HomeLocation] {-p "Var=Value"} [-r RequestLogFile] [-t ConnectionInitTimeout] [-u RequestTimeout] [-v] [-z]

Table 66 BMC Impact Publishing Server CLI common command options (part 1 of 2)

Option Syntax Description

-c ConfigFile specifies another configuration file to use instead of the default MCELL_HOME\etc\pclient.conf file

-h displays help information, including command syntax and options-?

-i User/Password[@Host[/Port][,Host[/Port][,...]]]

authenticates the specified user name and password with the BMC Impact Administration Server running on the specified host computer and port; you can specify multiple hosts and ports

If executing a CLI command on the BMC Impact Administration Server host computer, this option is optional. However, if you do use this option for local authentication and the credentials that you provide are invalid, the command will fail.

If executing a CLI command on a computer that is remote to the BMC Impact Administration Server host computer, this option is required, with all arguments. You can configure the CLI to eliminate the need to provide full user credentials for authentication when you run a CLI command remotely. You can:

■ set up automatic authentication in the pclient.conf file by specifying the user name, password, and host computer for authentication. See “Setting up automatic authentication of CLI commands” on page 280.

■ specify the BMC Impact Administration Server to use for authentication in the pclient.conf file. Then you must enter only the user name and password arguments to authenticate. See “Specifying the BMC Impact Administration Server used for CLI authentication” on page 281.

282 BMC Impact Solutions: Service Model Administrator’s Guide

Page 283: Service Model

Understanding return codes for CLIs

Understanding return codes for CLIsWhen a BMC Impact Publishing Server CLI command or a sim2cmdb command exits with a return value other than 0 (success), additional textual information on the error cause is displayed to standard output and to the generated publishing CLI trace file MCELL_HOME\tmp\pcli\pcli.trace. These exit codes, their meanings, and recommended remedial actions are described in Table 67.

-l HomeLocation specifies a home directory other than MCELL_HOME for the command

-p "Var=Value" sets an option (Var) to the specified value (Value); this option modifies and overrides a value defined in the configuration file

-q invokes quiet execution (no banner appears)

-r RequestLogFile retrieves the XML-formatted log file and stores it as RequestLogFile

By default, the location of the log file is relative to the directory where you run the CLI. If you provide only a file name, the file is created in the directory where you run the CLI. You can also provide the absolute path for the log file.

-t ConnectionInitTimeout

specifies the length of time, in seconds, for the command to wait for a connection before terminating; default is 5 seconds

-u RequestTimeout specifies the length of time, in seconds, for the command request to wait for an answer before terminating; default is 3600 seconds

-v activates verbose mode to display more information (such as detailed failure messages)

-z displays version information and ends command

Table 67 BMC Impact Publishing Server and sim2cmdb CLI error exit codes (part 1 of 3)

Error Exit Code Description Recommended remedial action

1 indicates a syntax error on one or more command line arguments or options

Verify the correct syntax for the command string.

2 indicates an invalid number option Verify the correct syntax for the numerical options such as -t and -u.

Table 66 BMC Impact Publishing Server CLI common command options (part 2 of 2)

Option Syntax Description

Chapter 10 BMC Impact Publishing Server CLIs 283

Page 284: Service Model

Understanding return codes for CLIs

3 indicates that the home directory (MCELL_HOME) of the application can not be found

Do the following:

1. Verify that the MCELL_HOME environment variable is set for the application.

2. Verify that the CLI script (.bat or .sh) file correctly contains:

-DHomeLocation=%MCELL_HOME%

3. Specify the home directory (-l HomeLocation) path at the command line.

10 indicates a generic (unspecified) error (This is an internal error.) Do the following:

1. Enable tracing and execute the command again to have a trace.

2. Locate the pcli.trace file to submit to BMC Software Support.

pcli.trace is located in MCELL_HOME/tmp/pcli.

3. Contact BMC Software Support and file a user case for this failure.

11 indicates that the CLI is unable to initialize its communication layer

Retry the command. If the error still occurs, do the following:

1. Verify that the URL of the provider specified in the pclient.conf file (in the MCELL_HOME/etc directory) is correct.

2. Restart the BMC Portal and BMC Impact Publishing Server.

3. Try the command again.

12 indicates a communication failure when the CLI sent data to its communication provider, for example, the jBoss server

Retry the command. If the error still occurs, do the following:

1. Restart the BMC Portal and BMC Impact Publishing Server.

2. Try the command again.

Table 67 BMC Impact Publishing Server and sim2cmdb CLI error exit codes (part 2 of 3)

Error Exit Code Description Recommended remedial action

284 BMC Impact Solutions: Service Model Administrator’s Guide

Page 285: Service Model

Understanding return codes for CLIs

13 indicates that the CLI cannot decode an answer that it has received from its communication provider

(This is an internal error.) Do the following:

1. Enable tracing and execute the command again so there is an entry in the trace file.

2. Locate the pcli.trace file (MCELL_HOME/tmp/pcli ) to submit to BMC Software Support.

3. Contact BMC Software Support and file a user case for this failure.

14 indicates that the CLI cannot find a file that it requires to run properly; for example a FileNotFound exception.

Verify that the file whose name appears as missing does exist

15 indicates that the CLI cannot resolve a host name

Repair the computer’s network settings

16 indicates the failure to authenticate with the BMC Impact Administration Server

Do the following:

■ If you are running a CLI command, verify the credentials that you specified.

■ If automatic authentication is set up in the pclient.conf file, verify that the credentials (IASUsername, IASPassword, and IASServers) are valid.

17 indicates an Impact interface initialization failure; for example the I18N configuration may be wrong

Do the following:

Verify that the file MCELL_HOME/etc/locale/pclient.load exists on the host where the pcli is running/installed.

18 indicates that the UTF-8 character set is not supported by the host

The host computer must support the UTF-8 character set.

19 indicates that the CLI does not have a request identifier

Do the following:

1. Enable tracing and execute the command again to generate a trace.

2. Locate the pcli.trace file (MCELL_HOME/tmp/pcli) to submit to BMC Software Support.

3. Contact BMC Software Support and file a user case for this failure.

20 indicates an I/O error when the publishing log file is written

Verify that the write permission is set for the publishing request log file. You specify the name of the RequestLogFile for a CLI command by using the -r common option

Table 67 BMC Impact Publishing Server and sim2cmdb CLI error exit codes (part 3 of 3)

Error Exit Code Description Recommended remedial action

Chapter 10 BMC Impact Publishing Server CLIs 285

Page 286: Service Model

Return codes for pserver

Return codes for pserver

The pserver command has return codes that differ from other CLI commands. These exit codes, their meanings, and recommended remedial actions are described in Table 68.

Table 68 pserver error exit codes (part 1 of 2)

Error Exit Code Description Recommended remedial action

1 indicates that the HomeLocation system property is not set

Do the following:

1. Verify that the MCELL_HOME environment variable is set for the application.

2. Verify that the CLI script (.bat or .sh) file correctly contains:

-DHomeLocation=%MCELL_HOME%

3. Specify the home directory (-l HomeLocation) path at the command line.

2 indicates the log directory cannot be created

Ensure the pserver user has write access to MCELL_HOME/log.

3 indicates that the log/ps.lock file cannot be created

Ensure the pserver user has write access to MCELL_HOME/log.

4 indicates another Publishing Server is already running

Verify with fuser (Unix) that a process is keeping a lock on ps.lock. If not, remove ps.lock.

5 indicates the CMDB interface cannot initialize

Verify ARServer and BMC Atrium CMDB settings and installation.

6 indicates the Impact Administration Server interface cannot initialize

Verify BMC Impact Administration Server settings and installation.

7 indicates a configuration file is missing Provide the configuration file.

9 indicates an I/O exception occurred on a configuration file

Ensure the pserver user has write access to the configuration file.

10 indicates a syntax error Check the syntax you used for the command and try the command again.

286 BMC Impact Solutions: Service Model Administrator’s Guide

Page 287: Service Model

Using CLI commands

Using CLI commandsThis section provides information on how you use BMC Impact Publishing Server CLI commands, including functions, syntax, and examples.

Summary of CLI commands for BMC Impact Publishing Server

Table 69 lists all of the available BMC Impact Publishing Server CLI commands and provides a brief description of the purpose for each command.

You can invoke BMC Impact Publishing Server CLI commands from a command prompt on Windows, from a UNIX operating system prompt, or from a script, either locally on the BMC Portal host computer or remotely on another computer.

To use the BMC Impact Publishing Server CLI commands remotely, you must copy the CLI installation to the remote host and configure the CLI for remote access See “Configuring BMC Impact Publishing Server CLIs” on page 272.

11 indicates the home directory does not exist Do the following:

1. Verify that the MCELL_HOME environment variable is set for the application.

2. Verify that the CLI script (.bat or .sh) file correctly contains:

-DHomeLocation=%MCELL_HOME%

3. Specify the home directory (-l HomeLocation) path at the command line.

12 indicates a security exception error on the home directory

Ensure the pserver user has write access to the home directory.

13 indicates an I/O exception occurred during the creation of the HomeLocation/tmp/ps.trace file

Ensure the pserver user has write access to MCELL_HOME/tmp.

14 indicates the publish environments cannot be initialized

Verify that the SIM CMDB extension of the same version as the Publishing Server is installed.

Table 68 pserver error exit codes (part 2 of 2)

Error Exit Code Description Recommended remedial action

Chapter 10 BMC Impact Publishing Server CLIs 287

Page 288: Service Model

Summary of CLI commands for BMC Impact Publishing Server

Table 69 BMC Impact Publishing Server CLI command descriptions

Command Description Page

pclassinfo compares the service model class definitions on a cell or cells with the class definitions in the BMC Atrium CMDB and lists the differences

You can also use this command to export service model class definitions from the BMC Atrium CMDB.

289

penv enables you to set up advanced environments and staging scenarios beyond the abilities of the Send to Test commands available in BMC Impact Service Model Editor

292

pinit initializes or reinitializes cells with service model impact data

301

plog obtains the XML log for a specific service model publishing request and routes it to standard output

Use this command with the plogdisplay command.

304

plogdisplay displays the XML log for a specific service model publishing in text format to standard output

306

pposter sends SIM elements, such as component instances, relationships, and management data to cells by using the BMC Impact Publishing Server

307

pscontrol sends a specific command (automated, manual, stop) to the BMC Impact Publishing Server

318

pserver starts the BMC Impact Publishing Server service or daemon

The major differences between pserver and the other BMC Impact Publishing Server CLI commands are:

■ the exit codes are different■ pserver is the BMC Impact Publishing Server itself,

while the others are CLI commands that communicate with the server

■ the configuration files and tracing files are different■ although possible, the process for copying pserver to

another computer is different, and performance considerations should be taken into account

320

psstat returns the status (starting, started, or stopping) and mode (automated or manual) of the BMC Impact Publishing Server

321

publish publishes service model or displays (-w) the service model objects to be published

322

288 BMC Impact Solutions: Service Model Administrator’s Guide

Page 289: Service Model

pclassinfo—Comparing service model classes on cells with class definitions in the BMC Atrium CMDB

pclassinfo—Comparing service model classes on cells with class definitions in the BMC Atrium CMDB

Use the pclassinfo command to

■ compare the service model class definitions on a specific cell or cells with the service model class definitions in the BMC Atrium CMDB and list the differences between them.

■ export the service model class definitions from the BMC Atrium CMDB.

pclassinfo syntax

pclassinfo command options

Table 70 lists the options for pclassinfo.

There are no required options for pclassinfo.

pclassinfo <common options> [-n cellName1[,cellName2[...]] |-a | -x][-o OutputFile] [-s Description]

Table 70 pclassinfo options (part 1 of 2)

Options Description

<common options>-? -c -h -i -l -p -q -t -u -v -z

see “Understanding common command options for CLIs” on page 281

-a specifies to retrieve the service model classes from ALL the cells and compare them with the BMC Atrium CMDB service model classes

-n cellName1[,cellName2[...]]

specifies the specific cell or cells from which to retrieve the service model classes and compare them with the BMC Atrium CMDB service model classes

On Windows platforms, you must enclose the cell list in quotation marks (").

If a cell name is not specified, the default cell name (the unqualified version of the host computer name) is used. If the cell has a different name, the command fails.

Chapter 10 BMC Impact Publishing Server CLIs 289

Page 290: Service Model

pclassinfo—Comparing service model classes on cells with class definitions in the BMC Atrium CMDB

pclassinfo examples

This section contains several examples of the pclassinfo command including:

■ exporting service model class definitions from the BMC Atrium CMDB to standard output

■ exporting service model class definitions from the BMC Atrium CMDB to a file

■ comparing cell service model class definitions with those in the BMC Atrium CMDB

Exporting service model class definitions from the BMC Atrium CMDB

To export the service model class definitions in the BMC Atrium CMDB to standard output, type the following command:

This command generates a listing of the service model class definitions defined in the BMC Atrium CMDB and outputs it to standard output.

To export the service model class definitions in the BMC Atrium CMDB to a specific file, type the following command:

-o OutputFile If the -a or -n option is specified, prints the differences between the specified service model class definitions to the specified output file.

If the -x option is specified, prints the service model class definitions from the BMC Atrium CMDB to the specified output file.

-s description describe request

-x exports service model class definitions from the BMC Atrium CMDB to standard output or if an output file (-o option) is specified to a file

Service model class definitions are exported in BAROC language format.

pclassinfo -x

pclassinfo -x -o fileName

Table 70 pclassinfo options (part 2 of 2)

Options Description

290 BMC Impact Solutions: Service Model Administrator’s Guide

Page 291: Service Model

pclassinfo—Comparing service model classes on cells with class definitions in the BMC Atrium CMDB

The service model class definitions are written to a BAROC file with the specified name. You can load this file on a cell.

Comparing cell service model class definitions with those in the BMC Atrium CMDB

To compare the service model class definitions in the cell whose name is the short-version of its host computer name (the default cell name) with the definitions in the BMC Atrium CMDB, type the following command:

If there are no differences between the service model class definitions on the cell and those defined in the BMC Atrium CMDB, the command returns output similar to the following:

If there are differences between the service model class definitions on the cell and those defined in the BMC Atrium CMDB, the command returns the differences, which appear similar to the following:

To compare the service model class definitions in a specific cell with those defined in the BMC Atrium CMDB on Windows platforms, type the following command:

pclassinfo

MCELL_HOME\bin>pclassinfoBMC Impact Service Model Class Retriever v7.2.00 (Build 1544975.000 - 20-May-2008)Copyright 2005-2008 BMC Software, Inc. as an unpublished work. All rights reserved.Class info is synchronized.

MCELL_HOME\bin>pclassinfo BMC Impact Service Model Class Retriever v7.2.00 (Build 1544975.000 - 20-May-2008)Copyright 2005-2008 BMC Software, Inc. as an unpublished work. All rights reserved.-- BEGIN DIFFS -- <PreviewItem><Im>arwad</Im><SlotAdd><Class>BMC_BaseElement</Class><Slot>VersionNumber</CmdbSlot></SlotAdd></PreviewItem> <PreviewItem><Im>arwad</Im><ClassAdd><CmdbClass>BMC_Region</CmdbClass></ClassAdd></PreviewItem> -- END DIFFS --Class info is not synchronized

pclassinfo -n cellName

Chapter 10 BMC Impact Publishing Server CLIs 291

Page 292: Service Model

penv—Managing publish environments

This command returns the differences, if there are any, between the service model class definitions on the cell named with those defined in the BMC Atrium CMDB.

To compare the service model class definitions for all the cells registered with the BMC Impact Portal with those defined in the BMC Atrium CMDB, type the following command:

This command returns the differences, if any, found between the classes defined in the BMC Atrium CMDB and the service model class definitions on all the cells found by the BMC Impact Publishing Server.

pclassinfo return codes

For information about CLI return codes, see “Understanding return codes for CLIs” on page 283.

penv—Managing publish environments

Use the penv command to create and manage publishing environments when the source of the service model data is either the BMC Atrium CMDB (Atrium Publish) or the CLI pposter (Direct Publish). For more information about publish environments, see “Understanding publish environments” on page 229 and “Publishing from a Direct Publish source” on page 252.

You can secure publish environments by applying a password. See “Securing publish environments” on page 260.

penv syntax

NOTE On Windows platforms, you must enclose the cell list in quotation marks (").

pclassinfo -a

penv <common options> [-f] (-e EnvId (close | init | open | set)|[-e EnvID] info)

292 BMC Impact Solutions: Service Model Administrator’s Guide

Page 293: Service Model

penv—Managing publish environments

penv command options

Table 71 lists the options for penv.

Table 71 penv options (part 1 of 2)

Option Description

<common options>-c -h -? -i -l -q -p -t -u -v -z

see “Understanding common command options for CLIs” on page 281

Cells = ["["] cell1 {, cellN} ["]"]

The pair of opening and closing brackets are allowed but not mandatory.

Cells extend the existing concept of the HomeCell parameter. HomeCell becomes deprecated because setting HomeCell is equivalent to setting Cells with one element.

A DirectPublish environment can be created using either Cells or CellAliases. Defining a DirectPublish environment with HomeCell is supported for backward compatibility, but it is deprecated. If a CellAliases is given, a list of cells is built by the Publishing Server, consisting of all cell names found in CellAliases.

The destination cell names are determined as follows:

■ If Cells contains a single element, then this cell name is used to publish all data, regardless of any cell information found in the data.

■ If Cells contains more than one element, then for components and relationships, the destination cell must be found through the data instance:

For components, the attribute HomeCell is first searched, then HomeCellAlias is searched. For relationships, the attribute consumer_home_cell is searched, then Consumer.HomeCellAlias is searched.

■ If no valid destination cell is found, publish fails. If HomeCellAlias is used then CellAliases must be set, otherwise publish fails.

Management data or non-SIM data (that is, instances other than components or relationships) are published to all cells.

-e EnvID sets a unique identifier for the environment

Default is PROD.

Chapter 10 BMC Impact Publishing Server CLIs 293

Page 294: Service Model

penv—Managing publish environments

penv action commands: open, init, close, set, info

penv provides additional functionality with these action commands: close, info, init, open, and set. Some action commands work differently or have different requirements, depending on the type of environment, Atrium Publish or Direct Publish, as described in Table 72.

-f forces the command execution without prompting the user to confirm the initialization action.

If the -f option is not specified, you are prompted to confirm command execution.

-s description describe request

Table 72 Actions commands (part 1 of 2)

action command General description

Specific to BMC Atrium CMDB environments

Specific to Direct Publish environments

close removes data related to the specified environment. The impact dataset and all its instances are removed.

If CloseAsset=T, asset dataset instances are removed and the asset dataset is removed; default = F (false).

If CloseCells=T, cells are reinitialized with empty ServiceModel; default is T (true).

If CloseAliases=T, aliases of the environment are removed, which releases the cells for usage in another environment; default is T (true).

Table 71 penv options (part 2 of 2)

Option Description

294 BMC Impact Solutions: Service Model Administrator’s Guide

Page 295: Service Model

penv—Managing publish environments

Atrium Publish environments—valid parameters for each action command

Table 73 provides a brief description of the parameters in the pclient.conf configuration file for an Atrium Publish environment and specifies the parameters that are valid for each penv action command: close, info, init, open, and set.

For a complete list of parameters in the pclient.conf file and additional parameter information, see “Configuration file and parameters for CLIs” on page 273.

info displays information relevant to environments

■ to display column headings, use the -v option

■ to display cell alias information, use the -p “Level=1” option

■ Display characteristics are— when HomeCell is not set, a

empty string is returned () — cell alias values may include

blank characters— cell name values do not include

blank characters— values containing blank

characters are quoted according to the rules for quoting BAROC strings

all parameters are valid except CellAliases

relevant parameters are CellAliases, Format, HomeCell, Level, and OriginId

you must include -p OriginId=Direct Publish as part of the command string if the EnvID is not included.

init initializes (or reinitializes) the asset and impact datasets of the specified environment

not applicable

open creates the asset and impact datasets of the specified environment and stores environment settings in the cell

after the environment is opened, you cannot modify values for PublishModeServiceModel or PublishModeMgmtData parameters

also stores the settings for the environment in the BMC Atrium CMDB

data is stored only in the cell (and the source file); there is no secondary datastore

set sets or resets the parameters of the publish environment

you can reset only parameters AutomatedPublish, HomeCell, CellAliases, Password, NewPassword1, and NewPassword2

you can reset only parameters HomeCell, Cells, and CellAliases, Password, NewPassword1, and NewPassword2

Table 72 Actions commands (part 2 of 2)

action command General description

Specific to BMC Atrium CMDB environments

Specific to Direct Publish environments

Chapter 10 BMC Impact Publishing Server CLIs 295

Page 296: Service Model

penv—Managing publish environments

Table 73 Valid parameters for a BMC Atrium CMDB publish environment (part 1 of 2)

Parameter name Description close info init open set

AssetDataSetId defines the asset dataset ID; default is BMC.ASSET.EnvId

yes

AssetDataSetType defines the asset dataset type as Regular or Overlay; default is Overlay

yes

AssetUnderlyingDataSetId defines the underlying dataset for an overlay asset dataset; default is BMC.ASSET

yes

AutomatedPublish enables (T) or disables (F) automated publication for the publish environment; default is T, except for overlay publish environments

yes

CellAliases defines cellalias-to-cellname pairs that are unique to a given environment

You cannot define CellAliases with the CLI command penv.

yes yes

CloseAliases enables (T) or disables (F) the removal of aliases of an environment; this releases the cells for use in another environment

yes

CloseAsset enables (T) or disables (F) the removal of the asset dataset along with all objects in the dataset

yes

CloseCells enables (T) or disables (F) the removal of all data instances (including management data) of the service model from the cells

yes

EnvDesc describes the environment yes

EnvName specifies the name of the environment yes

HomeCell specifies to which cell to publish. If HomeCell is set, the entire service model is published to the specified cell. In this case, CellAliases are not used

yes yes

Format defines the information displayed with info

yes

InitEffectivelyMgmtData determines which asset management data instances, based on their ServiceModelSet attribute, are removed from the BMC Atrium CMDB

See “Configuration file and parameters for CLIs” on page 273.

yes

296 BMC Impact Solutions: Service Model Administrator’s Guide

Page 297: Service Model

penv—Managing publish environments

InitEffectivelyServiceModel determines which service model component and impact instances, based on their ServiceModelSet attribute, are removed from the BMC Atrium CMDB

yes

InitMgmtData specifies whether management data are initialized, T (true) or F (false)

See “Configuration file and parameters for CLIs” on page 273.

yes

InitServiceModel specifies whether the service model is initialized, T (true) or F (false)

See “Configuration file and parameters for CLIs” on page 273.

yes

Level determines the amount of information display by the info action command

yes

NewPassword1 specifies a new password yes yes

NewPassword2 confirms a new password yes yes

OriginId defines the source of the service model data

yes yes yes

Password specifies a password for authentication yes yes yes yes

PublishModeMgmtData defines whether management data should be approached as overlay or as regular dataset

yes

PublishModeServiceModel defines whether components and impact relationships should be approached as overlay or as regular dataset

yes

SourceBarocMgmtData causes the import of initial management data from instances in the .baroc files pointed to in the .load file.

yes

SourceBarocServiceModel causes the import of initial service model data from instances in the .baroc files pointed to in the .load file.

yes

SourceEnvMgmtData causes initial management data to be imported from instances of the source environment EnvId.

yes

SourceEnvServiceModel causes initial service model data to be imported from instances in the asset dataset in the source environment EnvId. Data are created in the asset dataset of the environment.

yes

Table 73 Valid parameters for a BMC Atrium CMDB publish environment (part 2 of 2)

Parameter name Description close info init open set

Chapter 10 BMC Impact Publishing Server CLIs 297

Page 298: Service Model

penv—Managing publish environments

Direct Publish environments—valid parameters for each action command

Table 74 provides a brief description of the valid parameters in the pclient.conf configuration file for a Direct Publish environment and specifies the parameters that are valid for each penv action command: close, info, init, open, and set.

For a complete list of parameters in the pclient.conf file and additional parameter information, see “Configuration file and parameters for CLIs” on page 273.

penv examples

This section contains examples of penv info. For other examples of penv, see “Examples of advanced environments” on page 237.

Table 74 Valid parameters for a Direct Publish environment

Parameter name Description close info init open set

CellAliases defines cell alias and cell name pairs that are unique in an given environment

yes yes

Cells defines cell names when cell aliases are not used

yes

Format defines the information displayed with info yes

HomeCell specifies to which cell to publish. If HomeCell is set, the whole service model is published to the specified cell. In this case, CellAliases are not used.

yes yes

Level determines the amount of information displayed by the info action command

yes

NewPassword1 specifies a new password yes yes

NewPassword2 confirms a new password yes yes

OriginId defines the source of the service model data

yes yes yes

Password specifies a password for authentication yes yes yes yes

SIM enables (T) or disables (F) the classes that may be published for the Direct Publish environments only

if T, only SIM classes may be published

if F, components and relationships of MC_SM_COMPONENT, MC_SM_RELATIONSHIP, and all subclasses cannot be published

yes

298 BMC Impact Solutions: Service Model Administrator’s Guide

Page 299: Service Model

penv—Managing publish environments

Example 1—includes cell names and cell aliases, but no column headings

In example 1, Atrium Publish environments are displayed and cell names and cell aliases are displayed because the -p “Level=1” option is used, but column headings are missing because the -v option is not used.

Example 2—raw format

Example 2 displays the information in Raw format, rather than display format

EXAMPLE

$ penv -p "OriginId=AtriumCMDB" -p "Level=1" infoBMC Impact Publishing Server Environment Manager v7.0 (Build 666.343 - 05/21/2007)Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Request received and accepted by the Publishing ServerrequestId=Z00000emahxa59Xp9yZhyMZ6zowkZ

AtriumCMDB

Ghislain.TEST.1 BMC.ASSET.Ghislain.TEST.1 BMC.IMPACT.Ghislain.TEST.1 Overlay Overlay Current F

cell1 test_ghislain cell2 test_ghislain cell3 test_ghislain

Marcelle.TEST.1 BMC.ASSET.Marcelle.TEST.1 BMC.IMPACT.Marcelle.TEST.1 Overlay Overlay Current F imtest

PROD BMC.ASSET BMC.IMPACT.PROD Regular

cell1 cell1 cell2 cell2 cell3 cell3

EXAMPLE

$ penv -p "OriginId=AtriumCMDB" -p "Format=Raw" -p "Level=1" infoBMC Impact Publishing Server Environment Manager v7.0 (Build 666.343 - 05/21/2007)Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Request received and accepted by the Publishing ServerrequestId=Z00000emahxa59Xp9sZhyMZ6zowkZ

AtriumCMDBGhislain.TEST.1 BMC.ASSET.Ghislain.TEST.1 BMC.IMPACT.Ghislain.TEST.1 Overlay Current Current F ''3cell1 test_ghislaincell2 test_ghislaincell3 test_ghislainMarcelle.TEST.1 BMC.ASSET.Marcelle.TEST.1 BMC.IMPACT.Marcelle.TEST.1 Overlay Current Current F imtest0PROD BMC.ASSET BMC.IMPACT.PROD Regular T ''3cell1 cell1cell2 cell2cell3 cell3

Chapter 10 BMC Impact Publishing Server CLIs 299

Page 300: Service Model

penv—Managing publish environments

Example 3—includes cell aliases and column headings

In Example 3, cell aliases and column headings are included for an Atrium Publish environment.

EXAMPLE

$ penv -p "OriginId=AtriumCMDB" -p "Level=1" -v infoBMC Impact Publishing Server Environment Manager v7.0 (Build 666.343 - 05/21/2007)Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Request received and accepted by the Publishing ServerrequestId=Z00000emahxa59Xp9uZhyMZ6zowkZ

OriginId: AtriumCMDB

------------------------------------------------------------------------------------EnvId AssetDataSetId ImpactDataSetId AssetDataSetType PublishModeMgmtData PublishModeServiceModel AutomatedPublish HomeCellGhislain.TEST.1 BMC.ASSET.Ghislain.TEST.1 BMC.IMPACT.Ghislain.TEST.1 Overlay Overlay Current F

CellAlias CellName cell1 test_ghislain cell2 test_ghislain cell3 test_ghislain-------------------------------------------------------------------------------------------------------------------------------------------------------------------------EnvId AssetDataSetId ImpactDataSetId AssetDataSetType PublishModeMgmtData PublishModeServiceModel AutomatedPublish HomeCellMarcelle.TEST.1 BMC.ASSET.Marcelle.TEST.1 BMC.IMPACT.Marcelle.TEST.1 Overlay Overlay Current F ImTest------------------------------------------------------------------------------------EnvId AssetDataSetId ImpactDataSetId AssetDataSetType PublishModeMgmtData PublishModeServiceModel AutomatedPublish HomeCellPROD BMC.ASSET BMC.IMPACT.PROD Regular T

CellAlias CellName cell1 cell1 cell2 cell2 cell3 cell3-------------------------------------------------------------------------------------

300 BMC Impact Solutions: Service Model Administrator’s Guide

Page 301: Service Model

pinit—Initializing a cell with service model data

Example 4—Direct Publish environment with cell aliases

Example 6 is for a Direct Publish publish environment. Cell names and cell alias are displayed because of the -p “Level=1” option and column headings are displayed because the -v option is used.

pinit—Initializing a cell with service model data

The pinit command copies the service model data of the publish environment to the specified cells. Initializing a cell does not remove status values from component instances.

If publish from BMC Atrium CMDB is enabled, then the cells are automatically initialized with the data of the Atrium Publish environment to which they are assigned and default management data is also created on the cells. Normally, the BMC Impact Publishing Server initializes new cells automatically. You may need to use the pinit command to restore a cell’s service model when it is not in sync with the impact service model of BMC Atrium CMDB.

If publish from BMC Atrium CMDB is disabled, then you must publish the management data manually before the components and impact relationships by using the CLI command pposter.

For more information for a Direct Publish environment, see “Initializing a cell from a Direct Publish environment” on page 258.

EXAMPLE

$ penv -p "OriginId=DirectPublish" -p "Level=1" -v infoBMC Impact Publishing Server Environment Manager vDeveloper-ppa (Build 666.343 - xx/xx/2008)Copyright 2005-2008 BMC Software, Inc. as an unpublished work. All rights reserved.

Request received and accepted by the Publishing ServerrequestId=Z00000f48fmlfkXp9tZdlMZ3dbyuZ

OriginId: DirectPublish

------------------------EnvId HomeCelldirect direct_cell------------------------EnvId HomeCelldirect_2

CellAlias CellName direct_al_1 d_cell_1 direct_al_2 d_cell_2------------------------EnvId HomeCelldirect_3 direct_cell_3------------------------

Chapter 10 BMC Impact Publishing Server CLIs 301

Page 302: Service Model

pinit—Initializing a cell with service model data

pinit syntax

pinit command options

Table 75 lists the command options for pinit.

There are no required options for pinit.

pinit <common options> [-f] [-n cellName1[,cellName2[...]] |-a ] -e EnvId [-s Description]

Table 75 pinit options (part 1 of 2)

Option Description

<common options>-c -h -? -i -q -l -p -t -v -z

see “Understanding common command options for CLIs” on page 281

-a initializes HomeCell or the cells defined by CellAliases

If one or more of the cells cannot be initialized (for example, because a cell is not running), none of them are initialized and the request fails.

-f forces the cell initialization without prompting you to confirm the initialization action

If the -f option is not specified, you are prompted to confirm the initialization action.

-n cellName1[,cellName2[...]]

For a BMC Atrium CMDB publish environment: specifies the cells to initialize or reinitialize with the impact service model.

On Windows platforms, you must enclose the cell list in quotation marks (").

If a cell name is not specified, the default cell name (the unqualified version of the host computer name) is used. If such a cell does not exist or does not belong to the considered environment, the command fails.

If one or more of the cells cannot be initialized (for example, because a cell is not running), none of them are initialized and the request fails.

-s description describes request

302 BMC Impact Solutions: Service Model Administrator’s Guide

Page 303: Service Model

pinit—Initializing a cell with service model data

When you execute a pinit command for a specific environment, only the data for that environment is reinitialized. So, if the same cell contains different environments (for example, Atrium Publish and DirectPublish), then only part of the cell’s data is reinitialized.

pinit examples

This section provides examples of using the pinit command to initialize or reinitialize a cell with service model data.

Initializing a cell with the production service model data from the BMC Atrium CMDB

To initialize or reinitialize the cell whose name is the short host name (default cell name) with the BMC Atrium CMDB production service model, type the following command. (The short host name is the unqualified version of the host computer name.)

Initializing a specific cell with the BMC Atrium CMDB production service model

To initialize a specific cell named ”jana” with the BMC Atrium CMDB production service model, type the following command:

Initializing all BMC Impact Portal-registered cells with the BMC Atrium CMDB production service model

To initialize all the cells registered with the BMC Impact Portal with the BMC Atrium CMDB production service model, type the following command.

-e environmentID sets environment identifier to environmentID. The default value is PROD.

It specifies either an Atrium CMDB environment or a Direct Publish environment, depending on the value of OriginId. For example, OriginId = AtriumCMDB or OriginId = DirectPublish).

pinit

pinit -n jana

pinit -a

Table 75 pinit options (part 2 of 2)

Option Description

Chapter 10 BMC Impact Publishing Server CLIs 303

Page 304: Service Model

plog—Obtaining the XML log for a request

If one or more of the specified cells cannot be initialized, for example, if a cell is not running, none of them are initialized and the request fails.

Initializing a cell’s data for a Direct Publish environment

To initialize the cell austin in the Direct Publish environment Sales, type the following command.

This command removes all data of the service model in the Direct Publish environment Sales. In the cell, this corresponds to data that has the slot publish_env_id set to DirectPublish.Sales.

If the BMC Impact Publishing Server has both Atrium CMDB and Direct Publish enabled, then you must specify OriginId = DirectPublish, either in the pclient.conf file or in the CLI penv command string as -p “OriginId = DirectPublish”.

pinit return codes

For information about CLI return codes, see “Understanding return codes for CLIs” on page 283.

plog—Obtaining the XML log for a request

Use the plog command to obtain and optionally view the XML log for a publishing request. The plog command requests the XML log for a specific request from the BMC Impact Publishing Server and routes it in XML format to standard output. Use the plogdisplay command with the plog command to convert the XML log to text and to output the text to standard output.

plog syntax

plog command options

The required command option for plog is the Request ID.

Table 76 lists the options for plog.

pinit -n austin -e Sales

plog <common options> RequestID [-r] [-s] [-w]

304 BMC Impact Solutions: Service Model Administrator’s Guide

Page 305: Service Model

plog—Obtaining the XML log for a request

plog examples

This section provides examples of using the plog command to obtain and output the XML log for a specific service model publishing request.

Viewing the XML log for a specific publishing request as stdout

To obtain the XML log for a specific publishing request, and send it to standard output for viewing, type a command similar to the following, substituting the request ID in this example:

Viewing the XML log for a specific publishing request as a text in stdout

To obtain the XML publishing log for a specific publishing request, convert it to text format, and output it to standard output for viewing, type a command similar to the following, substituting the request ID:

Using this command, you pipe the output of the plog command through the plogdisplay command to convert it to text format for output. See “plogdisplay—Converting the XML log for a request to text format” on page 306.

plog return codes

For information about CLI return codes, see “Understanding return codes for CLIs” on page 283.

Table 76 plog options

Option Description

<common options>-c -h -? -i -q -l -p -t -v -z

see “Understanding common command options for CLIs” on page 281

RequestID the ID of a specific publish request

-r request the replies part of the XML log

-w request the instances to be published

-s request the process report of the XML log

plog -s Z00000e8mu7xw9Xpa1ZfsMZeg4v1Z

plog -s Z00000e8mu7xw9Xpa1ZfsMZeg4v1Z | plogdisplay -@

Chapter 10 BMC Impact Publishing Server CLIs 305

Page 306: Service Model

plogdisplay—Converting the XML log for a request to text format

plogdisplay—Converting the XML log for a request to text format

Use the plogdisplay command to convert the XML log for a request to text and output it to standard output. Use this command with the plog command.

plogdisplay syntax

plogdisplay command options

You must specify an input for the command; it can be either standard input (-@) or a specified file.

Table 77 lists the options for plogdisplay.

plogdisplay examples

This section provides examples of using the plogdisplay command to convert an XML log file for a publishing request to text and output it to standard output.

plogdisplay <common options> (-@ | RequestLogFile)

Table 77 plogdisplay options

Option Description

<common options except: -r, -t, and -u>

see “Understanding common command options for CLIs” on page 281

This command does not interact with the BMC Impact Publishing Server so it does not accept these CLI common options: -r, -t, and -u.

You do not need to authenticate a user with the BMC Portal when using this command. If you do include the authentication option (-i), the user is authenticated.

-@ | RequestLogFile specifies the source of input to display

Use one of these arguments:

■ Use -@ to indicate standard input as the source to display.

■ For a specific publishing request, type the name of the XML log file as the source to display.

306 BMC Impact Solutions: Service Model Administrator’s Guide

Page 307: Service Model

pposter—Sending service model objects to a cell

Converting an XML log file for a specific publishing request to text

To convert the XML log file for a publishing request to text and output it to standard output, type a command similar to the following command, substituting the correct xml file name:

Viewing the XML log for a specific publishing request as a text in stdout

You pipe the output of the plog command through the plogdisplay command to convert it to text format and output it to standard output. To view a specific publishing log in text format, type the following command:

plogdisplay return codes

The plogdisplay command returns a nonzero value if it encounters any errors during execution. It returns a zero (0) value upon a successful execution, as shown in Table 78.

pposter—Sending service model objects to a cell

You use the pposter command to send service model objects (components, relationships, and SIM management data) to a cell for Direct Publish environments only by using BMC Impact Publishing Server.

The main difference between pposter and mposter is that pposter communicates with a Publishing Server and uses an environment identifier (EnvId) to refer to a specific service model and enables the deletion of service model objects. For information on mposter, see BMC Impact Solutions: General Administration.

publish -r myLog.xml plogdisplay myLog.xml

plog -r -s Z00000e8mu7xw9Xpa1ZfsMZeg4v1Z | plogdisplay -@

Table 78 plogdisplay return codes

Code Description

0 success

a number other than 0

error

When a CLI command exits with a return value other than 0, additional textual information on the error cause is displayed to standard output and, possibly, to the generated publishing CLI trace file pcli.trace. For information about these error codes, see “Understanding return codes for CLIs” on page 283.

Chapter 10 BMC Impact Publishing Server CLIs 307

Page 308: Service Model

pposter—Sending service model objects to a cell

To use the pposter command, you must set the parameter DirectPublishOrigin to T in pserver.conf and create a Direct Publish environment with a penv command. For example, at the command prompt, type:

penv -e EnvId -p “OriginId = DirectPublish” open -p “HomeCell = cellName”

For more information about creating environments and the penv command, “penv—Managing publish environments” on page 292.

pposter syntax

pposter command options

Table 75 lists the options for pposter.

You must specify a environment ID and a source file for pposter.

pposter <common options> -e EnvId sourceFile {sourceFile}

Table 79 pposter options (part 1 of 2)

Option Description

<common options>-c -h -? -i -q -l -p -r -s -t -u -v -z

see “Understanding common command options for CLIs” on page 281

-e EnvId sets the environment identifier to EnvID to specify a service model

SIM=T/F If SIM is set to T, true (default), pposter publishes components (instances of subclasses of MC_SM_COMPONENT) and impact relationships (instances of subclasses of MC_SM_RELATIONSHIP) to their HomeCell. Instances of all other classes are considered Service Impact Management Data and are published to all cells of the environment.

If SIM is set to F, false, pposter publishes data other than SIM data. It is not possible to publish components (instances of subclasses of MC_SM_COMPONENT) and impact relationships (instances of subclasses of MC_SM_RELATIONSHIP). All data is always published to all cells of the environment.

308 BMC Impact Solutions: Service Model Administrator’s Guide

Page 309: Service Model

pposter—Sending service model objects to a cell

pposter uses the following parameter in the MCELL_HOME/etc/pclient.conf file:

ContinueOnFailure=T/F

If ContinueOnFailure is set to F, false (default), pposter stops as soon as invalid data in the source file is encountered and no data is sent to the cell, not even those items processed before the incorrect data in the source file.

If ContinueOnFailure is set to T, true, pposter sends as much data as possible, skipping invalid data in the source file.

Source files for pposter

You create a source file and, using the following commands, define the contents in BAROC format with the appropriate data additions, modifications, or deletions.

Init=T/F If Init is set to F, false (default) or omitted, then existing data is updated with the new data.

If Init is set to T, true, then existing published data is replaced with the data of the Baroc file. In other words, existing published data of the DirectPublish publish environment is removed and new data as defined in the Baroc file is added. If the data in the Baroc file has no mc_udid, then the new data will have mc_udid that differs from the existing data. To remove all published data of a DirectPublish publish environment from a cell, execute pposter -p "Init=T" with an empty Baroc file or without Baroc file. When using Init=T, pposter requires confirmation (-f option).

sourceFile file that contains the data to send

See “Source files for pposter” on page 309.

Table 79 pposter options (part 2 of 2)

Option Description

Chapter 10 BMC Impact Publishing Server CLIs 309

Page 310: Service Model

pposter—Sending service model objects to a cell

For each data instance, provide a value for mc_udid. You can publish new data instances without specifying a value for mc_udid, but the mc_udid is still needed to modify or delete the existing data in cell, except if all existing data is replaced when publishing.

For environments that do not have a value for the HomeCell slot, you must provide a value for the HomeCell slot for each component, and a value for the provider_home_cell and the consumer_home_cell slots for each relationship. A relationship is sent to the cell of its consumer component.

For relationships in which the consumer and provider components belong to different cells, you must specify a value for the provider_classname slot. See “pposter example 2—two cells” on page 313.

You can also use cell aliases by specifying values for HomeCellAlias for components, and Consumer.HomeCellAlias and Provider.HomeCellAlias for relationships. Since these slots do not exist in the class definition of the cell, BMC Impact Publishing Server uses the alias table of the environment and replaces them with the values in the HomeCell, consumer_home_cell and provider_home_cell slots. See “pposter example 3—using cell aliases” on page 315.

Data instances, possibly prepended with dnew (+ or -), dmodify, or ddelete commands, must terminate with END, followed by a Return.

pposter example 1

This example shows how to create a simple service model, modify the service model, and delete the service model.

The service model consists of three objects: an application (comp0), that depends on a database (comp1), and the relationship between the two. The environment is MY_ENV and the HomeCell is MY_HOMECELL.

Command Definition

dnew + create a new data instance; if this instance exists, update it

The space between dnew and + is required.

This is the default; if none of the three commands are present at the beginning of a line in a source file, dnew + is assumed.

dnew - create a new data instance

The space between dnew and - is required.

If this instance exists, do not change it; ignore the dnew - command.

dmodify change the existing data instance

ddelete delete the existing data instance

310 BMC Impact Solutions: Service Model Administrator’s Guide

Page 311: Service Model

pposter—Sending service model objects to a cell

Creating a service model

To create this service model, create a source file. For this example, it is named FileDnew.baroc:

To send this new service model to the cell, at the command prompt, type the following command:

Modifying a service model

To modify the service model by adding impact costs, create a source file. For this example, it is named FileDModify.baroc:

EXAMPLE BMC_DataBase;

mc_udid = comp0;Name = comp0;

END

BMC_Application;mc_udid = comp1;Name = comp1;

END

BMC_Impact;mc_udid = rel;provider_id = comp0;consumer_id = comp1;PropagationModel = DIRECT;Name = comp1;

END

EXAMPLE pposter -v -e MY_ENV FileDnew.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2007) Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

EXAMPLE dmodify BMC_DataBase;

mc_udid = comp0;ImpactCostPerSec = 5;ImpactCostPerSecOut = 2;

END

Chapter 10 BMC Impact Publishing Server CLIs 311

Page 312: Service Model

pposter—Sending service model objects to a cell

To send this modification to the service model to the cell, at the command prompt, type the following command:

Deleting a service model

To delete the service model, create a source file. For this example, it is named FileDdelete.baroc:

To send this deletion of the service model to the cell, at the command prompt, type the following command:

EXAMPLE pposter -v -e MY_ENV FileDmodify.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2007) Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

EXAMPLE ddelete BMC_DataBase; mc_udid = rel; ENDddelete BMC_Application; mc_udid = comp0; ENDddelete BMC_Impact; mc_udid = comp1; END

EXAMPLE pposter -v -e MY_ENV FileDdelete.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2007) Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

312 BMC Impact Solutions: Service Model Administrator’s Guide

Page 313: Service Model

pposter—Sending service model objects to a cell

pposter example 2—two cells

This service model consists of three objects: an application (comp0) that belongs in cell_1, a database (comp1) that belongs in cell_2, and the relationship between the two.

Creating a service model for two cells

To create this service model, create a source file. For this example, it is named FileDnew.baroc:

To send this new the service model to the cells, at the command prompt, type the following command:

EXAMPLE BMC_DataBase;

HomeCell = cell_1;mc_udid = comp0;Name = comp0;

END

BMC_Application;HomeCell = cell_2;mc_udid = comp1;Name = comp1;

END

BMC_Impact;provider_home_cell = cell_1;consumer_home_cell = cell_2;provider_classname = BMC_DataBase;mc_udid = rel;provider_id = comp0;consumer_id = comp1;PropagationModel = DIRECT;

END

EXAMPLE pposter -v -e MY_ENV FileDnew.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2007) Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

Chapter 10 BMC Impact Publishing Server CLIs 313

Page 314: Service Model

pposter—Sending service model objects to a cell

Modifying a service model for two cells

To modify the service model by adding impact costs, create a source file. For this example, it is named FileDModify.baroc:

To send this modification to the service model to the cells, at the command prompt, type the following command:

Deleting a service model

To delete the service model, create a source file. For this example, it is named FileDdelete.baroc:

To send this deletion of the service model to the cell, at the command prompt, type the following command:

EXAMPLE dmodify BMC_DataBase;

HomeCell = cell_1;mc_udid = comp0;ImpactCostPerSec = 5;ImpactCostPerSecOut = 2;

END

EXAMPLE pposter -v -e MY_ENV FileDmodify.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2008) Copyright 2005-2008 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

EXAMPLE ddelete BMC_DataBase; HomeCell = cell_1; mc_udid = rel; ENDddelete BMC_Application; HomeCell = cell_2; mc_udid = comp0; ENDddelete BMC_Impact; consumer_home_cell = cell_1; mc_udid = comp1; END

314 BMC Impact Solutions: Service Model Administrator’s Guide

Page 315: Service Model

pposter—Sending service model objects to a cell

pposter example 3—using cell aliases

This service model consists of three objects: an application (comp0) that belongs in cell_1, a database (comp1) that belongs in cell_2, and the relationship between the two. For this example, cell aliases are as follows:

Creating a service model with cell aliases

To create this service model, create a source file. For this example, it is named FileDnew.baroc:

EXAMPLE pposter -v -e MY_ENV FileDdelete.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2007) Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

cell alias cell name

c_alias_1 cell_1

c_alias_2 cell_2

EXAMPLE BMC_DataBase;

HomeCellAlias = c_alias_1;mc_udid = comp0;Name = comp0;

END

BMC_Application;HomeCellAlias = c_alias_2;mc_udid = comp1;Name = comp1;

END

BMC_Impact;Provider.HomeCellAlias = c_alias_1;Consumer.HomeCellAlias = c_alias_2;provider_classname = BMC_DataBase;mc_udid = rel;provider_id = comp0;consumer_id = comp1;PropagationModel = DIRECT;

END

Chapter 10 BMC Impact Publishing Server CLIs 315

Page 316: Service Model

pposter—Sending service model objects to a cell

To send this new the service model to the cells, at the command prompt, type the following command:

Modifying a service model with cell aliases

To modify the service model by adding impact costs, create a source file. For this example, it is named FileDModify.baroc:

To send this modification to the service model to the cell, at the command prompt, type the following command:

EXAMPLE pposter -v -e MY_ENV FileDnew.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2007) Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

EXAMPLE dmodify BMC_DataBase;

HomeCellAlias = c_alias_1;mc_udid = comp0;ImpactCostPerSec = 5;ImpactCostPerSecOut = 2;

END

EXAMPLE pposter -v -e MY_ENV FileDmodify.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2007) Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

316 BMC Impact Solutions: Service Model Administrator’s Guide

Page 317: Service Model

pposter—Sending service model objects to a cell

Deleting a service model with cell aliases

To delete the service model, create a source file. For this example, it is named FileDdelete.baroc:

To send this deletion of the service model to the cell, at the command prompt, type the following command:

Return codes for pposter

Table 80 describes the return codes specific to the pposter command. For return (or error exit) codes common to all BMC Impact Publishing Server CLI commands, see “Understanding return codes for CLIs” on page 283.

EXAMPLE ddelete BMC_DataBase; HomeCellAlias = c_alias_1; mc_udid = rel; ENDddelete BMC_Application; HomeCellAlias = c_alias_2; mc_udid = comp0; ENDddelete BMC_Impact; Consumer.HomeCellAlias = c_alias_2; mc_udid = comp1; END

EXAMPLE pposter -v -e MY_ENV FileDdelete.baroc

BMC Impact Publishing Server Data Poster vDeveloper-ppa (Build 666.343 - xx/xx/2007) Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Publish successfully applied.

Table 80 pposter return codes (part 1 of 2)

Return Code Description

0 All data commands in the source files are successfully applied to all cells of the environment.

50 Publish has successfully completed, but some errors were detected.

This can occur only if ContinueOnFailure is set to T (true).

For more information, see the publish log; the -v option provides more detail.

51 BMC Impact Publishing Server refused to initiate the publish process. The actual cause of the error (for example, another publish is in progress) is displayed on the standard error device.

52 An error is returned by BMC Impact Publishing Server when data are being sent to it.

For more information, see the publish log; the -v option provides more detail.

Chapter 10 BMC Impact Publishing Server CLIs 317

Page 318: Service Model

pscontrol—Sending a command to BMC Impact Publishing Server

pscontrol—Sending a command to BMC Impact Publishing Server

Use the pscontrol command to send a command (automated, manual, stop) to the BMC Impact Publishing Server.

By default, pscontrol only sends the command to the BMC Impact Publishing Server. To monitor that the mode effectively changed to Automated or Manual, you can use the -u option.

pscontrol syntax

pscontrol command options

Table 81 lists the options for the pscontrol command.

There are no required command options for the pscontrol command.

53 An error is returned by BMC Impact Publishing Server when data are effectively applied to the cells.

For more information, see the publish log; the -v option provides more detail.

54 There is a syntax or invalid BAROC object in the source file.

55 There is an I/O error with a source file, for example, no source file or the source file cannot be opened.

pscontrol [-c ConfigFile] [-h|-?] [-i User/Password[@Host[/Port] [,Host[/Port] [,...]]] [-q] [-l HomeLocation] {-p "Var=Value"} [-t ConnectionInitTimeout] [-u RequestTimeout] [-v] [-z] [-f] (automated | manual | stop)

Table 81 pscontrol command options (part 1 of 2)

Options Description

<common options>-c -h -i -q -l -p -t -u -v -z

see “Understanding common command options for CLIs” on page 281

The -u option default for pscontrol is 0 seconds.

-f forces the command to run without prompting the user to verify the execution of the command

stop stops the BMC Impact Publishing Server

Table 80 pposter return codes (part 2 of 2)

Return Code Description

318 BMC Impact Solutions: Service Model Administrator’s Guide

Page 319: Service Model

pscontrol—Sending a command to BMC Impact Publishing Server

pscontrol examples

This section contains examples of usage of the pscontrol command.

Figure 32 contains an example of the pscontrol stop command, which stops the BMC Impact Publishing Server.

Figure 33 contains an example of the pscontrol automated command, which restarts automated publishing.

Figure 34 contains an example of the pscontrol automated command using the -u option.

Figure 34 pscontrol automated -u example

automated turns automated publishing on

manual turns automated publishing off

Figure 32 pscontrol stop example

$ pscontrol stopBMC Impact Publishing Server Controller vDeveloper-ppa (Build 666.343 - xx/xx/2007)Copyright 2005-2006 BMC Software, Inc. as an unpublished work. All rights reserved.

Please confirm control command (stop) (type y (yes) / n (no). Default is n): y

Publishing Server is stopping

Figure 33 pscontrol automated example

pscontrol -f automatedBMC Impact Publishing Server Controller vDeveloper-ppa (Build 666.343 - xx/xx/2007)Copyright 2005-2006 BMC Software, Inc. as an unpublished work. All rights reserved.

Automated publishing is starting

pscontrol -f -u 300 automatedBMC Impact Publishing Server Controller vDeveloper-ppa (Build 666.343 - xx/xx/2007)Copyright 2005-2006 BMC Software, Inc. as an unpublished work. All rights reserved.

Automated publishing is starting

Automated publishing is started

Table 81 pscontrol command options (part 2 of 2)

Options Description

Chapter 10 BMC Impact Publishing Server CLIs 319

Page 320: Service Model

pserver—Starting the BMC Impact Publishing Server service or daemon

Figure 35 contains an example of the pscontrol manual command, which stops automated publishing.

pserver—Starting the BMC Impact Publishing Server service or daemon

Use the pserver command to start the Publishing Service service or daemon.

pserver syntax

pserver command options

Table 82 lists the options for the pserver command.

There are no required command options for the pserver command.

Figure 35 pscontrol manual example

pscontrol manualBMC Impact Publishing Server Controller vDeveloper-ppa (Build 666.343 - xx/xx/2007)Copyright 2005-2007 BMC Software, Inc. as an unpublished work. All rights reserved.

Please confirm control command (manual) (type y (yes) / n (no). Default is n): y

Automated publishing is stopping

pserver [-b psname] [-c ConfigFile] [-d] [-h|-?] [-q] [-l HomeLocation] {-p "Var=Value"} [-v] [-z]

Table 82 pserver command options

Options Description

<common options>-? -c -h -p -q -v -z

see “Understanding common command options for CLIs” on page 281

-d on UNIX platforms, causes the BMC Impact Publishing Server to run in the foreground instead of as a daemon in the background

(On Windows platforms, the BMC Impact Publishing Server always runs in the foreground.)

-b psname identifies the name of the BMC Impact Publishing Server; defaults to ps_hostname

320 BMC Impact Solutions: Service Model Administrator’s Guide

Page 321: Service Model

psstat—Displaying status of BMC Impact Publishing Server

psstat—Displaying status of BMC Impact Publishing Server

Use the psstat command to determine if the BMC Impact Publishing Server is running and in what mode, automated or manual.

psstat syntax

psstat command options

There are no required command options for the psstat command.

Table 83 lists the options for the psstat command.

psstat examples

This section provides examples of using the psstat command to view the status of the BMC Impact Publishing Server and whether it is in automated or manual mode.

BMC Impact Publishing Server running with automated publish enabled

When the BMC Impact Publishing Server is running and automated publish is enabled, psstat returns the following message:

BMC Impact Publishing Server running with automated publish disabled

When the BMC Impact Publishing Server is up and automated publish is disabled, psstat returns the following message:

psstat [-c ConfigFile] [-h|-?] [-i User/Password [@Host[/Port] [,Host[/Port] [,...]]] [-q] [-l HomeLocation] {-p "Var=Value"} [-t ConnectionInitTimeout] [-u RequestTimeout] [-v] [-z]

Table 83 psstat command options

Options Description

<common options> see “Understanding common command options for CLIs” on page 281

psstat

Started - Automated mode

Chapter 10 BMC Impact Publishing Server CLIs 321

Page 322: Service Model

publish—Publishing a service model or viewing instances to be published

BMC Impact Publishing Server not running (or cannot be contacted)

When the BMC Impact Publishing Server is down or cannot be reached, psstat returns the message Request Timeout Expired.

publish—Publishing a service model or viewing instances to be published

Use the publish command to

■ publish the service model without viewing what is being published (default)

■ view the service model instances, including components, relationships, and management data instances that are marked for publishing

■ publish the entire service model or selected service model class instances and view a listing of the component, relationship, and management data instances being published

publish syntax

publish command options

Table 84 lists the options for the publish command.

There are no required command options for the publish command.

psstat

Started - Manual mode

publish <common options> [-d ClassName.UdId[,ClassName.UdId[,...]]] [-e EnvId] [-w [-o File] [-m]] [-s Description]

Table 84 publish command options

Options Description

<common options> see “Understanding common command options for CLIs” on page 281

[-d ClassName.UdId[,ClassName.UdId[,...]]]

publishes the specified service model object class instances, which can include component, relationship, and management data

322 BMC Impact Solutions: Service Model Administrator’s Guide

Page 323: Service Model

publish—Publishing a service model or viewing instances to be published

publish examples

This section provides examples of using the publish command to view the service model class instances to be published (including components, relationships, and management data) and to publish them.

Publishing the service model without viewing it

To publish a service model without viewing the objects queued for publish, type the following command:

Viewing the service model class instances to be published prior to publishing

To view the service model class instances that are queued for publishing, type the following command:

Viewing what is queued to publish and then publishing the objects

To view and then publish the service model objects that are marked for publishing, type the following command:

-m publishes the service model class instances, including component, relationship, and management data instances, that you viewed (relevant only with the -w option)

-o OutputFile prints the service model class instances, including components, relationships, and management data, to be published to the specified output file (relevant only with the -w option)

-w view the service model class instances marked for publishing

-s description describe request

-e environmentID publishes in environmentID. The default value is PROD. Other values will result in error messages if using a BMC Impact Publishing Server version prior to 5.x.

publish

publish -w

publish -w -m

Table 84 publish command options

Options Description

Chapter 10 BMC Impact Publishing Server CLIs 323

Page 324: Service Model

Viewing hard-deleted service model instances and publishing deletions

To view the service model objects that have been hard-deleted from the production asset dataset, but that still exist in cells, type the following command:

To view the service model objects that have been hard-deleted from the production asset dataset, but that still exist in cells, and then to publish the deletions to the cells, type the following command:

publish return codes

For information about CLI return codes, see “Understanding return codes for CLIs” on page 283.

publish -p “Purge=T” -p “Merge=F” -w

publish -p “Purge=T” -p “Merge=F” -w -m

324 BMC Impact Solutions: Service Model Administrator’s Guide

Page 325: Service Model

A p p e n d i x A

A Troubleshooting

This section describes problem solving for the BMC Impact Service Model Editor and BMC Impact Publishing Server products.

BMC Impact Service Model EditorThis section describes problem solving for the BMC Impact Service Model Editor product.

Using the BMC Impact Service Model Editor log

To open the BMC Impact Service Model Editor Log dialog box and view the log messages, choose Tools => View Log.

Figure 36 BMC Impact Service Model Editor log

By default, this log captures startup and shutdown information. To record different levels of information for debugging purposes, see “To set log file preferences” on page 199.

The following illustration depicts representative log entries of the BMC Impact Service Model Editor GUI log.

Appendix A Troubleshooting 325

Page 326: Service Model

Using the BMC Impact Service Model Editor log

Outside BMC Impact Service Model Editor, you can enable the log for the BMC Impact Service Model Editor server and the Java Web Start console.

BMC Impact Service Model Editor Server

The BMC Impact Service Model Editor Server records commands, runtime exceptions, and debugger information. To view the output of the BMC Impact Service Model Editor Server log, you must modify the log4j.xml configuration file of the JBoss application server. The log4j.xml configuration file is located on the system where the BMC Portal is installed in the directory: BMC_PORTAL_KIT_HOME/appserver/websdk/tools/jboss/server/all/conf.

You can modify the log4j.xml file to send its output to

■ the BMC Portal log file■ a console window■ a console window and the JBoss log file

To send BMC Impact Service Model Editor Server debug output to the BMC Portal log file

1 In an appropriate editor, open the BMC_PORTAL_KIT_HOME/appserver/websdk/tools/jboss/server/all/conf/log4j.xml.

2 Add the following appender and category elements under the Setup the Root Category heading.

Nov 27, 2006 4:57:08 PM [Seq: 0, ID: BMCSME001010, Level: INFO]FindPanel Creation doneNov 27, 2006 4:57:09 PM [Seq: 2, ID: BMCSME000006, Level: INFO]Service Model Editor console started. Version: 5.0.0 Build: 1124943Nov 27, 2006 4:57:42 PM [Seq: 3, ID: BMCSME000018, Level: INFO]Loaded 1 workspaces from server.Nov 27, 2006 5:01:03 PM [Seq: 4, ID: BMCSME000004, Level: INFO]Logging level changed to ALL.

<appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender"><errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/><param name="Threshold" value="DEBUG"/><param name="File" value="${jboss.server.home.dir}/log/portal.log"/><param name="Append" value="true"/><param name="MaxFileSize" value="100MB"/><param name="MaxBackupIndex" value="10"/>

<layout class="org.apache.log4j.PatternLayout"><param name="ConversionPattern" value="<%5.1p,%d{MM/dd/yy HH:mm:ss z},%c{1}>%m%n"/>

326 BMC Impact Solutions: Service Model Administrator’s Guide

Page 327: Service Model

Using the BMC Impact Service Model Editor log

To send BMC Impact Service Model Editor Server debug output to a console window

1 In an appropriate editor, open the BMC_PORTAL_KIT_HOME/appserver/websdk/tools/jboss/server/all/conf/log4j.xml.

2 Add the following appender and category elements under the Setup the Root Category heading.

3 To view debug output in a console window, start the BMC Impact Portal from a shell window:

■ For Windows, open a Command Prompt window, and enter the following command:

BMC_PORTAL_KIT_HOME\appserver\websdk\bin\run.bat

■ For Solaris, open a terminal window, and enter the following command:

BMC_PORTAL_KIT_HOME/tools/jboss/bin/jboss.sh

4 Restart the BMC Portal application server.

</layout></appender>

<category name="com.bmc.sms.sme"><priority value="DEBUG"/><appender-ref ref="SME_FILE"/></category>

<appender name="SME_CONSOLE" class="org.apache.log4j.ConsoleAppender"><errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/><param name="Target" value="System.out"/><param name="Threshold" value="DEBUG"/><layout class="org.apache.log4j.PatternLayout"> <!-- Since sdk logger prints its own context info, we shorten the context info from log4j and use the following format:<last letter of Priority,Date,Category> Message\n --><param name="ConversionPattern" value="<%5.1p,%d{MM/dd/yy HH:mm:ss z},%c{1}> %m%n"/></layout></appender>

<category name="com.bmc.sms.sme"><priority value="DEBUG"/><appender-ref ref="SME_CONSOLE"/></category>

Appendix A Troubleshooting 327

Page 328: Service Model

Using the BMC Impact Service Model Editor log

To send BMC Impact Service Model Editor Server debug output to a console window and the BMC Portal log file

1 In an appropriate editor, open the BMC_PORTAL_KIT_HOME/appserver/websdk/tools/jboss/server/all/conf/log4j.xml.

2 Add both sets of appender and category elements for sending output to the BMC Portal log and to a console window as described in the preceding two procedures.

3 Add the following ref subelement pointing to the SME_FILE under the category element with the value com.bmc.sms.sme.

Java Web Start logging

The Java Web Start log helps you to identify BMC Impact Service Model Editor deployment problems.

To enable Java Web Start logging

1 Open the Java Web Start Application Manager console in one of the following ways:

■ Double-click the Java Web Start icon on your desktop.■ Under Windows, choose Start => Programs => Java Web Start => Java Web Start or,

from the Command Prompt, execute the following command:

%JAVA_HOME%\jre\javaws\javaws.exe

2 In the Java Web Start Application Manager console, choose File => Preferences.

3 On the Advanced tab, in the Output Options area, select Log Output.

4 To select an existing file, click Choose Log File Name, or enter a file path in the Log File Name box.

<category name="com.bmc.sms.sme"><priority value="DEBUG"/><appender-ref ref=”SME_CONSOLE”/><appender-ref ref="SME_FILE"/></category>

NOTE The appender element FILE is defined under the Preserve Messages in a local file heading of the default log4j.xml file.

328 BMC Impact Solutions: Service Model Administrator’s Guide

Page 329: Service Model

Other BMC Impact Service Model Editor Troubleshooting Options

5 Click OK.

Other BMC Impact Service Model Editor Troubleshooting Options

These workarounds apply to various troubleshooting scenarios that you might encounter.

Deleting all Views

Remove all the View files from the following locations:

■ BMC_PORTAL_KIT_HOME/appserver/websdk/tools/jboss/server/all/data/smsConsoleServer/sme/indexes

■ BMC_PORTAL_KIT_HOME/appserver/websdk/tools/jboss/server/all/data/smsConsoleServer/sme/Views

Connecting to the Remedy AR System server

To verify that the BMC Atrium CMDB is accessible, you connect to the Remedy AR System server using the Remedy User Tool. If necessary, restart the Remedy AR System server service.

If the BMC Atrium CMDB is not accessible, you may receive a blank error dialog box when performing commands in BMC Impact Service Model Editor.

Testing the connection between BMC Impact Portal and the BMC Atrium CMDB

To verify the connection between BMC Impact Portal and the BMC Atrium CMDB, you can run the Impact Portal superadmin task Synchronize User Groups. If this fails, it is probably due to a bad BMC Atrium CMDB configuration in Impact Portal. BMC Impact Service Model Editor connects to the BMC Atrium CMDB through the Impact Portal, so it is a vital configuration.

If the BMC Atrium CMDB is not accessible, you may receive a blank error dialog box when performing commands in BMC Impact Service Model Editor.

Appendix A Troubleshooting 329

Page 330: Service Model

BMC Impact Publishing Server

BMC Impact Publishing ServerThis section contains information on troubleshooting problems with the BMC Impact Publishing Server and publication failures.

Promotion, reconciliation, and publish are independent processes. It is possible that the promotion and reconciliation processes are successful, but the subsequent publication fails.

BMC Impact Service Model Editor notifies you only of the success or failure of a promotion, not whether the publication is successful or has failed. BMC recommends that you monitor the success or failure of publications that are automatically started.

For information about publication logs, which provide helpful information when troubleshooting problems, see “Working with publication logs” on page 126.

Verifying that BMC Impact Publishing Server is running

To ensure that only one BMC Impact Publishing Server is running, BMC Impact Publishing Server maintains the file MCELL_HOME/log/ps_hostName/ps.lock. If the BMC Impact Portal JMS is not functioning properly, you can use ps.lock to verify whether a BMC Impact Publishing Server is running.

Using trace files

To help debug problems with publishing, you use the pserver.trace file. The file MCELL_HOME/tmp/ps_hostName/pserver.trace contains tracing information. By default, only trace information of level WARN or higher is logged. Enable debug tracing in MCELL_HOME/etc/<PSName>/pserver.trace (or MCELL_HOME/etc/pserver.trace) by commenting out the last two sections.

Stopping BMC Impact Publishing Server when JMS is not running

If the BMC Impact Portal JMS is not up and running properly, find and stop the BMC Impact Publishing Server process.

Ensure that you do not kill the BMC Impact Publishing Server process when it is processing a request. Note that this procedure is for UNIX platforms only.

330 BMC Impact Solutions: Service Model Administrator’s Guide

Page 331: Service Model

Publishing large service models

1 At the command prompt, navigate to the MCELL_HOME/log/ps_hostName directory.

2 Execute the command fuser ps.lock

The processID of the BMC Impact Publishing Server process is returned.

3 Kill the BMC Impact Publishing Server process by executing the command: fuser -k ps.lock

Publishing large service models

When publishing large models, several parameters may require adjustment:

■ In the pserver.conf file, the configuration parameter ARSXLongTimeOut may not be set high enough. This parameter specifies the time out value for the communication between BMC Impact Publishing Server and the BMC Atrium CMDB.

Reinitialization of a cell (pinit) and a new, successful publication are necessary to avoid subsequent publication job failure with the message Unique data identifier not/already in use.

By default, BMC Impact Publishing Server estimates the timeout needed. If the timeout is not adequate, set ARSXLongTimeOutEstimate=F and increase ARSXLongTimeOut.

If publication fails during the database update with the message Failure while applying publish on CMDB - Error - 92 Timeout, the operation has been accepted by the server and will usually complete successfully, the value for ARSXLongTimeOut is not set high enough and expires before the BMC Atrium CMDB has terminated committing modifications in the impact dataset.

The BMC Atrium CMDB continues to commit modifications in the impact dataset and after a while the service model will be available in the impact dataset. Make sure the parameters are set correctly.

The same failure may happen when initializing CMDB with large service models.

■ In the MCELL_HOME/etc/smmgr.conf file, the MessageBufferKeepSent parameter is the timeout for communication between smmgr and the cell. In the MCELL_HOME/etc/pserver.conf file, the SMMMessageBufferKeepSent parameter is the timeout for communication between BMC Impact Publishing Server and smmgr.

Appendix A Troubleshooting 331

Page 332: Service Model

Publishing failures and reattempts

By default, BMC Impact Publishing Server estimates the timeout needed. If the publication fails with Publish verification of IMs failed, set SMMMessageBufferKeepSentEstimate=F and increase SMMMessageBufferKeepSent.

If publication fails with Publish validation of IMs failed, use the following information to troubleshoot the problem according to the message you receive:

IM <CellName> failed to upload service model from SMM

The MessageBufferKeepSent of smmgr is not high enough and expires before the cell has terminated uploading service model from smmgr.

IM <CellName> did not answer the request

The SMMMessageBufferKeepSent of publishing server is not high enough and expires before the smmgr has applied the verification or upload.

In both cases, the cell continues to upload and eventually the service model is available in the cell. Nevertheless, reinitialize the cell and publish again to avoid subsequent publish jobs failing with the message Unique data identifier not/already in use.

Publishing failures and reattempts

When an automated publish request fails because of reasons independent of model consistency (for example, when a cell is not available), the automated publisher retries the publish (the configuration parameter AutomatedPublishRetryPeriod in the pserver.conf file defines the interval between two publish requests). If a request is still not terminated when the interval runs out, a new interval is started.

The configuration parameter AutomatedPublishRetryCount gives the maximum number of retries:

■ 0 means no retrial, thus only a single publish request is performed. ■ 1 means a publish request and one retry attempt, if necessary.■ a number less than zero (-1) means the automated publisher will republish

indefinitely, until a publish is successful.

332 BMC Impact Solutions: Service Model Administrator’s Guide

Page 333: Service Model

BMC Impact Publishing Server service or daemon fails to start

BMC Impact Publishing Server service or daemon fails to start

Only one BMC Impact Publishing Server may be running at any given time. This is controlled in the MCELL_HOME/log/<PSName>/ps.lock file, which is updated with a timestamp every minute by the BMC Impact Publishing Server as it runs. If the Impact Publish Server is stopped gracefully, then ps.lock is removed.

If the BMC Impact Publishing Server service or daemon fails to start and displays the error message

Unable to launch BMC Impact Publishing Server. Another BMC Impact Publishing Server is already running

remove the ps.lock file in the MCELL_HOME/log/ps_hostname/ directory and restart the BMC Impact Publishing Server service (or daemon).

No publication after successful promotion

Even if promotion is successful, publication might still fail. Promotion and publication are asynchronous processes. If the Promotion Results dialog box in BMC Impact Service Model Editor indicates that the promotion was successful, but data does not appear in the BMC Impact Portal or BMC Impact Explorer, follow the guidelines in this section to troubleshoot the problem.

Unable to start automated publishing

If you receive the following error event after switching to automated mode:

Unable to start automated publishing. ERROR-8755 The specified plug-in does not exists. (BMC.ARDBC.NOTIFY).

This error occurs when the Notify ARDBC plugin is not loaded when BMC Impact Publishing Server starts in automated mode. Verify that the plugin is properly installed and loaded.

Verify automated publishing mode

Verify that the BMC Impact Publishing Server is running in automated mode with the CLI command psstat. If the psstat command returns Started - Automated mode, automated publisher is up and running.

Appendix A Troubleshooting 333

Page 334: Service Model

Reconciliation jobs hang

If the psstat command indicates that the BMC Impact Publishing Server is not running in automated mode, it may be in manual mode. This might have occurred because the configuration parameter AutomatedStartMode in pserver.conf is set to Manual, or because the mode was set with the CLI command pscontrol. If the BMC Impact Publishing Server is running in manual mode, you can request a publication using the CLI command publish.

To switch to automated mode, execute the CLI command pscontrol automated.

Reconciliation jobs hang

When reconciliation jobs hang and remain in a started status (causing BMC Impact Service Model Editor promotions to hang), the NotifyARDBC plug-in is not installed or is not running.

Ensure that the NOTIFY plug-in configuration and the BMC Remedy AR System plug-in environment variables are correct so that the NOTIFY plug-in is loaded. To verify that the NotifyARDBC plugin is running, follow these steps:

1 Log on to Remedy User.

2 Open the form NOTIFY:protocols and retrieve entries.

You should get one entry with version 1.

3 Open the form NOTIFY:servers and retrieve entries.

You should get one entry. If the port is not accessible for the BMC Impact Publishing Server to open a TCP/IP connection, verify the installation of the Notify ARDBC plugin. The port should be open for the BMC Impact Publishing Server to open a TCP/IP connection.

BMC Impact Publishing Server does not reply to requests

The client and server use the JMS service of BMC Impact Portal for communication. Normally, the BMC Impact Publishing Server restores when the JMS service drops. If the JMS service remains down, the BMC Impact Publishing Server stops with a critical error.

However, occasionally the communication is not restored and the BMC Impact Publishing Server doesn't stop, and the pserver.trace file contains repeated warnings from org.jboss.mq.SpyJMSException.

To resolve this situation,

334 BMC Impact Solutions: Service Model Administrator’s Guide

Page 335: Service Model

Diagnosing publication failures

1. Verify that BMC Impact Portal is running properly (or restart the BMC Impact Portal).

2. Restart the BMC Impact Publishing Server.

Diagnosing publication failures

When a publication attempt or other request fails, examine the details of the request log in BMC Impact Service Model Editor using the menu command Publish History (Tools => Publish History).

Table 85 describes BMC Impact Publishing Server request failure messages, what causes the problem, and what to do to correct the problem.

Table 85 BMC Impact Publishing Server request failure messages (part 1 of 5)

Failure message Cause Action

Classinfo is not synchronized.

For various reasons, the class definitions in the BMC Atrium CMDB can become out of sync with the class definitions of published service model of the cells. For example, a class may be modified in the BMC Atrium CMDB after the service model is published to the cell.

In BMC Impact Service Model Editor, launch Tools => Export Cell Meta Data to generate an up-to-date mc_sm_baroc.object file.

Restart the BMC Portal.

Execute pclassinfo -x -o mc_sm_object.baroc.

Replace the existing mc_sm_baroc.object file of the target cell in the MCELL_HOME/etc/cellName/kb/classes directory.

Recompile the cell’s Knowledge Base, and restart the cell.

Component alias "{0}" for component "{1}" is already used by component "{2}"

Two CIs have the same alias. ■ Make sure all CIs have unique aliases.

■ Publish the purge by using the CLI command publish -p "Purge=T"

See “Purging and deleting service model objects” on page 249 for more information.

Appendix A Troubleshooting 335

Page 336: Service Model

Diagnosing publication failures

Connection to IM cellName is not open OR Connection to IM cellName dropped

The BMC Impact Publishing Server is not able to connect to the BMC Impact Manager or the connection was dropped.

Verify that the target cell instance is running. Restart it if necessary. Also verify that the cell’s location and encryption key are registered with BMC Impact Portal.

Consumer/Provider component with mc_udid {0} is not defined

This message may occur if

■ an impact relationship is pointing to a non-existent CI

■ the impact relationship has ServiceModelSet IN, but the consumer or provider component instance has ServiceModelSet OUT_OF_IN or OUT

Verify that the ServiceModelSet of impact relationship is correct.

Such problems may occur when two promotions follow very quickly and the first promotion adds a relationship and the second promotion moves a CI out of model.

Using automated publish for two promotions will prevent this failure.

IM {0} failed to launch SMM (Service Model Manager)

In a cell's trace file you find the message Service Model Manager process ({0}) not active within expected delay. Please verify.

The cell does fork a Service Model Manager (SMM) process. In the mcell.conf file, the parameter ServiceModelManagerStartTimeOut = 60 defines the timeout.

Increase the value of ServiceModelManagerStartTimeOut.

IM {0} failed to upload service model from SMM

This failure message displays after a failure in the second phase of two-phase commit.

Reinitialize the cell and publish again (to avoid subsequent publishes failing with the message Unique data identifier not/already in use")

IM is not publish enabled. The ServiceModelPublish parameter in the MCELL_HOME/etc/mcell.conf file or in MCELL_HOME/etc/<CellName>/mcell.conf file is set to No.

Reset the ServiceModelPublish parameter to Yes and restart the cell.

init verify failure When you have previously published from a Direct Publish environment and now want to publish from BMC Atrium CMDB, the Direct Publish management data conflicts with management data being published from BMC Atrium CMDB.

Delete Direct Publish management data using the pposter CLI command and the ddelete action command.

Table 85 BMC Impact Publishing Server request failure messages (part 2 of 5)

Failure message Cause Action

336 BMC Impact Solutions: Service Model Administrator’s Guide

Page 337: Service Model

Diagnosing publication failures

No user group defined with id {0}

In the BMC Atrium CMDB, a CI's securities point to BMC Remedy AR System user group ids. In the BMC IM, a CI's securities points to BMC Impact Administration User Roles. BMC Impact Publishing Server maps the BMC Remedy AR System user group ids to user role names, by using the user group info found in the AR form groups and the AR external authentication group mappings.

This failure typically occurs when you remove a group in AR Server for which there still are components that refer to it.

Modify the CIs to point only to existing user groups.

Operation on instance of different environment

The data instance is already published to the cell from another publish environment.

Use the instance's publish environment to publish modifications or deletions.

Provider_home_cell ({0}) is remote but component {1} is local

This error can occur as a result of a typo when registering cells. For example, cell X runs on port X, and cell Y runs on port Y. However, port X is mistakenly entered for both cells.

While cell X is running, a provider component with cell name Y is sent to cell on port X, thus the cell X impact relationship is sent to the cell with name Y, thus

■ the cell on port X is component local (same cell as relationship)

■ provider_home_cell has value Y, so the provider_home_cell is remote (other cell as relationship)

The issue originates from the fact that although the CI is sent to cell Y, in reality, it is sent to cell X because that cell is listening on the (erroneous) port (X) of cell Y.

Correctly register the ports of the cells.

Table 85 BMC Impact Publishing Server request failure messages (part 3 of 5)

Failure message Cause Action

Appendix A Troubleshooting 337

Page 338: Service Model

Diagnosing publication failures

Publish returns generic failure message, such as Publish validation of Impact Manager failed

Publication failure Use the -v option (publish -v) to return both generic and detailed (verbose) failure messages.

The cell alias is not mapped to a cell name in the current environment

The attribute HomeCellAlias has a value that is not defined in the publish environment's CellAliases.

Define the cell aliases correctly.

The component has a class id BMC_TRANSACTION that does not correspond with a SIM class.

A CI of the class with the given id has ServiceModelSet IN or OUT_OF_IN, although the class is not flagged as a SIM class. Only instances of SIM classes should have ServiceModelSet IN or OUT_OF_IN.

To make the class a SIM class, follow these steps:

1. Use Remedy User's Class Manager Console and assign the attribute Custom Properties to 100050.

2. Export the modified SIM class information with the CLI command pclassinfo -x.

3. Update the Knowledge Base of the cells and recompile.

For more information, see “Adding new classes to the BMC Atrium CMDB” on page 202.

The minimum supported protocol version is 7.

The version of the target cell instance is earlier than the required version.

Uninstall the earlier version and install the appropriate version.

Unique data identifier already in use.

A service component instance with the same mc_udid is already published in the cell.

The service model in the cell is most likely not in sync with the master copy kept in the BMC Atrium CMDB impact dataset. Reinitialize the cell.

If reinitializing the cell fails because of invalid data, then the master copy is invalid. Reinitialize the BMC Atrium CMDB.

Table 85 BMC Impact Publishing Server request failure messages (part 4 of 5)

Failure message Cause Action

338 BMC Impact Solutions: Service Model Administrator’s Guide

Page 339: Service Model

Another publish request is ongoing

Another publish request is ongoing

When the BMC Impact Publishing Server does not accept or begin processing a publish request, the following messages may display:

■ Another publish request is ongoing■ The environment is not registered■ Error with ids/udids for partial publish, i.e. publish of selected instances

Unique data identifier not in use

This failure may occur when the deletion or modification of a CI with a udid that does not exist is requested. For Atrium CMDB Publish, this typically happens when the service model in a cell is not in sync with service model in (the impact dataset of) the BMC Atrium CMDB, typically when a previous publish failed because of failure while applying publish on cell or BMC Atrium CMDB, or when cell has been restarted withthe -id option.

Reinitialize the SIM data from the publish environment by executing the CLI command pinit -n cellName -e EnvId

If this solution fails, the data in the BMC Atrium CMDB may be invalid. Reinitialize the BMC Atrium CMDB.

Unknown home cell "{0}" for shadow component

The entry in the mcell.dir file of the consumer's cell is not defining the provider's cell.

Correct mcell.dir.

You may receive detailed failure messages from the BMC Atrium CMDB.

For instance, you will receive failure messages when the number of CI's exceeds the limited number available with a trial license.

These failures may occur in the second phase of the two-phase commit.

To troubleshoot these failure messages, consult the BMC Remedy AR System and BMC Atrium CMDB documentation.

If the failure occurred in the second phase of the two-phase commit, to avoid subsequent publish failures with the message Unique data identifier not in use or already in use, reinitialize the cell and publish again.

Table 85 BMC Impact Publishing Server request failure messages (part 5 of 5)

Failure message Cause Action

Appendix A Troubleshooting 339

Page 340: Service Model

Another publish request is ongoing

Message: Another publish request is ongoing

The BMC Impact Publishing Server executes only one publication at a time, per cell. If you request a new publication (by using the CLI command publish or pposter) while another publication is in progress, the message Another publish request is ongoing displays.

If you receive this message unexpectedly, verify that the previous publication is still running. If a publication hangs (because of an uncached exception, which can be found in tmp/ps.err), then all following publications will result in failure messages and you must contact BMC Customer Support.

340 BMC Impact Solutions: Service Model Administrator’s Guide

Page 341: Service Model

A p p e n d i x B

B Default service model data classes

This appendix describes the service model class hierarchy in the BMC Atrium CMDB Common Data Model.

This appendix covers the following topics:

Service model data structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342Service model data class overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342Service model data class files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342

Service model component data classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343BMC_BaseElement data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343BMC_Impact data class. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349BMC_STATUS_COMPUTATION data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353BMC_STATUS_PROPAGATION data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355BMC_PROPAGATION_MAP data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357

SIM data class descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358BMC_SEVERITY_TO_STATUS data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358BMC_SIM_MATCH_TABLE data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359BMC_SIM_ALIAS data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359BMC_SLOT_FORMULAS data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360BMC_TIME_SCHEDULE data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360BMC_TIME_FRAME_TO_SCHEDULE data class . . . . . . . . . . . . . . . . . . . . . . . . . 361BMC_SELF_PRIORITY_MAPPING data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361BMC_SERVICE_SCHEDULE_CONFIG data class . . . . . . . . . . . . . . . . . . . . . . . . 362BMC_STATUS_TO_SEVERITY data class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362SIM_TIME_FRAME class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363SIM_CellAlias class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363SIM_CellInformation class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363BMC_PROMOTION_LOG class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363

Service model event classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364CORE_EVENT base class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364Root event class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366History event class. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366Impact event class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367

Appendix B Default service model data classes 341

Page 342: Service Model

Service model data structures

Service model data structuresThe service model uses various data structures as data classes. In this documentation, the term class designates the structure definition. The term table is the set of data instances defined for a data class. The following discussions are not intended to represent an exhaustive hierarchy of all classes associated with the dynamic data model.

Service model data class overview

There are several types of BAROC data classes that are important in the service model:

■ Component data classes—the service model data classes that define the component types typically used by business organizations. These classes are loaded into the Knowledge Base by default.

■ Relationship data class (BMC_Impact)—the data class that defines the different types of relationships that can exist between service components. The only class that exists for impact relationships is BMC_Impact.

■ Service model management classes—the data classes that define the status computation and propagation, as well as the classes that support the service model event-to-component mapping mechanism. These classes are loaded into the Knowledge Base by default.

■ Event classes—the classes that define the product event types and their behaviors.

Service model data class files

Table 86 on page 343 lists the files in which the various data class definitions are located. Default class definitions are in the MCELL_HOME\BMC Software\server\etc\cellName\kb\classes directory. In addition, each cell has a working Knowledge Base with its class definitions in the MCELL_HOME\etc\cellName\classes directory.

342 BMC Impact Solutions: Service Model Administrator’s Guide

Page 343: Service Model

Service model component data classes

Service model component data classesA service model component type is the data class that defines a logical or physical IT resource that participates in the delivery of business services. Service model component instances can represent a hardware component, an application, a service, or a business entity. A component instance can be any aspect of the business for which service management is desired.

Service model component instances are organized in a hierarchy of data classes in which each class represents a component type. The farther down the hierarchy a particular class occurs, the more specific its type.

BMC_BaseElement data class

The parent class of the data class hierarchy is the BMC_BaseElement class. The classes that immediately extend from BMC_BaseElement are:

■ BMC_Collection■ BMC_LogicalEntity■ BMC_System■ BMC_SystemComponent■ BMC_SystemService

Table 86 Service management data class files

Data classes File name Contents

Component mc_sm_object.baroc these component types and their subclasses:

■ BMC_BaseElement■ BMC_Collection■ BMC_LogicalEntity■ BMC_System■ BMC_SystemComponent■ BMC_SystemService

Root mc_sm_root.baroc event and data classes and the enumerations that are the foundation of the solution

Mapping mc_sm_event_mapping.baroc mapping data classes that provide the event-to-component mapping mechanism

Appendix B Default service model data classes 343

Page 344: Service Model

BMC_BaseElement data class

BMC_BaseElement data class definition

Figure 37 shows the BAROC definition of the BMC_BaseElement class, which is located in the mc_sm_object.baroc file.

BMC_BaseElement inherits slots from MC_SM_COMPONENT class, which is defined in Figure 38 on page 345. MC_SM_COMPONENT class is located in the mc_sm_root.baroc file.

Figure 37 BMC_BaseElement definitions

MC_PUBLISH_DATA_CLASS : BMC_BaseElement ISA MC_SM_COMPONENT DEFINES { Type : STRING; Item : STRING; ReadSecurity : LIST_OF STRING; ManufacturerName : STRING; Description : STRING; ShortDescription : STRING, default = 'n/a'; OwnerContact : STRING; Name : STRING; DatasetId : STRING, default = '0'; ImpactCostUnit : STRING; Notes : STRING; InstanceId : STRING; AccountID : STRING; OwnerName : STRING; Model : STRING; VersionNumber : STRING; WriteSecurity : LIST_OF STRING; Category : STRING; };END

344 BMC Impact Solutions: Service Model Administrator’s Guide

Page 345: Service Model

BMC_BaseElement data class

MC_SM_COMPONENT inherits slots from MC_SM_DATA (which contains no slot definitions, as shown in Figure 39). MC_SM_DATA is located in the mc_sm_root.baroc file.

Figure 39 MC_SM_DATA definition

Figure 38 MC_SM_COMPONENT definition

MC_PUBLISH_DATA_CLASS:MC_SM_COMPONENT ISA MC_SM_DATA DEFINES{

ComponentAliases: LIST_OF STRING;HomeCell: STRING;Priority:MC_PRIORITY, default=PRIORITY_5;StatusModel: STRING, default = 'STANDARD';business_data : STRING;change_number : INTEGER;comment: STRING;component_scope: MC_SM_COMPONENT_SCOPE, default = LOCAL, parse=NO, read_only = YES;computed_status: MC_SM_COMPONENT_STATUS, parse=no, read_only=yes, default = OK;consolidate_function: MC_SM_CO_FUNCTION, parse =no, read_only=yes;consumer_num: INTEGER, parse=NO, parse=no, read_only=yes;direct_events_count: INTEGER, parse=no, read_only=yes;impact_status: MC_SM_COMPONENT_STATUS, parse=no, read_only=yes, default = NONE;last_status_modification: INTEGER, parse=no, read_only=yes, representation = date;maintenance_mode: MC_YESNO, parse = no, read_only=yes, default = NO;manual_status: MC_SM_COMPONENT_STATUS, parse=no, read_only=yes, default = NONE;manual_status_comment: STRING, parse=no, read_only=yes;manual_status_providers: LIST_OF STRING, parse=no, read_only=yes;manual_status_providers_count: INTEGER, parse=no, read_only=yes;manual_status_requestor: STRING, parse=no, read_only=yes;self_status: MC_SM_COMPONENT_STATUS, parse=no, read_only=yes, default = NONE;shadow_cells: LIST_OF STRING, parse=NO, read_only=YES;status: MC_SM_COMPONENT_STATUS, parse=no, read_only=yes, default = OK;sub_status: MC_SM_COMPONENT_STATUS, parse=no, read_only=yes, default = NONE;# additional slot in 7.0possible_causes: LIST_OF STRING, parse=no, read_only=yes;root_causes: LIST_OF STRING, parse=no, read_only=yes;sla_roleup_status: MC_SM_SLM_SLA_STATUS, parse=no, default=NO_SLAS;

ScheduleId: STRING; PriorityOut:MC_PRIORITY;

ImpactCostPerSec : REAL;ImpactCostPerSecOut : REAL;

PriorityWatchdog:MC_YESNO, default=NO;self_priority: MC_PRIORITY, parse=no, read_only=yes, default=PRIORITY_5;raw_impact_priority: REAL, parse=no, read_only=yes;impact_priority: MC_PRIORITY, parse=no, read_only=yes, default=PRIORITY_5;computed_priority: MC_PRIORITY, parse=no, read_only=yes, default=PRIORITY_5;cost:REAL, parse=no, read_only=yes;schedule_status: MC_SM_SCHEDULE_STATUS, default=IN;

};END

MC_DATA_CLASS : MC_SM_DATA ISA CORE_DATA;END

Appendix B Default service model data classes 345

Page 346: Service Model

BMC_BaseElement data class

MC_SM_DATA inherits slots from CORE_DATA, which is shown in Figure 40. CORE_DATA is located in the mc_root_internal.baroc file.

Figure 40 CORE_DATA definition

Component instance slot descriptions in alphabetical order

Table 87 alphabetically lists the slots that define component instances with their descriptions and data type. The Source class column indicates the name of the class where the slot is defined.

MC_DATA_CLASS : CORE_DATA DEFINES { data_handle : INTEGER, parse = no, read_only = yes; mc_udid : STRING, read_only = yes; mc_creation_time : INTEGER, parse = no, read_only = yes, representation = date; mc_modification_time : INTEGER, parse = no, read_only = yes, representation = date; mc_modification_requestor : STRING, read_only = yes; };END

Table 87 Slots that define component instances (part 1 of 4)

Slots Description Data type or enumeration Source class

AccountId identification of the Account the object

belongs to (Accounts are created in the

Portal)

STRING BMC_BaseElement

Category provides a user-defined categorization of a

component instance

STRING BMC_BaseElement

change_number increments every time an event is sent for

the component. Used to determine the

order of events for events which happen in

the same second.

INTEGER MC_SM_COMPONENT

ComponentAliases list of aliases used to associate events to the

component instance

STRING MC_SM_COMPONENT

consumer_num number of component instances acting as

consumers of the component instance

INTEGER MC_SM_COMPONENT

comment a comment that is set for the component via

BMC Impact Manager

STRING MC_SM_COMPONENT

component_scope scope of the component (local, shadow,

etc.)

STRING MC_SM_COMPONENT

computed_priority the priority of a component that is the

highest between self priority and impacts

priority. Set in the computed_priority field.

enumeration: MC_PRIORITY MC_SM_COMPONENT

computed_status status of the component instance computed

from self and substatuses

enumeration:

MC_SM_COMPONENT_STATUS

MC_SM_COMPONENT

346 BMC Impact Solutions: Service Model Administrator’s Guide

Page 347: Service Model

BMC_BaseElement data class

consolidate_function function used to determine impact_status

from the provider’s propagated status

enumeration:

MC_SM_CO_FUNCTION

MC_SM_COMPONENT

cost the current cost for the component

depending on the current value of the

schedule (either During Schedule or

Exceptions Within During Schedule)

REAL MC_SM_COMPONENT

data_handle identifier in local cell INTEGER CORE_DATA

DatasetId identification of the dataset within which

the instance exists. This attribute relates to

the CoreDatasetId attribute of a

BMC_Dataset instance.

STRING BMC_BaseElement

Description a description of the component instance

that is meaningful to the enterprise

STRING BMC_BaseElement

direct_events_count count of events coming from

instrumentation

INTEGER MC_SM_COMPONENT

HomeCell name of the parent cell for the component

instance

STRING MC_SM_COMPONENT

ImpactCostPerSec cost of one second of unavailability of the

component

STRING BMC_BaseElement

ImpactCostPerSec cost for a component when it is During

Schedule

REAL MC_SM_COMPONENT

ImpactCostPerSecOut cost for the component when it is in an

Exceptions Within During Schedule period

REAL MC_SM_COMPONENT

ImpactCostUnit unit of the cost expressed in

ImpactCostPerSec

STRING BMC_BaseElement

impact_priority priority determined from a component’s

impacts

enumeration: MC_PRIORITY MC_SM_COMPONENT

impact_status status computed by impact_function enumeration:

MC_SM_COMPONENT_STATUS

MC_SM_COMPONENT

InstanceId instance identification of a component

within the BMC Atrium CMDBSTRING BMC_BaseElement

Item Provides a user-defined categorization of a

component instance

STRING BMC_BaseElement

last_status_modification last time the status or sub_status was

changed (used by GUI)

INTEGER MC_SM_COMPONENT

maintenance_mode operational switch used to drop events

when UM

enumeration:

MC_YESNO

MC_SM_COMPONENT

manual_status manual status flag of the component

(NONE if not set)

enumeration:

MC_SM_COMPONENT_STATUS

MC_SM_COMPONENT

manual_status_comment comment entered by user when component

instance is set to manual status

STRING MC_SM_COMPONENT

Table 87 Slots that define component instances (part 2 of 4)

Slots Description Data type or enumeration Source class

Appendix B Default service model data classes 347

Page 348: Service Model

BMC_BaseElement data class

manual_status_providers list of direct and indirect providers;

mc_udids of component instances with

manual status set (may contain duplicate

entries

LIST_OF_STRING MC_SM_COMPONENT

manual_status_providers_co

unt

number of direct and indirect providers

with manual status set (may contain

duplicate entries)

INTEGER MC_SM_COMPONENT

manual_status_requestor login ID of user who sets the component

instance to manual status

STRING MC_SM_COMPONENT

ManufacturerName name of the company that manufactured

the component instance

STRING BMC_BaseElement

mc_creation_time date and time when the object was created INTEGER CORE_DATA

mc_modification_time date and time when the object was last

changed

INTEGER CORE_DATA

mc_modification_requestor modification requestor STRING CORE_DATA

mc_udid universal data identifier STRING CORE_DATA

Model model assigned to the component instance

by the manufacturing company

STRING BMC_BaseElement

Name user-defined name that is meaningful to the

enterprise

STRING BMC_BaseElement

Notes general notes on the object INTEGER BMC_BaseElement

OwnerContact A string that provides information on how

the primary system owner can be reached

(e.g. phone number, e-mail address

STRING BMC_BaseElement

OwnerName name of the person in the enterprise who is

responsible for the component instance

STRING BMC_BaseElement

possible_causes list of possible causes for the component’s

current status (different from root causes)

LIST_OF_STRING MC_SM_COMPONENT

Priority priority enumeration:

MC_PRIORITY

MC_SM_COMPONENT

PriorityWatchdog indicates whether the component is a

priority propagator

enumeration: MC_YESNO MC_SM_COMPONENT

raw_impact_priority the computed priority for an object (value

between 0 and 1)

REAL MC_SM_COMPONENT

ReadSecurity list of permission groups that defines who

has read access to a component instance

LIST_OF_STRING BMC_BaseElement

root_causes list of root causes for the component’s

current status

LIST_OF_STRING MC_SM_COMPONENT

ShortDescription short textual description (one-line string) of

the object

STRING BMC_BaseElement

schedule_status indicates whether the component is

currently During Schedule or Exception

Within During Schedule

enumeration_

MC_SM_SCHEDULE_STATUS

MC_SM_COMPONENT

Table 87 Slots that define component instances (part 3 of 4)

Slots Description Data type or enumeration Source class

348 BMC Impact Solutions: Service Model Administrator’s Guide

Page 349: Service Model

BMC_Impact data class

BMC_BaseElement enumerations

Enumeration types, such as MC_SM_COMPONENT_STATUS, are listed in the mc_sm_root.baroc file and their descriptions are provided in Table 7 on page 45.

BMC_Impact data class

The BMC_Impact class is the parent class of the hierarchy of data classes that define the different types of service model relationships. This class inherits slots from the root class CORE_DATA and the superclass MC_SM_RELATIONSHIP.

BMC_Impact class definition

Figure 41 shows the BAROC definition of the BMC_Impact superclass, which is located in the mc_sm_object.baroc file.

self_priority the priority of the component based on the

base priority and the component’s current

status

enumeration: MC_PRIORITY MC_SM_COMPONENT

self_status the status of the object based on events

directly attached to it (this does not take

into account status from providers)

enumeration:

MC_SM_COMPONENT_STATUS

MC_SM_COMPONENT

sla_roleup_status the aggregation of the compliance status of

the associated SLAs, if any

enumeration:

MC_SM_SLM_SLA_STATUS

MC_SM_COMPONENT

shadow_cells list of cells that contain shadow of the

component instance

LIST_OF_STRING MC_SM_COMPONENT

status main status of the component (equals

computed_status unless manual status is

set)

enumeration:

MC_SM_COMPONENT_STATUS

MC_SM_COMPONENT

StatusModel name of the status computation model STRING MC_SM_COMPONENT

sub_status derived status of the component instance enumeration:

MC_SM_COMPONENT_STATUS

MC_SM_COMPONENT

Type user-defined categorization of a component

instance

STRING BMC_BaseElement

VersionNumber version number of the component instance,

assigned by the manufacturer

LIST_OF_STRING BMC_BaseElement

WriteSecurity list of permission groups that define who

has write access to a component instance

LIST_OF_STRING BMC_BaseElement

Table 87 Slots that define component instances (part 4 of 4)

Slots Description Data type or enumeration Source class

Appendix B Default service model data classes 349

Page 350: Service Model

BMC_Impact data class

BMC_Impact inherits slots from MC_SM_RELATIONSHIP, which is shown in Figure 42. MC_SM_RELATIONSHIP is located in the mc_sm_root.baroc file.

Figure 42 MC_SM_RELATIONSHIP definition

MC_SM_RELATIONSHIP inherits slots from MC_SM_DATA (which contains no slots, as shown in Figure 43). MC_SM_DATA is located in the mc_sm_root.baroc file.

Figure 43 MC_SM_DATA definition

MC_SM_DATA inherits slots from CORE_DATA, which is shown in Figure 44. CORE_DATA is located in the mc_root.internal.baroc file.

Figure 41 BMC_Impact definition

MC_PUBLISH_DATA_CLASS : BMC_Impact ISA MC_SM_RELATIONSHIP DEFINES {

WriteSecurity : LIST_OF STRING;ShortDescription : STRING, default = 'na';AccountID : STRING;ReadSecurity : LIST_OF STRING;

};END

MC_PUBLISH_DATA_CLASS:MC_SM_RELATIONSHIP ISA MC_SM_DATA DEFINES{

PropagationModel: STRING;provider_home_cell: STRING;provider_classname: STRING;State: MC_SM_RELATIONSHIP_STATE, default = ACTIVE;StatusWeight : INTEGER, default=100;consumer_id: STRING, key = yes;last_status_modification: INTEGER, parse=no, read_only=yes, representation = date;propagated_status: MC_SM_COMPONENT_STATUS, parse=no, read_only=yes, default = UNKNOWN;propagated_sub_status: MC_SM_COMPONENT_STATUS, parse=no, read_only=yes, default = UNKNOWN;provider_id: STRING, key = yes;true_impact: MC_YESNO, parse=no, read_only=yes, default = NO;change_number : INTEGER;

};END

MC_DATA_CLASS : MC_SM_DATA ISA CORE_DATA;DEFINES {

publish_env_id : STRING, parse = no, read_only = yes;};

END

350 BMC Impact Solutions: Service Model Administrator’s Guide

Page 351: Service Model

BMC_Impact data class

Figure 44 CORE_DATA definition

Relationship slot descriptions in alphabetical order

Table 88 alphabetically lists the slots that define component instance relationships, with their descriptions and data type. The Source class column indicates the name of the class where the slot is defined.

MC_DATA_CLASS : CORE_DATA DEFINES{data_handle : INTEGER, parse = no, read_only = yes;mc_udid : STRING, read_only = yes;mc_creation_time : INTEGER, parse = no, read_only = yes, representation = date ;mc_modification_time : INTEGER, parse = no, read_only = yes, representation = date;mc_modification_requestor : STRING, read_only = yes;

};END

Table 88 BMC_Impact slot definitions in alphabetical order

Slot Description Data type or enumeration Source class

consumer_id mc_udid of the consumer component instance

STRING MC_SM_RELATIONSHIP

change_number change number INTEGER MC_SM_RELATIONSHIP

data_handle identifier in local cell INTEGER CORE_DATA

last_status_modification date/time when the value of true_impact function was last changed (used by GUI)

INTEGER MC_SM_RELATIONSHIP

mc_creation_time date and time when the object was created

INTEGER CORE_DATA

mc_modification_time date and time when the object was last changed

INTEGER CORE_DATA

mc_udid internal key used to reference the relationship; it is an inherited slot

STRING CORE_DATA

propagated_status status that is currently propagated through the relationship

enumeration: MC_SM_COMPONENT_STATUS

MC_SM_RELATIONSHIP

propagated_sub_status maximum of provider substatus and status values

enumeration: MC_SM_COMPONENT_STATUS

MC_SM_RELATIONSHIP

PropagationModel name of the status propagation model used for determining the propagated status from of the provider’s main status

STRING MC_SM_RELATIONSHIP

provider_classname name of the class of the provider component instance

STRING MC_SM_RELATIONSHIP

Appendix B Default service model data classes 351

Page 352: Service Model

BMC_DOWNTIME_STATUS_CONFIG data class

BMC_Impact enumerations

The following enumerations are listed in the mc_sm_root.baroc file:

■ MC_SM_RELATIONSHIP_STATE■ MC_SM_IMPACT_FUNCTION■ MC_SM_SELF_FUNCTION■ MC_SM_CO_FUNCTION■ MC_SM_SLA_RESET_MODE■ MC_SM_COMPONENT_SCOPE■ MC_SM_COMPONENT_STATUS■ MC_SM_SHADOW_REQUEST_OP■ MC_SM_SLM_SLA_STATUS■ MC_SM_CAUSE_TYPE■ PRIORITY_FORMULA■ MC_SM_SCHEDULE_STATUS■ BMC_SIM_DOWNTIME_STATUS_CONFIG

BMC_DOWNTIME_STATUS_CONFIG data class

The BMC_DOWNTIME_STATUS_CONFIG data class is used to define which status enumeration values qualify as downtime for both impact reports and priority computation.

provider_home_cell the cell that receives events for the provider component instance

STRING MC_SM_RELATIONSHIP

provider_id mc_udid of the provider component instance, the impacting component instance

STRING MC_SM_RELATIONSHIP

State state of the relationship, Active or Inactive

enumeration:MC_SM_RELATIONSHIP_STATE

MC_SM_RELATIONSHIP

StatusWeight number that determines the degree of importance to give to each provider relationship that impacts a consumer component instance

INTEGER MC_SM_RELATIONSHIP

true_impact flag indicating whether this relationship affects the impact_status of the consumer

enumeration:MC_SM_YESNO

MC_SM_RELATIONSHIP

Table 88 BMC_Impact slot definitions in alphabetical order

Slot Description Data type or enumeration Source class

352 BMC Impact Solutions: Service Model Administrator’s Guide

Page 353: Service Model

BMC_STATUS_COMPUTATION data class

BMC_DOWNTIME_STATUS_CONFIG data class definition

Figure 45 shows the BAROC definition of the BMC_DOWNTIME_STATUS_CONFIG data class, which is located in the mc_sm_root.baroc file.

BMC_DOWNTIME_STATUS_CONFIG inherits slots from BMC_SIM_DATA, which is shown in Figure 48. BMC_SIM_DATA is located in the mc_sm_root.baroc file.

BMC_DOWNTIME_STATUS_CONFIG slots

BMC_DOWNTIME_STATUS_CONFIG has the following slot.

BMC_STATUS_COMPUTATION data class

The BMC_STATUS_COMPUTATION data class is used to define status computation models for the component instances. A status computation model is a model that determines the current status of a service model component when direct impact events occur or the status of a provider component instance changes.

Figure 45 BMC_DOWNTIME_STATUS_CONFIG definition

MC_PUBLISH_DATA_CLASS : BMC_DOWNTIME_STATUS_CONFIG ISA BMC_SIM_DATA DEFINES { status : MC_SM_COMPONENT_STATUS, default = UNAVAILABLE; }; END

Figure 46 BMC_SIM_DATA definition

MC_DATA_CLASS: BMC_SIM_DATA ISA MC_SM_DATA DEFINES{ReadSecurity : LIST_OF_STRING;WriteSecurity : LIST_OF_STRING;};END

Table 89 BMC_DOWNTIME_STATUS_CONFIG slot

Slot Description Data type or enumeration Source class

status the lowest component status that qualifies as down time

enumeration: MC_SM_COMPONENT_STATUS

BMC_SIM_DOWNTIME_STATUS_CONFIG

Appendix B Default service model data classes 353

Page 354: Service Model

BMC_STATUS_COMPUTATION data class

BMC_STATUS_COMPUTATION data class definition

Figure 47 shows the BAROC definition of the BMC_STATUS_COMPUTATION data class, which is located in the mc_sm_root.baroc file.

BMC_STATUS_COMPUTATION inherits slots from BMC_SIM_DATA, which is shown in Figure 48. BMC_SIM_DATA is located in the mc_sm_root.baroc file

BMC_STATUS_COMPUTATION slots in alphabetical order

Table 90 alphabetically lists the BMC_STATUS_COMPUTATION slots with their descriptions and types.

Figure 47 BMC_STATUS_COMPUTATION definition

MC_PUBLISH_DATA_CLASS:BMC_STATUS_COMPUTATION ISA BMC_SIM_DATA DEFINES{ model_name: STRING, key = yes;

impact_function: MC_SM_IMPACT_FUNCTION, default = HIGHEST_VAL;ext_impact_function: LIST_OF STRING;self_function: MC_SM_SELF_FUNCTION, default = HIGHEST_VAL;consolidate_function: MC_SM_CO_FUNCTION, default = HIGHEST_VAL;quorum: INTEGER, default = 51;no_alert_status: MC_SM_COMPONENT_STATUS, default = OK;

};END

Figure 48 BMC_SIM_DATA definition

MC_DATA_CLASS: BMC_SIM_DATA ISA MC_SM_DATA DEFINES{ReadSecurity : LIST_OF_STRING;WriteSecurity : LIST_OF_STRING;};END

354 BMC Impact Solutions: Service Model Administrator’s Guide

Page 355: Service Model

BMC_STATUS_PROPAGATION data class

BMC_STATUS_PROPAGATION data class

The BMC_STATUS_PROPAGATION class defines the different pairs of component types whose instances can be related to one another through relationships, along with the propagation map to be used by those relationships.

Table 90 BMC_STATUS_COMPUTATION slots in alphabetical order

Slot Description Data type or enumeration Source class

consolidate_function name of the algorithm used to compute the component computed status; it consolidates the impact_status and the self_status

enumeration:MC_SM_CO_FUNCTION

BMC_STATUS_COMPUTATION

ext_impact_function the name of the external algorithm to be used by the impact_function when the impact_function slot contains the placeholder EXTERNAL This slot is reserved for future extension.

LIST_OF_STRING BMC_STATUS_COMPUTATION

impact_function name of the algorithm used to compute the impact status from provider components; it merges the propagated status values of the different provider components

enumeration:MC_SM_IMPACT_FUNCTIONS

BMC_STATUS_COMPUTATION

model_name name of the status computation model (key of the table)

STRING BMC_STATUS_COMPUTATION

noalert_status default main status when the consolidate function’s status is NONE

enumeration:BMC_BaseElement_STATUS

BMC_STATUS_COMPUTATION

quorum quorum percentage applied by the impact function when set to use the QUORUM algorithm

INTEGER BMC_STATUS_COMPUTATION

ReadSecurity list of permission groups that defines who has read access to a component instance

LIST_OF_STRING BMC_SIM_DATA

self_function name of the algorithm used to compute the self status; it maps and merges the severity values directly from the events

enumeration:MC_SM_SELF_FUNCTION

BMC_STATUS_COMPUTATION

WriteSecurity list of permission groups that defines who has write access to a component instance

LIST_OF_STRING BMC_SIM_DATA

Appendix B Default service model data classes 355

Page 356: Service Model

BMC_STATUS_PROPAGATION data class

BMC_STATUS_PROPAGATION class definition

Figure 49 shows the BAROC definition of the BMC_STATUS_PROPAGATION data class, which is located in the mc_sm_root.baroc file.

BMC_STATUS_PROPAGATION inherits slots from BMC_SIM_DATA, which is shown in Figure 50. BMC_SIM_DATA is located in the mc_sm_root.baroc file.

BMC_STATUS_PROPAGATION slots in alphabetical order

Table 91 alphabetically lists the class slots with their descriptions.

Figure 49 BMC_STATUS_PROPAGATION definition

MC_PUBLISH_DATA_CLASS:BMC_STATUS_PROPAGATION ISA BMC_SIM_DATA DEFINES{

name: STRING, key = yes;provider_type: STRING, key = yes;consumer_type: STRING, key = yes;description: STRING;

};END

Figure 50 BMC_SIM_DATA definition

MC_DATA_CLASS: BMC_SIM_DATA ISA MC_SM_DATA DEFINES{ReadSecurity : LIST_OF_STRING;WriteSecurity : LIST_OF_STRING;};END

Table 91 Status propagation slots in alphabetical order

Slot Description Data type Source class

consumer_type

valid component types for the consumer component instance

STRING BMC_STATUS_PROPGATION

description description applicable to the relationships using this model

STRING BMC_STATUS_PROPGATION

name name of the status propagation model; it must match the name of a propagation map

STRING BMC_STATUS_PROPGATION

ReadSecurity list of permission groups that defines who has read access to a component instance

LIST_OF_STRING BMC_SIM_DATA

356 BMC Impact Solutions: Service Model Administrator’s Guide

Page 357: Service Model

BMC_PROPAGATION_MAP data class

BMC_PROPAGATION_MAP data class

The BMC_PROPAGATION_MAP class is used to define status mapping instances for the relationships. The BAROC definition of the class follows.

BMC_PROPAGATION_MAP data class definition

Figure 51 shows the BAROC definition of the BMC_PROPAGATION_MAP data class, which is located in the mc_sm_root.baroc file.

BMC_PROPAGATION_MAP inherits slots from BMC_SIM_DATA, shown in Figure 52. BMC_SIM_DATA is located in the mc_sm_root.baroc file

BMC_PROPAGATION_MAP slots in alphabetical order

Table 92 alphabetically lists the BMC_PROPAGATION_MAP slots with their descriptions, enumeration or data type, and source class.

provider_type valid component types for the provider component instance

STRING BMC_STATUS_PROPGATION

WriteSecurity list of permission groups that defines who has write access to a component instance

LIST_OF_STRING BMC_SIM_DATA

Figure 51 BMC_PROPAGATION_MAP definition

MC_PUBLISH_DATA_CLASS:BMC_PROPAGATION_MAP ISA BMC_SIM_DATA DEFINES{

name: STRING, key = yes;relationship_state: MC_SM_RELATIONSHIP_STATE, key = yes;provider_status: MC_SM_COMPONENT_STATUS, key = yes;propagated_status: MC_SM_COMPONENT_STATUS;

};END

Figure 52 BMC_SIM_DATA definition

MC_DATA_CLASS: BMC_SIM_DATA ISA MC_SM_DATA DEFINES{ReadSecurity : LIST_OF_STRING;WriteSecurity : LIST_OF_STRING;};END

Table 91 Status propagation slots in alphabetical order

Slot Description Data type Source class

Appendix B Default service model data classes 357

Page 358: Service Model

SIM data class descriptions

SIM data class descriptionsThe following data classes are used in creating service models:

■ BMC_SEVERITY_TO_STATUS■ BMC_SIM_MATCH_TABLE■ BMC_SIM_ALIAS■ BMC_SLOT_FORMULAS■ COMPONENT_CREATION

BMC_SEVERITY_TO_STATUS data class

The BMC_SEVERITY_TO_STATUS class is used to map the severity value of an impact event to a status value that will participate in the computation of the self status for the associated component instance.

Table 92 BMC_PROPAGATION_MAP slot definitions

Slot Description Data type or enumeration Source class

name name of the parent status propagation model

STRING BMC_PROPAGATION_MAP

propagated_status status to be propagated to the consumer component

enumeration:MC_SM_COMPONENT_STATUS

BMC_PROPAGATION_MAP

provider_status status of the provider component

enumeration:MC_SM_COMPONENT_STATUS

BMC_PROPAGATION_MAP

ReadSecurity list of permission groups that defines who has read access to a component instance

LIST_OF_STRING BMC_SIM_DATA

relationship_state applicable relationship state

enumeration:MC_SM_RELATIONSHIP_STATE

BMC_PROPAGATION_MAP

WriteSecurity list of permission groups that defines who has write access to a component instance

LIST_OF_STRING BMC_SIM_DATA

358 BMC Impact Solutions: Service Model Administrator’s Guide

Page 359: Service Model

BMC_SIM_MATCH_TABLE data class

BMC_SEVERITY_TO_STATUS data class definition

Figure 53 shows the BAROC definition of the BMC_SEVERITY_TO_STATUS class, which is located in the mc_sm_root.baroc file.

You should not edit a SEVERITY_TO_STATUS table unless the severity and/or the status enumerations are customized.

BMC_SIM_MATCH_TABLE data class

The BMC_SIM_MATCH_TABLE is used to associate events with component instances.

Figure 54 shows the BAROC definition of the BMC_SIM_MATCH_TABLE class. BMC_SIM_MATCH_TABLE is located in the mc_sm_event_mapping.baroc file.

BMC_SIM_ALIAS data class

The BMC_SIM_ALIAS is used to associate events with component instances.

Figure 55 shows the BAROC definition of the BMC_SIM_ALIAS class. BMC_SIM_ALIAS is located in the mc_sm_root.baroc file.

Figure 53 SEVERITY_TO_STATUS definition

MC_PUBLISH_DATA_CLASS:BMC_SEVERITY_TO_STATUS ISA BMC_SIM_DATA DEFINES{

severity: SEVERITY, key = yes;status: MC_SM_COMPONENT_STATUS, key = yes;

};END

Figure 54 BMC_SIM_MATCH_TABLE definition

MC_PUBLISH_DATA_CLASS : BMC_SIM_MATCH_TABLE ISA BMC_SIM_DATA DEFINES { name : STRING ; tag : STRING , key=yes, read_only=yes, default=alias; input_match : LIST_OF STRING , key=yes; ref_instances_classes : LIST_OF STRING ; output_expressions : LIST_OF STRING ; };END

Appendix B Default service model data classes 359

Page 360: Service Model

BMC_SLOT_FORMULAS data class

BMC_SLOT_FORMULAS data class

The SLOT_FORMULAS class is used to map event slots to other slots when processing a new raw event.

BMC_SLOT_FORMULAS data class definition

Figure 56 shows the BAROC definition of the SLOT_FORMULAS class, which is located in the mc_sm_event_mapping.baroc file.

BMC_TIME_SCHEDULE data class

The BMC_TIME_SCHEDULE data class defines a service schedule.

Figure 57 shows the BAROC definition of the BMC_TIME_SCHEDULE class, which is located in the mc_sm_root.baroc file.

Figure 55 BMC_SIM_ALIAS definition

MC_PUBLISH_DATA_CLASS: BMC_SIM_ALIAS ISA BMC_SIM_DATA DEFINES { ComponentAlias: STRING, key=yes; ComponentID: STRING; };

END

Figure 56 BMC_SLOT_FORMULAS definition

MC_PUBLISH_DATA_CLASS: BMC_SIM_ALIAS ISA BMC_SIM_DATA DEFINES { ComponentAlias: STRING, key=yes; ComponentID: STRING; };

END

360 BMC Impact Solutions: Service Model Administrator’s Guide

Page 361: Service Model

BMC_TIME_FRAME_TO_SCHEDULE data class

BMC_TIME_FRAME_TO_SCHEDULE data class

The BMC_TIME_FRAME_TO_SCHEDULE data class maps timeframes to schedules. As part of the mapping it indicates whether the timeframe contains During Schedule or Exceptions Within During Schedule time.

Figure 58 shows the BAROC definition of the BMC_TIME_FRAME_TO_SCHEDULE class, which is located in the mc_sm_root.baroc file.

BMC_SELF_PRIORITY_MAPPING data class

The BMC_SELF_PRIORITY_MAPPING data class contains the resulting self priorities for each combination of base priority mapped against component status.

Figure 59 shows the BAROC definition of the BMC_SELF_PRIORITY_MAPPING class, which is located in the mc_sm_root.baroc file.

Figure 57 BMC_TIME_SCHEDULE definition

MC_PUBLISH_DATA_CLASS : BMC_TIME_SCHEDULE ISA BMC_SIM_DATA DEFINES { Name : STRING; Description : STRING; status: MC_SM_SCHEDULE_STATUS, read_only=YES,parse=NO; };END

Figure 58 BMC_TIME_FRAME_TO_SCHEDULE definition

MC_PUBLISH_DATA_CLASS : BMC_TIME_FRAME_TO_SCHEDULE ISA BMC_SIM_DATA DEFINES { Timeframe : STRING, key=yes; Schedule : STRING, key=yes; Included : MC_YESNO, default=YES; };END

Appendix B Default service model data classes 361

Page 362: Service Model

BMC_SERVICE_SCHEDULE_CONFIG data class

BMC_SERVICE_SCHEDULE_CONFIG data class

The BMC_SERVICE_SCHEDULE_CONFIG data class contains the settings for the priority formula, the default schedule, and the list of classes which are priority propagators by default.

Figure 60 shows the BAROC definition of the BMC_SERVICE_SCHEDULE_CONFIG class, which is located in the mc_sm_root.baroc file.

BMC_STATUS_TO_SEVERITY data class

The BMC_STATUS_TO_SEVERITY class is used to map the status value of an impact event to a severity value that will participate in the computation of the self status for the associated component instance.

Figure 61 shows the BAROC definition of the BMC_STATUS_TO_SEVERITY class, which is located in the mc_sm_root.baroc file.

Figure 59 BMC_SELF_PRIORITY_MAPPING definition

MC_PUBLISH_DATA_CLASS : BMC_SELF_PRIORITY_MAPPING ISA BMC_SIM_DATA DEFINES { priority : MC_PRIORITY, key=yes; status :MC_SM_COMPONENT_STATUS, key=yes; self_priority : MC_PRIORITY; }; END

Figure 60 BMC_SERVICE_SCHEDULE_CONFIG definition

MC_PUBLISH_DATA_CLASS : BMC_SERVICE_SCHEDULE_CONFIG ISA BMC_SIM_DATA DEFINES { PriorityFormula : PRIORITY_FORMULA, default = WEIGHTED; DefaultSchedule : STRING; };END

Figure 61 BMC_STATUS_TO_SEVERITY definition

MC_PUBLISH_DATA_CLASS:BMC_STATUS_TO_SEVERITY ISA BMC_SIM_DATA DEFINES{

status: MC_SM_COMPONENT_STATUS, key = yes;severity: SEVERITY, key = yes;

};END

362 BMC Impact Solutions: Service Model Administrator’s Guide

Page 363: Service Model

SIM_TIME_FRAME class

SIM_TIME_FRAME class

The SIM_TIME_FRAME class defines a time period that can be used as part of a schedule.

Figure 62 shows the BAROC definition of the BMC_STATUS_TO_SEVERITY class, which is located in the mc_sm_root.baroc file.

SIM_CellAlias class

The SIM_CellAlias class is assigned to cells and used for publishing. The class maps a cell alias to a real cell name. Cell aliases can be remapped to different cells for different test environments.

The definition of the SIM_CellAlias class is located in the cellalias.def file.

SIM_CellInformation class

The SIM_CellInformation class stores cell connection information (similar to mcell.dir). Additionally, it contains a field which specifies whether the cell is a production cell or a test cell.

BMC_PROMOTION_LOG class

BMC_PROMOTION_LOG is a log object created for each user promotion. The object tracks data such as promoted objects, users who initiated the promotion, promotion start and end times, and the status of the promotion (in progress, success, or failed).

Figure 62 SIM_TIME_FRAME definition

SIM_TIME_FRAME;mc_udid='SMS_DEFAULT_TIMEFRAME';description='sms.defaulttimeframe.description';name='sms.defaulttimeframe.name';dtstart='20060101T000000';duration='P1D';interruptions=[];tzid='';rdate=[];rrule=['FREQ=DAILY;INTERVAL=1;WKST=SU'];exdate=[];exrule=[];

END

Appendix B Default service model data classes 363

Page 364: Service Model

Service model event classes

Service model event classesThe service model implements event structures. These event structures are in the form of BAROC event classes. The file containing the root class definitions, mc_sm_root.baroc, is in the MCELL_HOME\server\etc\cellName\kb\ directory.

CORE_EVENT base class

CORE_EVENT is the base class for all BMC Impact Manager event classes. This base class is defined in mc_root_internal.baroc file, and extended in the mc_root_redef.baroc file. It is not specific to the service model, but it includes slots specifically for service impact management functionality.

CORE_EVENT partial data class definition (SIM only)

Figure 63 on page 365 shows the SIM-related definition of the class. For a complete description of all event class slots, see BMC Impact Solutions: Knowledge Base Development.

364 BMC Impact Solutions: Service Model Administrator’s Guide

Page 365: Service Model

CORE_EVENT base class

Figure 63 Partial CORE_EVENT definition

MC_EV_CLASS : CORE_EVENT DEFINES { event_handle : INTEGER, parse = no, read_only = yes; mc_ueid : STRING, read_only = yes; mc_client_address : STRING, parse = no; adapter_host : STRING; mc_location : STRING; mc_service : STRING; mc_host_class : STRING; mc_host : STRING; mc_host_address : STRING; mc_object_class : STRING; mc_object : STRING; mc_tool_class : STRING; mc_tool : STRING; mc_tool_rule : STRING; mc_tool_key : STRING; mc_tool_sev : STRING; mc_origin_class : STRING; mc_origin : STRING; mc_origin_key : STRING; mc_origin_sev : STRING; mc_parameter : STRING; mc_parameter_value : STRING; mc_event_category : MC_EVENT_CATEGORY; mc_incident_time : INTEGER, representation = date; mc_arrival_time : INTEGER, representation = date; mc_local_reception_time : INTEGER, representation = date; date_reception : INTEGER, representation = date; date : STRING; status : STATUS, default = OPEN; severity : SEVERITY, default = WARNING; mc_original_severity : SEVERITY, parse = no; mc_priority : MC_PRIORITY, default = PRIORITY_5; mc_original_priority : MC_PRIORITY, parse = no; mc_owner : STRING; msg : STRING; duration : INTEGER, parse = no; mc_timeout : INTEGER; repeat_count : INTEGER; mc_action_count : INTEGER, parse = no; administrator : STRING; mc_acl : LIST_OF STRING, parse = no; mc_date_modification : INTEGER, representation = date; mc_notes : LIST_OF STRING, hidden = yes; mc_operations : LIST_OF STRING, hidden = yes; mc_notification_history : LIST_OF STRING, hidden = yes; mc_bad_slot_names : LIST_OF STRING; mc_bad_slot_values : LIST_OF STRING; mc_history : LIST_OF STRING, hidden = yes; mc_modhist : LIST_OF STRING, hidden = yes; mc_propagations : LIST_OF STRING, parse = no, hidden = yes; mc_collectors : LIST_OF STRING, parse = no, hidden = yes; mc_abstraction : LIST_OF INTEGER, parse = no, hidden = yes; mc_abstracted : LIST_OF INTEGER, parse = no, hidden = yes; mc_associations : LIST_OF STRING, parse = no, hidden = yes; mc_cause : INTEGER, parse = no, hidden = yes; mc_effects : LIST_OF INTEGER, parse = no, hidden = yes; mc_event_relations : LIST_OF STRING, parse = no, hidden = yes; mc_relation_source : STRING; mc_smc_id : STRING; mc_smc_alias : STRING; mc_smc_impact : INTEGER, default = 0; mc_smc_type : STRING; mc_smc_causes : LIST_OF STRING, parse = no; mc_smc_effects : LIST_OF STRING, parse = no; };END

Appendix B Default service model data classes 365

Page 366: Service Model

Root event class

CORE_EVENT slots

The CORE_EVENT slots are listed in BMC Impact Solutions: Knowledge Base Development.

Root event class

The MC_SMC_ROOT event class is used to isolate the service management events from the other branches of the event hierarchy and, more specifically, to distinguish among the events associated with a component, those which come from the outside, and those which have been generated internally.

Figure 64 shows the BAROC definition of the MC_SMC_ROOT class, which is located in the mc_sm_root.baroc file.

The service model root event class branches into two subclasses: a history event class and an impact event class.

History event class

The history event class, SMC_STATE_CHANGE, is an internal event class used to trace the status changes of components.

Figure 65 shows the BAROC definition of the SMC_STATE_CHANGE class, which is located in the state.change.baroc file.

Figure 64 MC_SMC_ROOT definition

MC_EV_CLASS : MC_SMC_ROOT ISA EVENT;END

Figure 65 SMC_STATE_CHANGE definition

MC_EV_CLASS:SMC_STATE_CHANGE ISA EVENT DEFINES{

mc_smc_id: STRING, dup_detect=yes ;smc_status: SIM_NOTIFICATION_STATUS;smc_previous_status: SIM_NOTIFICATION_STATUS;msg: default='A Service Management Component status has changed';mc_smc_impact: default=2;

};END

366 BMC Impact Solutions: Service Model Administrator’s Guide

Page 367: Service Model

Impact event class

Events of class SMC_STATE_CHANGE are automatically generated and associated with their component by the cell. As history events, they are not used in the status computation process.

Impact event class

The MC_SMC_EVENT internal event class should be used as the abstract class when abstracting raw events into service model events. The BAROC definition of the class follows.

Figure 66 shows the BAROC definition of the MC_SMC_EVENT class, which is located in the mc_sm_root.baroc file.

Events of class MC_SMC_EVENT, or any custom subclass of that class, are not used in the status computation process.

Figure 66 MC_SMC_EVENT definition

MC_EV_CLASS:MC_SMC_EVENT ISA MC_SMC_ROOT DEFINES{

mc_smc_impact : default = 1;component_sub_type: STRING;component_name: STRING;

};END

Appendix B Default service model data classes 367

Page 368: Service Model

Impact event class

368 BMC Impact Solutions: Service Model Administrator’s Guide

Page 369: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Glossary

AAbstract phase

The event-processing phase in which Abstract rules are evaluated and, if conditions are met, abstraction events are generated. See also abstraction event.

Abstract ruleAn event-processing rule that creates an abstraction event from one or more raw events. See also abstraction event.

abstracted eventAn event that contributes to the creation of an abstraction event. The abstracted event is the basis for inferring that some condition exists. For example, if a critical subprocess of an application is down, the application is down. See also abstraction event.

abstraction eventA conceptual or summary event based on other events that are occurring. You cannot understand the context of an abstraction event by its details. To understand its context, you must view the relationships between the abstraction event and the events that triggered its creation in the BMC Impact Explorer Events tab, Relationships window. See also abstracted event.

AcknowledgeThe event operation action that acknowledges the existence of an event. See also local action.

Acknowledged statusThe event status that results from an Acknowledge event operation action; it means that an operator has acknowledged the event's existence.

action1. Generally, a procedure that is invoked to produce a specific result. It can be a script or a call to an executable that is invoked automatically in response to an event, or it can be a manual intervention. Actions can be scheduled or immediately invoked locally or remotely.

2. In BMC Impact Manager, an executable that can be run by a cell. Actions are called in an Execute rule. Users can request the execution of actions in the BMC Impact Explorer. See also local action and non-local action.

Glossary 369

Page 370: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

adapterA background process that audits data from various sources, evaluates it for specific conditions, and creates the corresponding events. Adapters also transform event data into the format understood by BMC Impact Manager.

adapter instanceAn instance of an adapter that is defined in the adapter configuration file. The definition is given a name and specifies an adapter type, such as a log file adapter.

adapter map fileA text file that defines the translation of a message between one event format and another. It is also known as a .map file.

Administrative ViewThe BMC Impact Explorer user interface for cell administration. Administrative users can start, pause, stop, and reconfigure a cell by using this interface. They can also make changes to a cell’s dynamic data tables. You access this view by clicking the Administration tab in BMC Impact Explorer.

administratorThe person responsible for administrative tasks within the product.

aliasSee service component alias.

annotated data pointA specially marked point on a parameter graph that provides detailed information about a parameter at a particular moment. The associated data is accessed by double-clicking the data point, which is represented by a user-specified character.

API See Application Program Interface (API).

Application Program Interface (API) A set of externalized functions that allow interaction with an application.

assetAn object instance in the BMC Atrium Configuration Management Database (BMC Atrium CMDB). There are two types of assets in the BMC Atrium CMDB: non-service components, such as desks and other non-IT physical assets, and service components that participate in the delivery of enterprise services.

asset inventoryThe list of all physical and logical assets that have an identifiable value to the organization or against which threats and vulnerabilities can be identified and quantified as part of risk assessment.

370 BMC Impact Solutions: Service Model Administrator’s Guide

Page 371: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Assign To The event operation action that assigns the responsibility for an event to an individual.

Assigned statusThe event status that indicates that the specified operator is responsible for the event. It results from the Assign To or the Take Ownership event operation actions.

attributeA characteristic or property of an object, such as a common-data-model service-model component class. An attribute may contain a value.

automationIn BMC Impact Explorer, operator responses that have been programmed to occur automatically when an event is received.

BBAROC language

Basic Recorder of Objects in C. A structured language used to create and modify class definitions. A class definition is similar to a structure in the C programming language. The elements in a BAROC class are called slots.

base class In programming, a root superclass, a class from which all other classes of its type are derived.

base priorityA static priority value that is combined with the component's current status to determine the final self-priority value. Typically, the base priority determines the highest self-priority that a component will reach when its status become Unavailable.

blackout scheduleA schedule that determines when one or more components will be automatically placed in a blackout state.

BMC Atrium CMDB Common Data Model (BMC Atrium CMDB CDM)An extensible schema that provides a unified representation of configuration items and their relationships to each other. It is used to store asset data (such as hardware information, service management information, and people information) and to provide a mechanism for linking that information to provide a complete view of how all assets are connected and can affect each other.

BMC Atrium CMDB Reconciliation EngineThe BMC Atrium CMDB application used to merge data from multiple sources, such as topology discovery and configuration discovery, into a consistent dataset.

Glossary 371

Page 372: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

BMC Atrium Configuration Management Database (BMC Atrium CMDB)The database application that is the common datastore for asset, configuration management, and service model data in BMC Business Service Management products. It enables BMC products to share IT management and monitoring data and perform service management.

BMC Desktop Status Indicator (BMC DSI)An icon that appears in the desktop system tray of a computer to show the current status of an object being monitored by BMC Impact Portal. To view the status page of the monitored object, you double-click the icon.

BMC Event Manager (BMC EM)A real-time event management product license package that provides event management, including event collection, correlation, enrichment, and integration. It enables IT operations staff to focus the proper resources on resolving the most critical events.

BMC EMSee BMC Event Manager (BMC EM).

BMC IDG See BMC Impact Database Gateway (BMC IDG).

BMC IEA See BMC Impact Event Adapters (BMC IEA).

BMC IELA See BMC Impact Event Log Adapter for Windows (BMC IELA).

BMC Impact Database Gateway (BMC IDG)The interface that enables BMC Impact Manager events to be exported to a relational database.

BMC Impact Event Adapters (BMC IEA)The adapters that collect log file information, convert it to BMC Impact events, and send the events to designated BMC Impact Manager instances.

BMC Impact Event Log Adapter for Windows (BMC IELA)The native Windows platform executable that audits Windows event logs. It runs as a Windows service and checks for new event log records.

BMC Impact Explorer (BMC IX)The console with which you can connect to BMC Impact Manager instances, examine the events stored in them, and perform event and service management activities.

BMC Impact Explorer ServerObsolete term. See BMC Impact Portal.

372 BMC Impact Solutions: Service Model Administrator’s Guide

Page 373: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

BMC Impact Integration product (BMC II product) An interface that enables the synchronized flow of events and data between a BMC Impact Manager instance and another BMC Software product or a specific third-party product.

BMC Impact Manager (BMC IM)The BMC Impact product that provides automated event and service impact management. It runs as a service on supported Windows platforms and as a daemon on UNIX platforms, and can be distributed throughout the networked enterprise and connected in various topologies to support IT goals.

BMC Impact Manager instanceAn installation of the BMC Impact Manager product on a host computer. Compare with cell.

BMC Impact Publishing ServerThe BMC Impact Portal service or daemon that obtains the service model from the BMC Atrium CMDB and publishes (distributes) it to the designated service impact management cell or cells.

BMC Impact PortalThe BMC Portal module that you use to monitor the status of business services and their components.

BMC Impact ReportingThe BMC Impact Solutions component that you use to create and view long-term reports.

BMC Impact Service Model EditorA graphical editor that you use to develop, maintain, and extend the service model that is stored in the BMC Atrium Configuration Management Database (BMC Atrium CMDB).

BMC Impact Web Console (BMC IWC)Obsolete term. See BMC Impact Portal.

BMC IWCObsolete term. See BMC Impact Portal.

BMC IX See BMC Impact Explorer (BMC IX).

BMC IXSObsolete term. See BMC Portal.

BMC PortalA BMC product that consists of the BMC Portal Server (infrastructure) and console modules, each of which deliver specific Business Service Management (BSM) functionality. The BMC Impact Portal and BMC Performance Manager Portal are examples of console modules.

BMC Reporting FoundationThe base component on which BMC Software reporting systems and solutions are built.

Glossary 373

Page 374: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

BMC Service Impact Manager (BMC SIM)A real-time service impact management product license package that provides technologies for both service impact and event management. BMC SIM identifies related applications and the underlying systems and databases of any software or infrastructure component and ties systems-level monitoring to the supported business services, enabling IT personnel to respond quickly to problems that threaten the delivery of business services.

BMC SIMSee BMC Service Impact Manager (BMC SIM).

BMC_System classIn the BMC Atrium CMDB Common Data Model, the parent class for all system information. In this class tree, classes representing computer systems, mainframes, application systems, and virtual systems are defined.

built-in actionAn automated, predefined action performed by a system.

business functionA group of business processes that make up a specific function, such as customer support.

business objectsAn object defined in the BMC Impact Service Model Editor, published to a BMC Impact Manager instance, and monitored in BMC Impact Portal. Business objects contribute business service data for use in status indicators and reports.

business processA series of related business activities that operate to achieve one or more business objectives in a measurable way. Typical business processes include receiving orders, marketing services, delivering services, distributing products, invoicing for services, and accounting for money received. A business process rarely operates in isolation. It depends on other business processes, and other business processes, in turn, rely on it. A business process usually relies on several business functions for support, such as IT and Personnel.

business process decompositionThe identification and cataloging of the business activities and IT resources that combine to make up a business process. The result of business decomposition is a business process model.

business serviceA service that is identifiable by business representatives and supports explicit business processes that have a clear link to the business’s value chain. Most business services have an easily identifiable senior business representative, are composed of a number of specific applications, and rely on the functioning of infrastructure services. For example, the provision of all logistic components underpinning the sale of consumer goods is a business service. See also service.

374 BMC Impact Solutions: Service Model Administrator’s Guide

Page 375: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Business Service Management (BSM)A dynamic method for connecting key business services to the IT systems that manage them. BSM enables users to understand and predict how technology changes will affect their business, and how changes in the business affect the IT infrastructure.

Ccause event

In a sequence of events, the event that is identified as the cause of the other events. See also effect event.

CDMSee BMC Atrium CMDB Common Data Model (BMC Atrium CMDB CDM).

cellThe event processing engine that collects, processes, and stores events within a BMC Impact Manager instance. Each cell uses the information in its associated Knowledge Base to identify the types of events to accept and how to process and distribute them.

child collectorA collector contained within another collector. See also event collector.

class1. A data storage element. In database terms, it relates to a table in a database or a form in the Remedy AR System.

2. In BMC Impact Manager, a BAROC-language data structure that defines a type of object used in BMC Impact Manager. A BAROC class is made up of data fields, called slots, that define its properties.

3. In BMC Impact Portal: see object class.

CLI commandA command that is issued on the OS command line for automation or immediate execution. For a complete list of CLI commands, see BMC Impact Solutions: Administration. See also command line interface (CLI).

CloseThe event operation action that closes an event. If the event was assigned to the current user, Close sets the status to Closed and shows an Operator Closed entry in the operation history. Otherwise, Close sets the status to Closed and shows an Override Closed entry in the operation history.

Closed statusThe event status that results from a Close event operation action.

Glossary 375

Page 376: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

CMDB See BMC Atrium Configuration Management Database (BMC Atrium CMDB).

collector See event collector.

collector rule See event collector rule.

collector set See event collector set.

command line interface (CLI)A user interface in which you issue commands one at a time on a command line for automation or immediate execution. In BMC Impact Manager, you use the CLI in conjunction with a graphical user interface (GUI) to operate the product.

componentA logical or physical asset that is represented in the BMC Atrium CMDB. There are two types of assets represented in the BMC Atrium CMDB: non-service components, such as desks and other non-IT physical assets, and service components that participate in the delivery of business services. See also service component.

component instanceA named component that represents an actual IT resource. See also service component.

component poolA reference to all of the logical and physical assets that participate in the delivery of enterprise services and can be part of the service model. The component pool includes both assets that are part of the service model and assets that are not. See also object and component.

component relationship See service component relationship.

component typeIn the Service Model Editor, an icon with an editable template that represents a specific common data model component class. A user can select a component type and edit its template to create a new instance of the component class.

computed prioritySee priority.

configuration management database (CMDB) See BMC Atrium Configuration Management Database (BMC Atrium CMDB).

376 BMC Impact Solutions: Service Model Administrator’s Guide

Page 377: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

consoleOne of the following commonly BMC Impact Manager product GUIs: BMC Impact Portal, BMC Impact Explorer, BMC Impact Reporting Console, and Service Model Editor.

console local actionAn action taken from a console and that is executed on the console host computer.

consolidation nodeA BMC Impact Manager instance that can receive and process events originating from other systems on the network.

consumerIn a service model component relationship, the component that uses a service provided by another component, the provider. See also provider.

core competencyCapabilities that collectively account for all business activities within a business enterprise, such as planning and developing products.

CORE_DATA classThe base class for all BMC Impact Manager BAROC data classes. It is the parent class for all customized data classes.

CORE_EVENT classThe base class for all BMC Impact Manager event classes. It is the parent class for all customized event classes.

Correlate phaseThe event-processing phase in which the Correlate rules are evaluated to determine whether any events have a cause-and-effect relationship. See also Correlate rule.

Correlate ruleAn event-processing rule that establishes the cause-and-effect relationship between two events. Correlate rules represent a one-to-one relationship.

correlation1. The process of identifying a cause-and-effect relationship between two events from one or more sources for the purpose of identifying a root cause.

2. The cause and effect relationship itself.

3. A type of policy.

Glossary 377

Page 378: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Ddata class

A BAROC class that is a child of the base data class, CORE_DATA, and that defines a type of data. Users can create their own data classes.

datastoreA central place in which an aggregation of data is kept and maintained in an organized way.

Decline OwnershipThe event operation action that indicates that the assigned operator does not accept responsibility for an event. Decline Ownership clears the owner’s name, sets the status back to Acknowledged, and shows a Declined entry in the operation history.

default status view typeIn the BMC Impact Portal, one of the view types available from the Status tab.

Delete phaseThe event-processing phase in which Delete rules are evaluated and actions are taken to ensure that data integrity is maintained when an event is deleted from the event repository during the cleanup process.

Delete ruleAn event-processing rule that is used to clean up obsolete information when an event is deleted from the repository. Delete rules are evaluated when an event is deleted and they take actions to ensure that data integrity is maintained.

destinationOne end of a relationship. In the case of an impact relationship, it is the end associated with the consumer of events.

draft service modelA working version of the service model that can contain both published and unpublished elements.

duplicate eventA subsequent occurrence of an event that has already been received, such as the second or later notification that a component is down. An event that has matching values for all the slots defined with the dup_detect=yes facet in the event class definition. You can use Regulate rules to detect and count duplicate events. See also facet.

During ScheduleTime periods in which a component has a higher service demand and higher importance than in the off-schedule time period. In a During Schedule time period, the component is typically assigned a higher priority value and downtime cost than during an off-schedule time period.

378 BMC Impact Solutions: Service Model Administrator’s Guide

Page 379: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

For example, if a high service demand occurs during 9:00 AM and 5:00 PM, you can create a During Schedule timeframe for that time period. See also off-schedule time and Exceptions Within During Schedule.

During Schedule costThe outage cost (per second) related to the component when the outage occurs within the During Schedule timeframe.

dynamic collectorA special type of collector that, in response to events, can add or remove event collectors from the cell during runtime.

dynamic dataContextual reference data that is stored in a table in the event repository (mcdb) and that is updated during runtime if the context has changed. Administrators can use and manipulate dynamic data in the BMC Impact Explorer Administration View.

EECF

See Event Condition Formula (ECF).

effect eventIn a sequence of events, the event that is identified as an effect of a cause event. See also cause event.

elected event See impact event.

encryption keyThe seed encryption key. If the destination product has a key value, all clients must encrypt their communications using the same key value.

enrichment1. The process of adding to or modifying the original event data to enhance it for problem management, service management, correlation, automation, notification, or reporting functions.

2. A type of policy.

escalation1. The process of referring a problem up the chain of command.

2. A type of policy.

Glossary 379

Page 380: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

escalation procedureThe particular steps defined for performing escalation. For example, you might specify that operations personnel would be notified within 5 minutes of a problem occurrence, a manager would learn of it after 15 minutes, and a director after 1 hour (if the problem still exists).

eventIn a BMC Impact environment, a structured message passed to and from cells. Each event is an instance of an event class.

Event Adapters See BMC Impact Event Adapters (BMC IEA).

event class1. A BAROC class that is a child of the base event class, CORE_EVENT, and that defines a type of event.

2. A category of events that you can create as a child of the base event class, CORE_EVENT, according to how you want the events to be handled by an event manager and what actions you want to be taken when the event occurs. Event classes may be inherited from parent objects, depending on the specific product. Event classes are inherited from parent objects in BMC Impact Manager.

event collectorAn event grouping whose content is defined by its collector rule. Event collectors are displayed in the BMC Impact Explorer and are defined in the BMC Impact Manager Knowledge Base. See also event collector rule.

event collector ruleA type of rule in the Knowledge Base that defines how events from a cell are organized and presented in the BMC Impact Explorer. Collector rules are written in Master Rule Language (MRL).

event collector setA group of event collectors, organized in a parent-child hierarchy, that results from progressive filtering of the incoming events that match the top-level (parent event collector) criteria. A collector set organizes the events for display in the BMC Impact Explorer.

Event Condition Formula (ECF)The section of an MRL rule definition that specifies the conditions that an incoming event must meet to trigger evaluation of the rule during processing. For example: APP_MISSING_PROCESSES where [hostname: == ‘red1’,sub_origin: contains ‘System’] is an ECF. See Master Rule Language (MRL).

event datastoreAn archive of generated event data.

380 BMC Impact Solutions: Service Model Administrator’s Guide

Page 381: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

event group A grouping of collectors that depicts the relationship of events through the hierarchy of the navigation tree. Each level of the collector set is shown as a node under the event group. The parent level of an event group represents all of the events associated with the collectors. An event list is associated with the lowest level nodes of an event group. The parent level of an event group is associated with an image view.

event list1. A tabular listing of events.

2. In BMC Impact Explorer, you can access the event list from the Events tab.

Event Log Adapter for Windows See BMC Impact Event Log Adapter for Windows (BMC IELA).

event managementThe collection and correlation of events across an enterprise to enable IT operations to focus the proper resources on the most critical events.

event management policyOne of several generic rule types that perform actions against events that meet selection criteria specified in an associated event selector. Unlike manually written rules, event policies are defined interactively using the Event Management Policy Editor in the BMC Impact Explorer. See also user-defined policy.

event operation historyThe tabular display of the operation actions taken against an event in BMC Impact Explorer. You can access the event operation history from the Operations History tab of the Event Details pane on the Events tab in BMC Impact Explorer.

event operationsCommands issued by operators to respond to events and correct the problems that the events represent. Operators perform these commands from an event list in BMC Impact Explorer.

event processor See cell.

event propagationThe act of forwarding events and maintaining their synchronization among multiple BMC Impact Manager instances (cells).

event repository1. An archive of generated event data.

2. In BMC Impact Manager instances (cells), the storage facility (mcdb) in which event information is stored.

Glossary 381

Page 382: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

event selection criteriaThe syntax of an event selector that specifies the conditions that an incoming event must meet to trigger selection of the event for rule evaluation during each phase of event processing. You can specify event selection criteria through the BMC Impact Explorer GUI. An MRL Event Condition Formula (ECF) also contains event selection criteria. An event selector contains one or more event selection criteria.

event selectorThe filtering mechanism associated with an event management policy that selects the events against which the event management policy performs actions. An event selector contains one or more event selection criteria. Event selectors are defined interactively by using the BMC Impact Explorer. An event management policy can use one or more event selectors.

event sourceThe monitored IT resource from which source event data is collected, such as an operating system or application log file.

event timeoutAn event timeout policy changes an event status to closed after a specified period of time elapses.

Events ViewThe BMC Impact Explorer user interface for viewing and manipulating event data. See also Services View and Administration View.

Exceptions Within During ScheduleTime periods in a service schedule that are exceptions to the During Schedule timeframe, and in which a component has a lower service demand and lower importance than in the During Schedule time period. For example, if you have a During Schedule timeframe of 9:00 AM to 5:00 PM, you can specify the period between 12:00 PM and 1:00 PM as an Exception Within During Schedule timeframe. The time between 12:00 and 1:00 is treated as Off schedule time, and a lower priority is associated with the component in that time. See also During Schedule and off-schedule time.

Exceptions Within During Schedule costThe outage cost (per second) related to the component when the outage occurs within the Exceptions Within During Schedule timeframe.

Execute phaseThe event-processing phase in which Execute rules are evaluated, and, if conditions are met, specified actions are performed.

Execute ruleAn event-processing rule that performs actions when an attribute (slot) value changes in the event repository. Execute rules are evaluated during the Execute phase of event processing. Often, the resulting actions are internal actions, but you can use the execute primitive in a rule to call an external executable.

382 BMC Impact Solutions: Service Model Administrator’s Guide

Page 383: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

expressionA combination of operators, operands (constants, variables, functions, and primitives), and conditions that represents a value or a relationship between values.

Ffacet

A specific attribute of a BAROC class slot (field) that either controls the values that the slot can have or controls aspects of a class instance's processing.

field See attribute.

Filter phaseThe event-processing phase in which Filter rules are evaluated to determine which events need additional processing or are unneeded and can be discarded.

Filter ruleAn event-processing rule that determines whether a specific type of event should be passed as it is, subjected to further processing, or discarded during the Filter phase.

functionCode that executes an operation in a cell and returns a value. A function can be used as an expression within a rule or a policy and in alias formulas. See also primitive.

Ggateway

See BMC Impact Integration product (BMC II product).

gateway.export fileA special file that controls the propagation and synchronization of events to a BMC Impact Manager Integration product. The file is in the $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME\etc\ directory on Windows platforms.

global recordA special BAROC class instance that defines a persistent global variable. When a cell starts, it creates one instance of each global record defined in the Knowledge Base and restores any existing values. Global record definitions are stored in the record subdirectory of the cell Knowledge Base. You can get and set global record values in MRL rules or by using the BMC Impact Manager CLI mgetrec and msetrec commands.

global slot orderIn BMC Impact Explorer, a set of slots (attributes), in a particular order, that is associated with a filter and is shared among users.

Glossary 383

Page 384: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

global timeframeA timeframe that is created in the Service Model Editor and stored in the BMC Atrium CMDB. A global timeframe is usable from within the BMC Impact Service Model Editor and the BMC Impact Explorer and is available to all cells within an environment. See also local timeframe.

groupA logical or an arbitrary collection of user-defined objects that may or may not have measurable relationships and may or may not have summary data associated with them.

Hheartbeat

1. A periodic message sent between communicating objects to inform each object that the other is still active and accessible.

2. In BMC Impact Manager, a dynamic data object sent by a cell to monitor other cells to verify that they remain active and accessible.

heartbeat intervalThe time between heartbeats; the period of the heartbeat.

highest value functionA calculation method that is used to determine impacts priority

Iimage view

A graphical and hierarchical display that depicts a business view. You can create image view objects or elements to represent managed systems (tools), geographic locations, operators, time, severity levels, categories, and so forth.

impactAn assessed measure of the effect that an incident, fault, or other change will or may have on business operations or service levels.

impact eventAn event whose status is used in computing the status of its associated service component. By default, the status of each event associated with a service component is used to compute its status. However, you can exclude events.

impact production datasetInstances of an environment that are effectively published to the environment’s impact managers. The following example is an impact dataset:

BMC.IMPACT.PROD: the impact production dataset associated with the BMC Impact Service Model Editor

384 BMC Impact Solutions: Service Model Administrator’s Guide

Page 385: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

impact propagationThe effect of an impact to a providing service component (provider) on the service components that use its services (consumers) as defined by an impact relationship. See also impact relationship.

impact relationshipA relationship between two service components in a service infrastructure in which a consumer component depends on a provider component to deliver some needed resource to it. A change in status of the provider affects (has an impact on) the status of the consumer component.

impacted stateThe object state that indicates that an object’s functioning is impaired.

impacts priorityThe priority of a component based on the self-priorities of components that this component impacts. So that the remediation process can be aligned with business needs, the computed priority for each causal component is based upon impacts priority.

The value is the result of the combined priorities of all the other components that are impacted when the component goes down. The value is dynamic and changes as the self-priorities of the impacted components change.

import datasetA dataset that contains objects imported to the BMC Atrium CMDB from an external data source such as BMC Topology Discovery.

inactive relationshipA relationship between two components in a service infrastructure in which there is no impact to the consumer component. An inactive relationship indicates that the two components are connected logically and are represented visually as “linked.” See also impact relationship.

in-modelQualifies a service component as being part of a service model. By default, new components in the BMC Atrium CMDB do not belong to any service model. To change a component to in-model, you will typically use the BMC Impact Service Model Editor. Impact relationships get automatically set to in-model when their related components are in-model. Only those that are in-model can be published to a production cell.

included timeframesA set of timeframes that are included in the service schedule.

indexA value that is used by an MRL rule to sort the slot information for an event or data object.

informational alertAn alert of relatively low importance, such as a message about a routine state change. See also severity.

Glossary 385

Page 386: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

infrastructure elementAn addressable object that can be monitored, such as a managed system in PATROL.

instance1. A specific object with specific attributes or characteristics that distinguish it from other items (members) of its class or type.

2. In BMC Impact Manager, an object that has specific attribute values and that was created using a class definition.

integration product See BMC Impact Integration product (BMC II product).

interface classA BAROC class that defines the programming interface used by an MRL rule primitive, such as get_external, to return data from an external program. At cell startup, an interface class is loaded into memory. The cell invokes the executable defined in an argument of the primitive. The executable’s value is returned by the interface.

internal base class A BAROC internal class that defines the required structure for the base class from which a group of BMC Impact Manager classes is derived.

internal eventAn event that is created by the cell during event processing. An internal event is processed in the same way as an incoming event. All internal events are processed before any new, incoming external events are processed.

Internet Protocol (IP) adapterAn adapter that collects and translates events from a Telnet, UDP, or TCP data source.

IP adapter See Internet Protocol (IP) adapter.

IT component See BMC_System class.

Kkey slot

A slot whose value is compared during searches.

Knowledge Base (KB)A collection of information that forms the intelligence of a BMC Impact Manager instance and enables it to process events and perform service impact management activities. This information includes event class definitions, service component definitions, record definitions, interface definitions, collector definitions, data associations, and processing rules.

386 BMC Impact Solutions: Service Model Administrator’s Guide

Page 387: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Llocal action

An executable that you can run directly from the BMC Impact Manager. Local actions are written in XML and are stored in the OS-specific subdirectory of the bin directory of the BMC Impact Manager cell Knowledge Base.

local timeframeA timeframe that is created in the BMC Impact Explorer. A local timeframe is stored in a single cell and is available to the event management policies within the cell. See also global timeframe.

logical componentA non-physical object that represents something that does not exist physically in the IT infrastructure such as a service, geography, organization, or user group.

Mmacro

An executable used in .map files to manipulate the fields used for event translation.

manifest.kbA central locator file that specifies the locations of the directories that make up a Knowledge Base. The manifest.kb file is used by the compiler to load the Knowledge Base sources files for compilation.

map See image view.

maskingThe process of combining an overlay dataset with a standard dataset to obtain a view in which the standard dataset objects are overlaid or masked by any modified copy contained in the overlay dataset.

Master Rule Language (MRL)A compact, declarative language used to define rules and collectors for processing and organizing events in BMC Impact Manager. Uncompiled rule and collector source files have a .mrl file extension.

mccompThe BMC Impact Manager rules compiler. Rules are written in the Master Rule Language (MRL). The platform-independent compiler converts them to byte code that the cell can read and process.

mcdb See event repository.

Glossary 387

Page 388: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

mcell.conf fileThe configuration file that contains configuration options for a BMC Impact Manager instance (cell). It is in the $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME%\etc\ directory on supported Windows platforms.

mcell.dir fileThe file that lists the cells to which a BMC Impact Solutions product or component can connect and communicate. The information in each cell includes its name, its encryption key, and its host name and port number. This file is in the $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME%\etc\ directory on supported Windows platforms.

mcell.modify fileThe file that lists the slots that affect the mc_modification_date slot. When a specified slot is modified, the time stamp of the modification is reset in the mc_modification_date slot, so that slot is listed in mcell.modify.

mcell.propagate fileThe configuration file that specifies the slot values that are synchronized during event propagation between BMC Impact Manager instances (cells). It is in the $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME%\etc\ directory on supported Windows platforms.

mcell.trace fileThe configuration file that specifies the trace information about a BMC Impact Manager (cell) that should be recorded and the location to which it is written. It is in $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME%\etc\ directory on supported Windows platforms.

mclient.conf fileThe configuration file that specifies the configurations for the BMC Impact Manager CLI commands. It is in the $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME%\etc\ directory on supported Windows platforms.

mclient.trace fileThe configuration file that specifies the trace information that should be collected for the BMC Impact Manager CLI commands and the location to which it should be written. This file is in the $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME%\etc\ directory on supported Windows platforms.

mcontrol commandThe CLI command that sends control commands to a BMC Impact Manager instance (cell).

mc_udidSee universal data identifier (mc_udid).

388 BMC Impact Solutions: Service Model Administrator’s Guide

Page 389: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

mean time between failures (MTBF)The average elapsed time from the point at which an IT service object is made available until the next occurrence of failure in the same service object.

mean time between system/service incidents (MTBSI)The average elapsed time between the occurrence of a system or service failure and the next failure in the same system or service.

mean time to repair (MTTR)The average elapsed time from the occurrence of an incident to restoration of the service.

metaclass See internal base class.

MetaCollectorA virtual collector that contains a group of event collectors from multiple BMC Impact Manager instances. It exists only in the BMC Impact Explorer. You can customize it to suit your organizational needs.

moduleA product that plugs into the BMC Portal.

MTBF See mean time between failures (MTBF).

MTBSI See mean time between system/service incidents (MTBSI).

MTTR See mean time to repair (MTTR).

Nnavigation tree

See navigation tree view.

navigation tree view1. A hierarchical display of the objects and user-defined groups and views.

2. In BMC Impact Explorer, a hierarchical view of defined objects and groups. An object can be a filter, rule, or event. The groups are arranged to show relationship and dependency between the managed systems. The navigation tree view appears in the left pane.

3. In the BMC Portal, a hierarchical display of groups defined in a view.

Glossary 389

Page 390: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

New phaseThe event-processing phase in which New rules are evaluated to determine which events in the repository should be updated with new information from new incoming events.

New ruleAn event processing rule that is evaluated during the New event processing phase, and can update events stored in the repository (mcdb) with fresh information from new incoming events.

nodeA BMC Impact Manager instance that can receive only events originating on the local host system.

non-local actionA user-initiated action that does not execute on the user console host computer.

non-service componentA logical or physical asset defined in the BMC Atrium CMDB that does not participate in the delivery of business services, such as a desk or other non-IT physical asset. A non-service component is not visible within the BMC Impact Service Model Editor.

normalizationThe process of homogenizing event data into a common event format so that a standard set of event data is collected and reported regardless of the event source.

not-in-modelA service component that exists as a logical or physical asset in the BMC Atrium CMDB but is not currently part of the service model. A not-in-model service component is visible within the BMC Impact Service Model Editor component pool.

notification1. A message, either detailed or concise, that contains information about a condition that triggered an alert state on a monitored element. An email message or SNMP trap that is sent when the program detects a problem that triggers an alert.

2. A type of policy.

null relationshipSee inactive relationship.

390 BMC Impact Solutions: Service Model Administrator’s Guide

Page 391: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Oobject

1. An item that can be inserted into a dashboard. For example, a chart, link, or Active-X control.

2. A generic term for anything that is displayed in the user interface.

See class.

object classIn BMC Impact Solutions, a data structure that defines a type of object. An object class can be a BAROC-language data structure in a BMC Impact Manager cell Knowledge Base or a Common Data Model (CDM) data structure in the BMC Configuration Management Database. A class is made up of data fields, called attributes (slots) that define its properties. See also event class and object.

object linkingIn BMC Portal, the ability to associate two objects that are the same IT asset or resource but that occur in different console modules, and manage them as one object.

off-schedule timeTime periods in which the component has a lower service demand, a lower priority, and lower downtime cost than in the During Schedule time periods. Off-schedule time includes any time that is not defined in the service schedule. Exceptions Within During Schedule time periods are treated as off-schedule time when determining base priority. See also service schedule, Exceptions Within During Schedule, and During Schedule.

open eventAn event that may require action. An open event may have a status of Open, Acknowledged, Assigned, or Blackout.

Open statusThe event status that indicates that the event has not been examined, or that neither an operator nor an automated process has been assigned responsibility for the event.

Pparent event collector

A event collector that contains child collectors to form an event collector set.

permissionA rule associated with an object to control which users, groups, and roles can access the object and in what manner. A permission gives the user a specific type of access to the object (for example, read permission or write permission). See right.

phase, rule See rule phase.

Glossary 391

Page 392: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

policy See event management policy.

policy class A BAROC class that is a child of the base data class POLICY and that defines a type of policy.

policy instanceA specific implementation of any of the types of event management policies. For example, you could have an instance of a blackout policy that defined blackout periods for holidays and another instance of the same policy that defined blackout periods for monthly maintenance.

portA number that designates a specific communication channel in TCP/IP networking. Ports are identified by numbers. BMC Impact Manager communicates using the ports specified during installation.

portalThe access point for web-based management tools. The portal houses applications installed by a user and communicates with remotely monitored systems. See also BMC Portal.

presentation nameA descriptive name or label that you can designate to appear instead of a specific internal slot name or class name in the user interface screens. You define presentation names in resource files.

primitiveSimilar to a function, code that executes an operation in a cell and returns a value; can be used as an instruction, or as a function if contained in a Boolean expression.

priorityAn attribute indicating the precedence or scale of importance of an event.

priority propagatorA component that is configured to propagate its priority to its causal components.

production cellA BMC EM or BMC SIM cell that service operators and service managers use to monitor the events and services associated with IT resources in real time.

production viewA read-only view in the BMC Impact Service Model Editor that displays some of the components and relationships contained in the production dataset (the visibility can be constrained by user permissions). Each BMC Impact Service Model Editor user can have several of these views. BMC Impact Service Model Editor users can dynamically convert a production view into a sandbox View. See also sandbox and sandbox View.

392 BMC Impact Solutions: Service Model Administrator’s Guide

Page 393: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

promotionA user-initiated action in BMC Impact Service Model Editor that assists in reconciling objects (such as components, relationships, and management data) from a sandbox dataset to the production dataset.

Propagate phaseThe event-processing rule phase in which Propagate rules are evaluated to determine the events to be forwarded to another cell or to a BMC Impact Integration product.

propagate policy A type of policy that forwards events to other cells in the managed domain. A propagate policy is evaluated during the Propagate phase of event processing.

propagate priorityWhen a component forwards its self-priority to its causal components.

Propagate ruleAn event-processing rule that is used to forward events to other cells in the managed domain. Propagate rules are evaluated during the Propagate phase of event processing.

propagated eventAn event that is forwarded from one cell to another cell or to a BMC Impact Integration product during the Propagate phase of event processing.

providerA logical or physical asset that delivers services or provides resources that are used by other service components in the delivery of business services.

publish environmentAn environment that consists of a production dataset, an impact production dataset, and one or more test or production cells that are published.

published-modified componentA service component that has been modified since its service model was published (distributed) to BMC Impact Manager instances.

published componentA service component that is currently part of the published service model that has been distributed to BMC Impact Manager instances.

publishingThe automated or user-initiated action performed by the BMC Impact Publishing Server in which components, relationships, and management data from the production dataset are published to one or several production or test cells.

publishing serverSee BMC Impact Publishing Server.

Glossary 393

Page 394: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

published service modelA service model that is currently distributed to BMC Impact Manager instances (cells). It contains only published elements.

RReconciliation Engine

See BMC Atrium CMDB Reconciliation Engine.

record See global record.

recurrence1. The characteristic of occurring more than once.

2. The type of policy that handles recurrent events. See also recurrent event.

recurrent eventAn event that occurs more than one time. Both scheduled and unscheduled events can be recurrent events: a monitored hardware device could experience multiple voltage spikes within a single polling cycle, and a reminder notification could be scheduled to be sent periodically until acknowledgment is received. See also duplicate event.

Refine phaseThe first phase of event processing, in which Refine rules are evaluated to validate incoming events and, if necessary, collect additional data needed before further event processing can occur.

Refine ruleA rule evaluated during the first phase of event processing to validate an incoming event and, if necessary, to collect any additional data needed before further processing can occur.

regular expressionSometimes referred to as “regex,” regular expressions are used in pattern matching and substitution operators. A simple regular expression is a sequence or pattern of characters that is matched against a text string when performing search and replacement functions.

Regulate phaseThe event-processing phase in which Regulate rules are evaluated and, if true, collect duplicate events for a time period and, if a specified threshold of duplicates is reached, passes an event to the next processing phase.

Regulate ruleAn event-processing rule that processes duplicate events or events that occur with a specified frequency. With a Regulate rule, you can create a new event based on the detection of repetitive or frequent events. See also Regulate phase.

394 BMC Impact Solutions: Service Model Administrator’s Guide

Page 395: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

related eventThe event that was generated by a source event. A related event can also be the source of other related events.

relationA logical association that expresses the relevance of one event to another.

relation definitionThe BAROC data instance that defines a relation.

remote action A user-initiated action that does not execute on the user console host computer; an executable that can be run by a cell. Remote actions are written in the Master Rule Language (MRL) and are stored in the OS-specific subdirectory of the bin directory of the Knowledge Base.

ReopenThe event operation action that reopens an event that is in the Closed state. Reopen sets the status to Open and shows a Reopen entry in the operation history.

repository See event repository.

restricted objectA dynamically created object that contributes to service status, but which the user does not have permission to view.

rightAn authorization entitling a user to perform a certain action. Rights apply to a whole application or to specific objects of a certain type.

root cause analysisThe process of monitoring events and correlating event data to identify the true cause of a problem.

ruleA conditional statement written in MRL and that, if determined to be true, executes actions. Cell event processing occurs in phases with the cell comparing each event to the series of rules associated with that phase. Each phase’s rules are evaluated one by one before the event is passed to the next phase. The order in which rules are evaluated during a particular phase is based on the order in which the rules were loaded.

rule engine See cell.

rule phaseA specific stage of event processing. Event processing compromises a combination of sequential phases and nonsequential phases, each with a corresponding rule type.

Glossary 395

Page 396: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

rule typeThe designation that identifies a rule as being in a specific phase of event processing. The cell executes rules within the context of the associated event-processing phase and in the order in which the rules were loaded from the rule file.

Ssandbox

An overlay dataset associated with the production dataset. The overlay dataset provides a view of the underlying production dataset masked by changes made by the user in the overlay dataset.

sandbox ViewIn the BMC Impact Service Model Editor, a personal work area for designing and developing a service model.

saved stateThe state of a BMC Impact Manager instance (cell) as determined by the StateBuilder utility, statbld.exe. The StateBuilder utility periodically consolidates the data in the transactions file (xact) to produce the “saved state” of the product instance. This information is stored in the event repository (mcdb) and the state is reloaded when BMC Impact Manager restarts.

scheduleSee service schedule.

SDK See Software Development Kit (SDK).

selector See event selector.

selector class A BAROC class that is a child of the base data class SELECTOR and that defines a type of event selector.

self-priorityThe result of mapping the base priority value for a component with its status value.

send to testA user-initiated action in the BMC Impact Service Model Editor in which objects (such as components and relationships) are copied from a sandbox View to a test dataset. The copy captures both sandbox objects and production objects to reproduce a consistent model or submodel in the test environment.

396 BMC Impact Solutions: Service Model Administrator’s Guide

Page 397: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

serviceAn integrated composite of several components, such as management processes, hardware, software, facilities, and people, that delivers something of value to satisfy a management need or objective.

service catalogA list of IT services that identifies the physical and logical assets that help provide a service. The data collected in the service catalog can be used to form a configuration management database.

service componentA logical or physical resource that participates in the delivery of services. A service component is any class that is a subclass of the BMC_BaseElement class in the BMC Atrium CMDB or the cell Knowledge Base.

service component aliasA name that is assigned to a service component instance and used in associating an event type with the component instance. You add an alias to a service component instance’s definition in the Service Model Editor. A service component instance can have several different aliases to enable different event types to be associated with it.

service component relationshipIn a service model, the association of two service components in which one component, the provider, delivers some resource or service to the consuming component or components. See also provider and consumer.

Service Impact Management (SIM)A technique for managing the impact of IT events on the company’s core business services to ensure their delivery. See also BMC Service Impact Manager (BMC SIM).

service modelAn extensible system for defining the various resources that combine to deliver business services, for modeling their behaviors and functional relationships, and for managing the delivery of the resulting services. In Service Impact Management, the map of how IT components relate to the business processes that they support. All IT events and service issues are analyzed against the service model to determine the root cause of problems and to report on service impacts.

service scheduleA set of timeframes that includes During Schedule timeframes, Exceptions Within the During Schedule timeframes, and the priority values and downtime costs for a component associated with each timeframe.

Services ViewThe BMC Impact Explorer user interface for viewing service-model components and their relationships and for viewing and managing the events that affect service availability.

Glossary 397

Page 398: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Set PriorityThe event operation action that escalates or de-escalates an event. Set Priority sets the events priority to the specified values and shows a Priority Set entry in the operation history.

severityAn indication of the seriousness of an event.

severity-to-status mapping tableOne of the two tables that relate event severity and service component status. It is used by the cell to map the severity of an impact event to a status value to be used in the computation of the associated service component's status. See also status-to-severity mapping table.

slotAn field in a BAROC class definition. A class definition consists of one or more slots. Each slot has a data type and can have specific attributes, called facets, that can control the values that the slot can have or other aspects of a class instance’s processing. A subclass inherits all the slots of the parent class. See also attribute.

slot facet See facet.

SM See service model.

SNMP adapterAn adapter that listens at a port for SNMP traps. It evaluates the traps and formats them based on the configured event mapping. If the event-mapping conditions are satisfied, it sends the event to the cell.

SNMP Adapter Configuration ManagerA component of the BMC Impact Event Adapters that converts Management Information Base (MIB) data into BMC Impact Manager class data.

Software Development Kit (SDK)A set of procedures and tools with which you can develop a type of application.

source dataThe information that enters the BMC Impact Manager system from another entity and that will be transformed into an event in the system.

source eventThe event that generates a related event.

statbld.conf fileThe configuration file for the StateBuilder utility. It is in the $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME%\etc\ directory on supported Windows platforms.

398 BMC Impact Solutions: Service Model Administrator’s Guide

Page 399: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

statbld.trace fileThe configuration file that specifies the trace information to be collected for the StateBuilder utility and where it should be written. It is in the $MCELL_HOME/etc/ directory on UNIX platforms and in the %MCELL_HOME%\etc\ directory on supported Windows platforms.

state change eventA generated event type that records changes in a component’s status. State change events never participate in component status computation.

StateBuilder utilityThe utility, statbld.exe, that periodically consolidates the data in a cell’s transactions file (xact) and writes the “saved state” of the cell to the repository (mcdb).

status1. For events, an indication of the event’s management. Possible values are Open, Closed, Acknowledged, Assigned, and Blackout.

2. For service components, an indication of the relative availability of an IT resource. Possible values are OK, Unknown, Blackout, Information, Warning, Minor Impact, Impacted, and Unavailable.

status-to-severity mapping tableThe status-to-severity map is used by the cell to map the main status of a component to the severity of a history event.

status computation modelA model that determines the status of a consumer service component when a change in the status of its provider service component occurs.

status propagationThe effect that a change in status of a provider component has on the status of its consumer components.

STATUS_PROPAGATION tableA dynamic data table that defines the different pairs of service component types whose instances can have a relationship and the status propagation model to be used for each relationship.

store and forwardA mechanism that ensures that if an event cannot reach its destination, it is saved in a file and sent when a viable connection to the destination becomes available.

stored eventAn event that has been processed by the cell and stored in its event repository. Only stored events can be returned by queries and displayed in BMC Impact Explorer, returned by the mquery CLI command, or referenced by the Using and Update clauses of an MRL rule.

Glossary 399

Page 400: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

superclassA hierarchically superior event or data class. A class that is derived from another class inherits part of its attributes (slots) from its superclass.

suppression1. The intentional exclusion of an event or a type of event.

2. The type of policy that governs event suppression.

syslog adapter An adapter that collects information from the log file generated by the UNIX daemon syslogd. The syslog adapter reads syslogd events and formats and sends them to the cell.

TTake Ownership

The event operation action that assigns the current user as the event’s owner, sets the event status as Assigned, and shows an entry of Taken in the operation history.

targetThe entity designated to receive events from an adapter, an event generator, or a BMC Impact Manager instance. Also, a cell whose content currently is displayed in a BMC Impact Explorer dialog box.

test cellA cell, distinct from a production cell, in which to test an in-development service model. A test cell is either a BMC EM cell used to develop and test event management data, rules, policies, actions, and collectors, or a BMC SIM cell used to develop, test, and publish service models.

test datasetA dataset that is used to relay objects from a sandbox View to a test cell. Each BMC Impact Service Model Editor user has a dedicated test dataset. A test dataset combines with a test cell to make a user test environment. The following example is a test dataset:

BMC.IMPACT.Joe.TEST.1: the impact dataset containing instances that are effectively published to the impact manager of Joe’s Test environment

threshold1. In BMC Impact Manager, the point beyond which the value of a facet, slot, or other attribute can trigger an alert.

2. A type of policy.

Threshold ruleA rule that executes if the number of events exceeds the specified number within a particular timeframe.

400 BMC Impact Solutions: Service Model Administrator’s Guide

Page 401: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

TIME_FRAME classA BAROC class that is a child of the base data class TIME_FRAME and that defines a type of timeframe.

TIME_ZONE classA BAROC class that is a child of the base data class TIME_ZONE and that defines a type of time zone.

timeframe1. User-defined blocks of time that can be added to a service schedule. Timeframes are added to the service schedule as During Schedule timeframes or Exceptions Within During Schedule timeframes. Any unassigned time is considered Off schedule. See also During Schedule, Exceptions Within During Schedule, and off-schedule time.

2. The specification for the period during which an event management policy instance is in effect.

Timer phaseThe event-processing phase in which Timer rules for the delayed execution of another rule type are evaluated. This phase spans the New, Abstract, Correlate, and Execute phases of event processing.

Timer ruleAn event-processing rule that triggers the delayed execution of another type of rule.

Timer trigger See Timer rule.

tree See navigation tree view.

Uunknown object

An object whose status cannot be determined because of a connectivity failure.

universal data identifier (mc_udid)A unique, system-generated value used to identify a specific service component instance. Each service component must have a value for the mc_udid attribute (slot). One use of the universal data identifier is in associating aliases to a service component instance.

unpublished componentA service component that is currently part of the service model but that has not been published (distributed) to BMC Impact Manager instances.

Glossary 401

Page 402: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

user-defined policyA type of policy that a service manager or operations manager can define to perform specialized event processing; not available through any BMC Impact Explorer built-in policy. See also event management policy

Using clause An MRL rule clause that is used primarily to retrieve data instances for a dynamic rule, but can also be used to retrieve instances of past events.

VView

In the Service Model editor, the centralized area where you begin to build and maintain a service model. Each View is unique to a user account. Multiple users can have different Views into the same service model. You can save Views for later reuse.

Wweighted function

A calculation method that is used to determine impacts priority.

When clauseA part of MRL rule syntax for Abstract, Correlate, Execute, Propagate, and Timer rules. Events must first meet the selection criteria in the rule before the When clause is evaluated. Changes to slot values cause When clauses to be re-evaluated.

wildcardA type of pattern matching that uses the asterisk character (*) to represent any number of different characters, and the question mark character (?) to represent a single unknown character. See also regular expression.

workspaceSee View.

402 BMC Impact Solutions: Service Model Administrator’s Guide

Page 403: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index

Aaccess rights to service model objects 118Access Server component type 48active relationship

defined 96setting as 100

Activity component type 47Activity Decision component type 47Activity End component type 47Activity Interaction component type 47Activity Manual component type 47Activity options 100Activity Start component type 47Add to Saved Finds button 90Advanced Find tab 92algorithm, quorum 174alias

entering in component instance 82alias formulas

conditional operators 106creating 104functions in 107

analyzing relevance of events 37Application component type 48Application Infrastructure component type 48Application Service component type 51Application System component type 48applications, using with extended data models 202AR System server

using with extended data models 202ARDBC plug-in 251Atrium Publish environments

parameters for 295attributes

generating fields for AR System 202automated publishing 72, 333AutomatedPublish configuration parameter 267AutomatedPublishRetryPeriod configuration parameter

266, 267

Bblackout status

described 45BMC Atrium Configuration Management Database

described 66exporting SIM class definitions from 290

BMC Impact Explorermonitoring service events 128

BMC Impact Portalmonitoring service events 128

BMC Impact Publishing Servergenerating events for 218starting service 212

BMC Impact Publishing Server CLIcommand summary 287–288common options for commands 281–283configuring 272–281configuring error tracing 281error exit codes 285error tracing, configuring 281installing on another computer 270–272pclassinfo command 289pcli.trace file 281, 284, 285pinit command 301plog command 304plogdisplay command 306pscontrol stop command 318pserver command 320publish command 322

BMC Impact Publishing Server servicestopping with pcontrol stop CLI command 318

BMC Impact Solutionsusing new classes 202

BMC Software, contacting 2BMC.ASSET data set 121BMC.IMPACT.PROD data set 73, 121BMC_Activity component class 47BMC_Application component class 48BMC_ApplicationInfrastructure component class 48BMC_ApplicationService component class 51BMC_ApplicationSystem component class 48BMC_BaseElement

BAROC definition 343enumerations 349slot definitions 346, 351

BMC_BusinessProcess component class 47BMC_BusinessService component class 47BMC_CDROMDrive component class 51BMC_Cluster component class 48BMC_ComputerSystem component class 48, 49, 50, 51

Index 403

Page 404: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

BMC_ConnectivityCollection component class 47BMC_DataBase component class 47BMC_DataBaseStorage component class 52BMC_DiskDrive component class 51BMC_DiskPartition component class 52BMC_FileSystem component class 52BMC_FloppyDrive component class 51BMC_HardwareSystemComponent component class 51BMC_Impact

data class 349enumerations 352

BMC_IPConnectivitySubnet component class 47BMC_IPXConnectivityNetwork component class 47BMC_LAN component class 47BMC_LNsCollection component class 47BMC_LNsCollection component type 47BMC_LocalFileSystem component class 52BMC_LogicalSystemComponent component class 52BMC_Mainframe component class 49BMC_Media component class 51BMC_Monitor component class 50BMC_OperatingSystem component class 52BMC_Organization component class 47BMC_PROPOGATION_MAP

defined 357slots 357

BMC_RemoteFileSystem component class 52BMC_SIM_ALIAS data class 359BMC_Software component class 52BMC_SoftwareServer component class 48, 49, 50, 51BMC_STATUS_COMPUTATION data class 353BMC_STATUS_PROPOGATION data class 355BMC_SystemResource component class 52BMC_SystemSoftware component class 52BMC_TapeDrive component class 51BMC_UPS component class 51BMC_UserCommunity component class 47BMC_VirtualSystem component class 51BMC_VirtualSystemEnabler component class 52BMC_VMWare component class 52BMC_WAN component class 47Business Process component type 47Business Service component type 47

CCD ROM Drive component type 51cell

add or change name 86assigning related component instances to 101determining topology 40field 81initializing with pinit command 303–304initializing with service model data 301list of cell names 81reinitializing 246

404 BMC Impact Solutions: Service Model Administrat

SIM, comparing SIM class definitions 292unassigned 81

cell aliasabout 231chart illustrating 233

Class Manager Console 203classes

IPS_CONFIG 223IPS_ERROR 228IPS_EVENT 221

CLIfor BMC Impact Publishing Server 269–274

close, action command for penv 294Cluster component type 48color

setting active border 196setting selected background 196

command optionspclassinfo 289pinit 293, 302, 308plog 305plogdisplay 306pscontrol stop 318pserver 320publish 157, 321, 322

commandsmposter 56msend 56pclassinfo 289penv 292penv, action commands 294pinit 301plog 304plogdisplay 306pposter 307pscontrol stop 318pserver 320publish 322

common 285Common Data Model (CDM)

SIM-qualified classes of 66Communication Server component type 48comparing published to new 124component classes

BMC_Activity 47BMC_Application 48BMC_ApplicationInfrastructure 48BMC_ApplicationService 51BMC_ApplicationSystem 48BMC_BMCComputerSystem 48, 49, 50, 51BMC_BusinessProcess 47BMC_BusinessService 47BMC_CDROMDrive 51BMC_Cluster 48BMC_ComputerSystem 48, 49, 50, 51BMC_ConnectivityCollection 47BMC_DataBase 47

or’s Guide

Page 405: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

BMC_DataBaseStorage 52BMC_DiskDrive 51BMC_DiskPartition 52BMC_FileSystem 52BMC_FloppyDrive 51BMC_HardwareSystemComponent 51BMC_IPConnectivitySubnet 47BMC_IPXConnectivityNetwork 47BMC_LAN 47BMC_LNsCollection 47BMC_LocalFileSystem 52BMC_LogicalSystemComponent 52BMC_Mainframe 49BMC_Media 51BMC_Monitor 50BMC_OperatingSystem 52BMC_Organization 47BMC_RemoteFileSystem 52BMC_SoftwareServer 48, 49, 50, 51BMC_Sofware 52BMC_SystemResource 52BMC_SystemSoftware 52BMC_TapeDrive 51BMC_UPS 51BMC_UserCommunity 47BMC_VirtualSystem 51BMC_VirtualSystemEnabler 52BMC_VMWare 52BMC_WAN 47

component instancesaccess to 118assigning related to cells 101associating with events 104copying 87creating 79creating multiple copies 80deleting 89determining dependencies 35editing 85exporting 141finding existing 89hide 88relationship state 55setting icon colors and labels 196viewing properties 84

component statuscomputation model 46computing 170description of 45

component types 44Access Server 48Activity 47Activity Decision 47Activity End 47Activity Interaction 47Activity Manual 47Activity Start 47

Application 48Application Infrastructure 48Application Service 51Application System 48BMC_LNsCollection 47Business Process 47Business Service 47CD ROM Drive 51Cluster 48Communication Server 48Computer System 48Configuration Management Agent 48Connectivity Collection 47Database 47Database Server 49Database Storage 52Disk Drive 51Disk Partition 52DNS Server 49File Server 49File System 52Firewall 49Floppy Drive 51FTP Server 49Gateway 49Hardware System Component 51Hub 49Input/Output Device 49IP Connectivity Network 47IP Connectivity Subnet 47JBOD 49LAN Network 47Layer 3 Switch 49LDAP Server 49Load Balancer 49Local File System 52Logical System Component 52Mail Server 49Mainframe 49Media 51Message Server 49Mobile User Device 49Monitor 50Operating System 52Organization 47Print Server 50RAID Storage Device 50Remote File System 52Resource Server 50Router 50SAN Bridge 50SAN Director 50SAN Hub 50SAN Router 50SAN Switch 50Security Server 50Server 50

Index 405

Page 406: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Software 52Software Server 50Storage 50Switch 50System Resource 52System Software 52Tape Drive 51Tape Library 51Telnet Server 51Transaction Server 51UDDI Server 51Uninterruptible Power Supply (UPS) 51User Community 47Virtual System 51Virtual System Enabler 52VMware 52WAN Network 47Web Cache 51Web Server 51

Computer System component type 48computing

status, of a component 170Conditional Find tab 93conditional operators in alias formulas 106configuration activities for administrators

associating custom icons with service model component classes 204

Configuration Management Agent component type 48configuration parameters

AutomatedPublish (publishing server) 267AutomatedPublishRetryPeriod 266, 267InitEffectivelyMgmtData 266, 267

configuringBMC Impact Publishing Server CLI 272–281error tracing, BMC Impact Publishing Server CLI 281

Connectivity Collection component type 47Console Navigation Tree

add a component to 131adding a folder 128copying a folder 130dockable window 128moving a folder 129permissions for folders 130refreshing 132removing a folder 130renaming a folder 129

copycomponent instances 87set options for 198

creatingalias formulas 104component instances 78multiple copies of component instances 80relationships 97

custom icons, associating with service model component classes 204

customer support 3

406 BMC Impact Solutions: Service Model Administrat

Ddata classes

BMC_BaseElement, BAROC definition 343BMC_Impact 349BMC_PROPOGATION_MAP 357BMC_SIM_ALIAS 359BMC_STATUS_COMPUTATION 173, 353BMC_STATUS_PROPOGATION 355extending 44file location 342mapping 358relationship 342service model relationships 349service model, overview of 342SEVERITY_TO_STATUS 358status related 342

Database component type 47Database Server component type 49Database Storage component type 52datasets

BMC.ASSET 122BMC.IMPACT.PROD 122defined 66for Atrium Publish environments 234

date and time formats, setting 197decreasing relationship policy 100deleting

component instance 89event alias associations 108relationships 103Views 134

Direct Feed for service model data 24Direct Publish environments

parameters for 298direct relationship policy 100discovery tools 78Disk Drive component type 51Disk Partition component type 52DNS Server component type 49dockable windows

Console Navigation Tree 128Find 90Pan and Zoom 137repositioning 140Template 80undocking 140

documenting extensions 207drawing relationships 97dynamic prioritization

final priority 192impacts priority 191overview 63priority propagators 191self priority 182

or’s Guide

Page 407: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Eediting

component instances 85event alias associations 108in model/not in model setting 86multiple component instances 87multiple objects 85relationships 102

embedded Help options 198error exit codes for BMC Impact Publishing Server CLI 285error messages

modifying 128, 216event alias associations

creating 104deleting 108editing 108testing 120

event classes 364history 366impact 360, 361, 362, 367

eventsassociating to component instances 104generating publishing 218missing, described 38monitoring 128

examplespclassinfo 290–292penv 298pinit 303–304plog 305plogdisplay 306publish 323

exits 165, 283expansion handles in relationships 138exploring paths in relationships 138exporting

component instances 141SIM class definitions from BMC Atrium CMDB 290

extending Common Data ModelBMC applications and 202BMC Impact Solutions and 202documenting 207

Ffile location of data classes 342File Server component type 49File System component type 52files

pcli.trace 281, 284, 285pclient.conf 271, 272pserver.trace 281pserver.trace (configure) 281

Find commandconfiguring results pane 91

filtering the results 91relationships 99

Find, Advanced 92Find, Conditional 93finding

component instances 89relationships 90

Firewall component type 49Floppy Drive component type 51FTP Server component type 49functions

in alias formulas 107in status computation 170

GGateway component type 49General tab 80generating publishing events 218Go to Component button 92grab hand in View 136

HHardware System Component component type 51hiding

component instance 88dockable windows or View window 79

history event class 366home cell

about 231home cell alias

about 231Hub component type 49

Iicons

custom, associating with user-defined classes in SME 204

identifying critical events 37impact event class 360, 361, 362, 367IMPACTED component status, described 45import service model data 141important component 191in model, defined 73inactive relationship, defined 96increasing relationship policy 100info, action command for penv 295init, action command for penv 295InitEffectivelyMgmtData configuration parameter 266, 267initializing

cells with pinit command 303–304Input/Output Device component type 49installing

Index 407

Page 408: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

BMC Impact Publishing Server CLI on another computer 270–272

IP Connectivity Subnet component type 47IPS_CONFIG class 223IPS_ERROR class 228IPS_EVENT class 221IPX Connectivity Network component type 47

JJBOD (Just a Bunch Of Disks) component type 49

LLAN Network component type 47Layer 3 Switch component type 49LDAP Server component type 49line weight, for relationships 197lines styles, for relationships 197Load Balancer component type 49Local File System component type 52log files

setting preferences for 199log, publishing

viewing with plog command 305logging on

BMC Impact Service Model Editor 77Logical System Component component type 52

MMail Server component type 49Mainframe component type 49Match Attributes box for event alias association 105mc_root_internal.baroc 350mc_root_redef.baroc 364MC_SM_COMPONENT data class, BAROC definition 344mc_sm_event_ mapping.baroc 343mc_sm_object.baroc 343mc_sm_root.baroc 343MC_SMC_EVENT data class BAROC definition 360, 361,

362, 367Media component type 51Message Server component type 49MINOR IMPACT component status, described 45missing events 38Mobile User Device component type 49Monitor component type 50mposter command 56msend command 56

Nnon-impact relationships, showing 140

408 BMC Impact Solutions: Service Model Administrat

not in modeldefined 74setting in component instance 81

OOK component status, described 45Open Saved Finds button 90open, action command for penv 295opening, Views 133Operating System component type 52Options command 196Organization component type 47output file

for sim2cmdb CLI command 160Output Preview option 88

PPan and Zoom dockable window 137parameters

for Arium Publish environments 295for Direct Publish environments 298

Paste Multiple Components dialog box 87pclassinfo command 289–??

examples 290–292options 289–290

pcli.trace 281pcli.trace file 281, 284, 285pclient.conf file 271

configuring Impact Publishing Server CLI 272location 272

penv command 292pinit command 301–??

examples 303–304options, required 302syntax 302

plog command 304–??examples 305syntax 304

plogdisplay command 306–??examples 306options 306return codes 307syntax 306

pposterCLI command 307

Print Server component type 50priority propagators 191product support 3promotion

all instances 123deleting instances 89guidelines 122overview 71

or’s Guide

Page 409: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

requirements before 122status message 124step-by-step instructions 123submitting 122verifying status 125

promotion of service model 121provider relationship, described 53pscontrol stop command 318

options 318syntax 318

pserver command 320options 320syntax 320

pserver.conf fileconfiguration parameters 242

pserver.trace file 281publish command 322–??

command options 157, 321, 322examples 321, 323syntax 322

Publish History command 126, 215publishing

automated 72, 333changing recommended actions 127, 216viewing history 126, 215

publishing large service models 331publishing log

viewing with plog command 305

Qquery builder in Find 94quick expansion arrows 79

RRAID Storage Device component type 50refresh View 139regional preferences, setting 197reinitializing a cell 246relationship legend 140relationship policy, options defined 100relationships

active 96creating 97define line styles for 197deleting 103drawing 97example View 101expansion handles 138exploring paths 138finding 90inactive 96legend of types of 140model illustration 20

selecting 98showing non-impact 140state 55state values 55status propagation models 55testing 120updating 102

Remote File System component type 52renaming

Views 134repositioning objects in a View 135Reset button in Find 92Resource Server component type 50return codes

plogdisplay 307Router component type 50

SSAN Bridge component type 50SAN Director component type 50SAN Hub component type 50SAN Router component type 50SAN Switch component type 50save

a search statement 90component instances 83Views 133

Security Server component type 50selecting

multiple objects 86relationships 98

Server component type 50service components

types 47service model

class hierarchy 341composition 43data classes, overview of 342defined 20description of 20Direct Feed 24internals of 341objects, access to 118promotion 121publishing large 331

service model componentscomputing status of 170status colors, default 45status computation 46status values 45

service model relationshipsdata classes 349defined 53

ServiceModelSet class attribute, calculation of relationship values 241

Index 409

Page 410: Service Model

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

servicesstarting BMC Impact Publishing Server 212

set, action command for penv 295setting

options 196regional preferences 197

SEVERITY_TO_STATUS data class 358showing topology views 140sim2cmdb.conf file 153SMC_STATE_CHANGE data class BAROC definition 366Software component type 52Software Server component type 50source file

for pposter CLI command 309starting

BMC Impact Publishing Server 212state_change.baroc file 366status

list of default values for components 45Status and Alias tab 81status computation

functions 174model 46model anatomy 174of components 46

status propagation modelsfor relationships 55in BMC Impact Service Model Editor 178

STATUS_COMPUTATIONdata class, BAROC definition 353, 354slots 353, 354

stoppingBMC Impact Publishing Server service 318

Storage component type 50support, customer 3Switch component type 50syntax

pclassinfo 289, 292pinit 302plog 304plogdisplay 306pscontrol stop 318pserver 320publish 322

System Resource component type 52System Software component type 52

TTape Drive component type 51Tape Library component type 51technical support 3Telnet Server component type 51topology views

configuring 200showing 140

410 BMC Impact Solutions: Service Model Administrat

trace configuration fileBMC Impact Publishing Server CLI 281

Transaction Server component type 51

UUDDI Server component type 51UNAVAILABLE component status, described 45undocking dockable windows 140Uninterruptible Power Supply (UPS) component type 51UNKNOWN status

described 45user accounts

views 133User Community component type 47user groups

default rights 118

Vverifying promotion status 125Views

adjusting focus in 136and user accounts 133deleting 134grab and move objects in 136opening 133refreshing 139rename 134reposition objects in 135saving 133setting appearance options 198visual cues in 134zoom 136

Virtual System component type 51Virtual System Enabler component type 52visual cues in a View 134VMware component type 52

WWAN Network component type 47WARNING status, described 45Web Cache component type 51Web Server component type 51weighted cluster status model 46wildcards

using with Find command 90

Zzoom in View 136

or’s Guide

Page 411: Service Model

Notes

Page 412: Service Model

*91098**91098**91098**91098*

*91098*