Disaster Recover
Disaster Recover
Disaster Recovery
The McAfee ePolicy Orchestrator (ePO) SQL database is the central storage place for all the data your ePO server
uses, and it requires regular maintenance and care to ensure proper system operation.
Module Goals
The module goals are:
▪ Describe the Disaster Recovery feature and how it works
▪ Use a Server Task for a Snapshot
▪ Take a Snapshot from the Dashboard
▪ Explain the differences between an ePO initial installation and a recovery installation
▪ Describe best practices for Disaster Recovery
Important:
▪ SQL Server Management Studio for Microsoft SQL Server 2008 R2 is used for demonstration purposes. The
steps for SQL Server Express editions may differ. For more information and supported procedure, refer to the
documentation for the SQL Server version you use.
▪ The Disaster Recovery feature is not to be used in lieu of regular backups. For more information, see Technical
Articles KB66616 and KB81740.
The figure illustrates a simple Disaster Recovery Snapshot and backup scenario. Other recovery scenarios are
shown later in this module. Before you begin, be sure to repair the ePO server and make sure you have the
passphrase created during the initial software installation.
▪ The Snapshot is taken manually from the ePO Server Snapshot page or automatically using the ePO
Disaster Recovery Server Task. You can modify the default Disaster Recovery Server Task, as needed.
▪ The Snapshot records zipped server files from predefined folders and stores them in the database
OrionSnapshot table. You can use the Microsoft SQL Server Management Studio or BACKUP
(Transact-SQL) database feature to save the entire ePO database. (Must be DBCreator and DBOwner).
▪ Copy the backup file to another location. (Not on the ePO server.)
The ePO restore server is now running with the exact same configuration as the primary server. The clients can
connect to the restore server and you can manage them exactly as before the primary McAfee ePO server was
removed.
If you changed the known IP address, DNS name, or NetBIOS name of the primary McAfee ePO server, when
creating the restore McAfee ePO server, the McAfee Agents will not be able to connect to the restored McAfee ePO
server. The easiest way to enable the agents to the connect to the server again is to create an A Record in DNS that
points requests from the old IP address, DNS name, or NetBIOS name of the primary McAfee ePO server to the new
information for the restore McAfee ePO server.
▪ Review KB87976 for details on the ePO 5.x Disaster Recovery Snapshot feature
▪ Uses the Snapshot process to save specific ePO server database records to the ePO SQL database
➢ Manually from the Server Snapshot page (Dashboard > McAfee ePO Server Snapshot)
➢ Automatically using the Disaster Recovery Server Task (Menu > Automation > Server Tasks)
➢ Server task enabled by default for all SQL Server editions but Express
NOTE: Registered executable files are not backed up. You must replace those executable files when you restore the ePO
server. After the restore, any registered executables with broken paths are shown in red font on the Registered
Executables page (Menu > Configuration >Registered Executables).
The ePO Disaster Recovery feature uses a Snapshot process to save specific ePO server database records to the
ePO Microsoft SQL database. The records contain the entire ePO configuration at the specific time the Snapshot is
taken.
NOTE: You can only run one Disaster Recovery Snapshot at a time. If you run multiple Snapshots, only the last
Snapshot creates any output and the previous Snapshots are overwritten.
Disaster Recovery Snapshot is enabled, by default, on all Microsoft SQL Servers, except the Express Edition.
Recommendation: McAfee does not recommend enabling Disaster Recovery Snapshot scheduling with the
Microsoft SQL Server Express Editions because of the data file size limitations.
Component Requirement
Should be up and running correctly, with a recent Snapshot saved in the SQL
Primary ePO server
database.
If you have a restore ePO server, it should closely mirror your primary ePO
Restore ePO server
server hardware.
You must know the passphrase added during the initial installation of the ePO
software. The passphrase is required to decrypt sensitive information stored
in the Disaster Recovery Snapshot.
Disaster Recovery
IMPORTANT:
Keystore encryption
- If forgotten, this passphrase cannot be recovered and you would be unable
passphrase
to restore ePO from the database containing the snapshot.
- However, if the original ePO server is still accessible & functional, then the
passphrase can be reset under Server Settings > Disaster Recovery. Once
reset, you can run another Snapshot task and backup the database again.
Access to the primary and restore servers and SQL database is required,
Administrator privileges
Example: DBCreator and DBOwner.
McAfee Education Services 7
The slide highlights basic requirements for the Disaster Recovery feature. Your deployment may include a separate
restore server, configured to closely match your ePO server.
View, Edit, or
Run
Enabled by
default
Use the Disaster Recovery Snapshot Server Task to modify the scheduled automatic Snapshots of your ePO server
configuration saved to the SQL database.
No snapshot available
View help/instructions
You use the Server Snapshot page to take a Snapshot manually. The Server Snapshot page is accessed from a drop-
down list on the main Dashboards page (Navigation bar > Dashboard or Menu bar > Reporting > Dashboards.
1. From the drop-down list at the top of the page, select McAfee ePO Server Snapshot.
2. From the McAfee ePO Server Snapshot dashboard monitor, click the Take Snapshot button.
Other options here are:
▪ Last Run At: Currently none because this is new install.
▪ View information about Disaster Recovery: Click link for help/instructions.
The Server Snapshot monitors are color coded, so you can easily identify the snapshot’s status.
▪ Green: Snapshot Successfully Saved. Snapshot process completed successfully, and it’s up-to-date.
▪ Blue: Snapshot is Running. The snapshot is running and being saved.
▪ Red: Snapshot Failed. An error occurred during the Snapshot process.
▪ Gray: No Snapshot Available. No Disaster Recovery Snapshot has been saved.
▪ Orange: Snapshot Out of Date. Changes to the configuration have occurred, and a recent Snapshot has not
been saved.
▪ In event of failure, you can restore the ePO database using the backup file
▪ Tools used:
▪ SQL Server Management Studio
▪ Command line (Transact-SQL)
Guidelines:
▪ You may need to stop the ePO services and close any open connections to the
ePO database before a restore
▪ You can overwrite the existing ePO database or retain your existing ePO
database by restoring the backup with a new name
Example: for comparison purposes
▪ Typically, the most recent backup file is restored, however, you can choose a
different backup set
In event of failure, you can restore the ePO database using backup file.
Select database
McAfee does not assume responsibility for any damage incurred because this
procedure is intended as a guideline for disaster recovery.
All liability for use of the following information remains with the user.
Ensure you follow the steps identified here “during” the recovery installation process.
▪ Restart the ePO server, then verify the ePO console is accessible
▪ Verify the appropriate services have started
▪ Verify the environment contains all expected items, as captured in the Snapshot used for the
recovery
▪ If you restored ePO to a server, with a different IP address or DNS name from your previously existing server:
➢ Configure a way to allow your managed systems to connect to your new ePO server
➢ Recommended: Create a CNAME record in DNS that points requests from the old IP address, DNS
name, or NetBIOS name of the previously existing ePO server to the new information for the restored
ePO server
Once the recovery installation steps are complete, ensure you follow the steps identified here.
Be sure to
select this option
When restoring from an existing database snapshot, you will see many of the steps are the same as a first-time
install. This section highlights the key differences.
NOTE: Many of the steps are similar to those of a new install. One of the first noticeable differences is to select the
Restore ePO from an existing database snapshot option.
In the Administrator Information step, enter the Username and Password you used for your previously existing
server administrator account.
Also, enter the Keystore encryption passphrase you saved during the initial installation of the previously existing
McAfee ePO server, or changed in the Server Settings.
The Keystore encryption passphrase decrypts the sensitive files stored in the Disaster Recovery Snapshot.
Once the installation completes and you log back into ePO with the same account info as previous, the ePO Server
Snapshot page initially displays showing “Snapshot is Out of Date”. You will notice the restored look & feel of the
console, settings, and all captured from the previous ePO Server Snapshot.
Knowledge Check
Snapshot failed
Snapshot out of date
Saving snapshot
Snapshot saved to database
Snapshot failed
Snapshot out of date
Saving snapshot
Snapshot saved to database
▪ If using a separate restore sever, its configuration should closely mirror your primary ePO
server hardware
▪ Regularly perform backup and copy backup file, storing them in a safe and secure location
▪ During an ePO software recovery installation, you must supply the Disaster Recovery Keystore
encryption passphrase
▪ Remember, registered executable files are not backed up. You must replace those executable
files when you restore the ePO server
As a review:
▪ Plan a disaster recovery strategy. Determine how long to keep backups and where to archive them. Size,
tolerance of downtime, and hardware budget are some factors that impact your strategy.
▪ If using a separate restore sever, its configuration should closely mirror your primary ePO server
hardware.
▪ Regularly take a Disaster Recovery Snapshot. A default server task for this is enabled by default, unless
you are running an SQL Server Express Edition.
▪ Records are specific to the time the Snapshot is taken.
▪ You can only run one Disaster Recovery Snapshot at a time. When you run a new Snapshot, the previous
one is overwritten.
▪ Regularly back up database, transaction log, and ePO server Disaster Recovery Snapshot. Be sure to copy
the backup file to a safe and secure location.
▪ During an ePO software recovery installation, you must supply the Disaster Recovery Keystore encryption
passphrase defined during the initial ePO software installation. If necessary, you can change it from the
ePO Server Settings page.
▪ Remember, registered executable files are not backed up. You must replace those executable files when
you restore the ePO server.
McAfee Confidential. McAfee restricts the re-distribution of this training material to unauthorized audiences.