********************************************************************************
* Description: Procedure of configuring Oracle Database Appliance [ODA box] ASR
* Date: 04:52 PM EST, 06/08/2017
********************************************************************************


<1> Oracle Auto Service Request:
     |
     |__ o. Oracle Auto Service Request (ASR) is a feature of your Oracle or Sun hardware warranty and Oracle Premier Support for Systems.
            ASR resolves problems faster by automatically opening service requests for Oracle's qualified server, storage, Exadata and Exalogic systems when specific 
            hardware faults occur.

         o. Oracle Auto Service Request is integrated with My Oracle Support. You must use My Oracle Support to activate your ASR Assets.

         o. Your My Oracle Support account must have the administrator privilege for the Support Identifiers (SI) associated with your ASR assets. 
            To see a list of administrators for your Support Identifier: click More -> Settings -> Account and Privileges and then click the Support Identifier.
            If you need administrator permissions, you can email the listed administrator to request access.
	

	
<2> Steps of configuring ODA ASR:
     |
     |__ [root@ODASE0 ~]# oakcli configure asr
         INFO   : Logging all actions in the file /opt/oracle/oak/onecmd/tmp/odase0-20170606190020.log and traces in the file /opt/oracle/oak/onecmd/tmp/odase0-20170606190020.trc
         Please enter
         1 to setup Internal ASR
         2 to setup External ASR
         3 to Deinstall ASR
         0 to Exit
          [1]:1
         Setting up SSH for root...
         Please enter the oda box root password :
         
         Please enter the root password again :
         
         ............Completed
         Internal ASR already configured. This will deinstall your existing setup. Do you want to continue? (Y/N)[N]: y
         spawn /opt/asrmanager/bin/asr unregister
         ASR Manager is not registered.
         
         INFO   : Unable to unregister ASR
         The authenticity of host '192.168.16.24 (192.168.16.24)' can't be established.
         RSA key fingerprint is 94:53:3c:28:2e:34:e3:e2:b3:54:78:57:e2:dd:b0:2f.
         Are you sure you want to continue connecting (yes/no)? yes
         INFO   : Running as root: /usr/bin/ssh -l root 192.168.16.24 /opt/oracle/oak/onecmd/tmp/removeAsrrpm.sh
         The authenticity of host '192.168.16.25 (192.168.16.25)' can't be established.
         RSA key fingerprint is 7f:f7:91:69:3a:88:fd:9f:cc:c7:ea:f1:02:56:92:ec.
         Are you sure you want to continue connecting (yes/no)? yes
         INFO   : Background process 24755 (node: 192.168.16.24) gets done with the exit code 0
         INFO   : Running as root: /usr/bin/ssh -l root 192.168.16.25 /opt/oracle/oak/onecmd/tmp/removeAsrrpm.sh
         INFO   : Background process 25104 (node: 192.168.16.25) gets done with the exit code 0
         INFO   : Running as root: /usr/bin/ssh -l root 192.168.16.24 /opt/oracle/oak/onecmd/asrIlom.pl
         INFO   : Running as root: /usr/bin/ssh -l root 192.168.16.25 /opt/oracle/oak/onecmd/asrIlom.pl
         INFO   : Deleting the ASR entries for asrm /opt/oracle/oak/onecmd/tmp/deleteAsr.sh
         ...
         INFO   : Running as root: /usr/bin/ssh -l root 192.168.16.24 /opt/oracle/oak/onecmd/tmp/deleteAsr.sh
         ...
         INFO   : Running as root: /usr/bin/ssh -l root 192.168.16.25 /opt/oracle/oak/onecmd/tmp/deleteAsr.sh
         Enter the  Proxy Server Name :
         Enter the Proxy Server Port Number :
         Enter Proxy User ID :
         Enter Proxy password:
         Enter Oracle Online Account User Name : amos.geng@emerlit.com
         Enter Oracle Online Account Password :
         Please enter Oracle Online Account Password again :
         Enter SNMP version v2/v3[v2]:v2
         --------------------Summary Of Parameters Entered To Configure Internal ASR--------------------
         Proxy Server Name:
         Proxy Server Port number:
         Proxy User Id:
         Proxy Password:
         ASR User Id: amos.geng@emerlit.com
         SNMP Version: v2
         NODE0 IP : 10.274.100.10
         NODE1 IP : 10.274.100.11
         NODE0 ILOM IP : 10.274.101.10
         NODE1 ILOM IP : 10.274.101.11
         Do you want to reset input parameters? Enter 'y' to reset or 'n' or any other key to continue. (y/n)[n]:n
         Deleting /var/opt/asrmanager
         INFO   : Setting up SNMP params
         ...
         INFO   : Running as root: /usr/bin/ssh -l root odase0 /opt/oracle/oak/onecmd/tmp/setupsnmp.sh
         ...
         INFO   : Running as root: /usr/bin/ssh -l root odase1 /opt/oracle/oak/onecmd/tmp/setupsnmp.sh
         INFO   : /root/Extras/asrmanager-5.3.1-20150924145528.rpm Installation Complete.
         INFO   : Setting up ASR java path and hosts entry
         ...
         INFO   : Running as root: /usr/bin/ssh -l root odase0 /opt/oracle/oak/onecmd/tmp/setupasrjava.sh
         ...
         INFO   : Running as root: /usr/bin/ssh -l root odase1 /opt/oracle/oak/onecmd/tmp/setupasrjava.sh
         Stopping snmpd:                                            [  OK  ]
         Starting snmpd:                                            [  OK  ]
         ASR Manager is stopped.
         ASR Manager (pid 38465) is RUNNING.
         INFO   : Sleeping for 60 seconds before the registration
         INFO   : Setting up ASR RPMs /opt/oracle/oak/onecmd/tmp/setupasr.sh
         spawn /opt/asrmanager/bin/asr register
         
         1) transport.oracle.com
         Select destination transport server or enter full URL for alternate server [1]:
         1
         
         If a proxy server is required for HTTPS communication to the internet,
         enter the information below.  If no proxy is needed, enter -
         Proxy server name []:
         
         An Oracle Single Sign On (OSSO) account is required for data submission.
         If you do not have an account or have forgotten your username or
         password, visit http://support.oracle.com
         
         Username []: amos.geng@emeralit.com
         Password:
         Password again (to verify):
         
         Contacting transport servers. Please wait...
         
         Checking connection to https://transport.oracle.com/v1/
         Connection is ok.  Trying to register client.
         Successfully registered with Oracle ASR Infrastructure.
         Registration complete.
         Successfully submitted ASR Registration Request.
         
         INFO   : ASR registration successful. Activating the assets...
         INFO   : Sleeping for 60 seconds after the registration
         INFO   : Running export JAVA_HOME=/usr/java/default;export PATH=$PATH:/opt/asrmanager/bin;/opt/asrmanager/bin/asr start
         ASR Manager (pid 38465) is already RUNNING.
         INFO   : Activating assets for ASR /opt/oracle/oak/onecmd/tmp/asrilom.sh
         ODASE1 : 2 service tags
         ODASE0 : 2 service tags
         Successfully submitted activation for the asset
         Host Name: ODASE1
         IP Address: 10.274.100.11
         Serial Number: 1420NML0CM
         The e-mail address associated with the registration id for this asset's ASR Manager will receive an e-mail highlighting the asset activation status and any additional 
         instructions for completing activation.
         Please use My Oracle Support http://support.oracle.com to complete the activation process.
         The Oracle Auto Service Request documentation can be accessed on http://oracle.com/asr.
         Successfully submitted activation for the asset
         Host Name: ODASE0
         IP Address: 10.274.100.10
         Serial Number: 1420NML0CY
         The e-mail address associated with the registration id for this asset's ASR Manager will receive an e-mail highlighting the asset activation status and any additional 
         instructions for completing activation.
         Please use My Oracle Support http://support.oracle.com to complete the activation process.
         The Oracle Auto Service Request documentation can be accessed on http://oracle.com/asr.
         
         ODASE0-ilom : 1 service tags
         Successfully submitted activation for the asset
         Host Name: ODASE0-ilom
         IP Address: 10.274.101.10
         Serial Number: 1420NML0CY
         The e-mail address associated with the registration id for this asset's ASR Manager will receive an e-mail highlighting the asset activation status and any additional 
         instructions for completing activation.
         Please use My Oracle Support http://support.oracle.com to complete the activation process.
         The Oracle Auto Service Request documentation can be accessed on http://oracle.com/asr.
         
         ODASE1-ilom : 1 service tags
         Successfully submitted activation for the asset
         Host Name: ODASE1-ilom
         IP Address: 10.274.101.11
         Serial Number: 1420NML0CM
         The e-mail address associated with the registration id for this asset's ASR Manager will receive an e-mail highlighting the asset activation status and any additional
         instructions for completing activation.
         Please use My Oracle Support http://support.oracle.com to complete the activation process.
         The Oracle Auto Service Request documentation can be accessed on http://oracle.com/asr.
         
         Successfully disabled Auto Update functionality.
         
         INFO   : Running as root: /usr/bin/ssh -l root odase0 /opt/oracle/oak/onecmd/asrIlom.pl
         INFO   : Running as root: /usr/bin/ssh -l root odase1 /opt/oracle/oak/onecmd/asrIlom.pl
         INFO   : Resecuring the environment... odase0 odase1
         INFO   : Removing the SSH setup for root...
         
         INFO   : Running as root: /usr/bin/ssh -l root odase0 chmod 751 /opt/oracle/oak/onecmd/tmp
         
         INFO   : Running as root: /usr/bin/ssh -l root odase1 chmod 751 /opt/oracle/oak/onecmd/tmp
         INFO   : Running as root: /usr/bin/ssh -l root odase1 /bin/rm -rf /root/.ssh
         INFO   : Running as root: /usr/bin/ssh -l root odase0 /bin/rm -rf /root/.ssh 
		 

<3> Verifing ASR status:
     |
     |__ $ oakcli show 
     |   |
     |   |__ The internal ASR is configured
     |       ASR Manager IP   : 10.274.100.10
     |       ASR Manager Port : 162
     |       ASR User Name    : amos.geng@emeralit.com
     |       Proxy Host       :
     |       Proxy Port       :
     |       Proxy User Name  :
     |       SNMP Version     : 2c
     |
     |__ $ export JAVA_HOME=/usr/java/default
         $ export PATH=$PATH:/opt/asrmanager/bin;
         $ asr test_connection 
         |
         |__ Email with subject - Oracle ASR: Action Required - Activation is Pending should be received:
             Connecting to endpoint @ https://transport.oracle.com/v1/queue/sasm-ping
             Sending ping message.
             Ping message sent.
             test_transport completed successfully.
             The ASR Manager SNMP listener port is set to 162 and is able to receive SNMP traps from assets.	


<4> Reference:
     |
     |__ https://blogs.oracle.com/estep/oda:-what-is-asr	 
	 
	
	

Your Comments