| 75 | 3. To download / upload data Lors tool is already installed. Configure the Lors tool using following command. Make sure .xnd file is created in your 'Home' directory. |
| 76 | {{{ |
| 77 | lors_setup.sh |
| 78 | }}} |
| 79 | |
| 80 | == Step 4: Upload Data == |
| 81 | |
| 82 | 1. To upload data use lors_upload command. |
| 83 | {{{ |
| 84 | lors_upload --lbone-host=<lbone_host> -f <file_to_be_uploaded> <options> |
| 85 | }}} |
| 86 | .xnd file will be generated when you upload the file using lors_upload. This exnode file contains metadata about how your file has been distributed across available depots. If you wish to share you data across other host connected on IDMS data plane. Just share the .xnd file. More advanced option are available to expore |
| 87 | |
| 88 | {{{ |
| 89 | lors_upload --help |
| 90 | Usage: lors_upload <filename> |
| 91 | -f, --samename Specify the exNode filename by appending .xnd to the original filename. |
| 92 | -i, --stdin Read from standard input rather than a specified filename. |
| 93 | -o, --outputfile=STRING Specify a specific name for the output exNode file. |
| 94 | -v, --version Display Version information about this package. |
| 95 | -V, --verbose=0 Modify the level or mode of Verbosity in output messages. |
| 96 | -H, --lbone-host=STRING Specify an L-Bone Server for resource discover and proxmity resolution. |
| 97 | -P, --lbone-port=6767 Specify the port number when using an L-Bone Server on a non standard port. |
| 98 | -l, --location="state= TN" Specify a location hint to pass the L-Bone Query. |
| 99 | -d, --duration=STRING Specify the amount of time to allocate storage. The available modifiers are 'm' 'h' 'd' for 'minute' 'hour' and 'days' respectively. Default is seconds. (e.g. -d 1d or -d |
| 100 | 1h) |
| 101 | -s, --soft Specify SOFT storage for storage allocations. |
| 102 | -h, --hard Specify HARD storage for storage allocations. |
| 103 | -m, --maxdepots=6 Specify the maximum number of depots returned by the 'location' hint. |
| 104 | -b, -bs='5M' Specify the logical data blocksize of input file. |
| 105 | -c, --copies=1 Specify the number of copies. |
| 106 | -F, --fragments=4 Rather than specifying the logical data blocksize, specify the number of blocks into which the file should be divided. |
| 107 | --depot-list Only use depots specified in .xndrc file |
| 108 | -t, --threads=INT Specify the maximum number of threads to use to perform Upload. |
| 109 | -T, --timeout='3m' Specify the maximum time to allow for all operations. |
| 110 | -M, --buffersize=STRING Specify the maximum internal buffer to use on operations. |
| 111 | -O, --offset=STRING Specify an offset relative to the exNode from which download will begin |
| 112 | -L, --length=STRING Specify a length other than the logical extent of the exNode. |
| 113 | -n, --none Turn off all e2e services. |
| 114 | -e, --des Turn on des encryption. |
| 115 | -a, --aes Turn on aes encryption. |
| 116 | -z, --compress Turn on zlib compression. |
| 117 | -x, --xor Turn on xor encryption. |
| 118 | -k, --checksum Turn on checksum. |
| 119 | -E, --e2e-blocksize=STRING When specifying e2e conditioning, select an e2e bocksize which will evenly fit into your chosen Mapping Blocksize. |
| 120 | -X, --xndrc=<filename> You may specify an alternate source for the upload DepotList. |
| 121 | -D, --demo Add the messages understood by the LoRS View visualization. |
| 122 | --lodn-allocate[=STRING] Turn on LoDN proxy allocation. The STRING value contains authentication credentials separated by an &. |
| 123 | -n, --normal-allocate Override LoDN proxy allocation if specified in the xndrc file. |
| 124 | |
| 125 | Help options: |
| 126 | -?, --help Show this help message |
| 127 | --usage Display brief usage message |
| 128 | |
| 129 | }}} |