From 300c9c6858ef121c78b63cb08e71abf36966655d Mon Sep 17 00:00:00 2001
From: Sinisa Veseli <sveseli@aps.anl.gov>
Date: Wed, 1 Jul 2015 14:30:03 +0000
Subject: [PATCH] final version of the demo script

---
 doc/demo/sprint-20150630/demo_notes.sv.txt | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/doc/demo/sprint-20150630/demo_notes.sv.txt b/doc/demo/sprint-20150630/demo_notes.sv.txt
index 2ce19410..1cbda0d2 100644
--- a/doc/demo/sprint-20150630/demo_notes.sv.txt
+++ b/doc/demo/sprint-20150630/demo_notes.sv.txt
@@ -81,6 +81,9 @@ dm-add-user --username dmuser3 --first-name Test --last-name User3
 #     https://dmstorage.svdev.net:8181/dm
 make deploy-web-portal
 
+# Show no sudo functionality for DM account 
+sudo -l
+
 # Deploy DS Web Service
 # Note:
 #   - generates SSL certificates and configuration files 
@@ -157,9 +160,15 @@ ls -l /opt/DM/data
 # associated with it
 id dmuser1
 
+# Show there is no exp1 unix group
+grep exp1 /etc/group
+
 # start experiment (sveseli@dmstorage)
 dm-start-experiment --name exp1
 
+# Show there is now exp1 unix group
+grep exp1 /etc/group
+
 # check directory content on the storage node (dm@dmstorage)
 # note that experiment directory permissions are restricted
 ls -l /opt/DM/data/ESAF
@@ -171,6 +180,9 @@ id dmuser1
 id dmuser2
 id dmuser3
 
+# in the first terminal on the storage node, tail log file (dm@dmdstorage)
+tail -f /opt/DM/var/log/dm.ds-web-service.log
+
 # in the first terminal on the daq node, tail log file (dm@dmdaq)
 tail -f /opt/DM/var/log/dm.daq-web-service.log
 
@@ -183,7 +195,6 @@ mkdir -p /tmp/data/exp1
 
 # create test file in the DAQ directory (daq node)
 # observe log file entries, point out file transfer
-touch /tmp/data/exp1/file1
 echo "Hello there, data management is here" > /tmp/data/exp1/file1
 
 # check directory content on the storage node (dm@dmstorage)
@@ -219,6 +230,10 @@ dm-upload --experiment exp1 --data-directory /tmp/data/exp1
 # As root@dmdaq, restore rsync, observe how transfer succeeds
 mv /usr/bin/rsync.orig /usr/bin/rsync
 
+# check directory content on the storage node (dm@dmstorage)
+# file1 should be transferred
+ls -l /opt/DM/data/ESAF/exp1/
+
 # Demonstrate gridftp plugin
 # Edit config file as dm@dmdaq, comment out rsync plugin, uncomment gridftp
 # plugin; restart service
-- 
GitLab