From 6f71bc02df5bd177c2f5dbf4e54b2af1525ab979 Mon Sep 17 00:00:00 2001 From: Dan Lambright Date: Wed, 25 Feb 2015 16:11:23 -0500 Subject: glusterd: CLI commands to create and manage tiered volumes. A tiered volume is a normal volume with some number of new bricks representing "hot" storage. The "hot" bricks can be attached or detached dynamically to a normal volume. When this happens, a new graph is constructed. The root of the new graph is an instance of the tier translator. One subvolume of the tier translator leads to the old volume, and another leads to the new hot bricks. attach-tier [ ] ... [force] volume detach-tier [replica ] ... gluster volume rebalance tier start gluster volume rebalance tier stop gluster volume rebalance tier status The "tier start" CLI command starts a server side daemon. The daemon initiates file level migration based on caching policies. The daemon's status can be monitored and stopped. Note development on the "tier status" command is incomplete. It will be added in a subsequent patch. When the "hot" storage is detached, the tier translator is removed from the graph and the tiered volume reverts to its original state as described in the volume's info file. For more background and design see the feature page [1]. [1] http://www.gluster.org/community/documentation/index.php/Features/data-classification Change-Id: Ic8042ce37327b850b9e199236e5be3dae95d2472 BUG: 1194753 Signed-off-by: Dan Lambright Reviewed-on: http://review.gluster.org/9753 Reviewed-by: Vijay Bellur Tested-by: Vijay Bellur --- rpc/rpc-lib/src/protocol-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rpc/rpc-lib') diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index bf68366f5dd..60697b8fa66 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -183,6 +183,8 @@ enum gluster_cli_procnum { GLUSTER_CLI_GET_VOL_OPT, GLUSTER_CLI_GANESHA, GLUSTER_CLI_BITROT, + GLUSTER_CLI_ATTACH_TIER, + GLUSTER_CLI_DETACH_TIER, GLUSTER_CLI_MAXVALUE, }; -- cgit