It’s critical to save your data, HPA is part of your system and must follow your backup rules.
- Backup your the whole server
- Backup the live data
- Backup the portal configuration
- Backup the agent configuration
Backup the whole HPA Server
Follow the recommendation of your system operator, contact your support team to ensure that HPA server is backup.
Backup the live data
The live data are store in <hpa_home>/var
, it contains :
- agent : agent version
- database-hpa : hotspot of methods, database advanced monitoring
- database-introscope : metadata and configuration
- em : metrics
- logrotate : logrotate status
Backup the portal configuration
The modification you made are mainly in :
-
<hpa_home>/environment.config
: HPA server ports, paths… -
<hpa_home>/environment.yml
: Calypso environments description -
<hpa_home>/modules/Introscope/config/modules
: Management modules for alert configuration
Backup the agent configuration
Save the agent archive used to deploy on the different environment. When you upgrade the agent, the following directories are copied from the old agent to new one :
-
<agent_home>/wily/core/config/hpacustomer
: custom metrics added by the customer