Appendix B: Activating CyberMgrBackup in Non-HA Environment

After the installation completes, the bin folder includes a CyberMgrBackup file, which is a soft link to CyberMgr. By running the backupinst script, the secondary daemon becomes available. This feature provides a backup to the existing CyberMgr. If the CyberMgr process stops, CyberMgrBackup takes over till CyberMgr is restarted by running the startmgr script.

This feature is merely a matter of convenience and does not provide any functionality gain. In an HA environment, the CyberMgr Secondary RPC Server is used instead for backing up Primary CyberMgr.

    Procedure
  1. Stop the current active process.
    cfstop

  2. Run the backup configuration setup script.
    • Configure with the default backup port number (46679).
      backupinst

    • Or, configure with any other backup port number (for example, 46677). backupinst 46677


      ---new entries will appear in your $CFROOT/config/config.txt----
      CyberMgrPortLocalBackup: 46679 { N, PortNumber } HADirectory: /mftps { N, DirName } HACyberMgrPrimary: 127.0.0.1:46678 {IpName/Address:Port } HACyberMgrSecondary: 127.0.0.1:46679 { IpName/Address:Port }
  3. Start CyberMgrBackup process.
    startmgr backup

    MFT Platform Server Manager Is Started  Fri Sep 25 10:40:43 EDT 2020
  4. Restart TIBCO MFT Platform Server with backup availability.
    cfstart

    Now, CyberMgrBackup feature is installed and available to use.

    Note: "cfstart" script only starts CyberMgr and CyberResp. "startmgr backup" starts CyberMgrBackup. "startmgr backup" can be run at any time before or after "cfstart". CyberMgrBackup feature is optional. You do not have to activate it, even if it is installed.
Note: "cfstop" stops all three daemons: CyberMgr, CyberMgrBackup, CyberResp.

Uninstalling CyberMgrBackup

You can uninstall CyberMgrBackup at any time by running the command:
backupuninst $CFROOT/config/config.txt

Uninstall backup configuration completed.

-----entries will be removed from your $CFROOT/config/config.txt-----
CyberMgrPortLocalBackup: 46679 { N, PortNumber }
HADirectory: /mftps { N, DirName }
HACyberMgrPrimary: 127.0.0.1:46678 { IpName/Address:Port }
HACyberMgrSecondary: 127.0.0.1:46679 { IpName/Address:Port }
Note: While running with CyberMgrBackup only (CyberMgr primary is down ), admin and message log files are not populated. Restart CyberMgr as soon as possible to obtain the full capability.