Post-upgrade tasks for Log Bridge installations

compared with
Current by Glenn Herteg
on Dec 19, 2016 07:32.

(show comment)
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (17)

View Page History
The following steps just show the minimal files for a default install. If you have more feeder endpoints configured, you will have more files to migrate.



# Restore the master configuration files *logbridge_feeder.conf, gwevents_to_es.conf* from the installer backup config directory (e.g. /usr/local/groundwork/backup-2016-12-02/config)
#* For example:
# Restore the master configuration files *{{logbridge_feeder.conf}}* and *{{gwevents_to_es.conf}}* from the installer backup config directory (e.g., {{/usr/local/groundwork/backup-2016-12-02/config}}). For example:
{noformat}
cp /usr/local/groundwork/backup-2016-12-02/config/logbridge_feeder.conf /usr/local/groundwork/config/logbridge_feeder.conf
cp /usr/local/groundwork/backup-2016-12-02/config/gwevents_to_es.conf /usr/local/groundwork/config/gwevents_to_es.conf
{noformat}
# Restore the GroundWork endpoint feeder config files, which may vary according to the endpoint directives in the master config file, eg *logbridge_feeder_localhost.conf* file (e.g., *{{logbridge_feeder_localhost.conf}}*). For example:
#* For example:
{noformat}
cp /usr/local/groundwork/backup-2016-12-02/config/logbridge_feeder_localhost.conf /usr/local/groundwork/config/logbridge_feeder_localhost.conf
{noformat}
# Restore the web services properties files as defined in the endpoint config files with the ws_client_config_file directives, e.g. /usr/local/groundwork/config/ws_client.properties {{ws_client_config_file}} directives (e.g., *{{/usr/local/groundwork/config/ws_client.properties}}*). For example:
#* For example:
{noformat}
cp /usr/local/groundwork/backup-2016-12-02/config/ws_client.properties /usr/local/groundwork/config/ws_client.properties
{noformat}
# Make sure all of the files you just copied have nagios.nagios {{nagios:nagios}} ownership, for example:
{noformat}
chown nagios.:nagios /usr/local/groundwork/config/logbridge_feeder.conf
chown nagios.:nagios /usr/local/groundwork/config/gwevents_to_es.conf
chown nagios.:nagios /usr/local/groundwork/config/logbridge_feeder_localhost.conf
chown nagios.:nagios /usr/local/groundwork/config/ws_client.properties
{noformat}
# Migrate the restored master config files by running this script:
{code} {noformat}
/usr/local/groundwork/core/migration/migrate_RAPID_feeder_configs_711.sh
{code} {noformat}
# Restore GroundWork portal changes   changes:
{code} {noformat}
cd /tmp
cp <the groundwork backup directory>/foundation/container/jpp/standalone/deployments/portal-groundwork-base.war .
cp portal-groundwork-base.war /usr/local/groundwork/jpp/standalone/deployments/portal-groundwork-base.war
service groundwork restart
{code} {noformat}
# Install the latest versions of {{logbridge_feeder.pl}} and {{gwevents_to_es.pl}} into {{/usr/local/groundwork/foundation/feeder}}. Note that it is no longer necessary to build the Search::Elasticsearch Perl module.