Monday, October 7, 2013

ePO server backup and disaster recovery procedure

ePO server backup and disaster recovery procedure
The following detail has been taken from McAfee knowledge base as a handy link for backup and recovery

Reference: https://kc.mcafee.com/corporate/index?page=content&id=KB66616

Environment

McAfee ePolicy Orchestrator (ePO) 5.x, 4.x

For details of all supported operating systems, see KB51109.

Solution

IMPORTANT:
  • This procedure is intended for use by network and ePO administrators only. McAfee does not assume responsibility for any damage incurred because they are intended as guidelines for disaster recovery. All liability for use of the following information remains with the user.
  • The procedure is for use with ePO 4.5, 4.6, and 5.x servers only. For ePO 5.x users, it is preferable to use the built-in Disaster Recovery feature and only use these steps if a valid Snapshot was not created and a manual recovery is required.
  • The Operating System (OS) must be the same if you are going to re-install the OS.
  • You must reinstall ePO to the exact same directory path as the previous installation or initialization of extensions will fail when the restore is complete. See KB70685 for a Product Management statement regarding this limitation.

NOTES:
  • The Agent uses either the last known IP address, DNS name, or NetBIOS name of the ePO server. If you change any one of these, ensure that the Agents have a way to locate the server. The easiest way to do this would be to retain the existing DNS record and change it to point to the new IP address of the ePO server. After the Agent is able to successfully connect to the ePO server, it downloads an updated SiteList.xml with the current information.
  • The procedure can also be used by customers who want to migrate the ePO server to another system. For ePO 5.x users, it is preferable to use the built-in Disaster Recovery feature to migrate the ePO server to another system.

Preparation
To ensure a smooth recovery, do not perform a backup while the server is in the middle of installing an extension.

Before backing up
If possible, shut down the McAfee ePolicy Orchestrator Application Server service (Tomcat) entirely when doing the backup. Otherwise, ensure that no one is performing the following actions during the backup:
  • Installing, uninstalling, or upgrading an extension
  • Updating the ePO database configuration 

Backing up1. Use the following to back up the SQL database (normally named ePO4_, where the is your ePO 4.5 / 4.6 server name):
  • See article KB59562 - How to back up the ePO database using OSQL commands, or KB52126 - How to back up and restore the ePO database using Enterprise Manager/ Management Studio.
  • SQL Enterprise Manager 
2. You must also backup the following folder paths (the default installation path is used - your installation might differ):
 
C:\Program Files\McAfee\ePolicy Orchestrator\SERVER\
All installed extensions and configuration information for the ePO Application Server service is found here.

NOTE:
 If you want to reduce the number of items to back up from the \SERVER folder backup, consider excluding onlythe following:
  • C:\Program Files\McAfee\ePolicy Orchestrator \server\logs (server log files)
  • C:\Program Files\McAfee\ePolicy Orchestrator\server\cache (Contains cached information that ePO creates and uses, such as generated chart images. ePO will regenerate that information, if deleted.)
  • C:\Program Files\McAfee\ePolicy Orchestrator\server\work (Contains cached information about web applications registered with Tomcat. Tomcat will regenerate that information, if deleted.)
C:\Program Files\McAfee\ePolicy Orchestrator\DB \SOFTWARE\All Products that have been checked into the Master Repository are located here.

C:\Program Files\McAfee\ePolicy Orchestrator\DB \KEYSTORE\
The Agent to Server Communication and Repository Keys that are unique to your installation are located here. Failing to restore this folder results in re-pushing the agent to all your systems, and checking in all of your deployable packages again.

C:\Program Files\McAfee\ePolicy Orchestrator\APACHE2\CONFThe Server configuration settings for Apache, the SSL Certificates needed to authorize the server to handle agent requests, and Console Certificates are located here. Failure to back up and restore this directory results in a re-installation of ePO to create new ones and possibly using a clean database installation.
 

Recovery
  1. Delete the ePO database on the SQL server.
    If you do not know how to perform the MSSQL operation, refer to http://technet.microsoft.com/en-us/library/ms177419.aspx or contact Microsoft Support.
     
  2. If restoring ePO to the same system, uninstall ePO. Ensure that there is no ePolicy Orchestrator folder in the original install path after the software is uninstalled.

    NOTE: Renaming the existing ePolicy Orchestrator folder and leaving the old directory in place may interfere with the new installation. McAfee recommends that you remove the old directory completely.
     
  3. Reinstall ePO to the same version and patch level as the server you are restoring.

    NOTE: You can verify the ePO patch level by looking at the Version field in the backed up Server.ini file (C:\Program Files\McAfee\ePolicy Orchestrator\DB\) and cross referencing it with article KB59938 - Version information for ePolicy Orchestrator.

    IMPORTANT: 
    You must reinstall ePO to the exact same directory path as the previous installation or initialization of extensions will fail when the restore is complete. Also, you do not have to specify the same port configuration except for the database. The ports are restored to the previous installation values during the restore.
     
  4. Apply any additional patches/hotfixes/POCs to ePO that had been previously applied.

    For ePO 4.x:- If you have previously installed Policy Auditor 5.x for use with ePO, install the same version of Policy Auditor (including the hotfix release) that had been installed before.
    - If you have previously installed McAfee NAC 3.x or McAfee NAC 4.0  for use with ePO, install the same version of McAfee NAC (including the hotfix release) that had been installed before.

    For ePO 5.x: - If you have previously installed Policy Auditor 6.2 for use with ePO, install the same version of Policy Auditor (including any hotfix releases) that had been installed before.

     
  5. After installing, stop and disable all ePO services:

    1. Click StartRun, type services.msc, and click OK.
    2. Right-click each of the following services and select Stop:

      McAfee ePolicy Orchestrator Application Server
      McAfee ePolicy Orchestrator Event Parser
      McAfee ePolicy Orchestrator Server
       
    3. Double-click each of the following services and change Startup type to Disabled:

      McAfee ePolicy Orchestrator Application Server
      McAfee ePolicy Orchestrator Event Parser
      McAfee ePolicy Orchestrator Server
        
  6. Restore the database.

    NOTE: 
    Restore the database so that you do not require the ePO database configuration to be updated (for example: same name, host, port, and so on). Otherwise, you must update the restored DB.PROPERTIES file in C:\Program Files\McAfee\ePolicy Orchestrator \server\conf\Orion with the new information before starting up the server.
     
  7. Delete the following folders, then replace them with the corresponding folders that were backed up earlier:

    C:\Program Files\McAfee\ePolicy Orchestrator\SERVER\
    C:\Program Files\McAfee\ePolicy Orchestrator\APACHE2\CONF
    C:\Program Files\McAfee\ePolicy Orchestrator\DB \SOFTWARE\
    C:\Program Files\McAfee\ePolicy Orchestrator\DB \KEYSTORE\  
  8. Before you enable and start the ePO services, ensure that the contents (version numbers) of the C:\Program Files\McAfee\ePolicy Orchestrator\server\extensions\installed folder match the extensions listed in theOrionExtensions table.

    To check the contents of the OrionExtensions table, access the SQL Tools and run the following T-SQL command:

    Select * from OrionExtensions

    If there is a mismatch on server startup, the server removes each extension not listed in the OrionExtensions table. If this happens, check in these extensions again and also restore the database again.
     
  9. Start the McAfee ePolicy Orchestrator Application Server service.

    NOTE: 
    You must start this service for RunDllGenCerts to work.
     
  10. Rename the SSL.CRT folder (see path below) to SSL.CRT.OLD and manually create an empty folder named SSL.CRT in the same path, otherwise the setup will fail to create a new Cert:

    32-bit: "C:\Program Files\McAfee\ePolicy Orchestrator\APACHE2\CONF\SSL.CRT"
    64-bit: "C:\Program Files (x86)\McAfee\ePolicy Orchestrator\APACHE2\CONF\SSL.CRT"

     
  11. Click StartRun, type cmd, and click OK.
  12. Change directories to your ePO installation directory.

    Default path:

    32-bit: Program Files\McAfee\ePolicy Orchestrator\
    64-bit: Program Files (x86)\McAfee\ePolicy Orchestrator\
     
  13. Run the following command:

    IMPORTANT: - This command will fail if you have enabled User Account Control (UAC) on this server. If this is a Windows Server 2008 or later, disable this feature. You can find more information about UAC at: http://technet.microsoft.com/en-us/library/cc709691(WS.10).aspx.
    - This command is case-sensitive. The ahsetup.log (found in ) provides information about whether the command succeeded or failed and will state if it used the files located in the ssl.crt folder

    Rundll32.exe ahsetup.dll RunDllGenCerts  <"installdir\Apache2\conf\ssl.crt">

    where:

     is your ePO server's NetBIOS Name
     is your ePO Console Port (default is 8443)
     is admin (use the default ePO admin account)
     is the password to the ePO Admin console account
     is your installation path to the Apache folder; Default installation path:

        32-bit: "C:\Program Files\McAfee\ePolicy Orchestrator\APACHE2\CONF\SSL.CRT"
        64-bit: "C:\Program Files (x86)\McAfee\ePolicy Orchestrator\APACHE2\CONF\SSL.CRT"

    Example:Rundll32.exe ahsetup.dll RunDllGenCerts eposervername 8443 administrator password "C:\Program Files\McAfee\ePolicy Orchestrator\APACHE2\CONF\SSL.CRT"
     
  14. Start the following services:

    McAfee ePolicy Orchestrator Event Parser
    McAfee ePolicy Orchestrator Server

     
  15. Look in the DB/logs/server.log to ensure that the Agent Handler (Apache server) started correctly.  It should state something similar to the following:

    20090923173647        I           #4108  NAIMSRV      ePolicy Orchestrator server started.
    If it does not, there will be an error similar to:

    20090923173319       E          #4736  NAIMSRV      Failed to get server key information.

     

18 comments:

Hi,All the companies can join the SAIF Zone social network with Business setup in Qatar and benefit from its facilities and do their business easily. Thanks...

Where can I find built-in Disaster Recovery feature on ePO

Thanks for your blog. I just landed up in your blog and I really appreciate your blog. It is full of resourceful information.
Disaster Restoration Web Design

Thanks for best information about disaster recovery server. really nice and helpful post. thanks again!! :)

Must say that overall I am really impressed with this blog.It is easy to see that you are passionate about your writing.If only I had your writing ability I look forward to more updates and will be returning.

To eliminate your McAfee related technical issues and to find the best tech support for solution, Contact Mcafee Helpline on our Mcafee Contact Number, (UK) 0800-014-8929, and watch us take care of everything else.
mcafee help
mcafee uk

Thanks for sharing. i really appreciate it that you shared with us such a informative post. Mcafee Support | Mcafee Customer Service

I really appreciate it that you shared with us such a informative post,Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really it's great article. Keep it up. Mcafee UK | Mcafee Customer Service

I just want to say that all the information you have given here on is awesome. Thank you.Avast Phone Number | Contact Avast

Great article, resonated with me from start to finish
mcafee uk

Great article, resonated with me from start to finish
mcafee uk | mcafee number

Good article,resonated with me from start to finish.Mcafee Number | Mcafee UK

Great article, resonated with me from start to finish
mcafee uk | mcafee phone number |

Thank you for the information,Good Blog.If you need assistance regarding Mcafee problems please contact 0800-014-8929.Mcafee Customer Service | Mcafee Phone Number |

I have scrutinized your blog extraordinary information on this blog and so many interesting stuff in your blog especially its discussion. Really it's great article.Mcafee UK | Mcafee Phone Number

Hello Everyone,
Get Free Kelpline Services by us pls visit.Mcafee UK | Mcafee Phone Number

Epo Server Backup And Disaster Recovery Procedure ~ Information Security Blog >>>>> Download Now

>>>>> Download Full

Epo Server Backup And Disaster Recovery Procedure ~ Information Security Blog >>>>> Download LINK

>>>>> Download Now

Epo Server Backup And Disaster Recovery Procedure ~ Information Security Blog >>>>> Download Full

>>>>> Download LINK

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More