Here is a step by step guide to restoring a Linux server. This example is a bare metal restore into VMware, but the same process can be used for a physical server.
I found this task quite tricky, but once you have the hang of it, it will become second nature.
Firstly I am restoring to a VMware Virtual Cluster (vSphere). I have already found a spare IP address on the network.
Build the Arcserve BMR VM using VMware:
- set disk size which is BIG ENOUGH for the backup.
- It must mirror the server disk size, not the backup size.
- Set the CPU and memory allocations as required
- Set the network. The backup server must have access to the same network you are rebuilding the VM. My network is segragated by firewalls, so it is easier for me to rebuild the VM on the same core network as the backup server.
- Download the Linux Live CD from Arcserve and upload to your VMware datastore – Its stored on your Linux-BU VM which is part of the arcserve configuration.
- Mount the Disk to your newly created server
How to Configure ArcServe
After the VM bare metal server is built, you must now configure ArcServe to initalize the restore.
- Open ArcServe UDP
- Find the server you want to restore
- Right Click > Restore
- Once the UDP restore page opens, choose the BMR restore option (as below)
- If you have multiple ArcServe nodes, make sure you have the correct one selected.
- Next find your recovery point
- check the correct RPS node is selected
- check Arcserve has selected the correct server to restore
- enter the date range needed on the date filter
- choose the restore point you need
- enter your session password – your system administrator should have this documented
You now have to configure ArcServe to point to the newly create base VM template created earlier. Your details will be unique to your organizations. Ensure that the network ports are open between the ArcServe backup server and the end point server.
You must provide the following information:
- The IP address of the new VM
- The subnet of the new VM
- The default gateway of the new VM
When you click next, Arcserve will trigger the restore point. As this is a BMR, Arcserve will poll for the IP details and wait for the configure IP to become active.
Boot the Newly created VM and Live CD boot disk
Now we have to power up the new VM, boot the ArcServer UDP Linux ISO image and start the restore.
If you have a flat network, and use DNS then ArcServe should identify the new VM as soon as it powers up, however, this process is not foolproof and there have been countless times I have had to manually interveen
- Insert the Live CD or mount the .iso file of the Live CD into the CD-ROM drive of the target node.
- Boot the target machine from CD-ROM.
- The target machine boots into the Arcserve UDP Agent (Linux) Live CD environment. On the screen, the IP address of the target machine is displayed.
- If the static IP has not been recognized, it must be configured manually
- To configure the static IP of the target machine using the default Live CD, follow these steps:
- On the target machine’s screen, press Enter to enter the shell environment.
- Run the following command to configure the static IP:
- ifconfig <yourinterface> <serverIP> netmask <yournetmask>
- route add defauly gw <your default gw>
When you exit the shell, check the status of the ArcServe UDP and it should pick up the new server details
Network selected must be on the same layer as backup server, or appropriate routing and firewall rules must be configured.