Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2007339.1
Update Date:2015-05-11
Keywords:

Solution Type  Problem Resolution Sure

Solution  2007339.1 :   ODA oakcli locate disk command : How To Identify a Disk to be Physically Replaced  


Related Items
  • Oracle Database Appliance X4-2
  •  
  • Oracle Database Appliance Software
  •  
  • Oracle Database Appliance X3-2
  •  
  • Oracle Database Appliance X5-2
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Database Appliance>DB: ODA_EST
  •  


ODA oakcli command is used for many maintenance operations including confirming the physical disk to be replaced using the OAKCLI LOCATE DISK command

Applies to:

Oracle Database Appliance Software - Version 2.1.0.1 to 12.1.2.2 [Release 2.1 to 12.1]
Oracle Database Appliance X3-2 - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance X4-2 - Version All Versions to All Versions [Release All Releases]
Oracle Database Appliance X5-2 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

 We have a disk that needs to be replaced but we do not know which Physical Disk matches the bad disk identified in software commands

Changes

 A problem with a disk has resulted in needing to replace it. However, there are many disks in the ODA configuration.

Cause

 Bad or predictive failure for an ODA disk detected

Solution

Use the following oakcli command to turn the LED ON or OFF.
This helps technicians properly identify the disk needing replacement.

oakcli locate disk  <diskname>   <on | off>

where:
        on     - turns on the  LED of the given disk
        off    - turns off the LED of the given disk

 

Examples

Usage on X3-2, X4-2 or X5-2
 

[root@odax31 ~]# oakcli locate disk e0_pd_00 on

Disk: e0_pd_00 and to: ON



[root@odax31 ~]# oakcli locate disk e0_pd_00 off

Disk: e0_pd_00 and to: OFF


Usage on V1
 

[root@oda1-base ~]# oakcli locate disk pd_00 on

Disk: pd_00 and to: ON

[root@oda2-base ~]# oakcli locate disk pd_00 off

Disk: pd_00 and to: OFF

  

COMMENTS

The format is different depending on the HW version used.
As of X3-2 and higher the disk name is also dependent on the Storage Shelf Number

  

V1                         will use pd_XX    format for the disk name

X3-2, X4-2, X5-2    will use e[0|1]_pd_xx   

                             - where e0 is for the original JBOD (storage shelf)
                                         e1 is for the second JBOD (optional storage shelf)

 
X3-2 and higher:The Disk Name uses a prefix of e0 or e1


[root@odax3rm1 ~]# oakcli show disk
        NAME            PATH            TYPE            STATE           STATE_DETAILS

        e0_pd_00        /dev/sda        HDD             ONLINE          Good
        e0_pd_01        /dev/sdb        HDD             ONLINE          Good
        e0_pd_02        /dev/sdcs       HDD             ONLINE          Good
        e0_pd_03        /dev/sdbv       HDD             ONLINE          Good
        e0_pd_04 <<     /dev/sdbw       HDD             OFFLINE         Bad

...
        e0_pd_23        /dev/sdcp       SSD             ONLINE          Good
        e1_pd_00        /dev/sdav       HDD             ONLINE          Good
        e1_pd_01        /dev/sdaw       HDD             ONLINE          Good
        e1_pd_02        /dev/sdax       HDD             ONLINE          Good
        e1_pd_03        /dev/sdaa       HDD             ONLINE          Good
...
...


V1:  The Disk Name uses pd_xx with no e0 or e1 prefix


[root@odarm2-base ~]# oakcli show disk
        NAME            PATH            TYPE            STATE           STATE_DETAILS

        pd_00           /dev/sda        HDD             ONLINE          Good
        pd_01           /dev/sdk        HDD             ONLINE          Good
        pd_02           /dev/sdm        HDD             ONLINE          Good
        pd_03           /dev/sdw        HDD             ONLINE          Good
        pd_04           /dev/sdb        HDD             ONLINE          Good
        pd_05           /dev/sdl        HDD             ONLINE          Good
        pd_06           /dev/sdn        HDD             ONLINE          Good
        pd_07           /dev/sdx        HDD             ONLINE          Good

  


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback