

Reference Information › CA AppLogic Support Knowledge Base › Overview of Support Knowledge Base › Rollback BFC to Restore Previous Version - Shortcut
Rollback BFC to Restore Previous Version - Shortcut
A trick to speed up the restore_from_fallback process is:
- shut down the BFC
- mv /opt/bfc/applogic_verions /var/ (or whatever other directly on the same filesystem as the BFC)
- copy replica to another location in-case it's necessary to recover from it later on as it will get overwritten
- /opt/bfc/bin/uninstall -f (as root)
- mount your old BFC version is (say, on /mnt/cdrom)
- 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!
- install the bfc (WITH the correct passphrase) /mnt/cdrom/fcinstall.sh -x bfcext.iso (no -u needed)
- Do you want to recover from replica? n
- Do you want to enable replication? y
- Enter location to replicate to: (same as previously entered)
- 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)
- 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'.
Copyright © 2013 CA Technologies.
All rights reserved.
 
|
|