Introduction
Data corruption, physical disaster, disk failures, and human error are a few of the reasons you should implement a solid backup strategy for your OP5 system. And while recovery is not a new reason to perform backups, it will always remain the only reason to do them.
For the purpose of rapid recovery, op5-backup has been written. It creates a tarball archive of all data relevant to the installed OP5 products so they, in case of disaster, can be quickly restored using op5-restore. The script can be used to either store the backed up data locally, on a NFS/CIFS share to later be protected by an enterprise backup system, or sent over FTP or SCP (SSH) to a remote host for safekeeping. The strategy to use will, of course, depend on your current backup environment and policies, but the tarball produced must be protected by some kind of additional backup method so it can be retrieved during a total hard drive failure.
For information on how to configure the backup script for FTP transfers, please refer to the OP5 System manual.
Prerequisites
To perform a complete recovery from a total system failure, you will need:
- Fully operational server hardware.
- The most recent successful backup file created by op5-backup script.
- Same release of OP5 Monitor from the OP5 download area, that you were running when the backup was performed.
Be prepared
To handle a disaster situation efficiently, it might be a good idea to keep a few things in the same place, so you don't need to look for them when you are already under pressure:
Info needed | Found where? |
---|---|
License file | Was sent to you or your technical contact by e-mail |
Hardware service-tag | Found at the rear end of the server or on the front side |
OP5 Support contacts | Contact information on OP5 Support portal |
OP5 Support portal login | Was sent to you by e-mail upon purchase of your OP5 products |
Prepare the server
Make sure all hardware components are working properly and that BIOS versions, RAID firmware etc. are up to date. Set up disk redundancy, if available, and ensure that you are connected to the Internet.
If you are installing an OP5 appliance system, just insert the installation media during boot-up, wait for the boot prompt, select Install OP5 APS and press Enter. The rest of the installation will be performed without user interaction, so just wait until it is done, remove the install CD and reboot the system. If you prefer to use your own hardware, boot from the CentOS or Red Hat install CD and perform a system installation and configuration according to your own preferences. To perform systems updates on an appliance system, you need to install your license file, so upload it to the server and copy the license file to the correct directory:
Step-by-step guide
- Copy your license to your OP5 monitor server using scp client (e.g. winscp)
- As the root user on your OP5 monitor server, copy the license to /etc/op5license and name it op5license.lic
# cp path_to_your_license /etc/op5license/op5license.lic
- Set ownership and permissions
# chmod 640 /etc/op5license/op5license.lic# chown apache:apache /etc/op5license/op5license.lic
- Verify the license file
# asmonitor /opt/plugins/check_op5_license -T d -w 30 -c 15
Install OP5 software
Log in as root and transfer the OP5 software package, in this case OP5 Monitor, to the server. Un-compress the content of the software package and run the install script:
# tar -zxf op5-monitor-install-x.x.x.x86_64.tar.gz
# cd monitor-x.x.x
# ./install.sh
Follow the instructions on the screen until the installation is finished, then transfer the most recent backup made with op5-backup to the server and restore the backup tarball:
# op5-restore -b /path/to/monitor01-Backup-20XX-XX-XX.backup
When done, reboot the machine and you should be back to where you were when the backup took place.
Comments
0 comments
Please sign in to leave a comment.