Disaster Recovery Guide for the ENTM Server

Document ID : KB000048144
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

This document describes how to perform a full backup of the ENTM Server and how to restore in case of a disaster.

Please familiarize with the individual steps in a non critical test environment. CA is not liable for any data loss which might be caused by following thisdocument.

Solution:

Although there are many backup products and alternatives available which might also accomplish the same goal, this document is leveraging the OS built in features.

Backup
Windows

Creating an online shadow copy of the volumes where ENTM is installed allows you to perform a snapshot image backup of the system without having the need to shutdown any service; therefore guaranteeing data integrity.

  • ensure you have the Windows Server Backup Feature installed

    • using the GUI:

      Server Manager / Features

    • using an Administrator powershell entering:

      Import-module servermanager ; (Get-WindowsFeature -name Backup).Installed

  • to install the Windows Server Backup Feature

    • using the GUI:

      Server Manager / Features / Add Features / select Windows Server Backup

    • using an Administrator powershell entering:

      ocsetup WindowsServerBackup

  • to perform the Backup

    • using the GUI:

      Server Manager / Storage Windows Server Backup / right click / Backup once / Full Server backup

    • using an Administrator powershell entering:

wbadmin start backup -backupTarget:\\server\share\ -include:C: -allCritical -systemState -vssCopy
(note this is one command in one line without this comment, adjust the paths and filenames according to your environment)

Linux

Unfortunately on Linux there is no common volume snapshot feature available that is valid for the various existent file systems which allowed an online backup.

Hence the need to manually stop the individual services prior to backing up the relevant data.

In a root shell do:

  • to stop the various services (provided that relevant init scripts have been set up)

    # /etc/init.d/jboss stop
    # /etc/init.d/seos stop
    # /etc/init.d/ca-acrptmq stop
    # /etc/init.d/oracle-xe stop
    # /etc/init.d/BobjEnterprise120 stop

  • to perform the Backup

    # tar -cSszvf /mnt/archive.tar.gz /opt/CA /opt/jboss-4.2.3.GA /u01 /etc
    (note this is one command in one line without this comment, adjust the paths and filenames according to your realities)

Restore
Windows

The System Image Recovery will restore the complete system to the same state as it was when the backup was taken

  • Boot from the Windows Installation Media into the Recovery Environment

    or
  • Boot from the installed Windows into
    Advanced Boot Options
    (Win2008 press (F8) while booting, Win2012 hold the Shift key while selecting shutdown)

  • select
    Repair your Computer

  • select "System Image Recovery"

  • select a system image to restore
    (click "Advanced" to finally select a system Image on the network, enter the path to the parent directory of the folder WindowsImageBackup)

Linux

Manually reinstall the OS and relevant drivers if necessary. Ensure to give the system the same hostname and file system layout. Should ENTM, Oracle and ReportServer have been installed already stop the relevant services as shown above prior starting the restore.

In a root shell do:

# cd /
# tar -xzvf /mnt/archive.tar.gz