GridDisk Commands In Exadata

In Exadata storage server hierarchy, Grid disk play an essential role while we try to consume or allocate cell disk data because grid disks are only visible to ASM and also asmdisk group are carved out on grid disk, however we also need to manage the grid disk as well when we talk about the management of Exadata storage server hierarchy, below are the commands which we can use in a real time environment to manage grid disk.

NOTE: Since grid disk are carved out of cell disk, so to manage grid disk in exadata,we’ve to login into the cell server.

Validate Grid Disk Info In A Cell Server

[root@exatest ~]# ssh exatestcel01

CellCLI: Release 23.1.8.0.0 - Production on Wed Sep 20 01:10:11 UTC 2023

Copyright (c) 2007, 2023, Oracle and/or its affiliates.

[root@exatestcel01 ~]# cellcli

CELLCLI> list griddisk
         DATA_CD_00_oratestcel01                active
         RECO_CD_00_oratestcel01               active
         DBFS_DG_CD_04_oratestcel01         active
-- -- & So on…..

                                            Detail Of a Specific Grid Disk

CellCLI> list griddisk DATA_CD_00_oratestcel01 detail    
                 name:                                                DATA_CD_00_oratestcel01         
                asmDiskGroupName:                     DATA
                asmDiskName:                                 DATA_CD_00_oratestcel01
                asmFailGroupName:                       ORATESTCEL01
                availableTo:
                cachedBy:                                          FD_02_oratestcel01
                cachingPolicy:                                   default
                cellDisk:                                             CD_00_oratestcel01         
                comment:                                          "Cluster oratest diskgroup DATA"
                diskType:                                           HardDisk
                id:                                                       
                size:                                                    4.63333T
                status:                                                active

Describe The Content of A Grid Disk

CellCLI> describe griddisk
         Name                                                   modifiable
               asmDeactivationOutcome                hidden
               asmDiskGroupName                        
               asmDiskGroupType                         hidden
               asmDiskName
               asmDiskRRepairTime                     hidden
               asmDiskSize                                      hidden
               asmFailGroupName
               asmModeStatus                                hidden
               availableTo                                         modifiable
               cachedBy
               cachingPolicy                                     modifiable
               cellDisk
               comment                                            modifiable
               creationTime
               diskType
               errorCount                                          hidden
               groupName                                         modifiable
               id
               size                                                       modifiable
               sizeAllocated
               sparse
               status
               virtualSize                                           modifiable
                                     Find Specific Grid Disk Content

CellCLI> list griddisk DATA_CD_00_oratestcel01 attributes name,cellDisk,diskType      
                DATA_CD_00_oratestcel01        active       HardDisk

Find All The Attribute Of A Specific Grid Disk

CellCLI> list griddisk DATA_CD_00_oratestcel01 attributes all
               DATA_CD_00_oratestcel01           DATA               DATA_CD_00_oratestcel01           ORATESTCEL01               FD_02_oratestcel01         default   DATA_CD_00_oratestcel01               “cluster oratest diskgroup DATA” 
---- & so, on

                 Validate If Grid Disk can make offline without losing data

CellCLI> list griddisk DATA_CD_00_oratestcel01 attributes     
                 name,asmdeactivationoutcome,asmmodestatus
               DATA_CD_00_oratestcel01 YES ONLINE

NOTE: "YES" in asmdeactivationoutcome column indicate that the grid disk data is mirror in some other grid disk in cell server.

NOTE: If the asmdeactivationoutcome is coming as "NO" then bringing this grid disk offline will result in a data loss.

Find comment On a Grid Disk

CellCLI> list griddisk DATA_CD_00_oratestcel01 attributes comment

                “Cluster orates02 diskgrup DATA”

                                    Change Comment On A Grid Disk

CellCLI> alter griddisk DATA_CD_00_oratestcel01 comment='Testing';        
GridDisk DATA_CD_00_oratestcel01 successfully altered

CellCLI> list griddisk DATA_CD_00_oratestcel01 attributes comment

                “Testing”

NOTE: We rarely or almost never need to change the comment in grid disk

Bring Grid Disk Inactive Mode

CellCLI> alter griddisk DATA_CD_00_oratestcel01 inactive

GridDisk DATA_CD_00_oratestcel01 successfully altered

NOTE: If we inactive the griddisk then all the associate asmdisk will become offline

Bring Grid Disk In Active Mode

CellCLI> alter griddisk DATA_CD_00_oratestcel01 active

GridDisk DATA_CD_00_oratestcel01 successfully altered

 



Post a Comment

Previous Post Next Post