Database Reference
In-Depth Information
You can run an ASR test by executing the command oakcli test asr . Listing 7-13 shows an example of the
questions asked in response to that command.
Listing 7-13. Running an ASR Test
[root@odax32 bin]# ./oakcli test asr
Please select one of the following to generate ASR test trap[1 .. 4]:
1 => Generate snmptrap test alert from ilom management
2 => Generte disk alert test
3 => Generate TESTSRCREATE snmptrap
4 => Generate test trap using 'oakcli test pd_xx BAD'
The options in Listing 7-13 provide a menu you can use to execute various tests. Output is either written to a log
file or a test SR is created and an e-mail (similar to that shown in Figure 7-1 ) is generated. We can look at the options
in detail. Listing 7-14 shows an example of the data that is displayed via the log file.
Listing 7-14. Log File for ASR Tests
Setting Asr log level to Fine. Wait ...
ASR log level is already set to Fine
Generated and sent test trap successfully using disk alert test
Please check the log files "/var/opt/SUNWsasm/log/sw-asr-accepted.log.*"
Jun 28, 2013 11:14:21 AM com.sun.svc.asr.sw.snmp.common.ControlObject writeAcceptedEventLog
FINE: Trap received from:
x.x.x.x:37491
, community: public
Object ID: .1.3.6.1.2.1.1.3.0
TimeTicks: 30 days, 4 hours, 59 minutes, 26 seconds.
Object ID: .1.3.6.1.6.3.1.1.4.1.0
Object ID: .1.3.6.1.4.1.42.2.175.103.2.0.43
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.1
STRING: Oracle Database Appliance
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.14
STRING: <Serial Number> -- Serial Number of ODA Machine
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.15
STRING: SUN FIRE X4370 M2 SERVER -- Server Type
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.6
STRING: TEST pd_test; Slot = -- type of test
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.7
STRING: NULL
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.8
INTEGER: 0
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.17
STRING: 1
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.18
STRING: NULL
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.10
Object ID: .0.0
Object ID: .1.3.6.1.4.1.42.2.175.103.2.1.9
STRING: SUN FIRE X4370 M2 SERVER ; <server name> Disk TEST_Alert problem:
DISKALRT-0TEST. - Final SNMP String.
 
Search WWH ::




Custom Search