View Source

Once you have upgraded your GroundWork Monitor 7.1.0 installation with Log Bridge to 7.1.1, there are several post-upgrade tasks you must do. If you aren't using Log Bridge, there is no need to do these steps.

h2. Post-upgrade tasks for Log Bridge installations

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}}* 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 (e.g., *{{logbridge_feeder_localhost.conf}}*). 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}}*). 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}} 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:
{noformat}
/usr/local/groundwork/core/migration/migrate_RAPID_feeder_configs_711.sh
{noformat}
# Restore GroundWork portal changes:
{noformat}
cd /tmp
cp <the groundwork backup directory>/foundation/container/jpp/standalone/deployments/portal-groundwork-base.war .
jar xf portal-groundwork-base.war WEB-INF/portlet.xml
rm -f portal-groundwork-base.war
cp /usr/local/groundwork/foundation/container/jpp/standalone/deployments/portal-groundwork-base.war /tmp
jar uf portal-groundwork-base.war WEB-INF/portlet.xml
cp portal-groundwork-base.war /usr/local/groundwork/jpp/standalone/deployments/portal-groundwork-base.war
service groundwork restart
{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.