HowTo: Installing & Configuring PCells to Administrate dCache
Jump to navigation
Jump to search
Download PCells
- You can download PCells from the official dCache.org webpage
- Currently we have the version 2.0.4 which works perfectly.
- We strictly recommend pCells 2.0.4 (or newer) as it is much faster than older versions
Setup pCells
- Install Oracle / OpenJDK Java:
- For pCells 2.0.3 and below, install Java 7
- For pCells 2.0.4 and below, install Java 8
- Extract the software from the .tar.gz file:
tar -xvzf pcells-2.0.4.tar.gz
- Prepare SSH2 Key Access as described in HowTo: Configure SSH2 access to the Admin Console by doing the following steps:
- Client - From the machine where you will run pCells generate a private + public SSH key as described in HowTo: Configure SSH2 access to the Admin Console#Client - Private & Public Keys Client, or just copy an existing private + public SSH key in the .ssh directory in your home directory.
- Server - Copy the public key in the file /etc/dcache/admin/authorized_keys2 as described in HowTo: Configure SSH2 access to the Admin Console#Server - Admin Console Authorized Keys
Run pCells
- Run pCells as follows:
java -jar org.pcells-2.0.4-jar-with-dependencies.jar
- you can run it with nohup if you prefer.
- Create a new session if does not exist:
- Session
- New...
- Give a name to the session, for instance: dCache Prod
- New...
- Open the session:
- Session
- Open... -> dCache Prod
- Click on the Setup button and set options as follows:
- Addresses Tab:
- Login Name: admin
- Hostname: dccore.pic.es
- Portnumber: 22224
- Protocol: SSh 2
- Modules Tab: leave as it is
- Plugins Tab: leave as it is
- SSH2 Keys Tab:
- SSH private key: <path_to_your_id_rsa_file>
- For instance: /home/mcaubet/.ssh/id_rsa
- SSH private key: <path_to_your_id_rsa_file>