wiki:TaipeiWorkshop2013

Version 12 (modified by bernardt, 8 years ago) (diff)

--

dCache Hands-on Taipei

Prerequisites

We would like to ask every participant to bring a notebook that has some kind of ssh client installed. Please check on your machine.

You need to login to your virtual machines (VMs). You have two VMs, one server and one client:

  • <user number>_ws_server.grid.sinica.edu.tw
  • <user number>_ws_client.grid.sinica.edu.tw

You will have to use two consoles, one for the server and one for the client. Use your ssh-client to connect to the machines using the following commands.

Client:

ssh dcache-user@<user number>_ws_client.grid.sinica.edu.tw -A -X

Server:

ssh root@<user number>_ws_server.grid.sinica.edu.tw -A -X

After this step you should have to consoles with ssh connections to server and client. Make sure you know which console is the client, which is the server.

Content of the hands-on

In this hands-on we will cover the following topics

  • Installation of dCache server
  • Interaction with dCache
  • Certificates and dCache
  • Hardware Lifecycle (adding storage, migrating)
  • Interfacing with Tertiary Storage

Installation of dCache server

(SERVER)

I this part we install dCache and at the end have a running dCache that can be mounted locally as well as on your client.

  1. Find the dcache server rpm on your server in /root/: dcache-2.5.0-1.noarch.rpm
  2. Install the rpm on your server machine:
    rpm -ivh dcache-2.5.0-1.noarch.rpm
    

dCache server has two dependencies: java-1.7.0-openjdk, postgresql-server (version >8.4). You will find that openjdk and postgresql-server are already installed on your machine.

rpm -qa |grep -E "postgresql-server|java-1.7.0-openjdk"

For more information on this please see dCache Book - Prerequisites. There are also several trivial steps that you have to do to setup postgresql, but they are not part of this tutorial and can be found in dCache Book - Readying the PostgreSQL server for the use with dCache

Interaction with dCache

In this section we will look at the different ways of interacting with dCache to make use of its functionality.

Certificates and dCache

This part will have a look at the security mechanisms that are used within the Grid.

Hardware Lifecycle (adding storage, migrating)

Here you will see how to maintain a dCache that is in production. This part will include adding storage and migrating data.

Interfacing with Tertiary Storage

Finally we will look at how dCache can be used to access archive media (tape archives)