Oracle® Auto Service Request Release 3.2 for Oracle Enterprise Linux and Solaris |
|
|
Mobi · ePub |
This chapter explains how to install the ASR Manager, which must be installed first before ASR Assets. Installing the ASR Manager consists of the following tasks:
Install Service Tags
Check for SASM installation and version
Download the latest SASM and ASR packages
Install the SASM package
Install the ASR package
Register and verify the ASR Manager
Configure Crontab
Note:
An ASR Manager can be activated as an ASR asset, if it is qualified for ASR and entitled to service. In this case, you must select your ASR Manager from the list of qualified hardware (seehttp://www.oracle.com/asr
). Once you install and register the ASR Manager as described in this chapter, complete the instructions in "Configure and Manage ASR Assets".The following tasks should already be complete before the ASR Manager is installed:
Create a Sun Online Account (SOA) (see "Create a Sun Online Account").
Assess ASR Systems (see "Oracle Auto Service Request Configuration Requirements" and "Telemetry Sources: Overview and Check") (OS version check, network validation, JDK version check, verify existing telemetry sources).
Because the ASR Manager no longer requires being installed on a device that is currently under an Oracle Service Contract and that the server has been qualified for ASR, you now have more flexibility regarding how you can install ASR. Some of the possibilities include:
x86 or SPARC Server running Solaris 10u6 or later
local zone
Note:
If the ASR Manager is installed on a local zone, it is not possible to activate the ASR Manager as an ASR asset. If this is attempted, an error will be received: Asset cannot be activated due to unknown product name or serial number. This is a known issue expected to be corrected in a future version of Oracle ASR.SPARC Server running Solaris 10u6 or later
logical domains
x86 Server running Oracle Enterprise Linux (OEL) 5.3 or later
Windows 7/Windows XP
VirtualBox running Solaris 10u6 or later
VirtualBox running OEL 5.3 or later
Installation on M-Series domains and blade servers
Note:
OEL runs on x86 servers, and logical domains are specific to Solaris SPARC serversThe ASR Manger still has to be registered but no longer has to be activated as an ASR Asset. The requirement that the ASR Manager has to be activated for ASR before activating other ASR Assets has also been lifted.
An ASR Manager can still be activated as an ASR Asset, if it is qualified for ASR and entitled to service.
This section provides instructions for downloading the appropriate software to enable service tags for Solaris and Oracle Enterprise Linux (OEL) systems.
STB is a tool set that helps ASR obtain required information from each ASR system before you can activate them, such as obtaining the system's serial number from firmware. Follow the instructions below to install the Service Tools Bundle (STB) v6.0 or later.
Note:
If your system is using only a service processor-based telemetry source (ILOM, or XSCF on M-Series), STB does not need to be installed. If this is your situation, go to "Install the ASR Package".On the system where ASR is to be installed, open a terminal window and log in as root.
Download the latest Oracle Service Tool Bundle (STB) software (login to My Oracle Support and see Doc ID 1153444.1). This document includes the download links organized by platform. Click the link that corresponds to your plaform.
Note:
If needed, log in to another machine to complete the download and then copy the file to the system targeted for ASR installation.Click the install_stb.sh.tar
file to download it
Untar the file from the download directory:
tar -xvf install_stb.sh.tar
Execute the resulting file. You may have to change shells to sh if the file does not execute. Also, you may have to set execute permissions on the file, as shown below:
sh chmod +x install_stb.sh ./install_stb.sh
Note:
STB will install all applications bundles by default. You can downgrade applications when invoked with the -force option in non-interactive mode. Run install_stb.sh -? to view all installation options.STB version 6.0 and higher defaults to installing all tools, a "yes" (y) response is already selected for you. As the installation progresses, you will be prompted for confirmation that you wish to install the tools.
When prompted: “Would you like to (I)nstall, (X)tract component selections, or (E)xit,” press [Enter].
To confirm that STB is installed correctly, and that it is reporting your system's serial number correctly, run:
sneep -a
If the serial number for your system is not displayed, run the command below to set the serial number. Keep in mind that the definitive source for the actual serial number is on the chassis of your system. It should also be the same in the My Oracle Support database, as described in "Review Assets in My Oracle Support".
sneep -s
[serial_number]
Run the following command to be sure that STB is reporting your system attributes correctly:
stclient -E
Be sure that the following attributes are reporting as indicated:
<agent_version> must be 5.2 or above
<system> must be SunOS
<platform> must be your platform type
<serial_number> must be the serial number of your system
<product_name> must be Solaris Operating System
<container>global <source> must be SUNWstosreg
<container>global <source> must be SUNWsthwreg
If you are not getting the correct data, re-install STB.
Proceed to "Install the ASR Package".
Click Sun Service Tag 1.1.5 on the Sun Downloads page (see http://www.oracle.com/technetwork/indexes/downloads/sun-az-index-095901.html
). Select “Oracle Enterprise Linux” from the drop-down menu and click the Continue button.
Note:
The Sun Service Tags are only required for the ASR Manager system.Download and unzip the latest svctag.i386.linux.zip
file.
Run the following commands to install the service tags:
rpm -i sun-servicetag-1.1.5-1.i386.rpm rpm -i sun-hardware-reg-1.0.0-1.i386.rpm
Proceed to "Install the ASR Package".
Note:
JDK 6 is required for SASM. You can download the latest version from the Java SE Downloads page (see:http://www.oracle.com/technetwork/java/javase/downloads/jdk6-jsp-136632.html
Follow the procedure below to determine if you already have SASM. For more information on the relationship between SASM and ASR, refer to "Close-Up of the ASR Manager".
Open a terminal window to the system where the ASR Manager is to be installed and log in as root.
Run the following command to determine the existence and version of SASM:
For Solaris, run: pkginfo -l SUNWsasm
For OEL, run: rpm -q SUNWsasm
Make note of the results and continue to the next section.
Note:
SASM on Linux (including OEL) will add a crontab on install to check thatsasm
is running. The default values are to check every 12 minutes.If you do not have Sun Automated Service Manager (SASM) installed, follow the procedure below to download both the SASM and ASR packages.
Note:
SASM 1.2.1 or later is required for ASR.From the machine where the ASR Manager is to be installed, open a terminal window and make sure you are logged in as root.
In a browser, click the following links to download SASM and ASR packages. You must login to My Oracle Support (https://support.oracle.com
). See Document ID 1185493.1 for the software download links for SASM and ASR.
Note:
If a browser is not available, download the files to another machine and copy them to the machine where the ASR Manager is to be installed.Once the file(s) are downloaded, go to the download directory, or other directory where you copied the .zip file(s), and unzip the file(s). Be certain that the file(s) are copied to an installation directory on the system where the ASR Manager is to be installed before unzipping them.
For Solaris: gunzip SUNWsasm.
version_num.pkg.gz
(if downloaded) gunzip SUNWswasr.
version_num.pkg.gz
If you do not need to install SASM, skip the following procedure and go to "Install the ASR Package". Otherwise, continue to the following procedure.
Follow the procedure below to install SASM.
Note:
SASM is installed on the ASR Manager system only, not ASR Assets.Open a terminal window and make sure you are logged in to the ASR Manager system as root.
From the directory where you unzipped the SASM package, install the SASM package using the following command:
For Solaris, run: pkgadd -d SUNWsasm
.version_num.pkg
For OEL, run: rpm -i SUNWsasm.
version_num.rpm
Note:
See "Installing ASR Manager on Blade Systems" for additional information on installing the ASR Manager on a blade system.As the installation progresses, you are prompted to make several selections. Use the list below to determine how to respond to the installation prompts:
When prompted: “. . . install all packages
,” press [Return].
When prompted: “. . . install conflicting files
,” enter Y.
When prompted: “. . . scripts will be executed with super-user permission during the process of installing this package
,” enter Y.
Once the installation completes successfully, continue to "Install the ASR Package".
You can run sasm
status to get the status of the SASM process. Running this command will return the process ID (PID) of SASM.
Follow the procedure below to install the ASR package on the ASR Manager system.
Open a terminal window and make sure you are logged in to the ASR Manager system as root.
From the directory where you unzipped the ASR package, install the ASR package using the following command:
For Solaris, run: pkgadd -d SUNWswasr.
version_num.pkg
For OEL, run: rpm -i SUNWswasr
.
version_num.rpm
As the installation progresses, you are prompted to make several selections. Use the list below to determine how to respond to the installation prompts:
When prompted: “. . . select all packages to process
,” press [Return] to select all packages.
When prompted: “. . . install conflicting files
,” enter Y.
When prompted: “. . . scripts will be executed with super-user permission during the process of installing this package
,” enter Y.
Add the asr
command to the PATH (update to the root's .profile
, .cshrc
, .kshrc
, or .bashrc
files as needed) (for both Solaris and OEL):
PATH=$PATH:/opt/SUNWswasr/bin export PATH
To confirm proper network connectivity between the ASR Manager and Oracle, go to"Test Connectivity from the ASR Manager to Oracle". When complete, continue to the next procedure "Register the ASR Manager".
Follow the procedure below to register the ASR Manager (for both Solaris and Oracle Enterprise Linux machines). Make sure you are logged in to the ASR Manager system as root.
To register the ASR Manager, run: asr register
Enter 1 or 2 depending on your geographic location: 1) transport.sun.com (Americas or Asia Pacific regions) 2) transport.sun.co.uk (Europe, Middle East, or Africa regions)
If you are using a proxy server for access to the internet, enter the proxy server information as you determined in "ASR Manager Network Connection Requirements". If you are not using a proxy server, enter: -
(hyphen).
Note:
If you are using a SOCKS proxy, enter the hyphen - for no proxy. When completed with the steps in this procedure, manually edit the SASM config.ini file with your SOCKS proxy server information. For instructions, refer to "Configure ASR to Send HTTPS Traffic Through a Proxy Server". If you are using an NTLM proxy, pay close attention to the requirements as shown in the installation prompts (shown below). You may have to contact a network administrator for assistance.Screen output should look like this:
Proxy server name: ? <proxy server name> Proxy port number: ? <proxy port number> Proxy authentication; if authentication is not required, enter -. Proxy user: <proxy user name> Proxy password: <proxy password> If this is an NTLM type proxy, enter the information below. Otherwise, enter - NTLM Domain: [?] <NTLM domain name> Enter the host the NTLM authentication request is originating from. Usually this is the hostname of the SASM server. NTLM Host: [?] <NTLM host name> NTLM support is not bundled with SASM but may be added now. 1) Download jCIFS from http://jcifs.samba.org/ 2) Extract contents and locate the jcifs-*.jar file 3) Enter full path to this file below jCIFS jar file: [?] <full path of jCIFS jar file> Note: These properties are stored in the /var/opt/SUNWsasm/configuration/config.ini file. You can update these properties if needed and then restart the SASM.
Enter the username and password of your Sun Online Account (SOA) when prompted.
Upon entry of your SOA credentials, ASR will validate the login. Once validated, the registration is complete.
Check the registration status of ASR. Run: asr show_reg_status
A message is displayed on the screen indicating whether ASR is registered with the transport server.
To be sure that ASR can send information to the transport server, run:
asr test_connection
This command sends a test message (ping) to the transport server.
Upon successful results of the above commands, the registration of the ASR Manager is complete.
Crontab entries are automatically created when the ASR Manager is installed. These crontab entries perform the following tasks:
asr heartbeat: This task sends a message to the Oracle backend server every 12 hours. If the Oracle/ASR back-end systems do not receive the heartbeat in 48 hours, they send an email to the Sun Online Account (SOA) technical contact used to install/register the ASR Manager. Refer to "ASR Emails" for more information.
Note:
The ASR Manager must be configured correctly to send the daily cron job for asr heartbeat. Failure to do so will result in the unit being marked a 'Heartbeat Failure' unitIf a SASM Manager is in Heartbeat Failure mode for 90 days, it will be automatically deactivated at the ASR backend and in My Oracle Support. Also, any assets that are configured via that ASR Manager will also be marked deactivated. This will prevent any future events creating automatic Service Requests.
You check to see if any ASR Manager or ASR Asset are in 'Heartbeat Failure' by reviewing the ASR status in My Oracle Support.
asr update_rules: ASR uses fault rules to filter the telemetry data sent from ASR Assets. This filtering is done to remove telemetry that contains no real fault data and general telemetry “noise.” The filtering process also ensures that telemetry that contains faults is reported. These fault rules can change as ASR improves its filtering and as new platforms and telemetry sources are supported by ASR. ASR installs a cron job on the ASR Manager system to periodically check Oracle's autoupdate server for any new rules updates. When there are new rules, the ASR Manager automatically downloads and installs the latest rules bundle. If the cron job is not set to download the fault rules automatically, an email is sent to the SOA login name used to install and register ASR. For more information on fault rules, refer to "ASR Emails".
Note:
If the asr heartbeat is disabled in crontab, you will not be notified, via email, if your ASR fault rules are out of date with the most current release. To be sure your fault rules are current, you can run theasr update_rules
command from the ASR Manager system.The crontab entries are set-up as follows and can be changed by the ASR installer as needed:
asr heartbeat: 0 0,12 * * * /opt/SUNWswasr/bin/asr heartbeat
asr report: 0 6 1 * * /opt/SUNWswasr/bin/asr report
update rules: 0
<random number between 1-59> 0
<random number between 1-23> * * * /opt/SUNWswasr/bin/update_rules.sh