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-71-1281395.1
Update Date:2017-07-03
Keywords:

Solution Type  Technical Instruction Sure

Solution  1281395.1 :   Steps to manually create cell/grid disks on Exadata if auto-create fails during disk replacement  


Related Items
  • Exadata X3-2 Hardware
  •  
  • Exadata Database Machine X2-8
  •  
  • Exadata X3-8 Hardware
  •  
  • Exadata Database Machine X2-2 Hardware
  •  
  • Exadata Database Machine V2
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Exadata>DB: Exadata_EST
  •  
  • _Old GCS Categories>ST>Server>Engineered Systems>Exadata>Administration and Configuration
  •  


You replace a failed drive on an Exadata system but the cell and grid disks were not automatically created.

Applies to:

Exadata Database Machine V2 - Version All Versions and later
Exadata Database Machine X2-2 Hardware - Version All Versions and later
Exadata X3-2 Hardware - Version All Versions and later
Exadata Database Machine X2-8 - Version All Versions and later
Exadata X3-8 Hardware - Version All Versions and later
Information in this document applies to any platform.
***Checked for relevance on 30-Nov-2012***

Goal

These steps will help guide you to manually create the cell and grid disks for Exadata if the auto-create happens to fail for some reason.

Solution

ALL OUTPUT IS TRUNCATED. 

1. In this example we are showing the issue is with disk 07.  It has been recently replaced.  You confirm the status in alerthistory and notice the cell and grid disks were NOT automatically created for you.

CellCLI> list alerthistory
     10_2     2011-01-04T16:15:19-05:00     clear        "Hard disk replaced.  Status        : NORMAL  Manufacturer  : SEAGATE  Model Number  : ST360057SSUN600G  Size          : 600G  Serial Number : E11C14  Firmware      : 0705  Slot Number   : 7  Cell Disk     : No cell disk exists  Grid Disk     : No grid disks exist"


2. Next confirm the physical disk and lun are fine, but the cell and grid disk are not created.

CellCLI> list physicaldisk
20:7          E11C14      normal

CellCLI> list lun
0_7      0_7                 normal

CellCLI> list celldisk
--no 07
CD_06_dm03cel13     normal
CD_08_dm03cel13     normal

CellCLI> list griddisk
--no 07 for all groups
DATA_CD_06_dm03cel13         active
DATA_CD_08_dm03cel13         active
...
RECO_CD_06_dm03cel13         active
RECO_CD_08_dm03cel13         active
...
SYSTEMDG_CD_06_dm03cel13     active
SYSTEMDG_CD_08_dm03cel13     active

 


3. You can manually create the cell disk.  Run the following command to confirm the disk serial number to the lun number before starting:  The serial number was listed in alerthistory.

CellCLI> list physicaldisk where physicalSerial=E11C14 detail
         name:                   20:7
         ...
         luns:                   0_7
         ...
         physicalSerial:         E11C14

        
4. You need the above output to match the cell disk to the lun.  In this example, we see the lun is 0_7.  We will use the same naming convention to create the new cell disk.  Check the "list celldisk" to see YOUR naming convention:

cellcli> create celldisk CD_07_dm03cel13 lun=0_7


5. Next, query a different grid disk in order to pull the necessary information (name, size, offset).  In this example, we will look at the grid disks for cell disk 06 and use them as a guide:

CellCLI> list griddisk where celldisk=CD_06_dmorlcel01 attributes name,size,offset
         DATA_CD_06_dm03cel13                 220G                32M
         RECO_CD_06_dm03cel13                 308.6875G       220.046875G
         SYSTEMDG_CD_06_dm03cel13       29.125G           528.734375G


6. Create the new grid disks in the order BASED ON THE OFFSET, using the sizes shown from the previous command.  Note: the above query is listed in alphabetical order and just happens to match the order the drives were created by offset (32M first, then 220G next, finally 528G offset).  This order might be different for you.  Please review this carefully.

CellCLI> create griddisk DATA_CD_07_dm03cel13 celldisk=CD_07_dm03cel13,size=220G
CellCLI> create griddisk RECO_CD_07_dm03cel13 celldisk=CD_07_dm03cel13,size=308.6875G
CellCLI> create griddisk SYSTEMDG_CD_07_dm03cel13 celldisk=CD_07_dm03cel13,size=29.125G


7. Run the previous query on the new grid disks and make sure all the offsets are matching (in the third column):

CellCLI> list griddisk where celldisk=CD_07_dmorlcel01 attributes name,size,offset
         DATA_CD_07_dm03cel13                 220G                32M
         RECO_CD_07_dm03cel13                 308.6875G       220.046875G
         SYSTEMDG_CD_07_dm03cel13       29.125G           528.734375G


8. At the ASM level, the old disk was likely dropped because the disk drop timer has expired.  Log into +ASM1 instance and add the new disk.  Set the rebalance power higher (11) to perform faster and specify the failgroup if the default (name of Storage Server) is not used.

sql> alter diskgroup data drop disk DATA_CD_07_dm03cel13 force;
sql> alter diskgroup data add {failgroup <FAILGROUP>} disk 'o/*/DATA_CD_07_dm03cel13' rebalance power 11;


Do the same for RECO and SYSTEMDG from a different ASM instance (to balance the work) or wait until DATA finishes on +ASM1.

If after disk replacement old celldisk and griddidsk are in state proactive failure or any other that prevents them from being deleted, try following for your lun number :

celcli> ALTER CELL RESTART SERVICES cellsrv
celcli> alter lun {lun number} reenable force

for example :
celcli> alter lun 0_0 reenable force

After this, you should  be able to delete cell and griddisks that corresponds to your physical disk
(it may be even done automatically).

Next, you'll be tasked to create cell disk and griddisk.
You'd better to have backed up somewhere name for celldisk and size and name for griddisks.

Finally after griddisks are created they should be presented in ASM but marked as candidates,
and you'll need to enable them.

 

 

 


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