2. Log in using this account and go to Generate new keypair. Press the Generate button and then press the Download button - this way you will get a private key (a user.key file).

3. Go to Join a VO and choose to join VU_XOS20_new (this is the virtual organization that we are currently using for tests). Write an e-mail to cstratan at cs.vu.nl and I will add you to the VO and make accounts for you on the machines.

4. After you were added to the VO, log in again to the portal and go to Get an XOS-Cert. Download the new certificate and you will have a user.crt file. With this certificate you can prove that you are in the VU-XOS20_new virtual organization.

Setting up the certificates

In order to execute jobs in XtreemOS, you have to log into one of the client machines (node01, node02).
You will need to put your key and your certificate on that machine, in the $HOME/.xos/truststore/private and $HOME/.xos/truststore/certs directories (you have to create these directories first). There are more details about certificates in Section 4.1 from the user guide (but the
section about VOLife is not complete).

Setting up XtreemFS automount

When you submit a job, you need to set up XtreemFS in order to be able to get the output files that the job generates; XtreemOS does not do any file stage-out and the output files will just remain on the machine where the job was executed if XtreemFS is not set up (and you probably will not be able to access them).
XtreemOS can mount a home volume for you (almost) automatically; then you can make your jobs write the output files in that home volume. In order to enable the auto-mounting, you have to write another e-mail to cstratan at cs.vu.nl, AFTER you have put your certificate in $HOME/.xos/truststore/certs. I will create your home volume and after that it can be mounted automatically.

Using ssh-xos

After XtreemFS automount was enabled for you, you will be able to access your home volume by using ssh-xos. Your home volume will be automatically mounted when you log in with ssh-xos, in the /home/<GUID> directory, where GUID is your global user ID. You can see your global user ID by looking at your user certificate, with the following command:

view-xos-cert $HOME/.xos/truststore/certs/user.crt

(search for “GlobalUserID:”; or search for “Subject:” and remove the “CN=” prefix).
For example, for the user xosuser, this ID is: 18f71ca3-fda7-497d-9a97-e14dbad5ad90. After logging in with ssh-xos, you can see a directory with this name in /home/.

You will be able to ssh-xos to all the nodes (core, node01, node02) with a command like this:

ssh-xos node01

You can connect to any node, including the one on which you are already logged in. You will be asked for the passphrase of your private key (note: if you are asked for the account password instead of the passphrase, something is going wrong. Make sure that your key and certificate files are in the right places; if it still doesn't work, e-mail the VO admin :-) ). When you connect, the XtreemFS volume will be automatically mounted and you will be able to read/write files from it. When you disconnect (Ctrl-D), the volume will be unmounted.

Submitting jobs

For details about how to submit jobs, see section 4.3 from the user guide.

In order to be able to retrieve the output of the jobs, you need to set the output files to be in your XtreemFS home volume. For example, a JSDL file of the user xosuser should contain:

This also applies to the input files, in case your job has input files.
You don't need to be logged in with ssh-xos when submitting jobs, but you have to log in at least afterwards, so that you can access the output files (or before, if you have input files and need to put them in the home volume).