Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Reading config file from other folder inside class Python/PySpark
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Oracle Metalink useful notes Oracle
  • Find_table_size.sql Oracle
  • Jai Shree Ram Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • Index Range Scan Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • Read CSV File using Python Python/PySpark
  • Absolute file number and relative file number Oracle
  • CPU speed on Linux Linux/Unix
  • find_err.sql for finding errors from dba_errors. Oracle
  • sid_wise_sql.sql Further explaination Oracle

Exadata Basics

Posted on 10-Dec-202410-Dec-2024 By Admin No Comments on Exadata Basics

In an Oracle Exadata environment, cell node storage disks are presented to compute nodes as ASM disks, and this mapping occurs through the Oracle ASM (Automatic Storage Management) and Exadata Storage Server software (CellCLI).

Here’s a detailed explanation of how the cell node storage disks are mapped to the compute nodes:


1. Cell Node Storage: Physical Storage Hierarchy

On the cell nodes, the storage hierarchy consists of:

  1. Physical Disks: Physical hard drives or SSDs in the Exadata storage cells.
  2. Cell Disks: Logical partitions created from physical disks. These are managed by the Exadata software.
  3. Grid Disks: Subdivisions of cell disks that are exposed to the ASM instances on the compute nodes. Grid disks are assigned to specific ASM disk groups (e.g., DATA, RECO).

2. Compute Node: Logical ASM Disk View

On the compute nodes, the grid disks appear as ASM disks, which are presented to the ASM instance. ASM uses these disks to manage storage for Oracle databases.

3. Key Mapping Steps

The process of mapping storage from the cell nodes to compute nodes involves the following steps:

Step 1: Cell Disk Creation

  • On the cell node, physical disks are divided into cell disks using CellCLI.
  • Example:bashCopy codecellcli -e "create celldisk all" This creates cell disks on all physical drives.

Step 2: Grid Disk Creation

  • Grid disks are created on top of cell disks and assigned to specific ASM disk groups.
  • Example:bashCopy codecellcli -e "create griddisk all prefix=DATA size=100G" This creates grid disks with the prefix DATA.

Step 3: Grid Disk Export to Compute Node

  • The grid disks are presented to the compute nodes as logical devices. These devices are visible in ASM as ASM disks.
  • ASM on the compute node identifies the grid disks through the asm_diskstring parameter, typically set to a path like /dev/oracleasm/disks/* or /dev/mapper/*.

Step 4: Discovery by ASM Instance

  • On the compute node, ASM scans the asm_diskstring to identify available disks. The ASM disk header contains:
    • Disk group name (e.g., DATA, RECO).
    • ASM disk name (e.g., DATA1, RECO1).
    • Disk UUID or label for unique identification.

4. Common Identifiers for Mapping

The mapping relies on shared identifiers between the cell nodes and the compute nodes:

  1. ASM Disk Name:
    • Assigned during grid disk creation.
    • Visible on both the cell node (cellcli) and compute node (asmcmd).
  2. Disk Group Name:
    • Specifies which ASM disk group the grid disk belongs to.
  3. Disk Header Information:
    • Contains metadata such as disk UUID or label.
  4. Disk UUID:
    • A unique identifier present in the disk header.

5. Viewing Disk Mapping

On the Cell Node

  • Use the CellCLI command to list the grid disks and their attributes:bashCopy codecellcli -e "list griddisk attributes name,asmDiskGroup,asmDiskName" Example output:Copy codename asmDiskGroup asmDiskName DATA_CD_01 DATA DATA1 DATA_CD_02 DATA DATA2

On the Compute Node

  • Use the asmcmd command to list ASM disks:bashCopy codeasmcmd lsdsk -k Example output:bashCopy codeGroup_Num Disk_Num Incarn Mount_Stat Header_Stat Mode_Stat State Path 1 0 12345678 CACHED MEMBER ONLINE NORMAL /dev/oracleasm/disks/DATA1 1 1 87654321 CACHED MEMBER ONLINE NORMAL /dev/oracleasm/disks/DATA2

6. How the Mapping Works

  • The cell node exposes grid disks as logical volumes.
  • The compute node accesses these grid disks as ASM disks through the ASM instance.
  • ASM handles the logical organization of disks into disk groups, allowing Oracle databases to store data efficiently across multiple cell nodes.

7. Summary of Key Mapping Components

Cell Node (Storage)Compute Node (ASM)
Physical DisksNot visible
Cell DisksNot visible
Grid DisksAppear as ASM disks
Grid Disk NameMatches ASM disk name (DATA1)
Disk Group (asmDiskGroup)Matches ASM disk group (DATA)
UUID/Disk IDMatches between cell and compute

8. Practical Example

If DATA_CD_01 is a grid disk on the cell node:

  • On the cell node:bashCopy codecellcli -e "list griddisk where name='DATA_CD_01' attributes asmDiskName,asmDiskGroup" Output:makefileCopy codeasmDiskName: DATA1 asmDiskGroup: DATA
  • On the compute node:bashCopy codeasmcmd lsdsk -k Output:javascriptCopy codePath: /dev/oracleasm/disks/DATA1 Disk Group: DATA

This confirms the mapping.

Oracle

Post navigation

Previous Post: Reading config file from other folder inside class
Next Post: CPU Core related projections

Related Posts

  • longtx.sql with the flag whether session is blocking any DML locks or not. Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • 556976.1 Oracle Clusterware: Components installed Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Good Link from metalink 1 Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (387)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (336)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024
  • Add new columns in dataframe30-Sep-2023

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find long Running Transaction Linux/Unix
  • currwait.sql Oracle
  • 272332.1 CRS 10g Diagnostic Collection Guide Oracle
  • USE_NL and INDEX hints example Oracle
  • Debugging Shell FIles Linux/Unix
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Jai Shree Ram Linux/Unix
  • PLSQL Table Syntax 2 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme