Upgrading Insightd on Linux Servers

This article walks you through the steps to upgrade your version of Insightd on Linux Servers. Insightd is the Linux daemon that runs the Remote Data Collector for your Metrics Insights application. You can review more about what this is in the Overview of Remote Data Collection.

http://help.metricinsights.com/m/Connecting_to_Data_Sources/l/107311-overview-of-remote-data-collection

If you encounter any problems you can troubleshoot your remote data collector setup.

1. Uninstall old version

The following steps walk you through how to uninstall the old version of the Remote Data Collector.

1.1. Stop Insightd

Stop the Remote Data Collector if it is running. Find the location where the remote data collector is running and stop it.

Stop the current remote data collector:

./datacollector/bin/insightd stop

If it's not running then you might get the following message:

"The insightd can not be stopped because it is not currently running."

1.2. Save Insightd (save current configuration)

Move files to a saved location. You can give the name of the new directory anything you want.

mv ./datacollector/ ./datacollector-todays-dateĀ 

2. Get new version

To get a new version, follow the steps on how to download the new version in the article for Installing Insightd on Linux Servers.

Start with Step 1 and continue to Step 3, the steps that explain how to download the Insightd installer. At this point do not extract the zip file. Do not start up Insightd.

http://help.metricinsights.com/m/Connecting_to_Data_Sources/l/107315-installing-insightd-on-linux-servers

In rare cases you might receive the remote data collector via a different means. For example, from Metric Insights company directly. For example you might get a patched version or one with a new feature. In that case just follow the directions given for that situation.

3. Install new version

The next several steps walk you through how to install the new version of the Remote Data Collector.

3.1. Install Insightd

Install Insightd

unzip remote_data_collector.zip

This will install the remote data collector (i.e., extract the contents of the zip file) into the ./datacollector directory. If you obtained this file via a different means then it might have a different name.

3.2. Check if new configuration is correct

Check if new configuration is correct

cat ./datacollector/conf/config.ini

If you downloaded this from your Metric Insights system described in the above steps, then this step is not necessary. If you obtained the remote data collector via a different means then this step is recommended.

3.3. Restore Configuration (if new configuration not correct)

If you downloaded this from your Metric Insights system described in the above steps, then this step is not necessary. However, if you obtained it via a different means and you need to restore your previous configuration for some reason then you can do the following

mkdir -p ./datacollector/conf
cp -p ./datacollector-todays-date/conf/config.ini ./datacollector/conf/

3.4. Start Insightd

Start insightd

./datacollector/bin/insightd start &

If you encounter any problems you can troubleshoot your remote data collector setup.

0 Comments

Add your comment

E-Mail me when someone replies to this comment