Sei sulla pagina 1di 48

Smarts

Business Impact Manager


Overview
BIM 8.x

Copyright 2009 EMC Corporation. All rights reserved.

Business Impact Manager (BIM)


A Smarts domain manager
Calculates the impact of network events on business topology elements

Copyright 2009 EMC Corporation. All rights reserved.

BIM
Network infrastructure elements
include, for example, hosts, routers, and switches:
all of the devices and connections that make up a network.

Applications
layered over and hosted by the infrastructure elements,
Ie: accounting packages, order management programs, inventory control packages

Business elements
include business operations and processes
also includes elements that use those processes: service subscribers, organizations,
business units, lines of business, departments and customers.

All of the elements are closely linked:


applications depend on infrastructure elements
business elements depend on applications

BIM works with SAM to calculate the business impact of events


Copyright 2009 EMC Corporation. All rights reserved.

What does BIM do?


BIM imports topology from a single SAM domain manager and weights
from user configured data files.
BIM subscribes to notifications from SAM.
Calculates the impact of network infrastructure and application rootcause problem events based on user-defined weights.
The impact is a numeric value that represents the impact on the
business service the higher the impact the greater the disruption to the
business service.
Propagates the impacts to the affected business elements.
Creates notifications for these impacted business elements. Event type
Impacted.
The impact value of any root cause notification is displayed in the
Notification Log of the global console.
Copyright 2009 EMC Corporation. All rights reserved.

What does BIM do? (continued.)


Administrators of a Smarts installation can sort the Notification Log by
impact value to monitor business service disruptions.
Supports maintenance windows on topology elements via the
maintenance adapter.

Copyright 2009 EMC Corporation. All rights reserved.

Data Flow

Copyright 2009 EMC Corporation. All rights reserved.

Viewing Impacts

Copyright 2009 EMC Corporation. All rights reserved.

What Topology elements does BIM work on?


Business service topology, hierarchical group topology.
business service offering elements
business process elements
business subscriber elements (subscribers of business service offerings and
processes)

Topology elements include:


ServiceOffering
BusinessProcess

ServiceSubscriber

Customer
Organization
BusinessUnit
LOB
Department

HierarchicalGroup

Copyright 2009 EMC Corporation. All rights reserved.

Topology Elements, cont.

Copyright 2009 EMC Corporation. All rights reserved.

How do you use BIM?


Define business elements in input data files or via Topology Builder
There are 3 things to configure
the business service topology (service.data.template)
the hierarchical group topology (topology-group.data.template)
the weights (weights.conf)

After configuring the weights and topology, reconfigure the SAM domain
manager.
Define a SAM topology source for BIM. This triggers the import of

business service topology


hierarchical group topology
element weights
event filters

Copyright 2009 EMC Corporation. All rights reserved.

10

service.data.template

Copyright 2009 EMC Corporation. All rights reserved.

11

topology-group.data.template

Copyright 2009 EMC Corporation. All rights reserved.

12

weights.conf

Copyright 2009 EMC Corporation. All rights reserved.

13

The Business Impact Algorithm


It sums the weights of all topology elements affected by the problem.
To calculate a numeric impact value for a root-cause problem
notification, BIM performs the following steps:
determines the topology element denoted in the problem notification, and its
related business element
finds the related impact notifications (via the causes/causedBy
relationships), their topology elements and the business elements
associated with each element
adds together the weights for each of these impacted business,
infrastructure and application elements to calculate the impact value for the
root-cause problem notification

Copyright 2009 EMC Corporation. All rights reserved.

14

Event Filters
Prevent BIM from generating a business impact notification for a given
event.
A filter is defined with a ClassName::EventName keyfield.
The event-filter-conf.xml file is used to create a table of event filters for
BIM.
event-filter-conf.xml file is based on the schema defined in
bim-config.dtd

Copyright 2009 EMC Corporation. All rights reserved.

15

BIM Source Code


Pull the source code with the goEnv utility from Release Engineering.
The BIM domain manager uses the same codebase as SAM.
Product:
Required subsystems:

Foundation level:

Copyright 2009 EMC Corporation. All rights reserved.

SAM
ics
maps
sam_common
bim
common
FOUNDATION-7.2.0.X

16

BIM Source Code, cont


The goEnv utility provides a summary screen
SELECT SUBSYSTEMS for CHECKOUT (specify as: 1 or 1,2,5 or 2-5 or a to
checkout ALL ) :
your subsystems choice is common bim ics maps sam_common

Build BRANCH_TIP of SAM-8.1.0.0


============================
based on FOUNDATION release : /work/bluecurrent/FOUNDATION-7.2.0.X/67
supported platforms
: linux_rhAS50-x86 linux-x86_64 linux-x86_64_64BIT
linux_rhAS50-x86_64BIT solaris2.8-sparc_64BIT hpux11.11-hppa2.0w solaris2.8sparc hpux11.11-hppa2.0w_64BIT winnt-i386_64BIT winnt-i386
build branches
:
ntmgm/SAM/8.1.0.0/integration/ ntmgm/ISMP/main/integration/ R-B-SHARED-8-0-0-0
R-B-SHARED-7-0-0-0 //depot/smarts/dmt/rel/7.2
Source Control
: SUBVERSION
Working Directory
: /cygdrive/c/views/SAM8.1

Copyright 2009 EMC Corporation. All rights reserved.

17

BIM Source Code, cont


BIM Source Code
<SAM 8.1 view>\smarts\bim
09/10/2009 03:02 PM
<DIR>
09/03/2009 03:57 PM
<DIR>
09/03/2009 03:57 PM
<DIR>
09/03/2009 03:57 PM
<DIR>

..
conf
model
rules

Some BIM source files are in the ics subsystem


<SAM 8.1 view>\smarts\ics\ems
09/03/2009 03:58 PM
09/03/2009 03:58 PM
09/03/2009 03:58 PM
09/03/2009 03:58 PM

09/03/2009 03:58 PM
09/03/2009 03:58 PM

09/03/2009 03:58 PM
09/03/2009 03:58 PM
Copyright 2009 EMC Corporation. All rights reserved.

2,226
8,069
1,587
1,449

BIM_EventFilter.mdl
BIM_EventFilter_Impl.c
BIM_Manager.mdl
BIM_Manager_Impl.c

2,331 ICS_InMaint.mdl
5,799 ICS_InMaint_Impl.c
2,789 ICS_Weights.mdl
3,510 ICS_Weights_Impl.c
18

Building BIM
Use the smAutoBuild.pl script to build the subsystems.
Run smAutoBuild.pl from the smarts directory of your view.
$ perl common/smAutoBuild.pl --nomail --buildvariant=optimize:multithread --logpath=
/views/SAM8.1/Build_Logs/USENSMAJORL2E/2009-09-04_1105 "--defcmd=make
dinstall"
smAutoBuild.pl: No subsystems requested. Searching.....
smAutoBuild.pl -- Tue Sep 15 15:47:22 -- Beginning sam_common
smAutoBuild.pl -- Tue Sep 15 15:48:01 -- Beginning maps
smAutoBuild.pl -- Tue Sep 15 15:48:42 -- Beginning ics
smAutoBuild.pl -- Tue Sep 15 15:51:57 -- Beginning bim

Copyright 2009 EMC Corporation. All rights reserved.

19

The Installed Product


BIM is available from a SAM installation via the following license:
Business Impact Manager

Where is BIM in a SAM installation?


Subsystem name:
Configuration files:
Rule files:

bim
smarts\conf\bim
smarts\rules\bim

How to run BIM:


Windows:

start sm_server --name=INCHARGE-MBIM --config=bim

--subscribe=default --norestore --output


Unix:

sm_server --name=INCHARGE-MBIM --config=bim --subscribe=default

--norestore --output daemon

Refer to the BIM Users Guide for more information.


Copyright 2009 EMC Corporation. All rights reserved.

20

Maintenance Adapter
The maintenance adapter allows users to schedule maintenance for
topology elements.
During the defined maintenance period, any notifications received for
that topology element will have its InMaintenance attribute set to TRUE.
Users can ignore notifications for devices that are in maintenance.
BIM uses the InMaintenance attribute when calculating impacts.
Maintenance notification types:
SCHED_MAINT
InMaint

Copyright 2009 EMC Corporation. All rights reserved.

21

Maintenance Notification Types


SCHED_MAINT
An informational notification (Sev 5) noting the scheduled maintenance period for a
topology element.
When the maintenance period begins, the SCHED_MAINT notification will clear and
become inactive.
The SCHED_MAINT notification is replaced with an InMaint notification.

InMaint
An information notification (Sev 5) noting the active maintenance period for a
topology element
The InMaint notification is created at the start of the maintenance period
The InMaint notification is cleared at the end of the maintenance period

Copyright 2009 EMC Corporation. All rights reserved.

22

Scheduling Maintenance
Scheduling Maintenance
Maintenance must be enabled before attempting to schedule maint
The maintenance adapter is disabled by default
From the Topology Browser for SAM, bring up the context menu for an element and
select Schedule Maintenance

Clearing scheduled maintenance


To clear a scheduled maintenance period, simply Acknowledge the SCHED_MAINT or
InMaint notification from the consoles Notification Log

Copyright 2009 EMC Corporation. All rights reserved.

23

Scheduling Maintenance

Copyright 2009 EMC Corporation. All rights reserved.

24

Enabling the Maintenance Adapter


From the SAM Global Administration Console, define and enable the
BIM domain manager
Reconfigure the SAM domain manager
Connect the Domain Administration Console to BIM
Define the source of topology and notifications for BIM via the
TopologyAdd Source menu. When prompted, supply the name of the
SAM domain manager that will provide topology to BIM.
From the Topology Browser Console for SAM, invoke the Enable
Maintenance menu from the top level SAM domain manager object.

Copyright 2009 EMC Corporation. All rights reserved.

25

Bulk Maintenance
SAM 8.1 provides a bulk maintenance capability
Bulk maintenance is used to set multiple devices and/or groups into
maintenance rather than setting maintenance on a per instance basis
from the console
Two interfaces exist
Text Based
XML Based
Interface to the SAM server, not the BIM server !

Groups
When scheduling maintenance for a group, the SCHED_MAINT notification will be
posted for the group object.
The InMaint notification will be posted for the group object, not for each individual
element of the group

Copyright 2009 EMC Corporation. All rights reserved.

26

Text Based Bulk Maintenance


Create a text file for use by the bulk maintenance adapter.
The format of the text file will be:
className InstanceName startdate startTime enddate endTime
Dates will be specified as:
mm-dd-yyyy
Time values will be specified as:
HH::MM

The text based interface to bulk maintenance is invoked via the


sm_adapter command and the ics-bulk-maint.asl rule set.
sm_adapter -s SAM8 -file=C:\maint_list.txt ..\rules\ics\ics-bulk-maint.asl output

The output from the ics-bulk-maint script will go to the sm_adapter.log


file.
The domain manager diagnostics related to bulk maintenance will
appear in the BIM domain manager log file.

Copyright 2009 EMC Corporation. All rights reserved.

27

Text Based Bulk Maintenance, cont


Example input file:
# This is the input file for bulk maintenance
Host MAJOR-WIN2K-VM 06-23-2009 16:00 06-23-2009 18:59
Host USENSMAJORL2E 06-23-2009 16:00 06-23-2009 18:59
SelectiveGroup HGRP-TL/G1 07-09-2009 11:58 07-15-2009 16:57

Copyright 2009 EMC Corporation. All rights reserved.

28

XML Based Bulk Maintenance


Create an XML file of elements to schedule for maintenance based on
the empty.xml template in \local\conf\ics
Place the XML file in directory <SAM install>\local\conf\ics
sm_config will be used to process the maintenance input file.
sm_config --server=SAM8 import Groups.xml

Copyright 2009 EMC Corporation. All rights reserved.

29

XML Based Bulk Maintenance, cont

A sample XML file for bulk maintenance


<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE ics_config SYSTEM "ics-config.dtd">
<ics_config version="2">
<maintconfig className = "SelectiveGroup" instanceName = "HGRP-Group1/RoutersGroup"
startYear = "2009"
startMonth = "9"
startDay = "18"
startHour= "11"
startMinute= "44"
endYear = "2009"
endMonth = "9"
endDay = "18"
endHour= "11"
endMinute = "46"/>
</ics_config>

Copyright 2009 EMC Corporation. All rights reserved.

30

Bulk Maintenance Remove


To remove maintenance periods scheduled through the bulk
maintenance interface,
This allows the maintenance periods to be removed in bulk, rather than
one at a time from the console.
If the maintenance periods have not begun, the SCHED_MAINT
notification will be archived
If the maintenance periods have begun, the InMaint notification will be
cleared, and all related notifications InMaintance attribute will be set to
false.

Copyright 2009 EMC Corporation. All rights reserved.

31

Bulk Maintenance Remove, cont


Text based

Add the removeSchedMaint=true definition to the sm_adapter command line


-DremoveSchedMaint=true
For example:
sm_adapter -s SAM8 -DremoveSchedMaint=true -file=C:\maint_list.txt ..\rules\ics\icsbulk-maint.asl output

XML based

Modify the original xml file containing the entries that you would like to remove
Add removeSchedMaint = TRUE to the first record.
All other records in the XML file remain unchanged.
Use the original sm_config command to load the XML to the SAM server

Copyright 2009 EMC Corporation. All rights reserved.

32

Bulk Maintenance Remove, cont


XML Based remove, example file:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE ics_config SYSTEM "ics-config.dtd">
<ics_config version="2">
<maintconfig className = "SelectiveGroup" instanceName = "HGRPGroup1/RoutersGroup"
startYear = "2009"
startMonth = "9"
startDay = "18"
startHour= "11"
startMinute= "44"
endYear = "2009"
endMonth = "9"
endDay = "18"
endHour= "11"
endMinute = "46"
removeSchedMaint = TRUE/>
</ics_config>
Copyright 2009 EMC Corporation. All rights reserved.

33

Bulk Maintenance Port/Interface Support


SAM 8.1 provides supports scheduling port/interface and other device
components into maintenance through bulk maint
Supported via flat file or xml file.
Note that in this case, the objects being placed into maintenance do not
exist in the local SAM repository
Since the objects are not in the repository, no verification of object
names can be done. Typos will result in notifications for invalid devices
Add the systemName (the device instance name) of the system hosting
the port/interface to the text or XML file.
Text example
(To set port::abc on router1 to maintenance)
Port abc 08-05-2009 16:00 08-05-2009 19:00 router1

Copyright 2009 EMC Corporation. All rights reserved.

34

Bulk Maintenance Port/Interface Support,


cont
XML Example
<maintconfig className = "Port" instanceName = "abc"
startYear = "2009"
startMonth = "7"
startDay = "26"
startHour= "10"
startMinute= "00"
endYear = "2009"
endMonth = "7"
endDay = "28"
endHour= "16"
endMinute = "00"
systemName = "router1"/>

Copyright 2009 EMC Corporation. All rights reserved.

35

BIM Startup
bim.import
|
|

BIM-Init-Driver

(bim/bim-init.asl)

SAM-DXA-DRV

(dxa/dxa-topology-sync.asl)

SAM-PROBER-DRV

(bim/bim-add-source.asl)

SAM-Subscription-Start-Driver

(bim/bim-start-sam-sync.asl)

|
|

<SAM>-Topology-Driver

(bim/bim-sam-topo-sync.asl)

ICS-Impact-Driver

(bim/ics-impact.asl)

ICS-Business-Impact-Driver

(bim/ICS_BusinessImpact.asl)

ICS-MaintenanceHandler-Driver

(bim/ics-maintenance.asl)

ICS-MaintenanceMonitor-Driver

(bim/bim-maint-monitor.asl)

ICS-MaintenanceCleanup-Driver

(bim/bim-maint-cleanup.asl)

Copyright 2009 EMC Corporation. All rights reserved.

36

BIM Driver Details

Driver

Script

GA_DaemonDriver::ICS-Business-Impact-Driver

bim/ICS_BusinessImpact.asl

ICF_InChargeDiscoveryDriver::SAM-PROBER-DRV

bim/bim-add-source.asl

GA_Driver::BIM-Init-Driver

bim/bim-init.asl

GA_Driver::ICS-MaintenanceCleanup-Driver

bim/bim-maint-cleanup.asl

GA_Driver::ICS-MaintenanceMonitor-Driver

bim/bim-maint-monitor.asl

GA_Driver::SAM8-AJ-Topology-Driver

bim/bim-sam-topo-sync.asl

GA_Driver::SAM-Subscription-Start-Driver

bim/bim-start-sam-sync.asl

GA_DaemonDriver::ICS-Impact-Driver

bim/ics-impact.asl

GA_DaemonDriver::ICS-MaintenanceHandler-Driver

bim/ics-maintenance.asl

GA_DaemonDriver::SAM-DXA-DRV

dxa/dxa-topology-sync.asl

Copyright 2009 EMC Corporation. All rights reserved.

37

BIM Driver Details, cont


BIM-Init-Driver
This driver will initialize the BIM domain manager, by creating the BIM
InChargeDomain object. The functionality is rather trivial.

SAM-DXA-DRV
The SAM-DXA-DRV driver is responsible for DXA transfers from SAM

SAM-PROBER-DRV
The SAM-PROBER-DRV driver is used to add SAM as a source of topology and
connect to SAM.

SAM-Subscription-Start-Driver
This driver creates and starts the subscription and maintenance drivers of BIM.

<SAM>-Topology-Driver
The Topology driver manages DXA topology sync's with SAM. It monitors the
lastBusinessTopologyChangedAt field in SAM and start the SAM-DXA-DRV driver
when the field changes. It also handles DXA transfers due to connects/disconnects.

ICS-Business-Impact-Driver
A notification listener thread for business impact for domain. Subscribes to the
ALL_NOTIFICATIONS notification list. Generates notifications of type "Impacted" as
needed.
Copyright 2009 EMC Corporation. All rights reserved.

38

BIM Driver Details, cont


ICS-Impact-Driver
A notification listener thread for impact calculations on domain. Subscribes to notifications
(RootNotification & Symptom) in the given SAM source. Receives a notification and
recalculates impact values when topology changes occur in SAM.
Objects that are not local to the BIM repository will also have impact values calculated for them.
Processes impacts of a notification by checking the notif->causes relationship set.

ICS-MaintenanceHandler-Driver
This driver processes scheduled maintenance input from the console and bulk maintenance
interfaces of BIM.

ICS-MaintenanceMonitor-Driver
Subscribes to the ICS_InMaint::ICS-InMaint::isEnabled attribute in SAM. When changes occur in
that attribute, this driver will start/stop the Maintenance Handler Driver accordingly.

ICS-MaintenanceCleanup-Driver
A driver to cleanup maintenance periods that may have expired prior to this startup of BIM.

Copyright 2009 EMC Corporation. All rights reserved.

39

SAM 7.2, BIM


In SAM 7.x, the BIM functionality was internally supported by the SAM
domain manager.
The BIM functionality was moved into its own domain manager in the 8.0
release, to isolate the BIM processing load from SAM.
One objective of this work is to separate BIM functionality from SAM to
help resolving SAM performance issues caused by BIM threads.
The majority of the BIM functionality is unchanged between SAM 7.2
and BIM 8.0
New features for 8.0
XML format group/service data import
XML format BIM weights import
InMaintenance attribute processing in BIM, which enable user to choose to see
impacts of instances in maintenance mode or not
event filter for business impact analysis

Copyright 2009 EMC Corporation. All rights reserved.

40

SAM 7.2 BIM Architecture

Copyright 2009 EMC Corporation. All rights reserved.

41

SAM 7.2, BIM Enable Maintenance


The Maintenance Adapter in SAM 7.2 is enabled via the Server Tools
menu in Topology Browser.

Copyright 2009 EMC Corporation. All rights reserved.

42

BIM QA & Testing


Overview

-Madhuri Bhupathiraju

Copyright 2009 EMC Corporation. All rights reserved.

43

BIM Split Architecture Introduction


Business Impact Manager 8.0 architecture:
To improve Global Manager performance, Business Impact Manager in release
8.0 runs as its own server process instead of running as part of the Global
Manager
Business Impact Manager 8.0 still imports its business service topology,
hierarchical group topology, and weights from user-configured datafiles loaded
into the Global Manager
Business Impact Manager subscribes to all infrastructure and application
notifications from the Global Manager, calculate the impact of the infrastructure
and application root-cause problem notifications on the business elements,
and propagates the impacts to the affected business elements

Copyright 2009 EMC Corporation. All rights reserved.

44

BIM Server Configuration


User needs to configure SAM server name in BIM server in order to let
BIM connect to the correct SAM server. User does this configuration
using the Topology/Add Source button in Domain Manager
Administration Console. The user will be prompt to select an Element
Type and input Element Name as shown in following screen shot. The
user selects SA for the type and inputs the Domain name of the SAM
server, then clicks OK

Copyright 2009 EMC Corporation. All rights reserved.

45

BIM Test Cases


Test cases for BIM :

http://qa-testdirector.smarts.com/qcbin/start_a.htm
Regression Test cases - Test plan -> SAM 8.0 -> BIM
Regression
New Functionality Test Cases - SAM 8.0 -> Iteration 4 & Iteration 5 &
Iteration 9

Copyright 2009 EMC Corporation. All rights reserved.

46

Testing Coverage
Business Impact Manager is Supported on
Windows 2003 R2, SP2
Solaris 9 & 10
Linux AS4
HP 11i

Copyright 2009 EMC Corporation. All rights reserved.

47

Potrebbero piacerti anche