summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Qian <bin.qian@windriver.com>2018-08-08 15:14:36 -0400
committerBin Qian <bin.qian@windriver.com>2018-08-08 17:06:45 -0400
commite7d27133274091b52ff5bf68fa5dc575eca33349 (patch)
tree76573631b206503f7d9e7a5cf912bf91d98641d1
parentb7d84691a0154a41a22174691dc1484f8c6d48e3 (diff)
Unexpected swact after rebooting standby controller2018.08.0
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>
Notes
Notes (review): Code-Review+2: Don Penney <don.penney@windriver.com> Code-Review+2: John Kung <john.kung@windriver.com> Workflow+1: Bin Qian <bin.qian@windriver.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 09 Aug 2018 13:20:46 +0000 Reviewed-on: https://review.openstack.org/590010 Project: openstack/stx-ha Branch: refs/heads/master
-rw-r--r--service-mgmt/sm-db-1.0.0/database/create_sm_db.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/service-mgmt/sm-db-1.0.0/database/create_sm_db.sql b/service-mgmt/sm-db-1.0.0/database/create_sm_db.sql
index a396d0f..81e7d82 100644
--- a/service-mgmt/sm-db-1.0.0/database/create_sm_db.sql
+++ b/service-mgmt/sm-db-1.0.0/database/create_sm_db.sql
@@ -7,7 +7,7 @@ INSERT INTO "SERVICE_DOMAIN_INTERFACES" VALUES(1,'yes','controller','management-
7INSERT INTO "SERVICE_DOMAIN_INTERFACES" VALUES(2,'yes','controller','oam-interface','secondary','hmac-sha512','titanium-server','','','','','','','','','','','tor'); 7INSERT INTO "SERVICE_DOMAIN_INTERFACES" VALUES(2,'yes','controller','oam-interface','secondary','hmac-sha512','titanium-server','','','','','','','','','','','tor');
8INSERT INTO "SERVICE_DOMAIN_INTERFACES" VALUES(3,'yes','controller','infrastructure-interface','secondary','none','','','','','','','','','','','','tor'); 8INSERT INTO "SERVICE_DOMAIN_INTERFACES" VALUES(3,'yes','controller','infrastructure-interface','secondary','none','','','','','','','','','','','','tor');
9CREATE TABLE SERVICE_DOMAINS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), ORCHESTRATION CHAR(32), DESIGNATION CHAR(32), PREEMPT CHAR(32), PRIORITY INT, HELLO_INTERVAL INT, DEAD_INTERVAL INT, WAIT_INTERVAL INT, EXCHANGE_INTERVAL INT, STATE CHAR(32), SPLIT_BRAIN_RECOVERY CHAR(32), LEADER CHAR(32), GENERATION INT); 9CREATE TABLE SERVICE_DOMAINS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), ORCHESTRATION CHAR(32), DESIGNATION CHAR(32), PREEMPT CHAR(32), PRIORITY INT, HELLO_INTERVAL INT, DEAD_INTERVAL INT, WAIT_INTERVAL INT, EXCHANGE_INTERVAL INT, STATE CHAR(32), SPLIT_BRAIN_RECOVERY CHAR(32), LEADER CHAR(32), GENERATION INT);
10INSERT INTO "SERVICE_DOMAINS" VALUES(1,'yes','controller','regional','unknown','no',230,200,800,2500,2000,'initial','select-best-active','',1); 10INSERT INTO "SERVICE_DOMAINS" VALUES(1,'yes','controller','regional','unknown','no',230,200,800,5000,2000,'initial','select-best-active','',1);
11CREATE TABLE SERVICE_DOMAIN_MEMBERS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), SERVICE_GROUP_NAME CHAR(32), REDUNDANCY_MODEL CHAR(32), N_ACTIVE INT, M_STANDBY INT, SERVICE_GROUP_AGGREGATE CHAR(32), ACTIVE_ONLY_IF_ACTIVE CHAR(32) ); 11CREATE TABLE SERVICE_DOMAIN_MEMBERS ( ID INTEGER PRIMARY KEY AUTOINCREMENT, PROVISIONED CHAR(32), NAME CHAR(32), SERVICE_GROUP_NAME CHAR(32), REDUNDANCY_MODEL CHAR(32), N_ACTIVE INT, M_STANDBY INT, SERVICE_GROUP_AGGREGATE CHAR(32), ACTIVE_ONLY_IF_ACTIVE CHAR(32) );
12INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(1,'yes','controller','oam-services','N + M',1,1,'controller-aggregate','directory-services'); 12INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(1,'yes','controller','oam-services','N + M',1,1,'controller-aggregate','directory-services');
13INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(2,'yes','controller','controller-services','N + M',1,1,'controller-aggregate','directory-services'); 13INSERT INTO "SERVICE_DOMAIN_MEMBERS" VALUES(2,'yes','controller','controller-services','N + M',1,1,'controller-aggregate','directory-services');