-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: Work in progress on the Storchid storage project. Cluster up…
…load working. Updated docs.
- Loading branch information
1 parent
f406778
commit 7b999a7
Showing
39 changed files
with
1,446 additions
and
421 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
# Generate some test files | ||
test-content.sh | ||
# Generate a test file | ||
dd if=/dev/urandom of="foo_file.dat" bs=1K count=1 status=none | ||
|
||
# Import a file into the default local repository with default encoding | ||
storage.sh import data/foo_file.dat | ||
storage.sh import foo_file.dat | ||
|
||
# List the repository | ||
storage.sh repo list | ||
|
||
# Start a test provider server cluster | ||
test-cluster.sh start 5001 5002 5003 5004 5005 | ||
examples/test-cluster.sh start 5001 5002 5003 5004 5005 | ||
|
||
# Confirm that the test servers are running | ||
test-cluster.sh list | ||
examples/test-cluster.sh list | ||
|
||
# "Discover" these providers, adding them to our known provider list | ||
# This will normally be done via the directory service and performed at file push time. | ||
test-discover.sh 5001 5002 5003 5004 5005 | ||
providers.sh add 5001 5002 5003 5004 5005 | ||
|
||
# List the known providers | ||
providers.sh list | ||
|
||
# Start the monitor application (in another window) | ||
# tmux split | ||
monitor.sh --update 1 | ||
|
||
# Push the file by name | ||
storage.sh push foo_file.dat | ||
|
||
# TODO: | ||
# Monitor file availability while: | ||
# Observing resilient upload progress | ||
# Killing servers and prompting efficient rebuilds | ||
|
||
# Shut downt the servers | ||
test-cluster.sh stop | ||
# Shut down the servers | ||
examples/test-cluster.sh stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.