The luks-fs-mgr service is responsible for setting up of the LUKS
volume. Any files related to application that contain sensitive information and needs to be secured will be copied onto this luks volume.
New functionality added here is, whenever a file is added/modified/deleted from the LUKS volume on the active controller, a fileChangeNotification is triggered which in turn triggers rsync to push these file/s onto the standby controller's LUKS volume.
TEST
PASSED: Deployed changes on Duplex
PASSED: Created new file on active controller
This triggered IN_CREATE filesystem notification and rsync'd
to push the new file onto the standby controllers LUKs
vol.
PASSED: Changed existing file on active controller
Updated an existing file. This triggered IN_MODIFY notification
and rsync'd to push the updated/modified file onto the
standby controller.
PASSED: Deleted a file on active controller
Delete any file present on the luks volume. This triggered
IN_DELETE and then further rsync is triggered which deleted
the same file from the standby controllers
volume.
rysnc ensures that the copy of files maintained on both the
volumes are exactly same.
Story: 2010872
Task: 49058
Change-Id: I12ca851663820c1f407bce791358e447957ceb15
Signed-off-by: Harshad sonde <harshad.sonde@windriver.com>