Offline Collector Package Installation and Upgrades
How to set up BindPlane OP to host collector packages locally
important
🚧 This feature is only available in BindPlane OP Enterprise or BindPlane for Google. Learn more here.
Enable Offline Collector Package Hosting and Upgrades
This feature allows BindPlane OP to host the collector packages. This is used in environments where either BindPlane or the Collector system does not have external network access to GitHub.
BPOP offline collector configuration
In order to use offline collector upgrades, the feature must first be enabled.
To enable offline collector upgrades, the offline
option must be enabled. The folder where collector upgrade artifacts will be stored when uploaded may also be configured. By default, collector upgrade artifacts are stored in /var/lib/bindplane/agent-upgrades
.
Here is an example config enabling offline mode, which has the 'offline: true' added right after the 'apiVersion' section.
Upload a Collector Upgrade Artifact Package
Collector artifact packages can be uploaded to the BindPlane OP server to allow collectors to upgrade to new versions, as well as allow collectors to be installed through BindPlane OP while in offline mode. These packages can be found and downloaded from the releases page of the observIQ Distro for OpenTelemetry GitHub repository. You can download the artifact package to the BindPlane OP server through SSH like the example below:
To upload a collector upgrade artifact package, use the bindplane upload agent-upgrade
command. This requires that you first set up the CLI. If you have not done so previously, you can set up a profile like the example below:
The artifact package should be downloaded onto the machine from which you are running the bindplane
cli, which may or may not be the BindPlane OP server. In this example, version 1.59.1 of the collector is being uploaded to BindPlane OP:
If the file has been renamed, you must specify the --version
flag with the version you are uploading:
Delete Old Collector Artifact Packages
Collector versions and agent artifact packages can be removed using the bindplane delete agent-version
command:
This will delete the version from BindPlane OP and remove the unpacked artifact package from the disk of the BindPlane OP server.