Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dm-docs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DM
dm-docs
Commits
f32665f8
Commit
f32665f8
authored
9 years ago
by
sveseli
Browse files
Options
Downloads
Patches
Plain Diff
final version of the demo script
parent
bdecad6a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
demo/sprint-20150630/demo_notes.sv.txt
+16
-1
16 additions, 1 deletion
demo/sprint-20150630/demo_notes.sv.txt
with
16 additions
and
1 deletion
demo/sprint-20150630/demo_notes.sv.txt
+
16
−
1
View file @
f32665f8
...
@@ -81,6 +81,9 @@ dm-add-user --username dmuser3 --first-name Test --last-name User3
...
@@ -81,6 +81,9 @@ dm-add-user --username dmuser3 --first-name Test --last-name User3
# https://dmstorage.svdev.net:8181/dm
# https://dmstorage.svdev.net:8181/dm
make deploy-web-portal
make deploy-web-portal
# Show no sudo functionality for DM account
sudo -l
# Deploy DS Web Service
# Deploy DS Web Service
# Note:
# Note:
# - generates SSL certificates and configuration files
# - generates SSL certificates and configuration files
...
@@ -157,9 +160,15 @@ ls -l /opt/DM/data
...
@@ -157,9 +160,15 @@ ls -l /opt/DM/data
# associated with it
# associated with it
id dmuser1
id dmuser1
# Show there is no exp1 unix group
grep exp1 /etc/group
# start experiment (sveseli@dmstorage)
# start experiment (sveseli@dmstorage)
dm-start-experiment --name exp1
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)
# check directory content on the storage node (dm@dmstorage)
# note that experiment directory permissions are restricted
# note that experiment directory permissions are restricted
ls -l /opt/DM/data/ESAF
ls -l /opt/DM/data/ESAF
...
@@ -171,6 +180,9 @@ id dmuser1
...
@@ -171,6 +180,9 @@ id dmuser1
id dmuser2
id dmuser2
id dmuser3
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)
# in the first terminal on the daq node, tail log file (dm@dmdaq)
tail -f /opt/DM/var/log/dm.daq-web-service.log
tail -f /opt/DM/var/log/dm.daq-web-service.log
...
@@ -183,7 +195,6 @@ mkdir -p /tmp/data/exp1
...
@@ -183,7 +195,6 @@ mkdir -p /tmp/data/exp1
# create test file in the DAQ directory (daq node)
# create test file in the DAQ directory (daq node)
# observe log file entries, point out file transfer
# observe log file entries, point out file transfer
touch /tmp/data/exp1/file1
echo "Hello there, data management is here" > /tmp/data/exp1/file1
echo "Hello there, data management is here" > /tmp/data/exp1/file1
# check directory content on the storage node (dm@dmstorage)
# check directory content on the storage node (dm@dmstorage)
...
@@ -219,6 +230,10 @@ dm-upload --experiment exp1 --data-directory /tmp/data/exp1
...
@@ -219,6 +230,10 @@ dm-upload --experiment exp1 --data-directory /tmp/data/exp1
# As root@dmdaq, restore rsync, observe how transfer succeeds
# As root@dmdaq, restore rsync, observe how transfer succeeds
mv /usr/bin/rsync.orig /usr/bin/rsync
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
# Demonstrate gridftp plugin
# Edit config file as dm@dmdaq, comment out rsync plugin, uncomment gridftp
# Edit config file as dm@dmdaq, comment out rsync plugin, uncomment gridftp
# plugin; restart service
# plugin; restart service
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment