Commit 20bde9a2 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Modified README.txt

parent b22f512c
Loading
Loading
Loading
Loading
+52 −0
Original line number Diff line number Diff line
@@ -92,6 +92,58 @@ After receiving this request the application will:
8) Cleanup of the '/home/curban/store/' directory (remove data and set right permissions) and database update
   (async_trans flag is set to 'true').

   
Another thing you can do is to import nodes on the VOSpace file catalog from data already stored somewhere.
For example, suppose we have a hot storage mounted on /mnt/hot_storage/users and visible from the transfer node.
Our user folder will be, for example, /mnt/hot_storage/users/curban.

On the transfer node you will find a directory called 'test_import' containing some data to be used for an import
test. Copy that data in your user folder with:

cd /home/transfer_service/test_import
cp -r * /mnt/hot_storage/users/curban/

First of all, launch vos_import without any argument:

client@28970a09202d:~$ vos_import 

NAME
       vos_import

SYNOPSYS
       vos_import DIR_PATH USERNAME

DESCRIPTION
       This tool recursively imports nodes on the VOSpace file catalog.
       
       Two parameters are required:

       DIR_PATH:
           the physical absolute path of a directory located within the 
           user directory for a given mount point.
           
       USERNAME:
           the username used for accessing the transfer node.
           
EXAMPLE
      The following command will import recursively all the nodes contained
      in 'mydir' on the VOSpace for the 'jsmith' user:
      
      # vos_import /mnt/storage/users/jsmith/mydir jsmith   
    
client@28970a09202d:~$

Now, return on the client and launch the import command:

client@28970a09202d:~$ vos_import /mnt/hot_storage/users/curban/testdir curban

Import procedure completed!

client@28970a09202d:~$

This kind of operation works only for directories located at the first level of your user folder.


###############################################################################################################
     
You can access the rabbitmq web interface via browser: