1. Changing some parameters
DGMGRL>
edit database "bank01" set property NetTimeout=7;
edit database "bank02" set property NetTimeout=7;
edit database "bank01" set property ReopenSecs=30;
edit database "bank02" set property ReopenSecs=30;
edit database "bank01" set property MaxFailure=0;
edit database "bank02" set property MaxFailure=0;
edit database "bank01" set property faststartfailovertarget='bank02';
edit database "bank02" set property faststartfailovertarget='bank01';
-- time waiting before switchover
EDIT CONFIGURATION SET PROPERTY FastStartFailoverThreshold=120;
-- shutdown PRIMARY after beging switchover
EDIT CONFIGURATION SET PROPERTY FastStartFailoverPmyShutdown=true;
DGMGRL>
edit database "bank01" set property NetTimeout=7;
edit database "bank02" set property NetTimeout=7;
edit database "bank01" set property ReopenSecs=30;
edit database "bank02" set property ReopenSecs=30;
edit database "bank01" set property MaxFailure=0;
edit database "bank02" set property MaxFailure=0;
edit database "bank01" set property faststartfailovertarget='bank02';
edit database "bank02" set property faststartfailovertarget='bank01';
-- time waiting before switchover
EDIT CONFIGURATION SET PROPERTY FastStartFailoverThreshold=120;
-- shutdown PRIMARY after beging switchover
EDIT CONFIGURATION SET PROPERTY FastStartFailoverPmyShutdown=true;
2. Enabling the FAST START FAILOVER mode
DGMGRL>
enable fast_start failover;
3. Checking configuration FAST START FAILOVER mode
DGMGRL>
DGMGRL>
SHOW FAST_START FAILOVER;
4. Description of parameters
No comments:
Post a Comment