| Oracle® Auto Service Request Installation and Operations Guide Release 4.4 for Linux and Solaris Part Number E18475-20 |
|
|
PDF · Mobi · ePub |
This chapter contains all procedures and other information required to manage the ASR environment.
Note:
To enter the ASR prompt (asr>) as root, type asr on the command line. See "Install ASR" for instructions for setting the PATH environment variable.The following topics are discussed.
Beginning with ASR 4.3, Oracle ASR, by default, checks the ASR software update server for any software updates. If there is a newer version, it will:
Automatically download the latest Oracle ASR software bundle.
See Network Connection Requirements for details on how to test your connection.
Install the new version of the software.
Note:
If you are running ASR Auto Update from a Linux server and there is norpm-build package installed, then ASR Auto Update will not work. The following error message is displayed:
Warning: rpm-build package is not installed on this server. ASR Manager Auto Update functionality will not work unless the rpm-build package is installed. Auto Update functionality will be disabled until rpm-build package is installed. Please install the rpm-build package and then enable Auto Update by running "asr enable_autoupdate".
If an Auto Update fails because of a missing rpm-build package, then this error message is displayed in:
/var/opt/SUNWsasm/log/sw-asr-autoupdate.log
Send an e-mail notification that installation is complete or if a problem was encountered.
Store the previous version of Oracle ASR to the /var/opt/SUNWsasm/backup directory.
The following topics are presented:
If necessary, you can disable the Auto Update feature:
asr> disable_autoupdate
asr> enable_autoupdate
If Auto Update is disabled, you will need to upgrade Oracle ASR manually. You can use the Auto Update feature to download and install future versions of Oracle ASR manually:
asr> autoupdate
Output of the autoupdate command will look like this:
asr> autoupdate This command will update the ASR Manager software with the latest bundles available on Oracle content server. Auto Update process will take up to 5 minutes to complete. During this time, assets attached to ASR Manager will not be monitored. Do you want to proceed with Auto Update? [y/n]:
Enter y to proceed. The upgrade continues with the following output:
New SWASR package 4.4.0 is available for update. New Rules definitions bundle 4.4.1 is available for update. Started ASR Manager software Auto Update. ASR command line console will be locked until Auto Update is completed.
Note:
For Linux, the environment variableSELINUX can be set to Enforcing mode which will not allow the automatic update of RPM packages. If you try the Auto Update feature with this environment variable set to Enforcing, the following warning message will display:
Warning: SELINUX environment variable is set to "enforcing" mode on this server. ASR Manager Auto Update functionality will not work unless the SELINUX enviornment variable is set to "permissive"
show_version: Shows OASM, ASR Manager, and rules version information. See ASR Auto Update show_version Examples for sample output of the show_version command.
autoupdate: Executes the Auto Update feature to update the ASR Manager and rules bundle software.
enable_autoupdate: Enables the ASR Auto Update feature.
disable_autoupdate: Disables the ASR Auto Update feature.
show_version ExamplesYou can run the ASR show_version command any time. There are several possible output examples, depending on your configuration:
When the ASR Auto Update feature is enabled, the output of the show_version command includes information about the installed ASR software versions, Auto Update statistics and status, and a history of Auto Update activity (such as, ASR Manager updates and rules definitions updates).
When you run the show_version command, you should expect to see output like this:
asr> show_version Software Versions ===================== OASM version: 1.4.2 ASR Manager version: 4.4 Rules definitions version: 4.4.0 Auto Update Statistics ========================== Last Run Time: 2013-04-02 14:59:55.15 Last Run Status: ASR Manager software has been updated successfully. Next Run Time: 2013-04-03 14:59:55.15 Auto Update Status ========================== Auto Update functionality is enabled. Auto Update History ========================== ASR Manager Auto Update history ------------------------------------- ASR Manager Auto Update started at: 2013-04-02 14:31:30.229 ASR Manager Auto Update completed at: 2013-04-02 14:34:12.696 ASR Manager Auto Update result: COMPLETE_SUCCESS ASR Manager updated from version: 4.3.2 ASR Manager updated to version: 4.4.0 Rules definitions Auto Update history ------------------------------------------ Rules definitions Auto Update started at: 2013-04-02 14:58:21.544 Rules definitions Auto Update completed at: 2013-04-02 14:59:54.96 Rules definitions Auto Update result: COMPLETE_SUCCESS Rules definitions updated from version: 4.4.0 Rules definitions updated to version: 4.4.1 ASR Manager Services -------------------- Notification trap feature is disabled.
Even though the ASR Auto Update feature is disabled, you can still use the show_version command for information about the installed ASR software, including statistics and status.
When you run the show_version command, you should expect output like this:
asr> show_version OASM version: 1.4.2 ASR Manager version: 4.4 Rules definitions version: 4.4.0 Auto Update Statistics ========================== Last Run Time: 2013-04-03 11:21:11.283 Last Run Status: Auto Update functionality is disabled. Next Run Time: 2013-04-03 11:23:11.283 New Rules definitions bundle 4.4.2.0.0 is available for update. Auto Update Status ========================== Auto Update functionality is disabled. Please refer to the My Oracle Support Doc Id: 1503107.1 for instructions on Auto Update of ASR Manager software. ASR Manager Services -------------------- Notification trap feature is disabled.
Auto Update Enabled, ASR Manager Unregistered
For ASR to function properly, the ASR Manager must be registered. See Register the ASR Manager for more information. You can still use the show_version command to view limited information about ASR software versions and Auto Update status.
If your ASR Manager is unregistered and you run the show_version command, the output should look like this:
asr> show_version Software Versions ================= OASM version: 1.4.2 ASR Manager version: 4.4 Rules definitions version: 4.4.0 ASR backend Auto Update server is not available. Auto Update Status ================== Auto Update functionality is enabled.
If a new software download is available (including any new rules definitions), you can use the show_version command to review the versions. Output should look like this:
asr> show_version Software Versions ================= OASM version: 1.4.2 ASR Manager version: 4.4 Rules definitions version: 4.4.0 New SWASR package 4.4.0.0.0 is available for update. New Rules definitions bundle 4.4.2.0.0 is available for update. Auto Update Status ================== Auto Update functionality is enabled.
Follow the steps below to upgrade the ASR Manager software manually:
Make sure that OASM is running. To get the status of the OASM:
For Solaris, run: svcs sasm
For Linux, run: /opt/SUNWsasm/bin/sasm status
If OASM is not running, then start it with these commands:
For Solaris, run:
svcadm enable sasm (starts OASM)
For Linux, run:
/opt/SUNWsasm/bin/sasm start-instance (starts OASM)
Uninstall ASR. Refer to Uninstall ASR for details.
Obtain the new ASR package. Refer to Software Requirements for download instructions. To install OASM, refer to Install OASM.
Install the new ASR package. Refer to Install ASR. Be sure to register and activate the ASR Manager, as explained in the referenced instructions.
This section provides a variety of commands and procedures for managing ASR Assets. The following diagram shows the status transition of ASR Asset:

This section describes the types of e-mails generated by ASR. See Appendix A, "ASR E-mail Examples." E-mail generated by ASR is sent to:
The e-mail address of the My Oracle Support account associated with the ASR installation.
The contact assigned to the asset in My Oracle Support.
A distribution list assigned to the asset in My Oracle Support (optional)
Table 4-1 shows the various recipients of the typical ASR e-mail, depending on the reason for sending it, where:
Registration user: The e-mail address used to register the asset. For the ASR Manager, this is the e-mail address entered for the asr register command.
My Oracle Support Contact: The My Oracle Support (MOS) user assigned to the asset as the contact.
MOS Dist List: a comma-separated distribution list of e-mail addresses in My Oracle Support.
Support Identifier Administrators: The My Oracle Support users who are administrators of the Support Identifier associated with the asset.
Table 4-1 ASR E-mail Types and Recipients
| Notification Type | ASR E-mail Recipient | ||||
|---|---|---|---|---|---|
| Registration User | Contact | MOS Dist List | Support Identifier Admins | Other | |
|
Auto Update |
Yes |
Yes |
Auto Update user SSO (typically the same as activation SSO) |
||
|
Heartbeat failure |
Yes |
Yes |
Yes |
Registration SSO (if applicable) |
|
|
ASR rules out of date |
Yes |
||||
|
ASR Manager out of date |
Yes |
||||
|
SR create delayed |
Yes |
Yes |
Yes |
||
|
SR create |
Yes |
Yes |
Yes |
||
|
SR failed |
Yes |
Yes |
Yes |
Yes |
|
|
SR test (non-Pillar) |
Yes |
Yes |
Yes |
||
|
SR test (Pillar) |
Yes |
Yes |
Yes |
Yes |
|
|
Status Pending MOS |
Yes |
Yes |
|||
|
Status Change |
Yes |
||||
|
Activation failed |
Yes |
||||
The types of e-mail generated by ASR include:
ASR Activation E-mail and Status of ASR Assets
An e-mail indicating success or failure of ASR activation is sent. Instructions for any user action is included as needed. ASR Asset status is available in My Oracle Support.
ASR Service Request E-mail
Service Request e-mails are generated whenever a Service Request is created at Oracle that results from a hardware fault detection on any of your ASR-enabled systems. Failure e-mails indicate what issues may have prevented a Service Request from being created upon receipt of a hardware fault from ASR.
All Service Request e-mails are sent to the Primary and Preferred Technical Contact associated with the system reporting a potential fault. For more on how this contact is established or changed, refer to View Status from My Oracle Support.
Note:
Any e-mail sent from Blade ASR Assets have a different e-mail format.Heartbeat Failure Notification
If the ASR Heartbeat detects a communications error to Oracle, an e-mail is sent.
Fault Rules Out of Date E-mail
This e-mail is sent if ASR detects that its fault rules are out of date.
You can test the end-to-end functionality of ASR by simulating a hardware fault. The end result is an e-mail sent to the e-mail address of the My Oracle Support account associated with the ASR installation.
Note:
A test alert should be run only after the asset has been enabled in My Oracle Support. See "Enable ASR Assets in My Oracle Support" for more information.Note:
Only valid for ILOM 3.0 or later.To generate a test alert from ILOM:
From the ILOM GUI: In the Alert Settings page, select the alert you want to test and then click the Send Test Alert button. ILOM generates a test event for the selected alert. If configured properly, you will receive a test Service Request e-mail.
From the ILOM CLI: Type one of the following command paths to set the working directory:
For a rack-mounted server SP, type: cd /SP/alertmgmt/rules
For a Blade server SP, type: cd /CH/BLn/SP/alertmgmt/rules
For a chassis CMM, type: cd /CMM/alertmgmt/CMM/rules
Type the following command to generate a test alert:
->set testalert=true
To send a test e-mail on an ASR Asset for Solaris 11, run the following command:
asradm send test email.address@mycompany.com
Note:
The ASR Asset Menu (asrassetmenu.sh) is not available on ASR Assets running Solaris 11.To send a test e-mail on an ASR Asset for Solaris 10:
Execute the asrassetbundle shell script:
If on an ASR Asset:
cd /untar_location_of_assetbundle/asrassetbundle
./asrassetmenu.sh
Note:
If you have issues finding theasrassetbundle directory, go to "Install ASR Asset Bundle" for more information.If on the ASR Manager system:
cd /opt/SUNWswasr/asrassetbundle ./asrassetmenu.sh
From the ASR Asset Menu, type 8.
Whether you are on an ASR Asset or the ASR Manager, enter the IP address of the ASR Manager.
Enter the SNMP port used to send hardware telemetry to the ASR Manager. The default port is 162.
When the test alert is sent, check the e-mail contact of the My Oracle Support account associated with the ASR installation.
Note:
If this test fails on Solaris 10, be sure that the/usr/sfw/bin/snmptrap exists and Solaris netsnmp library is installed on the asset.The procedures in this section explain how to enable or disable telemetry trap destinations on ASR Asset(s). A trap destination is where the telemetry data is sent. During ASR installation, each asset is configured by setting trap destinations from the asset system. In all cases, the trap destination specified is the ASR Manager system, which centrally collects the telemetry data sent from ASR Asset(s). Even if the ASR Manager itself is configured to send telemetry data, its trap destination must be this same ASR Manager.
Reasons for enabling traps include:
Traps were not enabled during installation.
Traps need to be enabled as part of troubleshooting tasks.
Reasons for disabling traps include:
IP address of ASR Manager changed. If this situation occurs, you need to disable the traps, then re-enable the traps with the new IP information.
Stopping the use of ASR and/or you want to minimize telemetry traffic.
Before continuing, be mindful of the following:
You should know what telemetry sources exist on any particular ASR system. Refer to "Telemetry Requirements".
An active ASR Manager should already be fully installed. Refer to Chapter 2, "Oracle ASR Manager."
Follow the procedure below to add or remove a trap destination for systems using Solaris 10 FMA telemetry.
To add a Solaris FMA telemetry trap, go to "Enable FMA Telemetry for Solaris 10 ASR Assets".
To remove a trap destination, make sure you are logged in as root on the system whose telemetry trap you wish to remove. This could be either an ASR Manager or an ASR Asset system. Keep in mind that this process stops telemetry from being sent to the ASR Manager. It does not remove the telemetry software itself nor disables its operation (for example, FMA).
Go to the directory where you previously untarred the ASR Asset Bundle file, and then go to the specific ASR Asset Bundle directory, if needed. For example:
If on an ASR Asset:
cd /file_copy_location/asrassetbundle
If on the ASR Manager system:
cd /opt/SUNWswasr/asrassetbundle
Note:
Refer to "Install ASR Asset Bundle" if you have issues locating theasrassetbundle directory and/or asrassetmenu.sh script (below).Launch the ASR Asset Menu:
./asrassetmenu.sh Welcome to the ASR asset menu ---------------------------------------------- 1) Check system for ASR qualifications 2) Add a trap-destination to SunMC agent 3) Add a trap-destination to FMA agent 4) Remove a trap-destination from SunMC agent 5) Remove a trap-destination from FMA agent 6) List SunMC agent trap-destinations 7) List FMA agent trap-destinations 8) Test event to verify ASR connectivity 9) Exit
Select 5 to remove the FMA trap destination.
When prompted, “. . . enter the number of the trap-destination to remove,” enter the list number of the IP address of the ASR Manager.
Note:
If you are removing an FMA trap, enter the listed IP address with the port number (for example, 192.20.77.192:162).The trap is then removed from the system and all telemetry sent from Solaris FMA to the ASR Manager is stopped.
Follow the procedure below to add or remove registration for systems using Solaris 11 FMA telemetry.
To add Solaris FMA telemetry, see "Enable FMA Telemetry for Solaris 11 ASR Assets".
To delete the ASR Manager registration, run:
asradm unregister
To add or remove an ILOM trap, refer to "Enable ILOM Telemetry". This referenced procedure can be used to add or remove traps. If removing a trap, use the following parameters:
If using the ILOM GUI interface, either remove the entire alert rule destination or set the Level parameter to Disable.
If using the command line interface, set the Level parameter to Disable. Also, be sure to specify the correct alert rule (1 to 15) to disable.
To add or remove telemetry traps on systems that have XSCF telemetry (Sun M-Series), refer to "Enable M-Series XSCF Telemetry". This referenced procedure can be used to add or remove traps.
Verify all information is in the database that is activated:
asr> list_asset
Stop OASM so that data does not change in middle of backup:
For Solaris, run: svcadm disable sasm
For Linux, run: /opt/SUNWsasm/bin/sasm stop-instance
Back up the database directory. Run:
tar -cvf db.tar.bz /var/opt/SUNWsasm/db
Create a backup of the ASR configuration. Run:
tar -cvf configuration.tar.bz /var/opt/SUNWsasm/configuration
Copy both db.tar.bz and configuration.tar.bz files to their proper backup destination.
Restart OASM. Run:
For Solaris, run: /opt/SUNWsasm/bin/svcadm enable sasm
For Linux, run: /opt/SUNWsasm/bin/sasm start-instance
Install the ASR plugin and OASM:
For Solaris, run:
pkgadd -d SUNWsasm-version-timestamp.pkg pkgadd -d SUNWswasr-version-timestamp.pkg
For Linux, run:
rmp -i SUNWsasm-version-timestamp.rpm rpm -i SUNWswasr-version-timestamp.rpm
Note:
Download and install the latest packages to upgrade to the latest version of the ASR Manager. See Software Requirements for more information.Stop OASM to restore files:
For Solaris, run: svcadm disable sasm
For Linux, run: /opt/SUNWsasm/bin/sasm stop-instance
Restore the files from backup:
Remove files /var/opt/SUNWsasm/configuration and /var/opt/SUNWsasm/db
Copy backup data to /var/opt/SUNWsasm/
Extract the tar files (both Solaris and Linux):
tar -xvf configuration.tar.bz tar -xvf db.tar.bz
Verify the files have been correctly extracted. Run:
ls /var/opt/SUNWsasm/
Restart OASM. Run:
For Solaris, run: svcadm enable sasm
For Linux, run: /opt/SUNWsasm/bin/sasm start-instance
Register the backup configuration:
asr> register
Note:
If you are running the latest version of ASR and if host name of the restored ASR Manager and My Oracle Support account) login have not changed, then you can stop here. Steps 7 and 8 are not required.Remove old entries from the My Oracle Support backend to associate correctly:
asr> send_deactivations -a
Add new entries to the My Oracle Support backend:
asr> send_activations -a
List ASR Assets. Run:
asr> list_asset
When you installed ASR, you registered it with the transport server (transport.oracle.com) using your My Oracle Support username. The registration is performed on the ASR Manager system, as is an unregister if required. Reasons for unregistering ASR can include the following:
If your current My Oracle Support account is no longer valid, as in a case when the e-mail contact is no longer associated with the company. The e-mail address associated with the My Oracle Support login is used by ASR to send a variety of ASR notifications, such as status reports. In this case, ASR should be unregistered and then re-registered with the new account information.
If the server and ASR handshake becomes corrupted.
To unregister ASR:
From the ASR Manager system, run:
asr> unregister
Once unregistered, ASR cannot send hardware fault telemetry to Oracle's backend systems.
To register ASR, refer to "Register the ASR Manager" for instructions.
This section explains how to stop and start your complete ASR environment. There are several reasons why you may want to do this, as listed below:
Telemetry rules or other image upgrade to ASR.
If you change network and port settings used by ASR. These changes are typically made in the OASM config.ini file:
/var/opt/SUNWsasm/configuration/config.ini
Note:
On Solaris, OASM startup/restart is done via SMF service.Follow the procedure below to stop ASR and OASM.
Note:
Stopping OASM is optional, depending upon what your purpose is. If changes are made to the OASMconfig.ini file, for example, you must stop and restart OASM. In conformance with best practices, OASM should be stopped whenever ASR is stopped, and started whenever ASR is started.Open a terminal window and log in as root on the ASR Manager system.
Run the following commands:
For Solaris:
asr> stop (stops ASR) svcadm disable sasm (stops OASM)
For Linux:
asr> stop (stops ASR) /opt/SUNWsasm/bin/sasm stop-instance (stops OASM)
Once ASR is stopped, you can perform the desired maintenance tasks. Once complete, continue to the next section to restart ASR.
Follow the procedure below to restart ASR and OASM:
Open a terminal window and log in as root on the ASR Manager system.
Run the following commands:
For Solaris:
svcadm enable sasm (starts OASM) asr> start (starts ASR)
For Linux:
/opt/SUNWsasm/bin/sasm start-instance (starts OASM) asr> start (starts ASR)
Be sure that ASR can send information to the transport.oracle.com servers by running the following command:
asr> test_connection
Follow the procedures below to enable or disable ASR Asset(s). Regardless of which asset you wish to enable or disable, this action is always performed on the ASR Manager system. The most common reasons to disable ASR Asset(s) are for system maintenance or if an asset is "noisy" in terms of sending an excess of telemetry data. Disabling an ASR Asset stops the ASR Manager from sending fault telemetry to Oracle for that asset.
Open a terminal window and log in to the ASR Manager system as root.
Run any one of the following commands depending on your circumstance. Use the IP address or the hostname of the asset you wish to disable. If you disable the ASR Manager itself, only its telemetry will be stopped. All enabled ASR Asset(s) that send telemetry to this ASR Manager will continue, and the ASR Manager will continue to forward fault telemetry to Oracle's backend systems.
asr> disable_asset -i IP_address
asr> disable_asset -h hostname
asr> disable_asset -s subnet(used to disable a group of assets within the subnet)
After you have disabled an ASR asset, you can re-enable it when you are ready for ASR to begin transmitting telemetry data.
Open a terminal window and log in to the ASR Manager system as root.
Run any one of the following commands depending on your circumstance. Use the IP address or the hostname of the asset you wish to enable. Once enabled, the asset will send hardware telemetry data to the ASR Manager and faults will be sent to Oracle's backend systems.
asr> enable_asset -i IP_address
asr> enable_asset -h hostname
asr> enable_asset -s subnet(used to enable a group of assets within the subnet)
Once complete, a successfully enabled message is displayed.
To confirm the asset is enabled, you can generate a test event using either one of the following command options:
asr> send_test -i IP_address
asr> send_test -h hostname
Note:
Thesend_test command validates the ASR Manager connection to Oracle and the ASR activation status of the asset.
It does not validate the network connection from the asset to the ASR Manager.
The status of the test event is sent to the e-mail address of the My Oracle Support account associated with the ASR installation.
Deactivating an ASR Asset is done when you are replacing the asset or removing it entirely from the ASR system. When you deactivate an ASR Asset, ASR can no longer transmit telemetry data from this asset to Oracle.
Note:
If you need to unregister your ASR Asset for Solaris 11, run:asradm unregister
This command unregisters and disables your ASR Asset.
In the "Assets" dashboard, click on the serial number of the asset you wish to deactivate/activate. The last column (ASR Status) will show the status of the asset (Active, Inactive, or Pending)

In the Asset's Details pane, click the "Deactive" button to deactivate the asset. If the asset is already deactivated, click the "Activate" button to activate it.
If necessary, you can update details about the asset (for example, change the Contact Name).
Follow these instructions to deactivate/activate an ASR Asset from the ASR Manager:
Open a terminal window and log in to the ASR Manager system as root.
Run any one of the following commands depending on your circumstance. Use the IP address or the hostname of the asset you wish to deactivate.
asr> deactivate_asset -i IP_address
asr> deactivate_asset -h hostname
asr> deactivate_asset -s subnet(used to enable a group of assets within the subnet)
Note:
When you deactivate an ASR Asset, you cannot re-enable it. If you want to enable it again for ASR, you must re-activate it. Refer to "Activate ASR Assets".Once an asset is deactivated, you should also stop the hardware telemetry from being sent from the asset (even though the telemetry data is ignored by ASR once sent).
The following procedure explains how to remove ASR completely or partially for the purpose of an upgrade.
Remove ASR as Part of an Upgrade
Remove the ASR package from the ASR Manager system:
For Solaris: pkgrm SUNWswasr
For Linux: rpm -e SUNWswasr
As part of the uninstall process, you will be asked the following question:
Will you be upgrading to a newer version of ASR Manager [y,n,q]:
Enter y to continue the process.
Remove the OASM package from the ASR Manager system. Removing this package is optional and is often done to reduce system overhead. If you have other applications running under OASM, do not remove it. Refer to Oracle Automated Service Manager (OASM) Requirements for more information on OASM.
For Solaris: pkgrm SUNWsasm
For Linux: rpm -e SUNWsasm
For all ASR Asset systems, remove telemetry traps that send hardware telemetry to the ASR Manager. Follow these steps:
Identify what telemetry sources reside on the systems. If uncertain, refer to Telemetry Requirements.
Remove the telemetry traps. Refer to Add/Remove Telemetry Traps from ASR Asset(s). If you are collecting telemetry from the ASR Manager itself, be sure to remove those traps as well.
Deactivate all ASR Asset(s). Refer to Deactivate/Activate ASR Assets.
Unregister ASR. Refer to Unregister ASR.
Important:
If you are using other OASM plug-ins (for example SFT), the OASM transport service used by these plug-ins will be unregistered as part of this process. Consult your plug-in documentation to re-register the OASM transport service, if needed.Remove the ASR package from the ASR Manager system:
For Solaris: pkgrm SUNWswasr
For Linux: rpm -e SUNWswasr
As part of the uninstall process, you will be asked the following questions:
The first question is whether or not you are upgrading the ASR Manager:
Will you be upgrading to a newer version of ASR Manager [y,n,q]:
Enter n to continue the process.
The next question is to initiates the removal of ASR Manager and the deactivation of ASR Assets:
Do you want to uninstall ASR Manager completely and deactivate all assets [y,n,q]:
Enter y to continue the process. Because the removal is for a complete uninstall, you will be asked to confirm the removal:
You are going to deactivate all assets. Please confirm [y,n,q]
Enter y to continue the process.
Remove the OASM package from the ASR Manager system. Removing this package is optional and is often done to reduce system overhead. If you have other applications running under OASM, do not remove it. Refer to Oracle Automated Service Manager (OASM) Requirements for more information on OASM.
For Solaris: pkgrm SUNWsasm
For Linux: rpm -e SUNWsasm
If you never intend to use ASR and OASM again, run the following command to remove leftover artifacts (OASM log files, ASR asset database, configuration files, etc.):
Warning:
This command will remove all asset activation, configuration, and ASR log file data. Only remove these files if you want to permanently remove ASR from the system or node.rm -r /var/opt/SUNWsasm
After completing the steps above, the uninstall of ASR is complete.
This section provides the instructions for networking-related tasks for ASR operations.
The following table explains the network ports used by ASR:
| Source | Destination | Protocol | Port | Description |
|---|---|---|---|---|
| ASR Asset | ASR Manager | http/https | user defined | For sending Solaris 11 ASR telemetry to the ASR Manager. |
| ASR Manager | ASR Backend (Oracle)
transport.oracle.com |
https | 443 | For sending telemetry messages to the transport.oracle.com ASR backend system at Oracle. |
| ASR Manager | ASR Asset | http | 6481 | Service Tags listener for Asset activation |
| ASR Asset | ASR Manager | snmp
udp |
162 | For sending telemetry messages to the ASR Manager. |
| ASR Manager | ASR Asset | snmp (get)
udp |
161 | FMA enrichment for getting additional diagnostics information (Solaris 10 only). |
You can change the default SNMP port on the ASR Manager by editing the /var/opt/SUNWsasm/configuration/config.ini file as follows:
Change com.sun.svc.container.snmp.port=162 to listen on whatever port is appropriate. 162 is the default.
Restart OASM:
svcadm restart sasm
Verify the change:
/opt/SUNWsasm/bin/sasm getprop | grep com.sun.svc.container.snmp.port
This command will return the new port value that you entered.
A known issue with the SNMP port update in the config.ini file from the default 162 port is not working in ASR 4.1. The following workaround is required only when you need to change the ASR SNMP port from the default port (162) in ASR 4.1:
Set the SNMP port:
/opt/SUNWswasr/bin/asr set_property snmp.receiver.port <port_number>
For example:
/opt/SUNWswasr/bin/asr set_property snmp.receiver.port 1162
Edit the /var/opt/SUNWsasm/configuration/config.ini file and update com.sun.svc.container.snmp.port to the desired port number. This step is required to prevent any issues during future ASR Manager upgrades.
Verify that the SNMP port is set correctly:
/opt/SUNWswasr/bin/asr get_property snmp.receiver.port
Restart OASM:
For Solaris: svcadm restart sasm
For Linux:
/opt/SUNWsasm/bin/sasm stop-instance /opt/SUNWsasm/bin/sasm start-instance
This procedure should be used to enable network communications in cases where you have a SOCKS proxy server mediating network traffic between the ASR Manager and the internet. For other proxy server types, you need to re-register ASR to set-up the proxy server information, as discussed in "Register the ASR Manager".
Open a terminal window and log in as root to the ASR Manager system.
Using an editor of your choice (such as vi), edit the following file by changing the SOCKS proxy information as needed:
/var/opt/SUNWsasm/configuration/config.ini
The following entries must be made within the file. Contact a Network Administrator if needed.
socksProxyHost= socksProxyPort= java.net.socks.username= java.net.socks.password=
Restart ASR using the following command:
For Solaris: svcadm restart sasm
For Linux, run:
/opt/SUNWsasm/bin/sasm stop-instance /opt/SUNWsasm/bin/sasm start-instance
To verify the changes, run the following command:
cat /var/opt/SUNWsasm/configuration/config.ini | grep socks
The following command can be used to confirm that the network parameters used by OASM to connect to Oracle's ASR backend systems are properly set:
grep transport.root /var/opt/SUNWsasm/configuration/config.ini
The ASR transport hostname is displayed and will be similar to the results shown below:
com.sun.svc.container.transport.root= https://transport.oracle.com
The following procedure can be used to confirm proper communication between the ASR Manager and Oracle's ASR backend systems.
Complete one of the following steps from the ASR Manager to verify connectivity to Oracle's ASR backend systems:
Using telnet:
telnet transport.oracle.com 443
Using a web browser:
https://transport.oracle.com/v1/
The web page should indicate that the Data Transport Service is operating.
Using the wget utility:
For Solaris:
/usr/sfw/bin/wget https://transport.oracle.com/v1/
For Linux:
wget https://transport.oracle.com/v1/
Note:
"Unable to locally verify the issuer's authority" is an expected error.If the results of the above commands do not indicate the Data Transport Service is operating, you must resolve your network connection issue. Listed below are possible resolutions:
Determine if your network's DNS configuration is able to resolve transport.oracle.com. You may need to configure your firewall to enable outbound Internet access to transport.oracle.com.
If DNS is not available on the ASR Manager host, you may need to manually add an entry for transport.oracle.com and its IP address to the /etc/hosts file. Use any DNS lookup service on the Internet to determine the IP address for transport.oracle.com.
You may need to contact your network administrator for assistance. Refer to "Network Connection Requirements" for the specific ASR network requirements.
If you use a proxy server, the issue could be that the proxy information has not yet been configured to ASR and OASM. This is done by registering ASR, as discussed in the following procedure.
Other environments are set up to use different enterprise monitoring systems (e.g., IBM Tivoli, HP OpenView, etc.). Beginning with ASR 3.0, integration with My Oracle Support allows sending ASR service-request information to these systems. Once installed and properly configured, ASR provides the following integration features with enterprise monitoring systems:
Ability to configure SNMP trap destination from OASM ASR to enterprise monitoring systems.
Send case creation and test alert messages to enterprise monitoring systems.
New ASR MIB that provides the data model of ASR case creation notification.
Examples of enterprise-monitoring systems include:
IBM Tivoli
HP OpenView
BMC Patrol
Unicenter
xVM Ops Center
Any monitoring tool that can receive an SNMP v2c trap
During installation of the ASR software package, the SNMP trap destination can be configured from the OASM host to monitoring systems. Once the ASR-capable assets are activated, ASR is designed to generate a service request after specific faults are detected. Once the service request is opened, the Oracle Support coverage and response times are delivered in accordance with your Oracle Premier Support or Warranty Contract.
Note:
Because of ASR 3.0 integration with My Oracle Support, there are changes in the Service Request format. The service request number format in the notification trap is not correct if you are using any version older than ASR 3.0 manager. See "Using Auto Update to Manually Upgrade ASR Manager Software" for instructions on upgrading to the latest version of ASR.The OASM ASR Plug-in polls the ASR backend whenever a fault event or test alert occurred and updates its local database with service request or test alert information. Once the service request/test alert information is available to the OASM ASR Plugin, it sends an SNMP v2c trap to the enterprise monitoring systems and include the following service request/test alert data defined in the ASR MIB:
|
|
Follow the procedure below to configure SNMP trap destinations for ASR Service Request notifications. You can create up to 10 notification trap destinations.
Set ASR notification trap destination:
asr> set_notification_trap [-i ipAddress -p port -c community] [-h hostname -p port -c community]
For example:
asr> set_notification_trap -i 127.0.0.1 -p 162 -c public
Note:
Port "162" in the example is the destination port on your monitoring system. The notification trap will be sent only when a new service request (SR) is created successfully, and also when the test SR (test SNMP alert from the ASR asset menu) is successfulShow ASR notification trap destination:
asr> show_notification_trap
Delete ASR notification trap destination:
asr> delete_notification_trap -i 127.0.0.1
The SUN-ASR-NOTIFICATION-MIB file is located at:
/var/opt/SUNWsasm/configuration/SUN-ASR-NOTIFICATION-MIB.mib
| Data Element | Description |
|---|---|
sunAsrSrHostname |
Hostname of the system for which the Service Request was created. |
sunAsrSrIpAddress |
IP address of the system for which the Service Request was created. |
sunAsrSrSerialNumber |
Product serial number of the system for which the Service Request was created. For chassis and blade systems, chassis serial number is used. |
sunAsrSrPlatformType |
Product Type of the system for which the Service Request was created. |
sunAsrSrCreationDateTime |
Date and time when the Service Request was created. |
sunAsrSrFaultDetectionDateTime |
Date and time when the fault was generated. |
sunAsrSrCreationStatus |
Status indicating the processing of Service Request creation. |
sunAsrSrAdditionalInfo |
Additional information associated with the fault can be added as name/value pairs. For example:
|
sunAsrSrFaultSummary |
Brief summary of the fault for which the Service Request was created. |
sunAsrSrKnowledgeLink |
Link to a knowledge article for the fault that was reported. |
sunAsrSrNumber |
Service request number |
sunAsrSrLink |
URL for accessing the Service Request information. |
sunAsrSrSeverity |
Severity of the Service Request opened for the reported fault. |
sunAsrSrName |
|
sunAsrSrTelephone |
Telephone number of Customer Contact associated with the Serial Number of the Device for which the Service Request was created. |
sunAsrSrEmail |
E-mail address of Customer Contact associated with the Serial Number of the Device for which the Service Request was created. |