From d3869a3bb0ec0ba88a187b38404be4f2f3b67550 Mon Sep 17 00:00:00 2001 From: Ram Alagappan Date: Mon, 15 Oct 2018 10:48:36 -0500 Subject: [PATCH] change remote username for demo purpose --- remotecords.py | 2 +- remotetrace.py | 2 +- systems/remote_zk/zk_init.py | 6 +++--- systems/remote_zk/zk_workload_read.py | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/remotecords.py b/remotecords.py index a3325d8..4cfe3ca 100755 --- a/remotecords.py +++ b/remotecords.py @@ -30,7 +30,7 @@ from threading import Timer BLOCKSIZE = 4096 -remote_user_name = 'ram' +remote_user_name = 'aishwarya' ERRFS_HOME = os.path.dirname(os.path.realpath(__file__)) fuse_command_err = 'nohup ' + ERRFS_HOME + "/errfs -f -omodules=subdir,subdir=%s %s err %s %s %s > /dev/null 2>&1 &" fuse_unmount_command = "fusermount -u %s > /dev/null" diff --git a/remotetrace.py b/remotetrace.py index 3343eb0..3be72e2 100755 --- a/remotetrace.py +++ b/remotetrace.py @@ -27,7 +27,7 @@ import subprocess import argparse -remote_user_name = 'ram' +remote_user_name = 'aishwarya' def invoke_remote_cmd(machine_ip, command): cmd = 'ssh {0}@{1} \'{2}\''.format(remote_user_name, machine_ip, command) diff --git a/systems/remote_zk/zk_init.py b/systems/remote_zk/zk_init.py index 089e233..49381ec 100644 --- a/systems/remote_zk/zk_init.py +++ b/systems/remote_zk/zk_init.py @@ -8,12 +8,12 @@ from kazoo.client import KazooClient from kazoo.client import KazooRetry -remote_user_name = 'ram' -cords_dir = '/home/ram/CORDS' +remote_user_name = 'aishwarya' +cords_dir = '/home/aishwarya/CORDS' workload_home = cords_dir + '/systems/remote_zk/' #ZooKeeper code home, log file names -zk_home = '/home/ram/zookeeper/' +zk_home = '/home/aishwarya/zookeeper/' servers = ['0', '1', '2'] ips = {} diff --git a/systems/remote_zk/zk_workload_read.py b/systems/remote_zk/zk_workload_read.py index 074488e..84e264d 100755 --- a/systems/remote_zk/zk_workload_read.py +++ b/systems/remote_zk/zk_workload_read.py @@ -8,12 +8,12 @@ from kazoo.client import KazooClient from kazoo.client import KazooRetry -remote_user_name = 'ram' -cords_dir = '/home/ram/CORDS' +remote_user_name = 'aishwarya' +cords_dir = '/home/aishwarya/CORDS' workload_home = cords_dir + '/systems/remote_zk/' #ZooKeeper code home, log file names -zk_home = '/home/ram/zookeeper/' +zk_home = '/home/aishwarya/zookeeper/' zoo_logfile_name = 'zookeeper.out' def invoke_cmd(cmd):