FlashNode Management

list flash nodes

Obtain detailed information about each cache node in the system, including its unique identifier (ID), network address, and the status of cached data.

./cfs-cli flashnode list

View FlashNode cache statistics

// When querying the status of a FlashNode, the associated key does not carry an expiration time.
./cfs-cli flashnode httpStat 127.0.0.1:17510
// When querying the status of a FlashNode, the associated key does carry an expiration time.
./cfs-cli flashnode httpStatAll 127.0.0.1:17510

Evict the volume flash_cache from a specific FlashNode

./cfs-cli flashnode httpEvict 127.0.0.1:17510 flash_cache

Enable/Disable flashnode

./cfs-cli flashnode set 127.0.0.1:17510 true
./cfs-cli flashnode set 127.0.0.1:17510 false 

remove flashnode

./cfs-cli flashnode remove 127.0.0.1:17510

create fg

./cfs-cli flashgroup create

set flashgroup active

./cfs-cli flashgroup set 25 true

flashgroup add flashnode

./cfs-cli flashgroup nodeAdd 13 --zone-name=flashcache --addr="127.0.0.1:17510"

list flashgroup

./cfs-cli flashgroup list

show flashgroup group

./cfs-cli flashgroup graph
Edit on GitHub