Exadata flashdisk , flashcache drop ve recreate işlemleri
Exadata , cellnode’lar üzerindeki flash diskleri ve flash cache’i online olarak drop edebilir ve yeniden oluşturabilirsiniz. Bu işleme , flash modüller değiştiktikten sonra flash cache normal durumuna değilse ihtiyacınız olacaktır. Flash modül değişimi sonrasında flash disklerin durumunu da normal olmayabilir.
Flash disklerin durumunu görüntülemek için ;
[root@oracel01 ~]# cellcli CellCLI: Release 11.2.3.3.0 - Production on Fri Sep 23 11:44:46 EEST 2016 Copyright (c) 2007, 2013, Oracle. All rights reserved. Cell Efficiency Ratio: 13,622 CellCLI> list physicaldisk 20:0 E0RRL6 normal 20:1 E0Q6VY normal 20:2 E0R2NR normal 20:3 E4CKCK normal 20:4 E0RAFP normal 20:5 E0RGND normal 20:6 E1ABV1 normal 20:7 E0RALR normal 20:8 E0R1LF normal 20:9 E0R5A1 normal 20:10 E0RANE normal 20:11 E0RAHN normal FLASH_1_0 1031M0413C normal FLASH_1_1 1031M042PM normal FLASH_1_2 1027M03NN8 normal FLASH_1_3 1027M03NN9 normal FLASH_2_0 1027M03LDQ normal FLASH_2_1 1034M04583 normal FLASH_2_2 1031M04138 normal FLASH_2_3 1034M04581 normal FLASH_4_0 1116M08JYA normal FLASH_4_1 1116M08JR2 normal FLASH_4_2 1116M08JKT normal FLASH_4_3 1116M08JMK normal FLASH_5_0 1116M08GXN normal FLASH_5_1 1116M08GXL normal FLASH_5_2 1103M06JVR normal FLASH_5_3 1116M08GXD normal
Flash cache durumunu sorgulamak için ;
CellCLI> list flashcache oracel02_FLASHCACHE warning - degraded
Yukarıdaki gibi flash cahce durumu normal değilse , drop edip yeniden oluşturmak gerekecektir. Bunun için aşağıdaki adımları takip edebilirsiniz.
Drop İşlemleri
Önce flash cache’i drop ediliyoruz.
CellCLI> drop flashcache Flash cache oracel02_FLASHCACHE successfully dropped
Sonrasında flash logu drop ediyoruz.
CellCLI> drop flashlog Flash log oracel02_FLASHLOG successfully dropped
Son olarak flash disk’leri drop ediyoruz. force opsiyonu ile drop etmemz gerekiyor.
CellCLI> drop celldisk all flashdisk force CellDisk FD_00_oracel02 successfully dropped CellDisk FD_01_oracel02 successfully dropped CellDisk FD_02_oracel02 successfully dropped CellDisk FD_03_oracel02 successfully dropped CellDisk FD_04_oracel02 successfully dropped CellDisk FD_05_oracel02 successfully dropped CellDisk FD_06_oracel02 successfully dropped CellDisk FD_07_oracel02 successfully dropped CellDisk FD_08_oracel02 successfully dropped CellDisk FD_09_oracel02 successfully dropped CellDisk FD_10_oracel02 successfully dropped CellDisk FD_11_oracel02 successfully dropped CellDisk FD_12_oracel02 successfully dropped CellDisk FD_13_oracel02 successfully dropped CellDisk FD_14_oracel02 successfully dropped CellDisk FD_15_oracel02 successfully dropped
Create İşlemleri
Drop işlemleri bittiğine göre yeniden oluşturabiliriz. Öncelikle flash diskleri oluşturuyoruz.
CellCLI> create celldisk all flashdisk CellDisk FD_00_oracel02 successfully created CellDisk FD_01_oracel02 successfully created CellDisk FD_02_oracel02 successfully created CellDisk FD_03_oracel02 successfully created CellDisk FD_04_oracel02 successfully created CellDisk FD_05_oracel02 successfully created CellDisk FD_06_oracel02 successfully created CellDisk FD_07_oracel02 successfully created CellDisk FD_08_oracel02 successfully created CellDisk FD_09_oracel02 successfully created CellDisk FD_10_oracel02 successfully created CellDisk FD_11_oracel02 successfully created CellDisk FD_12_oracel02 successfully created CellDisk FD_13_oracel02 successfully created CellDisk FD_14_oracel02 successfully created CellDisk FD_15_oracel02 successfully created
Sonra flash log oluşturuyoruz ;
CellCLI> create flashlog all Flash log oracel02_FLASHLOG successfully created
Sonra flash cahce’i oluşturuyoruz ;
CellCLI> create flashcache all Flash cache oracel02_FLASHCACHE successfully created
Flash cahce durumunu artık normal olarak görmemiz gerekiyor.
CellCLI> list flashcache oracel02_FLASHCACHE normal