2021-06-08 18:24:43 +00:00
|
|
|
# AIX Notes
|
|
|
|
|
2021-06-10 06:55:03 +00:00
|
|
|
Works on IBM Power VIO (Virtual IO) servers, as well as regular IBM Power AIX installations.
|
|
|
|
|
2021-06-08 18:24:43 +00:00
|
|
|
## Installation
|
|
|
|
|
2022-08-20 08:02:05 +00:00
|
|
|
We require Java 8, which should already be installed on AIX, or is available to install.
|
2021-06-10 06:55:03 +00:00
|
|
|
The RPM packages are *"noarch"* Java bytecode, so we can use the **--ignoreos** option to install:
|
|
|
|
|
2021-06-08 18:24:43 +00:00
|
|
|
```shell
|
2023-02-06 18:47:36 +00:00
|
|
|
rpm -ivh --ignoreos sysmon-client-*.rpm sysmon-plugins-*.rpm
|
2021-06-08 18:24:43 +00:00
|
|
|
```
|
|
|
|
|
2022-08-20 08:02:05 +00:00
|
|
|
### Run automatically at boot
|
2021-06-08 18:24:43 +00:00
|
|
|
|
2022-02-25 14:45:11 +00:00
|
|
|
See the [sysv-init.md](sysv-init.md) file for instructions, or run from inittab:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
mkitab "sysmon:2:respawn:env JAVA_HOME=/usr/java8_64 /opt/sysmon/client/bin/client -s http://10.x.y.z:9925/metrics"
|
|
|
|
init q
|
|
|
|
```
|
2022-08-20 08:02:05 +00:00
|
|
|
|
|
|
|
## Upgrades
|
|
|
|
|
|
|
|
To upgrade the packages:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
rpm -Uvh --ignoreos sysmon-*.noarch.rpm
|
|
|
|
```
|
|
|
|
|
|
|
|
To restart sysmon-client process after upgrade:
|
|
|
|
|
|
|
|
```shell
|
2022-09-19 12:18:42 +00:00
|
|
|
/etc/rc.d/init.d/sysmon-client stop; /etc/rc.d/init.d/sysmon-client start
|
|
|
|
# or, if running from inittab:
|
2022-08-20 08:02:05 +00:00
|
|
|
kill -HUP `ps -e -o pid,comm,args | grep sysmon-client | grep java | awk '{print $1}'`
|
|
|
|
```
|