- **Milestone**: 5.17.07 --> 5.17.10


---

** [tickets:#2491] imm: PBE regenerates imm.db if immnd exits during the PBE 
state verification**

**Status:** accepted
**Milestone:** 5.17.10
**Created:** Fri Jun 09, 2017 09:18 AM UTC by Zoran Milinkovic
**Last Updated:** Thu Jul 27, 2017 02:41 PM UTC
**Owner:** Zoran Milinkovic


If IMMND exits during the verification of PBE state, PBE regenerates new 
database from XML file.

PBE must distinguish between IMM issues (IMMND exits, network problem, etc) and 
database curruption.
If it's IMM issue, PBE should restart.
If it's database corruption issue, PBE should be regenerated.


2017-06-05T17:00:24.31 cm1 local0.notice osafimmnd[984]: NO This IMMND is now 
the NEW Coord
2017-06-05T17:00:24.31 cm1 user.info osafimmpbed: IN arg[0] == 
'/usr/lib64/opensaf/osafimmpbed'
2017-06-05T17:00:24.31 cm1 user.info osafimmpbed: IN arg[1] == '--recover'
2017-06-05T17:00:24.31 cm1 user.info osafimmpbed: IN arg[2] == '--pbe'
2017-06-05T17:00:24.31 cm1 user.info osafimmpbed: IN arg[3] == 
'/storage/clear/coremw/etc/imm.db'
2017-06-05T17:00:24.68 cm1 local0.err osafimmnd[984]: ER No IMMD service => 
cluster restart, exiting
....
2017-06-05T17:00:34.73 cm1 user.warning osafimmpbed: WA Verify class 
CmwMgntLockClass failed!
2017-06-05T17:00:34.73 cm1 user.notice osafimmpbed: NO Renamed 
/storage/clear/coremw/etc/imm.db to 
/storage/clear/coremw/etc/imm.db.failed_immdump because it has been detected to 
be corrupt.
2017-06-05T17:00:34.73 cm1 user.notice osafimmpbed: NO Removed obsolete journal 
file: /storage/clear/coremw/etc/imm.db-journal 
2017-06-05T17:00:34.73 cm1 user.warning osafimmpbed: WA verifyPbeState failed!
2017-06-05T17:00:34.73 cm1 user.warning osafimmpbed: WA Pbe: Failed to 
re-attach to db file /storage/clear/coremw/etc/imm.db - regenerating db file
2017-06-05T17:00:34.73 cm1 user.info osafimmpbed: IN Generating DB file from 
current IMM state. DB file: /storage/clear/coremw/etc/imm.db
2017-06-05T17:00:34.74 cm1 user.notice osafimmpbed: NO Successfully opened 
empty local sqlite pbe file /tmp/ImmPbeTmpSubDir/imm.db.d3HPkE



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to