Taking a top-down approach, once you completed installation of BPPM server, your next component for installation is BPPM integration service.
The purpose of BPPM integration service is to help move data from your monitoring tools (such as PATROL, SCOM, etc) to BPPM server. For event-only integration, you don't need to install BPPM integration service. Instead you will need to install additional BPPM cells. And we will discuss how to install additional BPPM cells in a later post.
Each instance of BPPM integration service is installed separately by running BPPM agent installer. During the installation of BPPM integration service, you need to select both 'BMC ProactiveNet Integration Service' and 'BMC ProactiveNet Remote Cell'.
Next you will be asked to input a cell name for the BPPM cell you are installing. Similar to BPPM server installation, it is recommended to choose your own cell name using the name convention you have established.
If you have decided to run your remote cell in high-availability mode, you need to plan your BPPM integration service installation in pairs. You will also need to check the box 'Configure High Availability mode'. When you are installing the first instance of BPPM integration service in a pair, select 'Primary Server' and specify the host name of the secondary server. When you install the second instance of BPPM integration service in a pair, select 'Secondary Server' and specify the host name of the primary server. Remember to use exactly the same cell instance name, cell port number, and cell encryption key for both instances in a pair.
Normally you install one instance of BPPM integration service per server, but you can install additional instances of BPPM integration service on different ports if you have extra capacity on your server.
BMC ProactiveNet Event Adapter and BMC Impact Event Log Adapter for Windows will be automatically installed in addition to BPPM integration service and BMC ProactiveNet Event Manager.
After completing the installation of BPPM integration service, your next task is to log into CMA to add each instance of BPPM integration service to the BPPM server it sends data to. Pick up your BPPM server from 'Servers' drawer under 'Navigation' bar at left and bring up 'Add Integration Service' window. Usually you can use hostname as integration service name and select 'Use current Integration Service settings' as cell destination.
If you have decided to use integration service cluster for PATROL data failover, you have an option to configure integration service cluster in 'Add Integration Service' window. However it is recommended that you do it in the next step. Select 'Cluster' under General drawer and bring up 'Add Cluster' window. Now you can enter the cluster name, select BPPM server, and select integration service instances to be included in this cluster.
BPPM (BMC ProactiveNet Performance Management) or TrueSight Operations Management (the rebranded name) suite is the latest solution from BMC Software for enterprise system management. It combines the data analytic engine from ProactiveNet, the event processing engine from BMC Event Manager (BEM), and the server/application monitor from PATROL into one product. This blog is intended to share information and experience on TrueSight/BPPM implementation, customization, and integration.
Monday, May 12, 2014
Monday, May 5, 2014
BPPM 9.5 Quick Start - Part 5: BPPM server installation and configuration
While capacity planning starts from bottom-up, BPPM 9.5 installation starts from top-down. The first component to install is BPPM server. If you need more than one BPPM server based on capacity planing, you will have one top-level BPPM server and one or more bottom-level BPPM server(s). There are two options in terms of installation.
Option 1: Install the top-level BPPM server as central server and bottom-level BPPM servers as child servers.
Option 2: Install the top-level BPPM server as a standalone server and bottom-level BPPM servers as standalone servers.
Each BPPM server is installed separately by running BPPM server installer. When you choose option 1, you must install BPPM central server before installing any BPPM child server because you will be asked for the name of BPPM central server when you install BPPM child server. If you use Oracle database, you will be asked for Oracle database location and login IDs. Verify that all Oracle login IDs have been created with correct table spaces, and all system parameters have been set up correctly based on the size of your environment (small, medium, large).
It is recommended to choose your own cell name for BPPM server based on the name convention you established. For top-level BPPM server, you will need to specify BPPM Central Monitoring Base Repository. This will enable CMA (Central Monitoring Administration).
BPPM server installer gives you the option to enable integrations with BMC Server Automation (BBSA), Atrium CMDB, and Single Sign On (SSO). You don't have to enable integrations during BPPM server installation as you can enable them later. I personally prefer to enable integrations later after I have completed configuration and testing for basic BPPM features. Specifically when I tried enabling integration with CMDB during BPPM server installation, I encountered a bug that an incorrect baroc file was copied over and I was not able to add ISN cluster.
CMDB integration is only for service models and Remedy ticket creation. Not all BPPM servers need to be integrated with CMDB. For example, when you install your top-level BPPM server as BPPM central server, you don't need to integrate it with CMDB because BPPM central server is used to view distributed service models from its child servers but BPPM central server itself doesn't have its own service models.
Option 1: Install the top-level BPPM server as central server and bottom-level BPPM servers as child servers.
Option 2: Install the top-level BPPM server as a standalone server and bottom-level BPPM servers as standalone servers.
Each BPPM server is installed separately by running BPPM server installer. When you choose option 1, you must install BPPM central server before installing any BPPM child server because you will be asked for the name of BPPM central server when you install BPPM child server. If you use Oracle database, you will be asked for Oracle database location and login IDs. Verify that all Oracle login IDs have been created with correct table spaces, and all system parameters have been set up correctly based on the size of your environment (small, medium, large).
It is recommended to choose your own cell name for BPPM server based on the name convention you established. For top-level BPPM server, you will need to specify BPPM Central Monitoring Base Repository. This will enable CMA (Central Monitoring Administration).
BPPM server installer gives you the option to enable integrations with BMC Server Automation (BBSA), Atrium CMDB, and Single Sign On (SSO). You don't have to enable integrations during BPPM server installation as you can enable them later. I personally prefer to enable integrations later after I have completed configuration and testing for basic BPPM features. Specifically when I tried enabling integration with CMDB during BPPM server installation, I encountered a bug that an incorrect baroc file was copied over and I was not able to add ISN cluster.
CMDB integration is only for service models and Remedy ticket creation. Not all BPPM servers need to be integrated with CMDB. For example, when you install your top-level BPPM server as BPPM central server, you don't need to integrate it with CMDB because BPPM central server is used to view distributed service models from its child servers but BPPM central server itself doesn't have its own service models.
Monday, April 28, 2014
BPPM 9.5 Quick Start - Part 4: Oracle database configuration
BPPM version 9.5 works with both Sybase database and Oracle database. Oracle database is required to run on a different server(s) while Sybase database is embedded and co-located on BPPM server. Although Sybase database license comes free with paid BPPM license, you must purchase your own Oracle database license separately.
Sybase database is a good option for a small monitoring environment and for prototyping purpose. But you need Oracle database to monitor a large environment because Sybase database does not provide enough scalability.
BPPM 9.5 made a major improvement on number of required Oracle database licenses. In BPPM 9.5, you only need single Oracle database instance (one license) regardless the number of BPPM servers in your environment. But each BPPM server connected to this single Oracle database instance will need its own login IDs and its own table spaces.
For example, if you have two BPPM servers in your environment, you can run just one Oracle instance and let both BPPM servers connect to this single Oracle instance. Each BPPM server needs to have its own login IDs and its own table spaces. Two login IDs are required for each BPPM server, one as a transaction user and one as a reporting user. Both login IDs are required even you don't plan to implement BPPM Reporting. You also need to create two table spaces for each BPPM server, one as default table space and one as temporary table space.
In the above example, you can create 2 table spaces for BPPM server1 as PNET_TS1 and PNET_TS_TMP1, and create 2 table spaces for BPPM server2 as PNET_TS2 and PNET_TS_TMP2. Then you can create 2 login IDs for BPPM server1 as proact1 and proact1ru, and create 2 login IDs for BPPM server2 as proact2 and proact2ru. Please note that the reporting user ID has to be the transaction user ID + 'ru'. You cannot use a different user ID as reporting user ID because, during BPPM server installation, you can only specify the transaction user ID and installer will determine the reporting user ID automatically.
BMC Supplies a list of SQL scripts to help you create table spaces, user IDs, and set system parameters for the Oracle database instance. The values for the system parameters are based on the size of your BPPM environment as small, medium, or large. Some of these scripts are interactive. If you found the interactive scripts don't run smoothly in your environment, read through the scripts to understand what they are trying to do and then modify the scripts to be non-interactive.
Sybase database is a good option for a small monitoring environment and for prototyping purpose. But you need Oracle database to monitor a large environment because Sybase database does not provide enough scalability.
BPPM 9.5 made a major improvement on number of required Oracle database licenses. In BPPM 9.5, you only need single Oracle database instance (one license) regardless the number of BPPM servers in your environment. But each BPPM server connected to this single Oracle database instance will need its own login IDs and its own table spaces.
For example, if you have two BPPM servers in your environment, you can run just one Oracle instance and let both BPPM servers connect to this single Oracle instance. Each BPPM server needs to have its own login IDs and its own table spaces. Two login IDs are required for each BPPM server, one as a transaction user and one as a reporting user. Both login IDs are required even you don't plan to implement BPPM Reporting. You also need to create two table spaces for each BPPM server, one as default table space and one as temporary table space.
In the above example, you can create 2 table spaces for BPPM server1 as PNET_TS1 and PNET_TS_TMP1, and create 2 table spaces for BPPM server2 as PNET_TS2 and PNET_TS_TMP2. Then you can create 2 login IDs for BPPM server1 as proact1 and proact1ru, and create 2 login IDs for BPPM server2 as proact2 and proact2ru. Please note that the reporting user ID has to be the transaction user ID + 'ru'. You cannot use a different user ID as reporting user ID because, during BPPM server installation, you can only specify the transaction user ID and installer will determine the reporting user ID automatically.
BMC Supplies a list of SQL scripts to help you create table spaces, user IDs, and set system parameters for the Oracle database instance. The values for the system parameters are based on the size of your BPPM environment as small, medium, or large. Some of these scripts are interactive. If you found the interactive scripts don't run smoothly in your environment, read through the scripts to understand what they are trying to do and then modify the scripts to be non-interactive.
Monday, April 21, 2014
BPPM 9.5 Quick Start - Part 3: Name convention
When you implement BPPM 9.5, you will need to name many different components. It is easy to keep them organized and consistent across the entire enterprise if you take some time to set up a name convention before starting the implementation.
What components do you need to name during BPPM 9.5 implementation?
1. Cell
By default BPPM will name the cell using the hostname. In general hostname is not a good choice for a cell name as it doesn't tell anything about what the cell is used for or what environment the cell is located. In addition, in a high-availability environment, the cell running on the primary host and the cell running on the secondary host should have the same name.
As a best pratice, you should never name two cells with the same name across your entire enterprise. Name your cell to reflect its event source, its environment, and its type. For example, name DEV_ISN_PATROL1 for the cell running on the first integration service node receiving PATROL events in your dev environment. Name PRD_CHD_BPPM1 for the cell running on the first child BPPM server in your production environment. Name QA_EXT_SCOM for the cell receiving external events from SCOM in your QA environment.
2. Integration Service
If you have just one instance of integration service running on an integration service node (ISN), you can simply use the hostname as the integration service name. However if you have two instances of integration service running on two different ports of the same ISN, you will need to decide how to name them. Perhaps you can use <hostname>-1 and <hostname>-2 or <hostname>-<portnumber>.
3. ISN Cluster
If you are going to implement high availability on ISN, you will need to create an ISN cluster. Since we also have a pair of H/A cells running on an ISN cluster, I prefer to use the cell name as the ISN cluster name to tie a pair of H/A cells and a pair of H/A integration service instances together. But you can use other names just to make sure they are meaningful and consistent.
4. CMA Policy Tag
A CMA policy tag is defined in CMA and referenced by PATROL agents in their pconfig variable. When the tag referenced by an agent's pconfig variable matches the policy tag defined in CMA, the configurations defined in the policy will be automatically applied to the PATROL agent. Consider including OS, KM, environment, and server group in your CMA policy tag names so that they are meaningful and consistent. For example, use Oracle_HR_Prd for Oracle KM configurations running on HR server group in production environment. Use UNIX_Report_QA for UNIX KM configurations running on Reporting server group in QA environment. CMA policy tags are case sensitive.
What components do you need to name during BPPM 9.5 implementation?
1. Cell
By default BPPM will name the cell using the hostname. In general hostname is not a good choice for a cell name as it doesn't tell anything about what the cell is used for or what environment the cell is located. In addition, in a high-availability environment, the cell running on the primary host and the cell running on the secondary host should have the same name.
As a best pratice, you should never name two cells with the same name across your entire enterprise. Name your cell to reflect its event source, its environment, and its type. For example, name DEV_ISN_PATROL1 for the cell running on the first integration service node receiving PATROL events in your dev environment. Name PRD_CHD_BPPM1 for the cell running on the first child BPPM server in your production environment. Name QA_EXT_SCOM for the cell receiving external events from SCOM in your QA environment.
2. Integration Service
If you have just one instance of integration service running on an integration service node (ISN), you can simply use the hostname as the integration service name. However if you have two instances of integration service running on two different ports of the same ISN, you will need to decide how to name them. Perhaps you can use <hostname>-1 and <hostname>-2 or <hostname>-<portnumber>.
3. ISN Cluster
If you are going to implement high availability on ISN, you will need to create an ISN cluster. Since we also have a pair of H/A cells running on an ISN cluster, I prefer to use the cell name as the ISN cluster name to tie a pair of H/A cells and a pair of H/A integration service instances together. But you can use other names just to make sure they are meaningful and consistent.
4. CMA Policy Tag
A CMA policy tag is defined in CMA and referenced by PATROL agents in their pconfig variable. When the tag referenced by an agent's pconfig variable matches the policy tag defined in CMA, the configurations defined in the policy will be automatically applied to the PATROL agent. Consider including OS, KM, environment, and server group in your CMA policy tag names so that they are meaningful and consistent. For example, use Oracle_HR_Prd for Oracle KM configurations running on HR server group in production environment. Use UNIX_Report_QA for UNIX KM configurations running on Reporting server group in QA environment. CMA policy tags are case sensitive.
Monday, April 14, 2014
BPPM 9.5 Quick Start - Part 2: Architecture and capacity design
Implementing BPPM version 9.5 starts with architecture drawing board. Whether you are currently running a previous version of BPPM, migrating from BMC Event Manager 7.x, or implementing BPPM for the first time, you must start with a new architecture design because BPPM 9.5 is drastically different from its previous versions in terms of architecture and capacity.
Use bottom-up approach and start your design with your data/event sources. You can divide them into three categories: data-only integration, event-only integration, and PATROL agents (data + events). Then decide how many integration service nodes you will need for each category. In general, it is better to have separate integration service nodes for each category unless you have a small environment.
For data-only integration and event-only integration, BPPM 9.5 didn't make any major capacity changes. BPPM 9.5 still uses data adapters to pull data out of non-PATROL data sources such as BMC TM-ART, BMC Portal, Microsoft SCOM, etc. Non-PATROL events are still pushed to BPPM cells through iiWS, SNMP adapter, msend API, custom email adapter, etc. If you have a previous version of BPPM/BEM running, you can assume the same capacity requirements of integration service nodes for data-only and event-only integration.
For PATROL data, BPPM 9.5 made a major improvement by allowing data and events streamed through the same port. The capacity is limited to 900 PATROL agents per integration service instance. BPPM 9.5 also added an integration service cluster feature so that PATROL agents connected to the first integration service instance in the cluster can send data+events to the second integration service instance in the cluster when the first integration service instance becomes unavailable. If you decide to implement integration service cluster, it means that you can only connect 450 PATROL agents to each integration service instance.
However, if you are not monitoring many instances and parameters on each PATROL agent, you may have plenty of unused resources on each integration service node after streaming data+events from 450 PATROL agents. When this happens, you can install and configure a second integration service instance on another port at the same integration service node.
After architecture design for integration service nodes, you will need to design BPPM server architecture. Each BPPM server has a capacity at 1.7 millions of attributes. If your total number of attributes has exceeded 1.7 millions, you will need to implement multiple BPPM child servers plus one BPPM central server. If your total number of attributes has not exceeded but close to 1.7 millions, you may want to implement one BPPM child server plus one BPPM central server to offload resource intensive GUI operations from BPPM child server to BPPM central server. If your total number of attributes is far below 1.7 millions, you can go with single BPPM server.
Use bottom-up approach and start your design with your data/event sources. You can divide them into three categories: data-only integration, event-only integration, and PATROL agents (data + events). Then decide how many integration service nodes you will need for each category. In general, it is better to have separate integration service nodes for each category unless you have a small environment.
For data-only integration and event-only integration, BPPM 9.5 didn't make any major capacity changes. BPPM 9.5 still uses data adapters to pull data out of non-PATROL data sources such as BMC TM-ART, BMC Portal, Microsoft SCOM, etc. Non-PATROL events are still pushed to BPPM cells through iiWS, SNMP adapter, msend API, custom email adapter, etc. If you have a previous version of BPPM/BEM running, you can assume the same capacity requirements of integration service nodes for data-only and event-only integration.
For PATROL data, BPPM 9.5 made a major improvement by allowing data and events streamed through the same port. The capacity is limited to 900 PATROL agents per integration service instance. BPPM 9.5 also added an integration service cluster feature so that PATROL agents connected to the first integration service instance in the cluster can send data+events to the second integration service instance in the cluster when the first integration service instance becomes unavailable. If you decide to implement integration service cluster, it means that you can only connect 450 PATROL agents to each integration service instance.
However, if you are not monitoring many instances and parameters on each PATROL agent, you may have plenty of unused resources on each integration service node after streaming data+events from 450 PATROL agents. When this happens, you can install and configure a second integration service instance on another port at the same integration service node.
After architecture design for integration service nodes, you will need to design BPPM server architecture. Each BPPM server has a capacity at 1.7 millions of attributes. If your total number of attributes has exceeded 1.7 millions, you will need to implement multiple BPPM child servers plus one BPPM central server. If your total number of attributes has not exceeded but close to 1.7 millions, you may want to implement one BPPM child server plus one BPPM central server to offload resource intensive GUI operations from BPPM child server to BPPM central server. If your total number of attributes is far below 1.7 millions, you can go with single BPPM server.
Monday, April 7, 2014
BPPM 9.5 Quick Start - Part 1: Introduction
BPPM version 9.5 was officially released on January 31, 2014. BPPM version 9.5 has made significant improvement over its previous version in ease of use, data integrity, and cost of ownership. BPPM version 9.5 has completely redesigned its BPPM server, integration service node, and PATROL agent.
Shortly after the release, I had an opportunity to help a client to implement BPPM 9.5 in its development environment. In this "BPPM 9.5 Quick Start" blog series, I am sharing some of my hands-on experience and lessons learned from my first-time BPPM 9.5 implementation. My experience is by no means complete as it is impossible to implement all features in a short period of time.
I am hoping that my experience would help you get an overall picture of BPPM 9.5 quickly without having to read through the entire 3,334 pages of BPPM 9.5 document. I am hoping that this blog series would make you feel a little easier with BPPM 9.5 and get you started with BPPM 9.5 sooner. If you have already started implementing BPPM 9.5, I would very much appreciate you for sharing your own experience with me.
In this project, we are migrating a previous version of BPPM running on UNIX and Sybase database to BPPM 9.5 running on Windows and Oracle database. Essentially this is a brand new implementation in terms of architecture and capacity with additional work to migrate event processing rules for BPPM cells.
Here is the high-level order we have followed in the implementation:
Shortly after the release, I had an opportunity to help a client to implement BPPM 9.5 in its development environment. In this "BPPM 9.5 Quick Start" blog series, I am sharing some of my hands-on experience and lessons learned from my first-time BPPM 9.5 implementation. My experience is by no means complete as it is impossible to implement all features in a short period of time.
I am hoping that my experience would help you get an overall picture of BPPM 9.5 quickly without having to read through the entire 3,334 pages of BPPM 9.5 document. I am hoping that this blog series would make you feel a little easier with BPPM 9.5 and get you started with BPPM 9.5 sooner. If you have already started implementing BPPM 9.5, I would very much appreciate you for sharing your own experience with me.
In this project, we are migrating a previous version of BPPM running on UNIX and Sybase database to BPPM 9.5 running on Windows and Oracle database. Essentially this is a brand new implementation in terms of architecture and capacity with additional work to migrate event processing rules for BPPM cells.
Here is the high-level order we have followed in the implementation:
- Architecture and capacity design
- Name convention
- Oracle database configuration
- BPPM central server & child server installation and configuration
- ISN (Integration Service Node) cluster installation and configuration
- Additional cell installation and configuration
- BPPM cell knowledge base migration
- CMA policy creation
- PATROL agent installation and configuration
- CMDB integration
- 3rd-party monitoring software event integration
Monday, March 31, 2014
Event Integration From 3rd-party Monitoring Tools - Part 11: Develop your own adapter through email or iiSDK
What if your 3rd-party monitoring software cannot invoke an OS command to call msend API, and also cannot send a SNMP trap when an alert is raised? There are two other methods available but you will need to develop your own adapter in order to integrate events from 3rd-party monitoring software into a BPPM cell.
If your 3rd-party monitoring software can send out an email when an alert is raised, you can consider developing your own email adapter. You can choose a scripting language you are most comfortable for the development.
Step 1: Locate a computer that is capable of receiving emails, e.g., a UNIX machine with 'sendmail' process running.
Step 2: Read each incoming email out of its inbox.
Step 3: Parse both email header and email body. You will need to understand the format of your email because each 3rd-party monitoring software has its own email format and possibly multiple formats depending on how you set it up.
Step 4: Call msend API with information from your parsed email.
Step 5: Follow the steps discussed in msend API from the posts "Event Integration From 3rd-party Monitoring Tools - Part 2, Part3, Part 4, Part 5" to complete your integration.
Please keep in mind that a custom-developed email adapter has no built-in guaranteed delivery mechanism. You would need to use simple redundancy discussed in SNMP adapter for high availability.
The last but not the least method is to develop your own adapter using the free iiSDK provided by BMC. iiSDK provides you a library of C or Java APIs that you can call from your C or Java program. From your C or Java code you will build an executable program that runs as an adapter.
Since you write your own code, you have more flexibility as what you want your adapter to do. You can pull events from your 3rd-party monitoring software while you can only push events using msend API, SNMP adapter or email adapter. You can also send events back to your 3rd-party monitoring software from BPPM cell to create a 2-way integration.
Unless you are an experienced C or Java developer and also have the resource to maintain such a complex event adapter, I would suggest you to stay away from iiSDK. You won't get much support from BMC because iiSDK is free.
What if you need a 2-way integration? Actually the best way to send BPPM events back to your 3rd-party monitoring software (mostly with an incident ticket number and status) is to use the native interface/API offered by your 3rd-party monitoring software. Comparing to using iiSDK, the native interface/API is faster, more reliable, less overhead, and much easier to maintain.
Please feel free to contact us if you need help for a custom-developed event adapter using either email or iiSDK. We have extensive custom development experience and can give you a quick turn around for a cost-effective solution.
If your 3rd-party monitoring software can send out an email when an alert is raised, you can consider developing your own email adapter. You can choose a scripting language you are most comfortable for the development.
Step 1: Locate a computer that is capable of receiving emails, e.g., a UNIX machine with 'sendmail' process running.
Step 2: Read each incoming email out of its inbox.
Step 3: Parse both email header and email body. You will need to understand the format of your email because each 3rd-party monitoring software has its own email format and possibly multiple formats depending on how you set it up.
Step 4: Call msend API with information from your parsed email.
Step 5: Follow the steps discussed in msend API from the posts "Event Integration From 3rd-party Monitoring Tools - Part 2, Part3, Part 4, Part 5" to complete your integration.
Please keep in mind that a custom-developed email adapter has no built-in guaranteed delivery mechanism. You would need to use simple redundancy discussed in SNMP adapter for high availability.
The last but not the least method is to develop your own adapter using the free iiSDK provided by BMC. iiSDK provides you a library of C or Java APIs that you can call from your C or Java program. From your C or Java code you will build an executable program that runs as an adapter.
Since you write your own code, you have more flexibility as what you want your adapter to do. You can pull events from your 3rd-party monitoring software while you can only push events using msend API, SNMP adapter or email adapter. You can also send events back to your 3rd-party monitoring software from BPPM cell to create a 2-way integration.
Unless you are an experienced C or Java developer and also have the resource to maintain such a complex event adapter, I would suggest you to stay away from iiSDK. You won't get much support from BMC because iiSDK is free.
What if you need a 2-way integration? Actually the best way to send BPPM events back to your 3rd-party monitoring software (mostly with an incident ticket number and status) is to use the native interface/API offered by your 3rd-party monitoring software. Comparing to using iiSDK, the native interface/API is faster, more reliable, less overhead, and much easier to maintain.
Please feel free to contact us if you need help for a custom-developed event adapter using either email or iiSDK. We have extensive custom development experience and can give you a quick turn around for a cost-effective solution.
Subscribe to:
Posts (Atom)