Skip Headers
Oracle® Auto Service Request
Release 3.2 for Oracle Enterprise Linux and Solaris
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
Mobi · ePub

Install the ASR Manager

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:

  1. Install Service Tags

  2. Check for SASM installation and version

  3. Download the latest SASM and ASR packages

  4. Install the SASM package

  5. Install the ASR package

  6. Register and verify the ASR Manager

  7. 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 (see http://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".

Prerequisite Tasks

The following tasks should already be complete before the ASR Manager is installed:

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:

Note:

OEL runs on x86 servers, and logical domains are specific to Solaris SPARC servers

The 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.

Install Service Tags

This section provides instructions for downloading the appropriate software to enable service tags for Solaris and Oracle Enterprise Linux (OEL) systems.

Install Service Tools Bundle (STB) for Solaris

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".
  1. On the system where ASR is to be installed, open a terminal window and log in as root.

  2. 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.
  3. Click the install_stb.sh.tar file to download it

  4. Untar the file from the download directory:

    tar -xvf install_stb.sh.tar
    
  5. 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.
  6. 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].

  7. To confirm that STB is installed correctly, and that it is reporting your system's serial number correctly, run:

    sneep -a

  8. 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]

  9. Run the following command to be sure that STB is reporting your system attributes correctly:

    stclient -E

  10. 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

  11. If you are not getting the correct data, re-install STB.

  12. Proceed to "Install the ASR Package".

Install Service Tags for Oracle Enterprise Linux (OEL)

  1. 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.
  2. Download and unzip the latest svctag.i386.linux.zip file.

  3. 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
    
  4. 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

Check for SASM Installation and Version

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".

  1. Open a terminal window to the system where the ASR Manager is to be installed and log in as root.

  2. Run the following command to determine the existence and version of SASM:

    • For Solaris, run: pkginfo -l SUNWsasm

    • For OEL, run: rpm -q SUNWsasm

  3. 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 that sasm is running. The default values are to check every 12 minutes.

Download the SASM and ASR Packages

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.
  1. From the machine where the ASR Manager is to be installed, open a terminal window and make sure you are logged in as root.

  2. 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.
  3. 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

  4. 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.

Install the SASM Package

Follow the procedure below to install SASM.

Note:

SASM is installed on the ASR Manager system only, not ASR Assets.
  1. Open a terminal window and make sure you are logged in to the ASR Manager system as root.

  2. 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.
  3. 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.

  4. 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.

Install the ASR Package

Follow the procedure below to install the ASR package on the ASR Manager system.

  1. Open a terminal window and make sure you are logged in to the ASR Manager system as root.

  2. 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

  3. 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.

  4. 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

  5. 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".

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.

  1. To register the ASR Manager, run: asr register

  2. 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)

  3. 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.
  4. 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.
    
  5. Enter the username and password of your Sun Online Account (SOA) when prompted.

  6. Upon entry of your SOA credentials, ASR will validate the login. Once validated, the registration is complete.

  7. 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.

  8. 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.

  9. Upon successful results of the above commands, the registration of the ASR Manager is complete.

Set Up Crontab

Crontab entries are automatically created when the ASR Manager is installed. These crontab entries perform the following tasks:

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