Previous Topic: Removing Junction PointsNext Topic: Root Cause of 3THA: HA Check Failed - Other Operation Currently in Progress


Rollback BFC to Restore Previous Version - Shortcut

A trick to speed up the restore_from_fallback process is:

  1. shut down the BFC
  2. mv /opt/bfc/applogic_verions /var/ (or whatever other directly on the same filesystem as the BFC)
  3. copy replica to another location in-case it's necessary to recover from it later on as it will get overwritten
  4. /opt/bfc/bin/uninstall -f (as root)
  5. mount your old BFC version is (say, on /mnt/cdrom)
  6. Open a second terminal window to the BFC and enter the command to move the applogic_versions back to their original location (Step 8.) but don't press enter yet!
  7. install the bfc (WITH the correct passphrase) /mnt/cdrom/fcinstall.sh -x bfcext.iso (no -u needed)
    1. Do you want to recover from replica? n
    2. Do you want to enable replication? y
    3. Enter location to replicate to: (same as previously entered)
  8. Press enter on your second window: mv /var/applogic_versions /opt/bfc/ * (If you skip this step this is not a shortcut method... it may take up to a few days to complete depending on the # of versions stored on BFC)
  9. run the restore script. /var/bfc_fallback_backup/restore_fallback.sh

This avoids having to re-sync all your versions from the download directory. The main point though is that wherever you move your old /opt/bfc/applogic_versions directory, it has to be on the same filesystem as /opt/bfc. If it is, the 'mv' command will be near instantaneous. Otherwise it will be more like the performance of 'cp'.