How to manually sync HA cells

Version 3
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Event Manager - Enterprise Base


    APPLIES TO:

    BMC Event Manager - Enterprise Base



    QUESTION:

    How to synchronize cells running in a HA setup.

       
          


    ANSWER:

     

    Legacy ID:KA296013

      

    To manually sync the two servers you need to do the following:

      

    **This procedure assumes that it is the Primary cell which contains the correct data**

      

    1 - copy the mcell.dir file from MCELL_HOME/etc on the Primary to MCELL_HOME/etc on the Secondary.

      

    2 - copy the cell KB directory (MCELL_HOME/etc/<cellname>/kb) from the Primary to the Secondary. Take care not to copy the mcell.conf file that is in MCELL_HOME/etc/<cellname>

      

    3 - stop both the Primary & Secondary cells

      

    4 - Run a statbld on Primary

      

    a - cd MCELL_HOME/var/<cellname>#1

      

    *note if this is a pre 7.4 cell then the directory will be MCELL_HOME/log/<cellname>#1

      

    b - rename xact to xact.1

      

    c - run 'statbld -n <cellname>#1'

      

    5 - delete the contents of the MCELL_HOME/var/<cellname>#2 directory for the Secondary cell

      

    *note if this is a pre 7.4 cell then the directory will be MCELL_HOME/log/<cellname>#2

      

    6 - copy the contents of the Primary cell var directory (MCELL_HOME/var/<cellname>#1) over to the Secondary cell var directory.

      

    *note if this is a pre 7.4 cell then the directory will be MCELL_HOME/log/<cellname>#1 to be copied across to MCELL_HOME/log/<cellname>#2

      

    7 - Start the primary cell and shortly afterwards start the secondary cell. Then check the status by running the following :

      

    mgetinfo -n <cellname>#1 -v activity
    mgetinfo -n <cellname>#2 -v activity

      

    There is a video that walks through the above procedure and it is available on https://www.youtube.com/watch?v=wZ2FyRIVuzo

      
    Related Products:  
       
    1. TrueSight Infrastructure Management
    2.  
    3. BMC ProactiveNet Performance Management Suite
    4.  
    5. BMC Impact Manager
    6.  
    7. BMC Event Manager Base
    8.  
    9. BMC Impact Explorer
    10.  
    11. BMC Impact Portal
    12.  
    13. BMC Event Manager - Enterprise Base

     


    Article Number:

    000029178


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles