- Introduction
- Deployment
- 5. Supported Platforms
- 6. Product Life Cycle
- 7. System Requirements
- 8. Digital Signature Verification
- 9. Red Hat Enterprise Linux & CentOS
- 10. Debian & Ubuntu
- 11. SUSE Linux Enterprise Server
- 12. FreeBSD
- 13. OpenBSD
- 14. Microsoft Windows
- 15. Microsoft Nano Server
- 16. Apple macOS
- 17. Docker
- 18. IBM AIX
- 19. Oracle Solaris
- 20. Hardening NXLog
- 21. Relocating NXLog
- 22. Monitoring and Recovery
- Configuration
- OS Support
- Integration
- Troubleshooting
- Enterprise Edition Reference Manual
- NXLog Manager
- NXLog Add-Ons
18. IBM AIX
This topic describes the steps to install and upgrade NXLog on IBM AIX.
18.1. Installing
First, download the appropriate NXLog installer package from the NXLog website.
-
Log in to your account, then click My account at the top of the page.
-
Under the
tab, choose thenxlog-5.2.6502_aix_ppc.rpm
package. -
Use SFTP or a similar secure method to transfer the archive to the target server.
-
Install the required NXLog package.
-
Optional: To change the NXLog user and group for the installation, set the
NXLOG_USER
andNXLOG_GROUP
environment variables. During installation a new user and and a new group will be created based on these environment variables. They will be used for User and Group directives innxlog.conf
, and for the ownership of some directories under/opt/nxlog
. Specifying an already existing user or group is not supported. The created user and group will be deleted on NXLog removal.# export NXLOG_USER=nxlog2 # export NXLOG_GROUP=nxlog2
-
Use
rpm
to install the package.# rpm -ivh nxlog-5.2.6502_aix_ppc.rpm
-
-
Configure NXLog by editing
/opt/nxlog/etc/nxlog.conf
. General information about configuring NXLog can be found in Configuration. For more details about configuring NXLog to collect logs on AIX, see the IBM AIX summary. -
Verify the configuration file syntax.
# /opt/nxlog/bin/nxlog -v 2017-03-17 08:05:06 INFO configuration OK
-
Start the service using the
init
script in/opt/nxlog/etc
:# ./init start
18.2. Upgrading
To update an NXLog installation to the latest release, use
rpm
as in the installation instructions above.
It is recommended to make a backup of the configuration files before starting
this process.
# rpm -Uvh nxlog-5.2.6502_aix_ppc.rpm
Note
|
The rpm package manager creates a backup of an existing nxlog.conf file
as nxlog.conf.rpmsave under the /opt/nxlog/etc/ directory.
|
Note
|
The same user and group will be used for the upgrade as was used for the original installation (see installation step 3a above). Changing to a different user and group during upgrade is not supported. |
18.3. Uninstalling
To uninstall NXLog use rpm
with the -e
option.
# rpm -e nxlog
Note
|
This procedure may not remove all files that were created
while configuring NXLog. Likewise, any files created as
a result of NXLog’s logging operations will not be removed.
To find these files, examine the configuration files that were
used with NXLog and check the installation directory
(/opt/nxlog ).
|