Site icon DBA의 정석

[ODA] ODA Storage Disk 교체 방법

 

간혹 ODA 를 사용하다가 Disk 장애가 나서 Disk를 교체하려고 할때
 
Exadata 나 다른
Engineered System은 보통
ASM util 등을 이용하여
 
query 문을 통하여 Disk 를 off 시키고 교체 후
rebuilding 작업을 수행하시지만
O
 
DA에서는 보다 손쉽게 oakcli 명령을 이용하시면 간편합니다.
 
#
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


문서번호는 Doc ID 2007339.1 입니다.

 

ODA : How to Identify a Disk to be
Physically Replaced [
문서
ID 2007339.1]

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

 

Exit mobile version