0% found this document useful (0 votes)
231 views7 pages

ASR Manager Install

The document provides instructions for installing and upgrading an ASR Manager. It describes downloading packages, installing Java, installing or upgrading the ASR package using pkgadd or rpm, completing the interactive installation prompts, adding the asr command to PATH, registering the ASR Manager, and verifying the installation and registration. It also provides backup and restoration instructions for upgrading between versions.

Uploaded by

Hieu Tran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
231 views7 pages

ASR Manager Install

The document provides instructions for installing and upgrading an ASR Manager. It describes downloading packages, installing Java, installing or upgrading the ASR package using pkgadd or rpm, completing the interactive installation prompts, adding the asr command to PATH, registering the ASR Manager, and verifying the installation and registration. It also provides backup and restoration instructions for upgrading between versions.

Uploaded by

Hieu Tran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 7

ASR Manager Installation.

1.- Please download the packages on the server where the ASR Manager will be
installed:

- From here: Oracle Auto Service Request (ASR) (Doc ID 1185493.1)

2.- Install the latest version of Java JDK

http://www.oracle.com/technetwork/java/javase/downloads

3.- Install the ASR Package:

- For Solaris, run:


pkgadd -d <asrmanager-version_num-time_stamp>.pkg

- For OEL, run:


rpm -i <asrmanager-version_num-time_stamp>.rpm

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

5.- Add the asr command to the PATH environment variable. This update would be made
to the root user’s .profile, .cshrc, .kshrc, or .bashrc files as needed (for both
Solaris and Linux):
PATH=$PATH:/opt/asrmanager/bin

export PATH

6.- Confirm proper network connectivity between the ASR Manager and Oracle, as
described in

Test Connectivity from the ASR Manager to Oracle. When complete, continue to
Registering the ASR Manager.

7.- To register the new configuration. Run: /opt/asrmanager/bin/asr register

Enter 1 to select or type:

https://transport.oracle.com

Note: If you are registering the system with an ASR Manager Relay, see Enabling
HTTP Receiver for ASR Manager Relay, Solaris 11, and VOP.

8.- Enter proxy server details:

If you are using a proxy server to access the internet, see the instructions in

Configuring ASR Manager to Use a Proxy Server.


If you are not using a proxy server, enter a hyphen: -

9.- Enter the username and password of your My Oracle Support (MOS) account when
prompted.

10.- Upon entry of your MOS credentials, ASR will validate the login. Once
validated, the registration is complete.

11.- Check the registration status of ASR:


asr> show_reg_status

A message is displayed on the screen indicating whether ASR is registered with the
transport server.

12.- To be sure that ASR can send information to the transport server:
asr> test_connection

This command sends a test message (ping) to the transport server.

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

ASR Manager Upgrade from 4.9 to 5.xx and Later:

Please download the packages on the server where the ASR Manager will be installed:

- From here: Oracle Auto Service Request (ASR) (Doc ID 1185493.1)

a) Backup:

1. Verify all information is in the database that is activated:


asr> list_asset

2. Stop OASM so that data does not change in middle of backup:

- For Solaris, run:


svcadm disable sasm

- For Linux, run:


service sasm stop

3. Back up the database directory. Run:


tar -cvf db.tar.bz /var/opt/SUNWsasm/db

4. Create a backup of the ASR configuration. Run:


tar -cvf configuration.tar.bz /var/opt/SUNWsasm/configuration

5. Copy both db.tar.bz and configuration.tar.bz files to their proper backup


destination.

b) Upgrade:

1. Remove the necessary packages from the ASR Manager system:

Note: Verify that you have the current version of OASM running as it may still be
valid for several revisions of ASR.

- For Solaris:
pkgrm SUNWswasr

- For OEL:
rpm -e SUNWswasr

Also remove the OASM packages.

- For Solaris:
pkgrm SUNWsasm

- For OEL:
rpm -e SUNWsasm

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.

3. Installing the ASR Plugin:

- For Solaris, run:


pkgadd -d <asrmanager-version-timestamp>.pkg

- For Linux, run:


rpm -i <asrmanager-version-timestamp>.rpm

4. Register the new configuration. Run:


/opt/asrmanager/bin/asr register

5. List ASR Assets, run:


asr> list_asset

If there is any error message or there is no output then you need to continue with
the restore section at the bottom.

ASR Manager Upgrade from 5.0 to 5.xx and Later:

Please download the packages on the server where the ASR Manager will be installed:

- From here: Oracle Auto Service Request (ASR) (Doc ID 1185493.1)

a) Backup:

1. Verify all information is in the database that is activated:


asr> list_asset

2. Stop ASR Manager so that data does not change in middle of backup:

- For Solaris, run:


svcadm disable asrm

- For Linux, run:


service asrm stop

3. Back up the database directory. Run:


tar -cvf db.tar.bz /var/opt/asrmanager/db

4. Create a backup of the ASR configuration. Run the following commands for your
installed version of ASR:

- For ASR 5.0 and later:


tar -cvf configuration.tar.bz /var/opt/asrmanager/configuration

5. Copy both db.tar.bz and configuration.tar.bz files to their proper backup


destination.

b) Upgrade:

1. Remove the ASR 5.0 or later package from the ASR Manager system:

- For Solaris:
pkgrm asrmanager

- For Linux:
rpm -e asrmanager

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.

2. Installing the ASR Package:

- For Solaris, run:


pkgadd -d <asrmanager-version_num-time_stamp>.pkg

- For OEL, run:


rpm -i <asrmanager-version_num-time_stamp>.rpm

4. Register the new configuration. Run:


/opt/asrmanager/bin/asr register

5. List ASR Assets, run:


asr> list_asset

If there is any error message or there is no output then you need to continue with
the restore section at the bottom.
Restore (Optional for ASR 4.xx and 5.xx):

(ASR Manager 4.xx)

1.Verify all information is in the database that is activated:


asr> list_asset

2. Stop OASM to restore files:

- For Solaris, run:


svcadm disable sasm

- For Linux, run:


service sasm stop

3. Install the ASR plug-in and OASM:

- For Solaris, run:


pkgadd -d SUNWsasm-version-timestamp.pkg
pkgadd -d SUNWswasr-version-timestamp.pkg

- For Linux, run:


rpm -i SUNWsasm-version-timestamp.rpm
rpm -i SUNWswasr-version-timestamp.rpm

4. Restore the files from backup:

a. Remove files
/var/opt/SUNWsasm/configuration and /var/opt/SUNWsasm/db

b. Copy backup data to


/var/opt/SUNWsasm/

c. Extract the tar files (both Solaris and Linux):


tar -xvf configuration.tar.bz
tar -xvf db.tar.bz

5. Verify the files have been correctly extracted. Run:


ls /var/opt/SUNWsasm/

6. Restart OASM. Run:

- For Solaris, run:


svcadm enable sasm

- For Linux, run:


service sasm start

7. Register the backup configuration:


asr> register

(ASR Manager 5.xx)

1.Verify all information is in the database that is activated:


asr> list_asset
2.Stop ASR Manager to restore files:

- For Solaris, run:


svcadm disable asrm

- For Linux, run:


service asrm stop

3. Install the ASR Manager plug-in:

- For Solaris, run:


pkgadd -d <asrmanager-version-timestamp>.pkg

- For Linux, run:


rpm -i <asrmanager-version-timestamp>.rpm

4. Restore the files from backup:

a. Remove files:
/var/opt/asrmanager/configuration and /var/opt/asrmanager/db

b. Copy backup data to


/var/opt/asrmanager/

c. Extract the tar files (both Solaris and Linux):


tar -xvf configuration.tar.bz
tar -xvf db.tar.bz

5. Verify the files have been correctly extracted, run:


ls /var/opt/asrmanager/

6. Restart ASR Manager, run:

- For Solaris, run:


svcadm enable asrm

- For Linux, run:


service asrm start

7. Register the backup configuration:


asr> register

End.-

add DNS server


vi /etc/hosts
127.0.0.1 localhost.localdomain localhost

svcadm enable asrm


/opt/asrmanager/util/check_asr_status.sh
/opt/asrmanager/bin/asr test_connection
/opt/asrmanager/bin/asr heartbeat
svcs -a | grep asrm

asr activate_asset -i <IP address>or asr activate_asset -h <hostname>

ILOM Assets
-> set /SP/alertmgmt/rules/3/ type=snmptrap destination=172.25.2.50
destination_port=162 level=minor snmp_version=2c community_or_username=public

then send test alert

-> set /SP/alertmgmt/rules/3 testrule=true

You might also like