obscurityPrivacy Super Contributor.
Super Contributor.
72 views

Collector: Install to an additional cluster node

If the configuration of  reload and its collector on the first node is done and successful tested, you want to install the GWDR-Collector at the other nodes. The documentation to do this is ...

I have archived this by a few simple lines at bash from each node where the collector should added.

Get the software and install.
# cd /root/inst-sys
# scp <reload-server>:/opt/beginfinite/reload/setup/collect/gwdr-collector.rpm
# zypper in gwdr-collector.rpm

(You get and hint the the package is not signed. Ignore this. Maybe some guy from MF will correct this)

Generate and distribute SSH-Key:
# ssh-keygen -t rsa
# ssh-copy-id -i /root/.ssh/id_rsa.pub <reload-server>

Check connection (optional):
# ssh <reload-server>

Copy configuration:
# cd /opt/beginfinite/reload/conf/
# scp -r <1st-node>:/opt/beginfinite/reload/conf/* .
# scp <1st-node>:/opt/beginfinite/reload/license/reload.pem ../license/

Search specific configuration of the 1st-node:
# find -type f -exec grep -l <Seachstring> {} \;

Seachstring could be the IP-Address or the Hostname.

Tune configuration:
# find -type f -exec sed -i "s/<old>/<new>/g" {} \;

Example:
# find -type f -exec sed -i "s/10.0.0.1/10.0.0.2/g" {} \; or
# find -type f -exec sed -i "s/1st-node/2nd-node/g" {} \;

(optional, Test)
# find -type f -exec grep -l <Searchstring> {} \;

Start the collector daemon:
# reloadd restart

Test if Web-UI is running:
# ss -tulpen | grep :5555

==========================

During the installation of the 1st node I used the hostname and IP-address of the GW-resource. (In this case there is only one ressource for all GW-PO and -DOM.)

If you have more than one GW-Resource it cloud be possible to run the GWDR-Daemon one time per resource. Check # /opt/beginfinite/reload/lib/code/gre --help for the cmd line parameters.

Labels (2)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.