Installing the complete Discovery Studio system (client and server) to your local environment requires several gigabytes of disk space. If you do not want to use Discovery Studio server in your local computer you can install just the Discovery Studio client and then use the server running at CSC. Bellow are instructions that explain how you can access the DS server of CSC. The instructions assume that you have Discovery Studio client already installed in your local computer.
ssh port forwarding
The first thing you need to do, is to make the two ports that the DS uses in Hippu1 visible to your local computer.
- For Discovery Studio 3.1 the two ports are 9947 and 9948.
- For Discovery Studio 3.0 the two ports are 9945 and 9946.
In linux you can create the port forwarding connection with command:
ssh -l cscusername -f -L 9947:127.0.0.1:9947 -L 9948:127.0.0.1:9948 hippu1.csc.fi sleep 7200
(In the command above cscusername is replaced with your CSC user account. The sleep 7200 command will keep the connection open for 7200s = 2h.)
In Windows the port forwarding can be done with program plink or by using the Scientists't User Intrface.
Plink is part of the putty package that you can download from_
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Once you have plink-installed open DOS-prompt window and give command:
plink -L 9948:localhost:9948 -L 9947:localhost:9947 cscusername@hippu1.csc.fi
If you can't install plink to your machine you can use the port tunneling tool included to the ssh terminal application of Scientist's User Interface.
Setting up the Discovery Studio client
When the port forwarding is set, start Discovery Studio normally and select command:
File | Change server...
And set server name to be (in the case of DS 3.1)
localhost:9947
After this setup your Discovery Studio should sent the jobs, launched by the protocols, to the DS server running in Hippu1. With this kind of set up, Discovery Studio protocols will be executed at
CSC. Note that if you are running long DS jobs, you can close the
client after the protocol has started. The results or the status of
your job will be retrieved next time you DS client contacts the DS
server at CSC.