Monday, May 26, 2014

BPPM 9.5 Quick Start - Part 8: BPPM cell knowledge base migration

If you have been running a previous version of BPPM or BEM/SIM, an important step in BPPM 9.5 implementation is to migrate the cell knowledge base from the previous version to BPPM 9.5.  The cell knowledge base migration process includes migration of three components.

1) Migrate BPPM Cell Policies:

If you use BPPM cell policies, you need to export all selectors and policies of each cell to baroc files using 'Administration->Policies' tab from BPPM admin console or BEM IX. Then copy these baroc files to kb\data\ directory under your new BPPM 9.5 cell.  Add these file names (without .baroc extension) to .load file in the same directory.

2) Migrate BPPM Cell Data:

If you have created some dynamic data tables, you need to export all data tables of each cell to baroc files using 'Administration->Data' tab from BPPM admin console or BEM IX. You simply open each data table, highlight all rows, and use 'Export Data Instances' button from the tool bar to save each data table to a baroc file. Then copy these baroc files to kb\data\ directory under your new BPPM 9.5 cell.  Add these file names (without .baroc extension) to .load file in the same directory.

One special data table is the timeframe data table.  Like most people, you may have created timeframes to be used for notification blackout purpose thus you will need to migrate all your timeframes.  You need to click the calendar symbol on the tool bar when you are on 'Administration->Policies' tab from BPPM admin console or BEM IX.  Highlight all rows in your timeframe table, click on 'Copy Timeframe' button from Timeframes window, paste to a text file. Name this text file with .baroc extension.  Then copy this baroc file to kb\data\ directory under your new BPPM 9.5 cell.  Add this file name (without .baroc extension) to .load file in the same directory.

3) Migrate BPPM Cell Rules:

If you have extended the out-of-box classes and/or created some customized rules, you need to migrate your customized .baroc files and .mrl files.  You can either use BMC's migration utility or use your own 'diff' tool to see what have been changed in the default KB files between the version you are currently running and version 9.5.  Personally I use 'diff' command on UNIX and 'fc' command on Windows to find the difference between the files in two directories.  Based on the difference, you can determine if any modification is needed on your customized .baroc files and .mrl files.  Then copy your customized baroc files to kb\classes\ or kb\records\ directory under your new BPPM 9.5 cell.  And copy your customized .mrl files to kb\rules, kb\collectors\, or kb\bin directory under your new BPPM 9.5 cell.  Add these file names (without .baroc or .mrl extension) to .load file in the same directory.

After migrating the above three components, you need to recompile and restart each BPPM 9.5 cell.

1 comment: