wiki:TaipeiWorkshop2013
Last modified 13 months ago Last modified on 03/26/13 12:17:44

dCache Hands-on Taipei

Welcome to our first Asian-Pacific dCache hands-on.

Prerequisites

The virtual machines that will be used during this tutorial are SL6 machines with a kernel >= 2.6.32-220 and the following specs for the server: Minimum System Requirements. The client can have just enough disk and RAM to have the SL6 installed and running.

We would like to ask every participant to bring a notebook that has an 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 (<your number> you will get from us):

  • dcache-ws-server<your number>.twgrid.org
  • dcache-ws-client<your number>.twgrid.org

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 user@dcache-ws-client<your number>.twgrid.org

Server:

ssh user@dcache-ws-server<your number>.twgrid.org

In both machines enter your password that we gave you. Then also in both machines under do a change user. You are asked for your password again. Please enter the password:

(CLIENT) (CLIENT) (CLIENT) (CLIENT)
[user@dcache-ws-client<your number>] # sudo su -
[root@dcache-ws-client<your number>] #

(SERVER) (SERVER) (SERVER) (SERVER)
[user@dcache-ws-server<your number>] # sudo su -
[root@dcache-ws-server<your number>] #

The flush the firewall and make sure it is really flushed, and clean up ~/.ssh/known-hosts file:

(CLIENT) (CLIENT) (CLIENT) (CLIENT)
[user@dcache-ws-client<your number>] # rm -f ~/.ssh/known_hosts
[user@dcache-ws-client<your number>] # iptables -F
[root@dcache-ws-client<your number>] # iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain RH-Firewall-1-INPUT (0 references)
target     prot opt source               destination

(SERVER) (SERVER) (SERVER) (SERVER)
[root@dcache-ws-server<your number>] #  rm -f ~/.ssh/known_hosts
[root@dcache-ws-server<your number>] # iptables -F
[root@dcache-ws-server<your number>] # iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain RH-Firewall-1-INPUT (0 references)
target     prot opt source               destination

After this step you should have two consoles with ssh connections to server and client under user root. 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
  • Writing to / Reading from dCache
  • WebDAV using certificate-based authentication
  • Hardware Lifecycle (adding storage, migrating)
  • Interfacing with Tertiary Storage

Please go to the first part of this tutorial by clicking on Installation of dCache server. We wish you a pleasant journey.