From 7c177bda6ccd1c3e7a7c070eb2ab0dc5e6b32a5c Mon Sep 17 00:00:00 2001 From: darshan n Date: Wed, 4 Mar 2015 19:18:10 +0530 Subject: geo-rep-cli: added a new option "no-verify" to geo-rep create. This patch adds a new option called as "no-verify" to geo-rep create command. With no-verify option, following checks does not take place before session creation: * if ssh port 22 is open in slave * has proper passwordless ssh login setup * slave volume is created and is empty * if slave has enough memory This option is needed by ovirt-engine as the tasks done by push-pem is taken care by ovirt-engine and also the above checks are done. Thus creation of password-less ssh can be avoided when geo-replication is managed through ovirt. Usage: volume geo-replication [] [] { create [[no-verify]|[push-pem]] [force]| start [force]|stop [force]|pause [force]| resume [force]|config|status [detail]| delete } [options...] Change-Id: I975265f27d6434be5409438257d09cd4190c9159 BUG: 1198615 Signed-off-by: darshan n Reviewed-on: http://review.gluster.org/9799 Reviewed-by: Aravinda VK Reviewed-by: Kotresh HR Tested-by: Gluster Build System Reviewed-by: Krishnan Parthasarathi Tested-by: Krishnan Parthasarathi --- doc/admin-guide/en-US/markdown/admin_distributed_geo_rep.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc/admin-guide/en-US') diff --git a/doc/admin-guide/en-US/markdown/admin_distributed_geo_rep.md b/doc/admin-guide/en-US/markdown/admin_distributed_geo_rep.md index fe2cc3ec976..c559f2cc306 100644 --- a/doc/admin-guide/en-US/markdown/admin_distributed_geo_rep.md +++ b/doc/admin-guide/en-US/markdown/admin_distributed_geo_rep.md @@ -33,6 +33,17 @@ gluster volume geo-replication :: crea If the total available size in slave volume is less than the total size of master, the command will throw error message. In such cases 'force' option can be used. +In use cases where the rsa-keys of nodes in master volume is distributed to slave nodes through an external agent and slave side verifications like: +- if ssh port 22 is open in slave +- has proper passwordless ssh login setup +- slave volume is created and is empty +- if slave has enough memory +is taken care by the external agent, the following command can be used to create geo-replication: +```sh +gluster volume geo-replication :: create no-verify [force] +``` +In this case the master node rsa-key distribution to slave node does not happen and above mentioned slave verification is not performed and these two things has to be taken care externaly. + #### Starting a geo-rep session There is no change in this command from previous versions to this version. ```sh -- cgit