Create grid disks and ASM diskgroup

Prepare grid disks- Create set of griddisks on all available hard disks space cell disks

CellCLI> list griddisk
 reco_CD_disk07_cell  active
 reco_CD_disk08_cell  active
 reco_CD_disk09_cell  active
 reco_CD_disk10_cell  active
 reco_CD_disk11_cell  active
 reco_CD_disk12_cell  active

CellCLI> create griddisk all harddisk prefix=data2, size=100m;
Cell disks were skipped because they had no freespace for grid disks: CD_disk07_cell, CD_disk08_cell, CD_disk09_cell, CD_disk10_cell, CD_disk11_cell, CD_disk12_cell.
GridDisk data2_CD_disk01_cell successfully created
GridDisk data2_CD_disk02_cell successfully created
GridDisk data2_CD_disk03_cell successfully created
GridDisk data2_CD_disk04_cell successfully created
GridDisk data2_CD_disk05_cell successfully created
GridDisk data2_CD_disk06_cell successfully created

CellCLI> list griddisk;
 data2_CD_disk01_cell  active
 data2_CD_disk02_cell  active
 data2_CD_disk03_cell  active
 data2_CD_disk04_cell  active
 data2_CD_disk05_cell  active
 data2_CD_disk06_cell  active
 reco_CD_disk07_cell   active
 reco_CD_disk08_cell   active
 reco_CD_disk09_cell   active
 reco_CD_disk10_cell   active
 reco_CD_disk11_cell   active
 reco_CD_disk12_cell   active

CellCLI> list griddisk attributes name, size, ASMModeStatus
 data2_CD_disk01_cell  96M   UNUSED
 data2_CD_disk02_cell  96M   UNUSED
 data2_CD_disk03_cell  96M   UNUSED
 data2_CD_disk04_cell  96M   UNUSED
 data2_CD_disk05_cell  96M   UNUSED
 data2_CD_disk06_cell  96M   UNUSED
 reco_CD_disk07_cell   448M  ONLINE
 reco_CD_disk08_cell   448M  ONLINE
 reco_CD_disk09_cell   448M  ONLINE
 reco_CD_disk10_cell   448M  ONLINE
 reco_CD_disk11_cell   448M  ONLINE
 reco_CD_disk12_cell   448M  ONLINE

Create ASM diskgroup with AU_SIZE=4M as recommended value

SQL> create diskgroup DATA external redundancy disk 'o/*/data2*' attribute 'compatible.rdbms' = '11.2.0.0.0', 'compatible.asm' = '11.2.0.0.0', 'cell.smart_scan_capable' = 'TRUE', 'au_size' = '4M';

Diskgroup created.


SQL> select name, state from v$asm_diskgroup;

NAME     STATE
-------------------------------- -----------
DATA     MOUNTED
FRA     MOUNTED


CellCLI> list griddisk attributes name, size, ASMModeStatus
 data2_CD_disk01_cell  96M   ONLINE
 data2_CD_disk02_cell  96M   ONLINE
 data2_CD_disk03_cell  96M   ONLINE
 data2_CD_disk04_cell  96M   ONLINE
 data2_CD_disk05_cell  96M   ONLINE
 data2_CD_disk06_cell  96M   ONLINE
 reco_CD_disk07_cell   448M  ONLINE
 reco_CD_disk08_cell   448M  ONLINE
 reco_CD_disk09_cell   448M  ONLINE
 reco_CD_disk10_cell   448M  ONLINE
 reco_CD_disk11_cell   448M  ONLINE
 reco_CD_disk12_cell   448M  ONLINE

No comments:

Post a Comment