On Tue, Dec 5, 2017 at 1:28 PM, Dushantha Batuwita <dushan...@wso2.com>
wrote:

> Hi Dev
>
> I'm in the process of syncing the Gateway Manager and the Gateway worker
> nodes which a*re on the local machine (localhost)*
>
> I have been following the [1] document: Configuring rsync for Deployment
> Synchronization
> <https://docs.wso2.com/display/CLUSTER44x/Configuring+rsync+for+Deployment+Synchronization>
> In the document, it has stated that "You must create your own SSH key and
> define it as the sample pem_file".
>
> *code given in the document for the "rsync-for-carbon-depsync.sh"  file.*
>
> #!/bin/sh
>
> manager_server_dir=~/wso2as-5.2.1/repository/deployment/server/
> pem_file=~/.ssh/carbon-440-test.pem
>
> #delete the lock on exit
> trap 'rm -rf /var/lock/depsync-lock' EXIT
>
>
> *Question*
> Since my Gateway nodes are located on the local machine, do I have to
> define a pem_file? Else can I leave it commented?
> If I have to define a pem_file how should I do it?
>
No need for pem files if you are synching two local directories, its
required only if you are using rsync between two remote nodes where it
requires SSH for the communication.

>
> Regards
>
> --
> *Dushantha Nayanajith Chandima Batuwita*
> Software Engineer Support | WSO2
> dushan...@wso2.com
> mobile : 0094777453010 <077%20745%203010>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to