DX Unified Infrastructure Management

 View Only
  • 1.  Restore alarms, owner and tickets after crash Spectroserver

    Posted Feb 22, 2018 10:10 AM

    Following a network problem, a spectroserver stopped and the database was corrupted. The last backup SSdb file bas been restored.

    The problem is that alarms and their associated owner/tickets are not raised.

    Can you tell me which command (SSdbload) to use to restore alarms and their ticket after a crash?

    Here is the command used in my case:

    /data/Spectrum/SS $ ../SS-Tools/SSdbload -i -l /data/backups/SS-DB-Backup/tva_db/db_20180221_0100.SSdb

    Regards,

    Christophe H.



  • 2.  Re: Restore alarms, owner and tickets after crash Spectroserver

    Posted Feb 22, 2018 10:13 AM

    Hi

     

    You also to restore the DDM DB, this include the Events etc.

     

    Eric



  • 3.  Re: Restore alarms, owner and tickets after crash Spectroserver

    Posted Feb 22, 2018 10:18 AM

    Hi Eric,

     

    So with the file db_0100.DDMDb.tgz?

    Which command should I use to restore?

     

    Regard's,

     

    Christophe H.



  • 4.  Re: Restore alarms, owner and tickets after crash Spectroserver

    Posted Feb 22, 2018 10:39 AM

    To run the ddm_load command:

    1. Gunzip the <your_backup_filename> if compressed.
    2. Open a command line as the Spectrum Owner account.
    3. Stop the Spectro Server by $SPECROOT/bin/stopSS.pl
    4. cd $SPECROOT/SS/DDM directory.
    5. Run ./ddm_load <your_backup_filename>

     



  • 5.  Re: Restore alarms, owner and tickets after crash Spectroserver

    Posted Feb 22, 2018 10:43 AM

    Thank's Eric.



  • 6.  Re: Restore alarms, owner and tickets after crash Spectroserver

    Posted Feb 23, 2018 03:58 AM

    Hello,

    I restored both SSdb and DDM databases. The alarms date from the restart of the Spectroserver (and not from their last appearance) and the information of the onwer and ticket have not been restored.

     

    1/ ../SS-Tools/SSdbload -i -l /data/backups/SS-DB-Backup/db_20180223_0200.SSdb

    2/ ./ddm_load db_20180223_0900.DDMDb.tgz

     

    Do you know why ?

     

    Regard's,

     

    Christophe H.



  • 7.  Re: Restore alarms, owner and tickets after crash Spectroserver
    Best Answer

    Broadcom Employee
    Posted Feb 23, 2018 08:53 AM

    Hi Christophe, 

      Unfortunately the alarms are not saved as part of the SS backup process. The are synchronized with a secondary (FT) SpectroSERVER and when the primary comes back up any non communication related alarms would be marked stale but should sync back to the primary.  If you do not have a fault tolerant SS, or if the alarms were for communication purposes, then the alarms may be gone.

    Cheers

    Jay



  • 8.  Re: Restore alarms, owner and tickets after crash Spectroserver

    Posted Feb 23, 2018 09:46 AM

    Hi Jason,

     

    Thank's for your answer.

     

    The Database "DDM" saved the alarms (owner, ticket, etc..), no ?

     

    Regard's,

     

    Christophe H.



  • 9.  Re: Restore alarms, owner and tickets after crash Spectroserver

    Broadcom Employee
    Posted Feb 23, 2018 11:16 AM
      |   view attached

    No, the ddmdb only has the events (and pcause id).  The alarms themselves have their own attributes and are stored in the SSAlarms db table (which gets reset when you initialize the SSdb).

    Cheers

    Jay