Ticket #543 (closed enhancement: fixed)

Opened 15 months ago

Last modified 5 months ago

IMMSv: Persistent repository

Reported by: anders Owned by: anders
Priority: major Milestone: 4.0.B5
Component: IMMSv Version:
Keywords: Cc:
patch waiting for maintainer: no

Description

The IMM standard specifies that configuration attributes and persistent runtime attributes shall be *persistent* relative to cluster rstarts.

Such persistence shall hold for every committed CCB. This implies that the saImmOmCcbApply call will block and return SA_AIS_OK only when/if persistence for that CCB is secured, by the IMMSv.

The persistence guarantee also applies implicitly for every update of a persistent runtime attribute. This implies that invocations of calls saImmOiRtObjectCreate/Delete/Update will block and return SA_AIS_OK only when/if persistence is secured for that operation, by the IMMSv.

The IMMSv as provided in OpenSAF3.0 does not comply with the persistence requirement. Persistence is only supported in the weaker sense of allowing dumps to the imm.xml format, which may then be used to replace the imm.xml file used at cluster re-start.
The OpenSAF IMM implementation only provides the immdump binary,
which dumps the persistent part of the current IMM contents.

Such dumps must be generated by the user of OpenSAF, when that user
wants to secure persistence in the face of cluster restarts.
Care must also be taken to wrap the use of immdump in such a way that the dump atomically replaces the file used for loading.
Specifically, the user must avoid direct overwrite of the current
imm.xml with the new dump, since a failed dump would result in *no* valid imm.xml fail being available at cluster restart.

It has not yet been decided how far the OpenSAF implementation of IMMSv shall go to provide the support for CCB level persistence.
OpenSAF is used by several users with differing requirements on persistence and differing preferences of what technology to use for the persistence back-end.

Any solution provided as part of OpenSAF should be light-weight (little or no configuration) and low on resource demands.
The solution should probably also be open for "plug in" towards
different persistence back ends as decided by the OpenSAF user.

Change History

Changed 9 months ago by marioa

  • status changed from new to assigned
  • milestone set to 4.0.0-B5

Changed 9 months ago by anders

  • status changed from assigned to accepted

Changed 6 months ago by anders

  • patch_waiting changed from no to yes

Changed 6 months ago by anders

  • patch_waiting changed from yes to no

opensaf-staging (first drop):
changeset: 768:d8507434b073
tag: tip
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Mon Jan 18 17:05:49 2010 +0100
summary: immsv: Drop-1 for Persistent back-end (#543)

Changed 6 months ago by anders

opensaf-staging:
changeset: 773:1ac5fc9c3f8c
tag: tip
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Wed Jan 20 16:00:31 2010 +0100
summary: immsv: fix for rpm build problem (#543)

Changed 6 months ago by hafe

changeset: 774:9c12b5752412
tag: tip
user: Hans Feldt <hans.feldt@…>
date: Wed Jan 20 16:18:55 2010 +0100
summary: immsv: rpm build problem (again)

Changed 5 months ago by anders

changeset: 840:d5940614389a
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Wed Feb 17 14:29:20 2010 +0100
summary: immsv: Corrections to Drop-2 (#543)

changeset: 839:da44001627e1
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Tue Feb 16 15:42:50 2010 +0100
summary: immsv: Drop-2 for Persistent back-end (#543)

Changed 5 months ago by anders

 http://list.opensaf.org/archives/devel/2010-March/006870.html

opensaf-staging:
changeset: 887:67f02cb4f14a
tag: tip
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Thu Mar 04 12:47:52 2010 +0100
summary: immsv: Drop-3 for Persistent back-end (#543)

changeset: 886:e7443345ee8f
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Fri Feb 26 11:43:14 2010 +0100
summary: immsv: ensure pbe daemon terminates if local immnd terminates (#543)

changeset: 885:eedc4c447008
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Thu Feb 25 15:52:13 2010 +0100
summary: immsv: configure option —enable-imm-pbe added (patch from Jonathan Fournier) (#543)

Changed 5 months ago by anders

opensaf-staging:

changeset: 900:0e2703df0f44
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Fri Mar 05 15:50:04 2010 +0100
summary: immsv: A few bugfixes for Drop-3 for PBE (#543)

Changed 5 months ago by anders

opensaf-staging:

changeset: 909:c53070ec00eb
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Tue Mar 09 10:15:02 2010 +0100
summary: immsv: Allow only alphanums in class/attr names (#543)

changeset: 910:62b1da533274
tag: tip
user: Anders Bjornerstedt <anders.bjornerstedt@…>
date: Tue Mar 09 09:58:48 2010 +0100
summary: immsv: retry-loop for adm-init in imm_dump (#543)

Changed 5 months ago by anders

  • status changed from accepted to closed
  • resolution set to fixed

Functionality still missing will be tracked as separate defect tickets.
* Persistification of persistent runtime object create/delete.
* Persistification of runtime attribute modify.
* Persistification of class create/delete.
* ccb recovery outcome from PBE.
* Escalate immsv reload to cluster restart when PBE not enabled.

Note: See TracTickets for help on using tickets.