Oracle: Install ASR on SuSE Linux
Installing Oracle ASR on SuSE Linux 15 isn't as straight forward as doing the same on Oracle Linux. Here is how to get it done...
"Oracle Auto Service Request (ASR) is designed to automatically open Oracle Service Requests when specific faults are detected on Oracle products"
In this case, I try to install Oracle ASR on SuSE Linux 15, as this is the only server which is able to connect to the internet.
At first, the package for ASR is needed. The latest one is 25.1.0, and the package number is 37704198. Download it, transfer it to the server, and unzip it.
Then it's time to install it. As it's an RPM, the command is quite easy:
# rpm -i asrmanager-25.1.0-20250306122352.rpmThe first part runs without errors:
Preparing... ################################# [100%]
Copyright [2008,2016], Oracle and/or its affiliates. All rights reserved.
License and Terms of Use for this software are described at <https://support.oracle.com/> (see Legal Notices and Terms of Use).
---
Warning: ASR Manager should be run as asrmgr for better security.
Doing so will mean changing the default 162 port or configuring
your system to enable asrmgr to access port 162.
---
Please review the security readme for more details.
Do you want to run as asrmgr (ASR Manager) [y,n] y
Updating / installing...
1:asrmanager-25.1.0-1 ################################# [100%]
asrmgr home directory = /home/asrmgr
---
To allow a non-root user to manage ASR Manager service:
Add the following line to /etc/sudoers file
'<userName> ALL=(root) NOPASSWD:/opt/asrmanager/bin/asr start,/opt/asrmanager/bin/asr stop,/opt/asrmanager/bin/asr status,/opt/asrmanager/bin/asr restart'
---
Starting ASR Manager
ASR Manager (pid 19338) is RUNNING.
Adding the systemctl ASR Manager (asrm-startup) service.
Removing the original chkconfig ASR Manager (asrm) service.
ASR Manager is stopped.
The ASR Manager application is installed in '/opt/asrmanager'. Log files are located in '/var/opt/asrmanager'.
ASR Administration command is now available at /opt/asrmanager/bin/asr.
Checking ASR Manager status ..But then we get the first errors:
WARNING: check_asr_status.sh depends on netstat, but it was not found.We also get some information on how to solve it:
Please install netstat using the appropriate installation command. Examples:
yum install net-tools
apt-get install net-toolsBut this package is already installed...
On this page I found out that there's another package called net-tools-deprecated. In contrast to net_tools, it also includes netstat. So let's install it:
# zypper in net-tools-deprecatedThe ASR package is still installed (although it did not work), so we'll have to uninstall it first:
# rpm -e asrmanager-25.1.0-1.noarchAfter that, we try to install ASR again:
# rpm -i asrmanager-25.1.0-20250306122352.rpmNow, the installation runs without an issue:
Preparing... ################################# [100%]
Copyright [2008,2016], Oracle and/or its affiliates. All rights reserved.
License and Terms of Use for this software are described at <https://support.oracle.com/> (see Legal Notices and Terms of Use).
Updating / installing...
1:asrmanager-25.1.0-1 ################################# [100%]
asrmgr home directory = /home/asrmgr
To allow a non-root user to manage ASR Manager service:
Add the following line to /etc/sudoers file
'<userName> ALL=(root) NOPASSWD:/opt/asrmanager/bin/asr start,/opt/asrmanager/bin/asr stop,/opt/asrmanager/bin/asr status,/opt/asrmanager/bin/asr restart'
Starting ASR Manager
ASR Manager (pid 28698) is RUNNING.
Adding the systemctl ASR Manager (asrm-startup) service.
Removing the original chkconfig ASR Manager (asrm) service.
ASR Manager is stopped.
The ASR Manager application is installed in '/opt/asrmanager'. Log files are located in '/var/opt/asrmanager'.
ASR Administration command is now available at /opt/asrmanager/bin/asr.
Checking ASR Manager status ..
FAIL: ASR Manager missing site id.
FAIL: ASR Manager missing registration id.
Please refer to ASR documentation for troubleshooting steps.
apply.db.schema.changes is set to yes
Update SFT listener.xml ...
Installation of asrmanager was successful.
Checking ASR Manager snmp port ..
The ASR Manager SNMP listener port is set to 1162 and is able to receive SNMP traps from assets.I'll describe later how to configure ASR to automatically create Service Requests...