Generating an EAR file for IBM Cognos BI on a custom IBM Business Monitor node

When you create or augment an IBM® Business Monitor deployment manager profile, the enterprise archive (EAR) file that is generated for IBM Cognos® Business Intelligence is specific for the operating system and bit mode. To successfully run the EAR file, all nodes must be of the same type. If you have nodes that are of a different type from the deployment manager, you must generate an EAR file on one of the nodes.

Procedure

To generate an EAR file on a custom IBM Business Monitor node, complete the following steps:

  1. Copy the following files from IBM Business Monitor directories to IBM Cognos BI installation directories.
    Important: You must rename some of the files (as shown in the table) to replace existing files.
    Copy from (location and file name) Copy to (location and file name)
    app_server_root/scripts.wbm/cognos/application.xml app_server_root/cognos/war/p2pd/application.xml.template
    app_server_root/scripts.wbm/cognos/web.xml app_server_root/cognos/webapps/p2pd/WEB-INF/web.xml.withCM
    app_server_root/scripts.wbm/cognos/ibm-web-ext.xmi app_server_root/cognos/webapps/p2pd/WEB-INF/ibm-web-ext.xmi
    app_server_root/installableApps.wbm/monAuthProvider.jar app_server_root/cognos/webapps/p2pd/WEB-INF/lib/monAuthProvider.jar
  2. Open a command prompt in app_server_root/cognos/war/p2pd.
  3. Run the following command:
    • For Windows operating systembuild.bat ear
    • For Linux operating systemFor UNIX operating systembuild.sh ear
    This command creates a WebSphere EAR file called p2pd.ear in the IBM Cognos BI root directory. Building the EAR file might take several minutes.
  4. Copy the new p2pd.ear file to the deployment manager, replacing the existing file in app_server_root/cognos.
  5. Deploy the IBM Cognos BI service.