Transition properties

You must group all transition properties into the transition section of the db-name.repl.properties file. A properties file can only have one [transition] section. The properties file must be located in the same directory as the db-name.db file.

The following is a sample of properties for a primary database:

[server]
    control-agents=agent1
    database=source-db-name
    transition=manual
    transition-timeout=600
    agent-shutdown-action=recovery
    repl-keep-alive=90

[control-agent.agent1]
   name=agent1
   database=target-db-name
   host=localhost
   port=6931
   connect-timeout=120
   replication-method=async
   critical=0

[agent]
   name=agent0
   database=source-db-name
   listener-minport=4387
   listener-maxport=4500

[transition]
   database-role=reverse
   responsibility=primary
   auto-begin-ai=1
   auto-add-ai-areas=1
   transition-to-agents=agent1
   ai-structure-file=source-db-name.addai.st
   restart-after-transition=1
   target-startup-arguments=-S 6931
   recovery-backup-arguments=primary.recovery.bak

[ssl]
   ssl-enable=1
   no-host-verify=1
   key-alias=repltest
   key-alias-password=44673f2b26202027
   key-store-path=/largedisk/jlopez/REPLSETUP_1TARG/keys
   cert-store-path=/largedisk/jlopez/REPLSETUP_1TARG/certs
   cipher-suites=AES128-SHA256,AES256-SHA256,DHE-RSA-AES256-GCM-SHA384
   ssl-protocols=TLSv1.1,TLSv1.2,TLSv1.3  

The following is a sample of properties for a secondary database:

#
[agent]
   name=agent1
   database=target-db-name
   listener-minport=4387
   listener-maxport=4500

[server]
    control-agents=agent0
    database=target-db-name
    transition=manual
    transition-timeout=600
    defer-agent-startup=60
    agent-shutdown-action=recovery
    repl-keep-alive=90

[control-agent.agent0]
   name=agent0
   database=source-db-name
   host=localhost
   port=6931
   connect-timeout=120
   replication-method=async
   critical=0

[transition]
   transition-to-agents=agent1
   responsibility=secondary
   database-role=reverse
   auto-begin-ai=1
   auto-add-ai-areas=1
   ai-structure-file=target-db-name.addai.st
   restart-after-transition=1
   target-startup-arguments=-S 6931
   backup-method=full-offline
   backup-arguments=target-db-name.sav
   incremental-backup-arguments=ks2.sav.inc

See Transition properties summary for a description of each transition property. For details about setting the properties, see Set transition properties.