Oracle® Auto Service Request Release 3.5 for Oracle 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 Oracle Automated Service Manager (OASM) installation and version
Download the latest OASM and ASR packages
Install the OASM and ASR packages
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:
Verify access to My Oracle Support (login and password).
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 Linux 5.3 or later
Windows 7/Windows XP
VirtualBox running Solaris 10u6 or later
VirtualBox running Oracle Linux 5.3 or later
Installation on M-Series domains and blade servers
Note:
Oracle Linux 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 Linux systems.
Note:
If your ASR Manager system is running Solaris 11, the installation of STB is not required. See "Enable the HTTP Receiver for Solaris 11 ASR Assets".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 platform.
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 -Ex
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".
Download and unzip the latest Sun Service Tags .zip
file. You can download Sun Service Tags 1.1.5 from:
https://updates.oracle.com/download/12757884.html
Note:
The Sun Service Tags are only required for an ASR Manager system that is also identified as an ASR Asset.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 OASM. 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 OASM installed. For more information on the relationship between OASM 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 OASM:
For Solaris, run: pkginfo -l SUNWsasm
For Oracle Linux, run: rpm -q SUNWsasm
Make note of the results and continue to the next section.
Note:
OASM on Oracle Linux 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 Oracle Automated Service Manager (OASM) installed, follow the procedure below to download both the OASM and ASR packages.
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 OASM 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 OASM 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.
If you do not need to install OASM, skip the following procedure and go to "Install the ASR Package". Otherwise, continue to the following procedure.
Follow the procedure below to install OASM.
Note:
OASM 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 OASM package, install the OASM package using the following command:
For Solaris, run: pkgadd -d SUNWsasm
.version_num.pkg
For Oracle Linux, 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".
Run the following command to get the status of the OASM process ID (PID):
For Solaris: svcs sasm
For Oracle Linux: /opt/SUNWsasm/bin/sasm status
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 Oracle Linux, 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 Oracle Linux):
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 10u6, Solaris 11, and Oracle Linux machines). Make sure you are logged in to the ASR Manager system as root.
To register the ASR Manager, run: asr register
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 OASM 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 My Oracle Support account when prompted.
Upon entry of your My Oracle Support 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.
Solaris 11 includes the ability to send ASR fault events and telemetry to Oracle using xml over HTTP to the ASR Manager.
To enable this capability, use the asr enable_http_receiver
command. Select a port for the HTTP receiver that is appropriate for your network environment and does not conflict with other network services.
Follow the procedure below to enable the HTTP receiver for Solaris 11 ASR Assets. Make sure you are logged in to the ASR Manager system as root.
After installing ASR 3.5 or later, enable the HTTP receiver:
/opt/SUNWswasr/bin/asr enable_http_receiver -p <port_number>
Note:
If you need to disable the HTTP receiver, run:/opt/SUNWswasr/bin/asr disable_http_receiver
Verify the HTTP receiver is up and running. In a browser, go to:
http://<asr_manager_host>:<port_number>/asr
A message will display indicating that the HTTP receiver is up and running.
If you need to use HTTPS for security purposes, you can set up HTTPS/SSL for the ASR Manager HTTP receiver:
The detailed steps for enabling https/SSL for Jetty are documented at http://docs.codehaus.org/display/JETTY/How+to+configure+SSL
Once the SSL certificate from a trusted authority is loaded into keystore, then add the following SSL connector in /var/opt/SUNWsasm/configuration/jetty/jetty.xml
below the <Call name="addConnector">
sections:
<Call name="addConnector"> <Arg> <New class="org.mortbay.jetty.security.SslSocketConnector"> <Set name="Port">443</Set> <Set name="maxIdleTime">30000</Set> <Set name="keystore">/path/to/keystore</Set> <Set name="password">....</Set> <Set name="keyPassword">....</Set> <Set name="truststore">/path/to/keystore</Set> <Set name="trustPassword">....</Set> </New> </Arg> </Call>
Passwords above can be plain text or obfuscated as follows:
java -classpath lib/jetty-6.1.7.jar:lib/jetty-util-6.1.7.jar org.mortbay.jetty.security.Password <plaintext-password>
Then copy/paste the output line starting with OBF:
(including the OBF:
part) into this jetty.xml
config file.
Restart OASM:
Solaris: svcadm restart sasm
Oracle Linux: /opt/SUNWsasm/bin/sasm stop-instance
and then run /opt/SUNWsasm/bin/sasm stop-instance
Verify the SSL setup by accessing the following URL from a browser:
https://<asr_manager_host>/asr
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 My Oracle Support account's 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 as a 'Heartbeat Failure' unit.If an ASR 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 can 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 crontab entry for automatic rules updates is disabled, the you will receive an e-mail, which will be sent to the email address associated with the MOS account used to register the ASR Manager, to notify you that updated rules are available. 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