Cellcli命令簡介

Michael_DD發表於2015-01-22
Cellcli命令簡介


Exadata 中cell儲存節點管理非常重要,以下列舉cellcli命令簡介
學著用吧!

[celladmin@cell ~]$ cellcli
CellCLI: Release 11.2.3.2.0 - Production on Thu Jan 22 15:01:34 CST 2015

Copyright (c) 2007, 2012, Oracle.  All rights reserved.
Cell Efficiency Ratio: 1,000

CellCLI> help

 HELP [topic]
   Available Topics:
        ALTER
        ALTER ALERTHISTORY
        ALTER CELL
        ALTER CELLDISK
        ALTER FLASHCACHE
        ALTER GRIDDISK
        ALTER IBPORT
        ALTER IORMPLAN
        ALTER LUN
        ALTER PHYSICALDISK
        ALTER QUARANTINE
        ALTER THRESHOLD
        ASSIGN KEY
        CALIBRATE
        CREATE
        CREATE CELL
        CREATE CELLDISK
        CREATE FLASHCACHE
        CREATE FLASHLOG
        CREATE GRIDDISK
        CREATE KEY
        CREATE QUARANTINE
        CREATE THRESHOLD
        DESCRIBE
        DROP
        DROP ALERTHISTORY
        DROP CELL
        DROP CELLDISK
        DROP FLASHCACHE
        DROP FLASHLOG
        DROP GRIDDISK
        DROP QUARANTINE
        DROP THRESHOLD
        EXPORT CELLDISK
        IMPORT CELLDISK
        LIST
        LIST ACTIVEREQUEST
        LIST ALERTDEFINITION
        LIST ALERTHISTORY
        LIST CELL
        LIST CELLDISK
        LIST FLASHCACHE
        LIST FLASHCACHECONTENT
        LIST FLASHLOG
        LIST GRIDDISK
        LIST IBPORT
        LIST IORMPLAN
        LIST KEY
        LIST LUN
        LIST METRICCURRENT
        LIST METRICDEFINITION
        LIST METRICHISTORY
        LIST PHYSICALDISK
        LIST QUARANTINE
        LIST THRESHOLD
        SET
        SPOOL
        START

CellCLI>


CellCLI> LIST PHYSICALDISK attributes name ,physicalSize
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH01   1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH02   1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH03   1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH04   1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/dd.sh     692
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk01    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk02    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk03    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk04    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk05    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk06    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk07    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk08    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk09    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk10    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk11    1000M
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk12    1000M

CellCLI>

CellCLI> help list                  

  Enter HELP LIST for specific help syntax.
    :  {ACTIVEREQUEST | ALERTHISTORY | ALERTDEFINITION | CELL
                     | CELLDISK | FLASHCACHE | FLASHLOG | FLASHCACHECONTENT | GRIDDISK
                     | IBPORT | IORMPLAN | KEY | LUN
                     | METRICCURRENT | METRICDEFINITION | METRICHISTORY
                     | PHYSICALDISK | QUARANTINE | THRESHOLD }



CellCLI> help list physicaldisk

  Usage: LIST PHYSICALDISK [ | ] [] [DETAIL]

  Purpose: Displays specified attributes for physical disks.

  Arguments:
    :  The name of the physical disk to be displayed.
    :  an expression which determines which physical disks should
                be displayed.
    : The attributes that are to be displayed.
                      ATTRIBUTES {ALL | attr1 [, attr2]... }

  Options:
    [DETAIL]: Formats the display as an attribute on each line, with
    an attribute descriptor preceding each value.

  Examples:
    LIST PHYSICALDISK DETAIL

CellCLI>


CellCLI> list physicaldisk     
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH01   /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH01  normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH02   /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH02  normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH03   /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH03  normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH04   /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/FLASH04  normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/dd.sh     /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/dd.sh    not present
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk01    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk01   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk02    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk02   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk03    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk03   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk04    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk04   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk05    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk05   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk06    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk06   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk07    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk07   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk08    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk08   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk09    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk09   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk10    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk10   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk11    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk11   normal
         /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk12    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk12   normal

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29500582/viewspace-1410977/,如需轉載,請註明出處,否則將追究法律責任。

相關文章