> For the complete documentation index, see [llms.txt](https://docs.bindplane.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bindplane.com/deployment/virtual-machine/collector/install-bindplane-collectors-on-aix.md). Agents can also search and read this documentation through its [MCP server](https://docs.bindplane.com/~gitbook/mcp).

# Install Bindplane Collectors on AIX

The [Bindplane Collector](https://github.com/observIQ/bindplane-otel-collector) runs on IBM AIX as a System Resource Controller (SRC) subsystem. It installs, upgrades, and uninstalls with the same `install_unix.sh` script used on Linux.

### Supported Versions

* AIX 7.2 Technology Level 2 or later, and AIX 7.3
* 64-bit POWER (`ppc64`) LPARs only
* Bindplane Collector v1 and v2

### Prerequisites

* Root access on the LPAR.
* `sudo` and `curl` for the default install command that Bindplane generates. Both come from the AIX Toolbox for Linux Applications. Without the Toolbox, use the root and Perl command instead (see [Install](#install)).
* The base `perl.rte` fileset. The install script itself downloads the collector with base Perl.
* `tar`, `gunzip`, `awk`, `sed`, `grep`, `tr`, and `cut`, which ship with the base OS.
* `gpg` or `openssl` to verify the package signature. Base AIX `openssl` is enough. When neither is installed, the script warns and installs without verifying. Pass `--require-gpg-check` to stop the install instead.
* Network access from the LPAR to Bindplane, and to GitHub unless Bindplane hosts the collector packages (see [Offline and Air-Gapped Environments](#offline-and-air-gapped-environments)).

### Install

{% hint style="warning" %}
**IMPORTANT**

Get the install command from Bindplane, as outlined in [Install Your First Collector](https://docs.bindplane.com/readme/install-your-first-collector.md). Select **AIX** as the platform. The command connects the collector to Bindplane, so it can be managed without additional configuration.
{% endhint %}

<figure><img src="https://1405008107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgmiOMzBfoNFwmKJFHMcJ%2Fuploads%2Fgit-blob-f71787172e56154d74c11a1cc9e55ce31e250486%2Fdeployment-virtual-machine-collector-install-bindplane-collectors-on-aix-image-1.png?alt=media" alt="Bindplane docs - Install Bindplane Collectors on AIX - image 1"><figcaption></figcaption></figure>

Bindplane offers two install commands for AIX, because base AIX does not ship `sudo` or `curl`. Both download and run the same install script and install the same collector. They differ only in what the host needs to fetch the script:

* **With AIX Toolbox** is the default. It matches the install command for Linux and macOS, and it lets an admin with `sudo` rights install without a root shell. It needs `sudo` and `curl` from the AIX Toolbox for Linux Applications.
* **Without AIX Toolbox** is for hosts where the Toolbox is not installed or not allowed. It fetches the script with Perl, which ships with base AIX in the `perl.rte` fileset. Without `sudo`, it must be run from a root shell.

Use the one that matches the host:

{% tabs %}
{% tab title="With AIX Toolbox" %}
This is the default command in the install dialog.

{% code overflow="wrap" %}

```sh
sudo sh -c "$(curl -fsSlL https://github.com/observIQ/bindplane-otel-collector/releases/latest/download/install_unix.sh)" install_unix.sh -e <endpoint> -s <secret-key> -v <version>
```

{% endcode %}
{% endtab %}

{% tab title="Without AIX Toolbox" %}
Run as root. In the install dialog, this command is under **No AIX Toolbox?**. If the download fails, the command prints the reason and installs nothing.

{% code overflow="wrap" %}

```sh
sh -c "$(perl -MHTTP::Tiny -e 'my $r = HTTP::Tiny->new(verify_SSL => 1)->get(shift); $r->{success} or die($r->{status} == 599 ? $r->{content} : "$r->{status} $r->{reason}\n"); print $r->{content}' https://github.com/observIQ/bindplane-otel-collector/releases/latest/download/install_unix.sh)" install_unix.sh -e <endpoint> -s <secret-key> -v <version>
```

{% endcode %}
{% endtab %}
{% endtabs %}

The script creates a dedicated collector user, installs the collector, registers it with SRC, and adds an `/etc/inittab` entry with `mkitab` so it starts at boot.

### Manage the Service

| Collector | SRC subsystem              | SRC group      | Install directory               |
| --------- | -------------------------- | -------------- | ------------------------------- |
| v1        | `observiq-otel-collector`  | `oiqcollector` | `/opt/observiq-otel-collector`  |
| v2        | `bindplane-otel-collector` | `bpcollector`  | `/opt/bindplane-otel-collector` |

Use the standard SRC commands with the names from the table:

```sh
lssrc -s bindplane-otel-collector     # status
stopsrc -g bpcollector                # stop
startsrc -g bpcollector               # start
lsitab bpcollector                    # boot entry
```

`stopsrc` returns before the collector has stopped. Check with `lssrc` before starting it again.

### Collector CPU Usage

The collector CPU graph in Bindplane shows the collector's share of all logical CPUs on the host. `topas` and `nmon` show a process's CPU against a single CPU, so they read higher than Bindplane. AIX counts each SMT thread as a logical CPU, so on a one-core LPAR in SMT-8 they read 8 times higher.

To compare with Bindplane:

1. Find the logical CPU count, shown as `lcpu` in the `vmstat` header:

   ```sh
   vmstat 1 1
   ```
2. Watch the collector over a 60 second interval, the same interval Bindplane uses:

   ```sh
   topas -P -i 60
   ```
3. Divide the collector's `CPU%` by `lcpu`.

### Upgrade

Upgrade the collector from Bindplane, the same as on other platforms. You can also re-run the install command with a newer `-v` version. The install script stops the collector, replaces it in place, and starts it again, keeping its configuration.

### Uninstall

Run the install script with `-r`:

{% tabs %}
{% tab title="With AIX Toolbox" %}
Requires `sudo` and `curl` from the AIX Toolbox.

{% code overflow="wrap" %}

```sh
sudo sh -c "$(curl -fsSlL https://github.com/observIQ/bindplane-otel-collector/releases/latest/download/install_unix.sh)" install_unix.sh -r
```

{% endcode %}
{% endtab %}

{% tab title="Without AIX Toolbox" %}
Run as root.

{% code overflow="wrap" %}

```sh
sh -c "$(perl -MHTTP::Tiny -e 'my $r = HTTP::Tiny->new(verify_SSL => 1)->get(shift); $r->{success} or die($r->{status} == 599 ? $r->{content} : "$r->{status} $r->{reason}\n"); print $r->{content}' https://github.com/observIQ/bindplane-otel-collector/releases/latest/download/install_unix.sh)" install_unix.sh -r
```

{% endcode %}
{% endtab %}
{% endtabs %}

Uninstall stops the collector, removes it from SRC, removes its `/etc/inittab` entry with `rmitab`, and deletes the collector's environment file and log files. The configuration and queue storage stay in the install directory, as on Linux.

### Offline and Air-Gapped Environments

Upload the AIX artifact bundle (`*-artifacts-aix.tar.gz`) to Bindplane as an offline agent version. Bindplane then serves the package and its signature, and the generated install command downloads both from Bindplane instead of GitHub.

### Supported Components

AIX collectors include a subset of the components available on other platforms. Bindplane only offers sources, processors, destinations, and connectors that the AIX collector supports. A configuration that uses an unsupported component is reported as incompatible with AIX collectors.

The v2 AIX collector includes:

* **Receivers:** collectd, filelog, filestats, hostmetrics, jmx, nop, otlp, otlpjsonfile, pcap, plugin, prometheus, route, saphana, statsd, telemetrygenerator
* **Processors:** attributes, batch, cumulativetodelta, datapointcount, deltatocumulative, deltatorate, filter, geoip, groupbyattrs, groupbytrace, interval, logcount, logdedup, logstransform, lookup, mask, memorylimiter, metricextract, metricsgeneration, metricstats, metricstransform, probabilisticsampler, randomfailure, redaction, removeemptyvalues, resourceattributetransposer, resourcedetection, resource, sampling, snapshot, spancount, span, tailsampling, throughputmeasurement, topology, transform, unroll
* **Exporters:** debug, file, nop, otlp, otlphttp
* **Connectors:** count, failover, forward, roundrobin, routing, servicegraph, signaltometrics, spanmetrics
* **Extensions:** ack, basicauth, bearertokenauth, bindplane, filestorage, headerssetter, healthcheck, jsonlogencoding, oauth2clientauth, oidcauth, opamp, pprof, sigv4auth, textencoding, zpages


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.bindplane.com/deployment/virtual-machine/collector/install-bindplane-collectors-on-aix.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
