What directories do we have to do backup in JBoss ON to restore it then ?
Environment
- JBoss Operations Network (JON) 2.4.x
Issue
- What directories in JBoss ON we have to do backup to restore it if our physical server crashes. Then, we can reuse all settings and data what were collected.
Resolution
The data are stored in the database, so this is the only component that will be needed to do backup.
-
If you need to reinstall the JBoss ON on another server, you will have to reconfigure it with the new IP and servername at installation, pointing it to the existing database. These settings should be made during the installation. Take a look in the JBoss ON documentation to get more information about "Installing and Configuring the JBoss ON Server".
-
Otherwise, if JBoss ON will be reinstalled on the same server, you can compact the entire directory of the server JBoss ON (such as
{$JON_SERVER}) and reuse it again if necessary. To reuse it, you need to unpack the directory that it was compacted. In this case, it will be needed to check if the settings to the database restored was changed (such as server-name). If so, adjust it in rhq-server.properties file located at{$JON_HOME}/bin/rhq-server.properties
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
