411
419
strcpy (cmd + blen, "remote-gsyncd " GSYNCD_PREFIX"/gsyncd . .");
417
423
"remote-gsyncd /usr/local/libexec/glusterfs/gsyncd . ^ssh:");
423
427
/* XXX $sbindir should be used (throughout the codebase) */
425
429
"gluster-command '"GFS_PREFIX"/sbin/glusterfs "
426
430
"--xlator-option *-dht.assert-no-child-down=true' . .");
434
436
"'ssh -oPasswordAuthentication=no -oStrictHostKeyChecking=no "
435
437
"-i %s/secret.pem' . .", georepdir);
441
441
uuid_unparse (conf->uuid, volid);
442
442
sprintf (cmd + blen, "session-owner %s . .", volid);
448
446
sprintf (cmd + blen, "pid-file %s/${mastervol}/${eSlave}.pid . .", georepdir);
454
450
sprintf (cmd + blen, "state-file %s/${mastervol}/${eSlave}.status . .", georepdir);
461
455
"log-file "DEFAULT_LOG_FILE_DIRECTORY"/"GEOREP"/${mastervol}/${eSlave}.log . .");
467
459
strcpy (cmd + blen, "gluster-log-file "
468
460
DEFAULT_LOG_FILE_DIRECTORY"/"GEOREP"/${mastervol}/${eSlave}.gluster.log . .");
474
464
* slave pre-configuration