ha/service-mgmt/sm-db-1.0.0/database
Bin Qian e7d2713327 Unexpected swact after rebooting standby controller
In All-in-one duplex system, 2 controllers sometimes require longer
than expected (2500ms) to sync the status of the service groups.
The fix here is to extend the wait interval to 5000ms in order to give
enough time for the controllers to finish serivce groups status
exchange.
The extra wait time impacts only the 1st controller reboot.
In a normal scenario, the 2nd controller boots up the service
scheduling will start immediately after the service group status
exchange completed.

Story: 2003287
Task: 24230

Change-Id: Ibc49df8278ec0a0b319691ae9e82e9318a35a2f6
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2018-08-08 17:06:45 -04:00
..
Makefile StarlingX open source release updates 2018-05-31 07:36:26 -07:00
README StarlingX open source release updates 2018-05-31 07:36:26 -07:00
create_sm_db.sql Unexpected swact after rebooting standby controller 2018-08-08 17:06:45 -04:00
create_sm_hb_db.sql StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm-patch.sql StarlingX open source release updates 2018-05-31 07:36:26 -07:00
sm_database.xlsb StarlingX open source release updates 2018-05-31 07:36:26 -07:00

README

The SM database is generated by the corresponding SQL scripts:
create_sm_db.sql -> sm.db
create_sm_hb_db.sql -> sm.db.hb

Instructions:
1. Update the SM excel spreadsheet (sm_database.xlsb) with your changes,
2. Update the corresponding SQL script i.e, create_sm_db.sql or create_sm_hb_db.sql:
    Add proper SQL statement(s) (insert, update, delete) to the sql file.