Setting up the source database with deferred agent startup for online backup

Use the following steps to set up the source database with deferred agent startup for online backup:

  1. Create a structure file. For example:
    prostrct list source-db-name source-db-name.st
  2. Verify that after-imaging is enabled. If AI is not enabled:
    1. Create and edit a structure file (source-db-name-ai.st) to add AI.
    2. Apply source-db-name-ai.st to the source database, as shown:
      prostrct add source-db-name source-db-name_ai.st
    3. Back up the database, as shown:
      probkup source-db-name source-db-backup-name
    4. Begin AI, as shown:
      rfutil source-db-name -C aimage begin
  3. Enable Replication, as shown:
    proutil source-db-name -C enableSiteReplication source
  4. Back up the database, as shown:
    probkup online source-db-name source-db-backup-name -REPLTargetCreation
  5. Set defer-agent-startup in the server properties file, as shown:
    [server]
         control-agents=agent-name
         database=source-db-name
         transition=manual
         transition-timeout=1200
         defer-agent-startup=1400
  6. Restart the source database, as shown (note that -DBService is case-sensitive):
    PROSERVE -db source-db-name -DBService replserv 
    -S {port|service name }