Exadata虚拟机_2

本文详细介绍了使用Oracle CellCLI工具进行数据库管理的操作流程,包括重启服务、创建磁盘、闪存缓存和日志等关键步骤。同时,提供了创建网格磁盘、查看磁盘详情及列出所有磁盘的实用指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

[celladmin@localhost config]$ cellcli
CellCLI: Release 11.2.3.2.0 - Production on Sat Aug 09 12:58:07 CST 2014


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


CellCLI> alter cell restart services all


Stopping the RS, CELLSRV, and MS services...
The SHUTDOWN of services was successful.
Starting the RS, CELLSRV, and MS services...
Getting the state of RS services...  running
Starting CELLSRV services...
The STARTUP of CELLSRV services was successful.
Starting MS services...
The STARTUP of MS services was successful.


CellCLI> create celldisk all
CellDisk FD_00_localhost successfully created
CellDisk FD_01_localhost successfully created
CellDisk CD_disk01_localhost successfully created
CellDisk CD_disk02_localhost successfully created
CellDisk CD_disk03_localhost successfully created
CellDisk CD_disk04_localhost successfully created
CellDisk CD_disk05_localhost successfully created
CellDisk CD_disk06_localhost successfully created


CELL-04532: Error encountered while creating cell disk on LUN: /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/dd.sh .


CellCLI> create flashcache all size 2g
                                    ^
CELL-01504: Invalid command syntax.


CellCLI> create flashchace all size=2g
                ^
CELL-01504: Invalid command syntax.


CellCLI> create flashcache all size 2g
                                    ^
CELL-01504: Invalid command syntax.


CellCLI> create flashcache all size=2g


CELL-02652: CREATE FLASHCACHE failed due to insufficient free space on cell disks: FD_00_localhost, FD_01_localhost.


CellCLI> create flashcache all size=1g
Flash cache localhost_FLASHCACHE successfully created


CellCLI> create flashlog all
Flash log localhost_FLASHLOG successfully created


CellCLI> list flashcache detail
         name:                   localhost_FLASHCACHE
         cellDisk:               FD_01_localhost,FD_00_localhost
         creationTime:           2014-08-09T13:01:15+08:00
         degradedCelldisks:      
         effectiveCacheSize:     1G
         id:                     b0779be4-bcf4-40e4-b1eb-22f89ff7a2a6
         size:                   1G
         status:                 normal


CellCLI> list flashlog detail  
         name:                   localhost_FLASHLOG
         cellDisk:               FD_01_localhost,FD_00_localhost
         creationTime:           2014-08-09T13:01:29+08:00
         degradedCelldisks:      
         effectiveSize:          512M
         efficiency:             100.0
         id:                     e7a5ccf6-becb-4580-94a7-99e8dfa4d558
         size:                   512M
         status:                 normal


CellCLI> list cell
         localhost       online


CellCLI> list celldisk
         CD_disk01_localhost     normal
         CD_disk02_localhost     normal
         CD_disk03_localhost     normal
         CD_disk04_localhost     normal
         CD_disk05_localhost     normal
         CD_disk06_localhost     normal
         FD_00_localhost         normal
         FD_01_localhost         normal


CellCLI> list griddisk


CellCLI> list griddisk


CellCLI> list celldisk CD_disk01_cell1 detail


CELL-02525: Unknown cell disk: CD_disk01_cell1


CellCLI> list celldisk CD_disk01_localhost detail
         name:                   CD_disk01_localhost
         comment:                
         creationTime:           2014-08-09T12:59:38+08:00
         deviceName:             /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk01
         devicePartition:        /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk01
         diskType:               HardDisk
         errorCount:             0
         freeSpace:              944M
         freeSpaceMap:           offset=48M,size=944M
         id:                     8b49e13b-1178-4fba-bf56-bf824045cff2
         interleaving:           none
         lun:                    /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk01
         physicalDisk:           /opt/oracle/cell11.2.3.2.0_LINUX.X64_120713/disks/raw/disk01
         raidLevel:              "RAID 0"
         size:                   992M
         status:                 normal


CellCLI> exit
quitting


[celladmin@localhost config]$ fdisk -l
[celladmin@localhost config]$ cellcli
CellCLI: Release 11.2.3.2.0 - Production on Sat Aug 09 13:06:12 CST 2014


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


CellCLI> 


CellCLI> 


CellCLI> 


CellCLI> 


CellCLI> list cell
         localhost       online


CellCLI> list celldisk
         CD_disk01_localhost     normal
         CD_disk02_localhost     normal
         CD_disk03_localhost     normal
         CD_disk04_localhost     normal
         CD_disk05_localhost     normal
         CD_disk06_localhost     normal
         FD_00_localhost         normal
         FD_01_localhost         normal


CellCLI> list griddisk


CellCLI> create griddisk


CELL-02001: Object name expected.


CellCLI> create griddisk all


CELL-02577: CREATE GRIDDISK ALL and DROP GRIDDISK ALL commands require a prefix attribute.


CellCLI> create griddisk all


CELL-02577: CREATE GRIDDISK ALL and DROP GRIDDISK ALL commands require a prefix attribute.


CellCLI> list celldisk
         CD_disk01_localhost     normal
         CD_disk02_localhost     normal
         CD_disk03_localhost     normal
         CD_disk04_localhost     normal
         CD_disk05_localhost     normal
         CD_disk06_localhost     normal
         FD_00_localhost         normal
         FD_01_localhost         normal


CellCLI> create griddisk all prefix PRORECO
                                    ^
CELL-01504: Invalid command syntax.


CellCLI> create griddisk all prefix        
                                    ^
CELL-01504: Invalid command syntax.


CellCLI> create griddisk all prefix CD*    
                                    ^
CELL-01504: Invalid command syntax.


CellCLI> create griddisk all prefix CD_disk0
                                    ^
CELL-01504: Invalid command syntax.


CellCLI> create griddisk all prefix CD_     
                                    ^
CELL-01504: Invalid command syntax.


CellCLI> create griddisk all           


CELL-02577: CREATE GRIDDISK ALL and DROP GRIDDISK ALL commands require a prefix attribute.


CellCLI> create griddisk all prefix CD_disk
                                    ^
CELL-01504: Invalid command syntax.


CellCLI> list celldisk
         CD_disk01_localhost     normal
         CD_disk02_localhost     normal
         CD_disk03_localhost     normal
         CD_disk04_localhost     normal
         CD_disk05_localhost     normal
         CD_disk06_localhost     normal
         FD_00_localhost         normal
         FD_01_localhost         normal


CellCLI> create girddisk date_CD_disk01_localhost celldisk=CD_disk01_localhost
                ^
CELL-01504: Invalid command syntax.


CellCLI> create griddisk date_CD_disk01_localhost celldisk=CD_disk01_localhost
GridDisk date_CD_disk01_localhost successfully created


CellCLI> create griddisk date_CD_disk02_localhost celldisk=CD_disk02_localhost
GridDisk date_CD_disk02_localhost successfully created


CellCLI> create griddisk date_CD_disk03_localhost celldisk=CD_disk03_localhost
GridDisk date_CD_disk03_localhost successfully created


CellCLI> create griddisk date_CD_disk04_localhost celldisk=CD_disk04_localhost
GridDisk date_CD_disk04_localhost successfully created


CellCLI> create griddisk date_CD_disk05_localhost celldisk=CD_disk05_localhost
GridDisk date_CD_disk05_localhost successfully created


CellCLI> create griddisk date_CD_disk06_localhost celldisk=CD_disk06_localhost 
GridDisk date_CD_disk06_localhost successfully created


CellCLI> list griddisk
         date_CD_disk01_localhost        active
         date_CD_disk02_localhost        active
         date_CD_disk03_localhost        active
         date_CD_disk04_localhost        active
         date_CD_disk05_localhost        active
         date_CD_disk06_localhost        active


CellCLI> 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值