SlideShare a Scribd company logo
1 of 11
Download to read offline
HP ArcSight Express
Software Version: AE 4.0
Technical Note: ArcSight Express Backup and Recovery
December 14, 2015
Legal Notices
Warranty
The only warranties for HP products and services are set forth in the express warranty statements accompanying such products
and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or
editorial errors or omissions contained herein.
The information contained herein is subject to change without notice.
The network information used in the examples in this document (including IP addresses and hostnames) is for illustration
purposes only.
HP ArcSight products are highly flexible and function as you configure them. The accessibility, integrity, and confidentiality of
your data is your responsibility. Implement a comprehensive security strategy and follow good security practices.
This document is confidential.
Restricted Rights Legend
Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211
and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items
are licensed to the U.S. Government under vendor's standard commercial license.
Copyright Notice
© Copyright 2015 Hewlett-Packard Development Company, L.P.
Follow this link to see a complete statement of copyrights and acknowledgements:
http://www.hpenterprisesecurity.com/copyright
Support
Phone A list of phone numbers is available on the HP ArcSight Technical Support
Page: https://softwaresupport.hp.com/documents/10180/14684/esp-support-
contact-list
Support Web Site https://softwaresupport.hp.com
Protect 724 Community https://protect724.hp.com
Contact Information
HP ArcSight Express (4.0) Page 2 of 11
Contents
Summary 4
Backing up ESM with CORR-Engine 5
Restoring ESM with CORR-Engine 8
Send Documentation Feedback 11
HP ArcSight Express (4.0) Page 3 of 11
Summary
The information in this technical note applies to ArcSight Express 4.0. This procedure is for backing up
the CORR-Engine and restoring it to the same machine or a new machine that has been set up to look
exactly like the original machine.
This does not cover backup and restore of the ConApp and connectors.
To back up the entire installation in one operation, stop all services and make a copy of /opt/arcsight
on another storage medium. Include /etc/hosts and /etc/init.d. This can take a long time, if you
have terabytes of data.
For all backup operations, back up directly to data storage media other than the one the data is currently
on. You should make sure that this backup media is large enough, so take the time to add up the sizes
of all the relevant files and folders. Database tables compress pretty well, but event archives do not.
The more selective backup and restore procedures are as follows.
Back up the CORR-Engine:
l Shutdown ESM services except mysqld and postgresql.
l Backup selected files and folders.
l Export certain database tables.
l Export trends.
l Back up configuration data.
l Back up archive data.
l Restart the services.
Restore:
l Import database tables.
l Import trend data.
l Restore configuration data.
l Restore the files and folders you backed up.
l Restore archive data.
l Start all services.
HP ArcSight Express (4.0) Page 4 of 11
Backing up ESM with CORR-Engine
Use this procedure to back up the AE 4.0 CORR-Engine and data. It is expected that for every file,
directory, and exported database table, that you save the backup copy in some safe location on another
machine.
1. Stop your connectors:
If you stop the connectors, they mark the event where they left off and start in the same place
when you restart them. Eventually they catch up. If you let the connectors run after ESM has been
stopped, they will cache the data they are collecting. When you restart ESM, all connectors dump
their cached events to ESM at the same time. If you have many connectors, the sudden dump
from all of them can overload the system and some events might be dropped. Therefore, we
recommend that you stop all connectors before step 2.
2. Stop services:
Run the arcsight_services command as user arcsight to shut down all services except the
mysqld service and the postgresql service. Refer to the "ArcSight_Services Command" topic in
the "Administrative Commands" appendix of the ESM Administrator's Guide.
3. Back up files:
Back up the following files and folders using the copy command.
n /home/arcsight/.bash_profile
n /opt/arcsight/logger/data/mysql/my.cnf
n /etc/hosts
n /opt/arcsight/manager/config/server.properties
n /opt/arcsight/manager/config/database.properties
n /opt/arcsight/logger/current/arcsight/logger/user/logger/logger.properties
n /opt/arcsight/manager/config/server.wrapper.conf
n /opt/arcsight/manager/config/jetty
n /opt/arcsight/manager/jre/lib/security/cacerts
n /opt/arcsight/manager/user/manager/license/arcsight.lic
4. Export system tables:
Technical Note: ArcSight Express Backup and Recovery
HP ArcSight Express (4.0) Page 5 of 11
Run the export_system_tables command:
/opt/arcsight/manager/bin/arcsight export_system_tables arcsight <mysql_
password> arcsight –s
This generates a very large file, so you are recommended to run
gzip /opt/arcsight/manager/tmp/arcsight_dump_system_tables.sql
and then back up the resulting .gz file to your safe backup location.
5. Dump selected tables:
Export selected tables from the database (as user arcsight) using the following command format:
/opt/arcsight/logger/current/arcsight/bin/mysqldump -uarcsight -p arcsight
${tablename}| gzip > /tmp/${tablename}.sql.gz
...where:
-uarcsight says to use the database user account called arcsight.
-p followed by a space means it prompts you for a password.
arcsight is the name of the database.
${tablename} is the name of the table to export, from the list, below.
The path, /tmp/, in this case, can be anywhere you want.
Specify the following tables:
n user_sequences
n arc_event_annotation
n arc_event_annotation_p
n arc_event_payload
n arc_event_payload_p
This command uses compression to greatly reduce disk space. For large databases, compression
is also likely to make the commands finish faster.
The user_sequences table is the table where the ESM manager gets the event IDs from the
database. Export the user_sequences table daily.
When the export is complete, copy the .gz file to the same backup location as the other files you
backed up off the machine.
6. Export trends:
If you need to keep trends, use the following commands to export them. You should be logged in
as user arcsight. Enter each line on the command line and press return:
DBTODUMP=arcsight
Technical Note: ArcSight Express Backup and Recovery
HP ArcSight Express (4.0) Page 6 of 11
SQL="SET group_concat_max_len = 10240;"
SQL="${SQL} SELECT GROUP_CONCAT(table_name separator ' ')"
SQL="${SQL} FROM information_schema.tables WHERE table_schema='${DBTODUMP}'"
SQL="${SQL} AND (table_name like 'arc_trend%');"
TBLIST=`/opt/arcsight/logger/current/arcsight/bin/mysql -u arcsight –p<mysql_
password> -AN -e"${SQL}"`
/opt/arcsight/logger/current/arcsight/bin/mysqldump -u arcsight -p ${DBTODUMP}
${TBLIST} > /tmp/arcsight_trends.sql
When the export is complete, copy the .sql file to the same backup location as the other files you
backed up off the machine.
7. Back up archive data:
Make a note of the following, which must match exactly on the machine to which you restore:
n Operating system and version
n Computer domain name and hostname
n File system type
n Path to the archive locations for each storage group
n ESM version
n MySQL password
n Timezone of the machine
8. Back up the archive located at /opt/arcsight/logger/data/archives. Back it up separately. If
the archive location has been moved to a SAN, set up a backup schedule there.
If you cannot afford to lose events that occurred since midnight, when the last archive was
created, back up /opt/arcsight/logger/data/logger. However, in addition to the un-archived
data since midnight, you also get events from each day from yesterday to the beginning of your
retention period, which are also in the archives.
This backup also has to include the metadata. Make sure the postgresql service is up and running
(bring it up if it’s down).
Run this command:
/opt/arcsight/logger/current/arcsight/bin/pg_dump -d rwdb -c -n data -U web
|gzip -9 -v > /tmp/postgres_data.sql.gz
Copy postgres_data.sql.gz to a backup location.
9. Restart services:
Technical Note: ArcSight Express Backup and Recovery
HP ArcSight Express (4.0) Page 7 of 11
Run the following command as user arcsight to restart services. Skip this if your next step is to
upgrade the operating system or reinstall ESM.
/etc/init.d/arcsight_services start all
10. Restart connectors
Restoring ESM with CORR-Engine
This procedure is designed for restoring to the same machine. Make sure the following characteristics
have not changed since you made your backups:
l Operating system and version
l Computer domain name and hostname
l File system type
l Path to the archive locations for each storage group
l ESM version
l MySQL password
l Timezone of the machine
1. Stop your connectors:
If you stop the connectors, they mark the event where they left off and start in the same place
when you restart them. Eventually they catch up. If you let the connectors run after ESM has been
stopped, they will cache the data they are collecting. when you restart ESM, all connectors dump
their cached events to ESM at the same time. If you have many connectors, the sudden dump
from all of them can overload the system and some events might be dropped. Therefore, we
recommend that you stop all connectors before step 2.
2. Stop services:
Run the arcsight_services command as user arcsight to shut down all services except the
mysqld service and the postgresql service. Refer to the "ArcSight_Services Command" topic in
the "Administrative Commands" appendix of the ESM Administrator's Guide.
3. Import system tables:
If you compressed the exported file with gzip, unzip it with this command:
gzip -d <path>/arcsight_dump_system_tables.sql.gz
Technical Note: ArcSight Express Backup and Recovery
HP ArcSight Express (4.0) Page 8 of 11
Run the import_system_tables command as user arcsight.
/opt/arcsight/manager/bin/arcsight import_system_tables arcsight <mysql_
password> arcsight <path>/arcsight_dump_system_tables.sql
4. Import trend data:
To import trend data, run the following command on the command line as user arcsight:
/opt/arcsight/logger/current/arcsight/bin/mysql -u arcsight -p arcsight <
/tmp/arcsight_trends.sql
This command assumes that your trend data has been copied from backup to the /tmp/ directory.
Your file name or directory may be different.
5. Restore files:
Restore all the files listed in "Back up files:" on page 5.
6. Restore archive data.
Copy all of the backup copies of the archives (that were in
/opt/arcsight/logger/data/archives) to a mounted directory: /opt/old_archives.
Run the restorearchives command as follows:
/opt/arcsight/logger/current/arcsight/logger/bin/arcsight restorearchives -r
/opt/old_archives –C clear
Note: -C clear Clears all events currently in the system and deletes any existing archive files
that are currently listed in the database. It does this before the restoration operation to clear out the
system.
This command allows you to restore archive backups to a new system after a system failure. This
tool assumes that you have already copied the archive backups to the location on the new system
where your storage archive is located. That is, this restoration does not copy the archives into the
system, you do that. It is restoring these archive entries to the new system’s database. The
command does not copy archive files to the /opt/arcsight/logger/data/archives directory.
Refer to the ESM Administrator’s Guide, in "Appendix A: Administrative Commands," for the
syntax and more information.
If you backed up /opt/arcsight/logger/data/logger, restore it, too. Then restore the
metadate by running these two commands:
gzip -d /opt/backup/postgres_data.sql.gz
/opt/arcsight/logger/current/arcsight/bin/psql -d rwdb -U web -f
/opt/backup/postgres_data.sql
Technical Note: ArcSight Express Backup and Recovery
HP ArcSight Express (4.0) Page 9 of 11
These commands assume that your backup file is in the /opt/backup directory. Change it to
wherever you backed up that file.
7. Restore dumped tables:
Run the following commands as user arcsight to restore the tables that were exported with the
mysqldump command:
gzip –d /tmp/${tablename}.sql.gz
/opt/arcsight/logger/current/arcsight/bin/mysql -uarcsight -p arcsight <
/tmp/${tablename}.sql
...where:
-uarcsight says to use the database user account called arcsight.
-p followed by a space means it prompts you for a password.
The next arcsight is the name of the database.
${tablename} is the name of the table to export.
The path, /tmp/, in this case, is wherever you are restoring the table from.
Run the following command to stop and start mysqld:
/sbin/service arcsight_services stop mysqld
/sbin/service arcsight_services start mysqld
8. Restart services:
Run the following commands as user root to restart services:
/opt/arcsight/manager/bin/setup_services.sh
/etc/init.d/arcsight_services start all
9. Restart connectors
Technical Note: ArcSight Express Backup and Recovery
HP ArcSight Express (4.0) Page 10 of 11
Send Documentation Feedback
If you have comments about this document, you can contact the documentation team by email. If an
email client is configured on this system, click the link above and an email window opens with the
following information in the subject line:
Feedback on Technical Note: ArcSight Express Backup and Recovery (ArcSight Express 4.0)
Just add your feedback to the email and click send.
If no email client is available, copy the information above to a new message in a web mail client, and
send your feedback to arc-doc@hpe.com.
We appreciate your feedback!
HP ArcSight Express (4.0) Page 11 of 11

More Related Content

What's hot

What's hot (20)

Les 12 fl_db
Les 12 fl_dbLes 12 fl_db
Les 12 fl_db
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
 
Less18 moving data
Less18 moving dataLess18 moving data
Less18 moving data
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 
R12.2 dba
R12.2 dbaR12.2 dba
R12.2 dba
 
Les 06 rec
Les 06 recLes 06 rec
Les 06 rec
 
Les 11 fl2
Les 11 fl2Les 11 fl2
Les 11 fl2
 
Les 10 fl1
Les 10 fl1Les 10 fl1
Les 10 fl1
 
Server control utility reference
Server control utility referenceServer control utility reference
Server control utility reference
 
Les 19 space_db
Les 19 space_dbLes 19 space_db
Les 19 space_db
 
Les 13 memory
Les 13 memoryLes 13 memory
Les 13 memory
 
Les 15 perf_sql
Les 15 perf_sqlLes 15 perf_sql
Les 15 perf_sql
 
Xpp c user_rec
Xpp c user_recXpp c user_rec
Xpp c user_rec
 
Backup and Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery Procedure
 
Les 18 space
Les 18 spaceLes 18 space
Les 18 space
 
Les 17 sched
Les 17 schedLes 17 sched
Les 17 sched
 
Les 20 dup_db
Les 20 dup_dbLes 20 dup_db
Les 20 dup_db
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
 
Les 09 diag
Les 09 diagLes 09 diag
Les 09 diag
 
Les 16 resource
Les 16 resourceLes 16 resource
Les 16 resource
 

Similar to Ae backup

ESM Upgrade Guide (ESM v6.9.1c)
ESM Upgrade Guide (ESM v6.9.1c)ESM Upgrade Guide (ESM v6.9.1c)
ESM Upgrade Guide (ESM v6.9.1c)Protect724tk
 
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1Protect724mouni
 
ESM 6.9.1c Release Notes
ESM 6.9.1c Release NotesESM 6.9.1c Release Notes
ESM 6.9.1c Release NotesProtect724tk
 
ArcMC 2.5.1 Release Notes
ArcMC 2.5.1 Release Notes	ArcMC 2.5.1 Release Notes
ArcMC 2.5.1 Release Notes Protect724mouni
 
ArcSight Management Center 2.5 Release Notes
ArcSight Management Center 2.5 Release NotesArcSight Management Center 2.5 Release Notes
ArcSight Management Center 2.5 Release NotesProtect724mouni
 
ESM 6.9.1c Patch1 Release Notes
	ESM 6.9.1c Patch1 Release Notes 	ESM 6.9.1c Patch1 Release Notes
ESM 6.9.1c Patch1 Release Notes Protect724tk
 
6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tierbalaji29
 
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?vasuballa
 
Esm event datatransfertool
Esm event datatransfertoolEsm event datatransfertool
Esm event datatransfertoolProtect724v3
 
Event Data Transfer Tool 1.2 User's Guide
Event Data Transfer Tool 1.2 User's GuideEvent Data Transfer Tool 1.2 User's Guide
Event Data Transfer Tool 1.2 User's GuideProtect724v3
 
ESM 6.8 HA OS Upgrade from RHEL 6.5, 6.6, or 6.7 t..
ESM 6.8 HA OS Upgrade from RHEL 6.5, 6.6, or 6.7 t..ESM 6.8 HA OS Upgrade from RHEL 6.5, 6.6, or 6.7 t..
ESM 6.8 HA OS Upgrade from RHEL 6.5, 6.6, or 6.7 t..Protect724tk
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuWirabumi Software
 
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0Protect724v2
 
Esm rel notes_6.8cp4
Esm rel notes_6.8cp4Esm rel notes_6.8cp4
Esm rel notes_6.8cp4Protect724v3
 
HPE ArcSight RepSM Plus Model Import Connector Config Guide
HPE ArcSight RepSM Plus Model Import Connector Config GuideHPE ArcSight RepSM Plus Model Import Connector Config Guide
HPE ArcSight RepSM Plus Model Import Connector Config Guideprotect724rkeer
 
Leveraging Open Source to Manage SAN Performance
Leveraging Open Source to Manage SAN PerformanceLeveraging Open Source to Manage SAN Performance
Leveraging Open Source to Manage SAN Performancebrettallison
 

Similar to Ae backup (20)

ESM Upgrade Guide (ESM v6.9.1c)
ESM Upgrade Guide (ESM v6.9.1c)ESM Upgrade Guide (ESM v6.9.1c)
ESM Upgrade Guide (ESM v6.9.1c)
 
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1
Migrating ESM Resources From Oracle to CORR-Engine for ESM 6.5c SP1
 
ESM 6.9.1c Release Notes
ESM 6.9.1c Release NotesESM 6.9.1c Release Notes
ESM 6.9.1c Release Notes
 
Upgrade Guide for ESM 6.8c
Upgrade Guide for ESM 6.8cUpgrade Guide for ESM 6.8c
Upgrade Guide for ESM 6.8c
 
ArcMC 2.5.1 Release Notes
ArcMC 2.5.1 Release Notes	ArcMC 2.5.1 Release Notes
ArcMC 2.5.1 Release Notes
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
ArcMC 2.6 Release Notes
ArcMC 2.6 Release NotesArcMC 2.6 Release Notes
ArcMC 2.6 Release Notes
 
ArcSight Management Center 2.5 Release Notes
ArcSight Management Center 2.5 Release NotesArcSight Management Center 2.5 Release Notes
ArcSight Management Center 2.5 Release Notes
 
ESM 6.9.1c Patch1 Release Notes
	ESM 6.9.1c Patch1 Release Notes 	ESM 6.9.1c Patch1 Release Notes
ESM 6.9.1c Patch1 Release Notes
 
6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier6048618 cloning-procedure-of-r12-single-tier
6048618 cloning-procedure-of-r12-single-tier
 
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
 
Esm event datatransfertool
Esm event datatransfertoolEsm event datatransfertool
Esm event datatransfertool
 
Event Data Transfer Tool 1.2 User's Guide
Event Data Transfer Tool 1.2 User's GuideEvent Data Transfer Tool 1.2 User's Guide
Event Data Transfer Tool 1.2 User's Guide
 
ESM 6.8 HA OS Upgrade from RHEL 6.5, 6.6, or 6.7 t..
ESM 6.8 HA OS Upgrade from RHEL 6.5, 6.6, or 6.7 t..ESM 6.8 HA OS Upgrade from RHEL 6.5, 6.6, or 6.7 t..
ESM 6.8 HA OS Upgrade from RHEL 6.5, 6.6, or 6.7 t..
 
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in UbuntuHow To Install Openbravo ERP 2.50 MP43 in Ubuntu
How To Install Openbravo ERP 2.50 MP43 in Ubuntu
 
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
Upgrading ArcSight Express 3.0 to ArcSight Express 4.0
 
ESM_UpgradingTo5.6.pdf
ESM_UpgradingTo5.6.pdfESM_UpgradingTo5.6.pdf
ESM_UpgradingTo5.6.pdf
 
Esm rel notes_6.8cp4
Esm rel notes_6.8cp4Esm rel notes_6.8cp4
Esm rel notes_6.8cp4
 
HPE ArcSight RepSM Plus Model Import Connector Config Guide
HPE ArcSight RepSM Plus Model Import Connector Config GuideHPE ArcSight RepSM Plus Model Import Connector Config Guide
HPE ArcSight RepSM Plus Model Import Connector Config Guide
 
Leveraging Open Source to Manage SAN Performance
Leveraging Open Source to Manage SAN PerformanceLeveraging Open Source to Manage SAN Performance
Leveraging Open Source to Manage SAN Performance
 

More from Protect724v2

ArcSight Web User's Guide for ArcSight Express v4.0
ArcSight Web User's Guide for ArcSight Express v4.0ArcSight Web User's Guide for ArcSight Express v4.0
ArcSight Web User's Guide for ArcSight Express v4.0Protect724v2
 
HPE ArcSight ESM Support Matrix
HPE ArcSight ESM Support MatrixHPE ArcSight ESM Support Matrix
HPE ArcSight ESM Support MatrixProtect724v2
 
Zone_Subscription_Update_Guide.pdf
Zone_Subscription_Update_Guide.pdfZone_Subscription_Update_Guide.pdf
Zone_Subscription_Update_Guide.pdfProtect724v2
 
Configuration Guide for ArcSight Express v4.0
Configuration Guide for ArcSight Express v4.0Configuration Guide for ArcSight Express v4.0
Configuration Guide for ArcSight Express v4.0Protect724v2
 
ESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdf
ESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdfESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdf
ESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdfProtect724v2
 
Management Console User's Guide for ArcSight Express v4.0
Management Console User's Guide for ArcSight Express v4.0Management Console User's Guide for ArcSight Express v4.0
Management Console User's Guide for ArcSight Express v4.0Protect724v2
 
Release Notes for ArcSight Express v4.0
Release Notes for ArcSight Express v4.0Release Notes for ArcSight Express v4.0
Release Notes for ArcSight Express v4.0Protect724v2
 
ESM_ServiceLayer_DevGuide_1.0.pdf
ESM_ServiceLayer_DevGuide_1.0.pdfESM_ServiceLayer_DevGuide_1.0.pdf
ESM_ServiceLayer_DevGuide_1.0.pdfProtect724v2
 
Admin and System/Core Standard Content Guide for ArcSight Express v4.0
Admin and System/Core Standard Content Guide for ArcSight Express v4.0Admin and System/Core Standard Content Guide for ArcSight Express v4.0
Admin and System/Core Standard Content Guide for ArcSight Express v4.0Protect724v2
 
ESM_SCG_AdminSystem_6.9.0.pdf
ESM_SCG_AdminSystem_6.9.0.pdfESM_SCG_AdminSystem_6.9.0.pdf
ESM_SCG_AdminSystem_6.9.0.pdfProtect724v2
 
ESM_CasesUI_Customizations_6.9.0.pdf
ESM_CasesUI_Customizations_6.9.0.pdfESM_CasesUI_Customizations_6.9.0.pdf
ESM_CasesUI_Customizations_6.9.0.pdfProtect724v2
 
Connector Management User's Guide for ArcSight Express v4.0
Connector Management User's Guide for ArcSight Express v4.0Connector Management User's Guide for ArcSight Express v4.0
Connector Management User's Guide for ArcSight Express v4.0Protect724v2
 
Reputation Security Monitor (RepSM) v1.01 Release Notes for ArcSight Express ...
Reputation Security Monitor (RepSM) v1.01 Release Notes for ArcSight Express ...Reputation Security Monitor (RepSM) v1.01 Release Notes for ArcSight Express ...
Reputation Security Monitor (RepSM) v1.01 Release Notes for ArcSight Express ...Protect724v2
 
Reputation Security Monitor (RepSM) v1.01 Solution Guide for ArcSight Express...
Reputation Security Monitor (RepSM) v1.01 Solution Guide for ArcSight Express...Reputation Security Monitor (RepSM) v1.01 Solution Guide for ArcSight Express...
Reputation Security Monitor (RepSM) v1.01 Solution Guide for ArcSight Express...Protect724v2
 
Forwarding Connector v5.2.7.6582.0 User's Guide for ArcSight Express v4.0
Forwarding Connector v5.2.7.6582.0 User's Guide for ArcSight Express v4.0Forwarding Connector v5.2.7.6582.0 User's Guide for ArcSight Express v4.0
Forwarding Connector v5.2.7.6582.0 User's Guide for ArcSight Express v4.0Protect724v2
 
FwdConn_ConfigGuide_7.1.3.7495.0.pdf
FwdConn_ConfigGuide_7.1.3.7495.0.pdfFwdConn_ConfigGuide_7.1.3.7495.0.pdf
FwdConn_ConfigGuide_7.1.3.7495.0.pdfProtect724v2
 
ESM_CommandCenterGuide_6.9.0.pdf
ESM_CommandCenterGuide_6.9.0.pdfESM_CommandCenterGuide_6.9.0.pdf
ESM_CommandCenterGuide_6.9.0.pdfProtect724v2
 
RepSM Model Import Connector v5.2.7.6581.0 Configuration Guide for ArcSight E...
RepSM Model Import Connector v5.2.7.6581.0 Configuration Guide for ArcSight E...RepSM Model Import Connector v5.2.7.6581.0 Configuration Guide for ArcSight E...
RepSM Model Import Connector v5.2.7.6581.0 Configuration Guide for ArcSight E...Protect724v2
 
ArcSight Express 4.0 Virtual Appliance Guide
ArcSight Express 4.0 Virtual Appliance GuideArcSight Express 4.0 Virtual Appliance Guide
ArcSight Express 4.0 Virtual Appliance GuideProtect724v2
 

More from Protect724v2 (20)

ArcSight Web User's Guide for ArcSight Express v4.0
ArcSight Web User's Guide for ArcSight Express v4.0ArcSight Web User's Guide for ArcSight Express v4.0
ArcSight Web User's Guide for ArcSight Express v4.0
 
HPE ArcSight ESM Support Matrix
HPE ArcSight ESM Support MatrixHPE ArcSight ESM Support Matrix
HPE ArcSight ESM Support Matrix
 
Zone_Subscription_Update_Guide.pdf
Zone_Subscription_Update_Guide.pdfZone_Subscription_Update_Guide.pdf
Zone_Subscription_Update_Guide.pdf
 
Configuration Guide for ArcSight Express v4.0
Configuration Guide for ArcSight Express v4.0Configuration Guide for ArcSight Express v4.0
Configuration Guide for ArcSight Express v4.0
 
ESM_101_6.9.0.pdf
ESM_101_6.9.0.pdfESM_101_6.9.0.pdf
ESM_101_6.9.0.pdf
 
ESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdf
ESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdfESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdf
ESM_ServiceLayerCoreServices_Javadoc_Vol1_1.0.pdf
 
Management Console User's Guide for ArcSight Express v4.0
Management Console User's Guide for ArcSight Express v4.0Management Console User's Guide for ArcSight Express v4.0
Management Console User's Guide for ArcSight Express v4.0
 
Release Notes for ArcSight Express v4.0
Release Notes for ArcSight Express v4.0Release Notes for ArcSight Express v4.0
Release Notes for ArcSight Express v4.0
 
ESM_ServiceLayer_DevGuide_1.0.pdf
ESM_ServiceLayer_DevGuide_1.0.pdfESM_ServiceLayer_DevGuide_1.0.pdf
ESM_ServiceLayer_DevGuide_1.0.pdf
 
Admin and System/Core Standard Content Guide for ArcSight Express v4.0
Admin and System/Core Standard Content Guide for ArcSight Express v4.0Admin and System/Core Standard Content Guide for ArcSight Express v4.0
Admin and System/Core Standard Content Guide for ArcSight Express v4.0
 
ESM_SCG_AdminSystem_6.9.0.pdf
ESM_SCG_AdminSystem_6.9.0.pdfESM_SCG_AdminSystem_6.9.0.pdf
ESM_SCG_AdminSystem_6.9.0.pdf
 
ESM_CasesUI_Customizations_6.9.0.pdf
ESM_CasesUI_Customizations_6.9.0.pdfESM_CasesUI_Customizations_6.9.0.pdf
ESM_CasesUI_Customizations_6.9.0.pdf
 
Connector Management User's Guide for ArcSight Express v4.0
Connector Management User's Guide for ArcSight Express v4.0Connector Management User's Guide for ArcSight Express v4.0
Connector Management User's Guide for ArcSight Express v4.0
 
Reputation Security Monitor (RepSM) v1.01 Release Notes for ArcSight Express ...
Reputation Security Monitor (RepSM) v1.01 Release Notes for ArcSight Express ...Reputation Security Monitor (RepSM) v1.01 Release Notes for ArcSight Express ...
Reputation Security Monitor (RepSM) v1.01 Release Notes for ArcSight Express ...
 
Reputation Security Monitor (RepSM) v1.01 Solution Guide for ArcSight Express...
Reputation Security Monitor (RepSM) v1.01 Solution Guide for ArcSight Express...Reputation Security Monitor (RepSM) v1.01 Solution Guide for ArcSight Express...
Reputation Security Monitor (RepSM) v1.01 Solution Guide for ArcSight Express...
 
Forwarding Connector v5.2.7.6582.0 User's Guide for ArcSight Express v4.0
Forwarding Connector v5.2.7.6582.0 User's Guide for ArcSight Express v4.0Forwarding Connector v5.2.7.6582.0 User's Guide for ArcSight Express v4.0
Forwarding Connector v5.2.7.6582.0 User's Guide for ArcSight Express v4.0
 
FwdConn_ConfigGuide_7.1.3.7495.0.pdf
FwdConn_ConfigGuide_7.1.3.7495.0.pdfFwdConn_ConfigGuide_7.1.3.7495.0.pdf
FwdConn_ConfigGuide_7.1.3.7495.0.pdf
 
ESM_CommandCenterGuide_6.9.0.pdf
ESM_CommandCenterGuide_6.9.0.pdfESM_CommandCenterGuide_6.9.0.pdf
ESM_CommandCenterGuide_6.9.0.pdf
 
RepSM Model Import Connector v5.2.7.6581.0 Configuration Guide for ArcSight E...
RepSM Model Import Connector v5.2.7.6581.0 Configuration Guide for ArcSight E...RepSM Model Import Connector v5.2.7.6581.0 Configuration Guide for ArcSight E...
RepSM Model Import Connector v5.2.7.6581.0 Configuration Guide for ArcSight E...
 
ArcSight Express 4.0 Virtual Appliance Guide
ArcSight Express 4.0 Virtual Appliance GuideArcSight Express 4.0 Virtual Appliance Guide
ArcSight Express 4.0 Virtual Appliance Guide
 

Recently uploaded

ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityNeo4j
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 

Recently uploaded (20)

ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
EY_Graph Database Powered Sustainability
EY_Graph Database Powered SustainabilityEY_Graph Database Powered Sustainability
EY_Graph Database Powered Sustainability
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 

Ae backup

  • 1. HP ArcSight Express Software Version: AE 4.0 Technical Note: ArcSight Express Backup and Recovery December 14, 2015
  • 2. Legal Notices Warranty The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. The information contained herein is subject to change without notice. The network information used in the examples in this document (including IP addresses and hostnames) is for illustration purposes only. HP ArcSight products are highly flexible and function as you configure them. The accessibility, integrity, and confidentiality of your data is your responsibility. Implement a comprehensive security strategy and follow good security practices. This document is confidential. Restricted Rights Legend Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. Copyright Notice © Copyright 2015 Hewlett-Packard Development Company, L.P. Follow this link to see a complete statement of copyrights and acknowledgements: http://www.hpenterprisesecurity.com/copyright Support Phone A list of phone numbers is available on the HP ArcSight Technical Support Page: https://softwaresupport.hp.com/documents/10180/14684/esp-support- contact-list Support Web Site https://softwaresupport.hp.com Protect 724 Community https://protect724.hp.com Contact Information HP ArcSight Express (4.0) Page 2 of 11
  • 3. Contents Summary 4 Backing up ESM with CORR-Engine 5 Restoring ESM with CORR-Engine 8 Send Documentation Feedback 11 HP ArcSight Express (4.0) Page 3 of 11
  • 4. Summary The information in this technical note applies to ArcSight Express 4.0. This procedure is for backing up the CORR-Engine and restoring it to the same machine or a new machine that has been set up to look exactly like the original machine. This does not cover backup and restore of the ConApp and connectors. To back up the entire installation in one operation, stop all services and make a copy of /opt/arcsight on another storage medium. Include /etc/hosts and /etc/init.d. This can take a long time, if you have terabytes of data. For all backup operations, back up directly to data storage media other than the one the data is currently on. You should make sure that this backup media is large enough, so take the time to add up the sizes of all the relevant files and folders. Database tables compress pretty well, but event archives do not. The more selective backup and restore procedures are as follows. Back up the CORR-Engine: l Shutdown ESM services except mysqld and postgresql. l Backup selected files and folders. l Export certain database tables. l Export trends. l Back up configuration data. l Back up archive data. l Restart the services. Restore: l Import database tables. l Import trend data. l Restore configuration data. l Restore the files and folders you backed up. l Restore archive data. l Start all services. HP ArcSight Express (4.0) Page 4 of 11
  • 5. Backing up ESM with CORR-Engine Use this procedure to back up the AE 4.0 CORR-Engine and data. It is expected that for every file, directory, and exported database table, that you save the backup copy in some safe location on another machine. 1. Stop your connectors: If you stop the connectors, they mark the event where they left off and start in the same place when you restart them. Eventually they catch up. If you let the connectors run after ESM has been stopped, they will cache the data they are collecting. When you restart ESM, all connectors dump their cached events to ESM at the same time. If you have many connectors, the sudden dump from all of them can overload the system and some events might be dropped. Therefore, we recommend that you stop all connectors before step 2. 2. Stop services: Run the arcsight_services command as user arcsight to shut down all services except the mysqld service and the postgresql service. Refer to the "ArcSight_Services Command" topic in the "Administrative Commands" appendix of the ESM Administrator's Guide. 3. Back up files: Back up the following files and folders using the copy command. n /home/arcsight/.bash_profile n /opt/arcsight/logger/data/mysql/my.cnf n /etc/hosts n /opt/arcsight/manager/config/server.properties n /opt/arcsight/manager/config/database.properties n /opt/arcsight/logger/current/arcsight/logger/user/logger/logger.properties n /opt/arcsight/manager/config/server.wrapper.conf n /opt/arcsight/manager/config/jetty n /opt/arcsight/manager/jre/lib/security/cacerts n /opt/arcsight/manager/user/manager/license/arcsight.lic 4. Export system tables: Technical Note: ArcSight Express Backup and Recovery HP ArcSight Express (4.0) Page 5 of 11
  • 6. Run the export_system_tables command: /opt/arcsight/manager/bin/arcsight export_system_tables arcsight <mysql_ password> arcsight –s This generates a very large file, so you are recommended to run gzip /opt/arcsight/manager/tmp/arcsight_dump_system_tables.sql and then back up the resulting .gz file to your safe backup location. 5. Dump selected tables: Export selected tables from the database (as user arcsight) using the following command format: /opt/arcsight/logger/current/arcsight/bin/mysqldump -uarcsight -p arcsight ${tablename}| gzip > /tmp/${tablename}.sql.gz ...where: -uarcsight says to use the database user account called arcsight. -p followed by a space means it prompts you for a password. arcsight is the name of the database. ${tablename} is the name of the table to export, from the list, below. The path, /tmp/, in this case, can be anywhere you want. Specify the following tables: n user_sequences n arc_event_annotation n arc_event_annotation_p n arc_event_payload n arc_event_payload_p This command uses compression to greatly reduce disk space. For large databases, compression is also likely to make the commands finish faster. The user_sequences table is the table where the ESM manager gets the event IDs from the database. Export the user_sequences table daily. When the export is complete, copy the .gz file to the same backup location as the other files you backed up off the machine. 6. Export trends: If you need to keep trends, use the following commands to export them. You should be logged in as user arcsight. Enter each line on the command line and press return: DBTODUMP=arcsight Technical Note: ArcSight Express Backup and Recovery HP ArcSight Express (4.0) Page 6 of 11
  • 7. SQL="SET group_concat_max_len = 10240;" SQL="${SQL} SELECT GROUP_CONCAT(table_name separator ' ')" SQL="${SQL} FROM information_schema.tables WHERE table_schema='${DBTODUMP}'" SQL="${SQL} AND (table_name like 'arc_trend%');" TBLIST=`/opt/arcsight/logger/current/arcsight/bin/mysql -u arcsight –p<mysql_ password> -AN -e"${SQL}"` /opt/arcsight/logger/current/arcsight/bin/mysqldump -u arcsight -p ${DBTODUMP} ${TBLIST} > /tmp/arcsight_trends.sql When the export is complete, copy the .sql file to the same backup location as the other files you backed up off the machine. 7. Back up archive data: Make a note of the following, which must match exactly on the machine to which you restore: n Operating system and version n Computer domain name and hostname n File system type n Path to the archive locations for each storage group n ESM version n MySQL password n Timezone of the machine 8. Back up the archive located at /opt/arcsight/logger/data/archives. Back it up separately. If the archive location has been moved to a SAN, set up a backup schedule there. If you cannot afford to lose events that occurred since midnight, when the last archive was created, back up /opt/arcsight/logger/data/logger. However, in addition to the un-archived data since midnight, you also get events from each day from yesterday to the beginning of your retention period, which are also in the archives. This backup also has to include the metadata. Make sure the postgresql service is up and running (bring it up if it’s down). Run this command: /opt/arcsight/logger/current/arcsight/bin/pg_dump -d rwdb -c -n data -U web |gzip -9 -v > /tmp/postgres_data.sql.gz Copy postgres_data.sql.gz to a backup location. 9. Restart services: Technical Note: ArcSight Express Backup and Recovery HP ArcSight Express (4.0) Page 7 of 11
  • 8. Run the following command as user arcsight to restart services. Skip this if your next step is to upgrade the operating system or reinstall ESM. /etc/init.d/arcsight_services start all 10. Restart connectors Restoring ESM with CORR-Engine This procedure is designed for restoring to the same machine. Make sure the following characteristics have not changed since you made your backups: l Operating system and version l Computer domain name and hostname l File system type l Path to the archive locations for each storage group l ESM version l MySQL password l Timezone of the machine 1. Stop your connectors: If you stop the connectors, they mark the event where they left off and start in the same place when you restart them. Eventually they catch up. If you let the connectors run after ESM has been stopped, they will cache the data they are collecting. when you restart ESM, all connectors dump their cached events to ESM at the same time. If you have many connectors, the sudden dump from all of them can overload the system and some events might be dropped. Therefore, we recommend that you stop all connectors before step 2. 2. Stop services: Run the arcsight_services command as user arcsight to shut down all services except the mysqld service and the postgresql service. Refer to the "ArcSight_Services Command" topic in the "Administrative Commands" appendix of the ESM Administrator's Guide. 3. Import system tables: If you compressed the exported file with gzip, unzip it with this command: gzip -d <path>/arcsight_dump_system_tables.sql.gz Technical Note: ArcSight Express Backup and Recovery HP ArcSight Express (4.0) Page 8 of 11
  • 9. Run the import_system_tables command as user arcsight. /opt/arcsight/manager/bin/arcsight import_system_tables arcsight <mysql_ password> arcsight <path>/arcsight_dump_system_tables.sql 4. Import trend data: To import trend data, run the following command on the command line as user arcsight: /opt/arcsight/logger/current/arcsight/bin/mysql -u arcsight -p arcsight < /tmp/arcsight_trends.sql This command assumes that your trend data has been copied from backup to the /tmp/ directory. Your file name or directory may be different. 5. Restore files: Restore all the files listed in "Back up files:" on page 5. 6. Restore archive data. Copy all of the backup copies of the archives (that were in /opt/arcsight/logger/data/archives) to a mounted directory: /opt/old_archives. Run the restorearchives command as follows: /opt/arcsight/logger/current/arcsight/logger/bin/arcsight restorearchives -r /opt/old_archives –C clear Note: -C clear Clears all events currently in the system and deletes any existing archive files that are currently listed in the database. It does this before the restoration operation to clear out the system. This command allows you to restore archive backups to a new system after a system failure. This tool assumes that you have already copied the archive backups to the location on the new system where your storage archive is located. That is, this restoration does not copy the archives into the system, you do that. It is restoring these archive entries to the new system’s database. The command does not copy archive files to the /opt/arcsight/logger/data/archives directory. Refer to the ESM Administrator’s Guide, in "Appendix A: Administrative Commands," for the syntax and more information. If you backed up /opt/arcsight/logger/data/logger, restore it, too. Then restore the metadate by running these two commands: gzip -d /opt/backup/postgres_data.sql.gz /opt/arcsight/logger/current/arcsight/bin/psql -d rwdb -U web -f /opt/backup/postgres_data.sql Technical Note: ArcSight Express Backup and Recovery HP ArcSight Express (4.0) Page 9 of 11
  • 10. These commands assume that your backup file is in the /opt/backup directory. Change it to wherever you backed up that file. 7. Restore dumped tables: Run the following commands as user arcsight to restore the tables that were exported with the mysqldump command: gzip –d /tmp/${tablename}.sql.gz /opt/arcsight/logger/current/arcsight/bin/mysql -uarcsight -p arcsight < /tmp/${tablename}.sql ...where: -uarcsight says to use the database user account called arcsight. -p followed by a space means it prompts you for a password. The next arcsight is the name of the database. ${tablename} is the name of the table to export. The path, /tmp/, in this case, is wherever you are restoring the table from. Run the following command to stop and start mysqld: /sbin/service arcsight_services stop mysqld /sbin/service arcsight_services start mysqld 8. Restart services: Run the following commands as user root to restart services: /opt/arcsight/manager/bin/setup_services.sh /etc/init.d/arcsight_services start all 9. Restart connectors Technical Note: ArcSight Express Backup and Recovery HP ArcSight Express (4.0) Page 10 of 11
  • 11. Send Documentation Feedback If you have comments about this document, you can contact the documentation team by email. If an email client is configured on this system, click the link above and an email window opens with the following information in the subject line: Feedback on Technical Note: ArcSight Express Backup and Recovery (ArcSight Express 4.0) Just add your feedback to the email and click send. If no email client is available, copy the information above to a new message in a web mail client, and send your feedback to arc-doc@hpe.com. We appreciate your feedback! HP ArcSight Express (4.0) Page 11 of 11