Wednesday, August 15, 2018

Enable flashcachecompression

--Run on each storage cell

1. Save the user data on the flash cell disks using the following command(takes a minute or so to run):
CELLCI> alter flashcache all flush
2. Remove the flash cache from the cell using the following command:
CellCLI> drop flashcache all
3. Remove the flash log from the cell using the following command:
CellCLI> drop flashlog all
4. Drop the cell flash disks using the following command:
CellCLI> drop celldisk all flashdisk
5. Enable flash cache compression using the following commands, based on the
system:
CellCLI> alter cell flashcachecompress=true
6. Recreate the flashdisk
CellCLI> create celldisk all flashdisk
7. Recreate the flashlog
CellCLI> create flashlog all
8. Recreate the flashcache
CellCLI> create flashcache all
9. Confirm the flashlog
CellCLI> list flashlog detail
10. Confirm the flashcache detail
CellCLI> list flashcache detail
11. To confirm flash cache compression is working your flashcache will be almost double
and the parameter flashcachecompression will be equal to true:
[root@thx10celadm02 ~]# cellcli -e "list cell detail"|grep flash
         flashCacheMode:         writeback
         flashCacheCompress:     TRUE




No comments:

Post a Comment