NICEDCVsoftware.md

NICE DCV
Install NICE DCV (user-computer)
Install VPN client VPN Access
!!! note Visualisation server is a compute node. You are not able to SSH with your private key. There are two solutions available to solve login issue.
Windows Users
Solution 1 - Add the public fingerprint
- Generate public fingerprint for your private key with PuTTYgen
- Add this key to
~/.ssh/authorized_keys
on the cluster
- Use your standard SSH key to connect to visualization server
Solution 2 - Copy private key from the cluster
- Install WinSCP client (user-computer) Download WinSCP installer
- Add credentials
- Add path to key file
- Save
- Copy
~/.ssh/id_rsa
to your computer - Convert key to PuTTY format with PuTTYgen
- Use this new ssh key to connect to visualization server
Install PuTTY
- Overview
- Download PuTTY installer
- Configure PuTTY
- Add credentials and key file (create 3x sessions: vizserv1.salomon.it4i.cz, vizserv2.salomon.it4i.cz, login1.salomon.it4i.cz)
- Config SSH tunnels (user-computer) (for sessions vizserv1 and vizserv2 only) - ports: 5901, 5902, 7300-7305
- Save
Run VPN client [VPN IT4Innovations][f] (user-computer)
Login to Salomon via PuTTY (user-computer)
$ ssh salomon.it4i.cz
Remove ~/.vnc/xstartup
Run job
$ qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv1,walltime=04:00:00 -N Vizserver1
$ qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv2,walltime=04:00:00 -N Vizserver2
Run vncserver on vizservX
- check existing vncservers in /tmp/.X11-unix/X* (rm /tmp/.X11-unix/X1 /tmp/.X11-unix/X2)
- vizserv1: vncserver :1 -geometry 2540x1380 -depth 24
- vizserv2: vncserver :2 -geometry 2540x1380 -depth 24
- set password for vncserver
Login to vizservX via PuTTY (vizserv1/vizserv2) with tunnels (user-computer)
Run NICE DCV (user-computer)
- vizserv1: localhost:5901
- vizserv2: localhost:5902
- fill password
Check DCV status (Salomon-vizservX) in VNC window
Run glxgears (Salomon-vizservX)
LOGOUT FROM MENU: System->Logout
Linux Users
Config SSH tunnels (user-computer)
- ports: 5901, 5902, 7300-7305
- vizserv1
$ ssh -i ~/salomon_key -TN -f user@vizserv1.salomon.it4i.cz -L 5901:localhost:5901 -L 7300:localhost:7300 -L 7301:localhost:7301 -L 7302:localhost:7302 -L 7303:localhost:7303 -L 7304:localhost:7304 -L 7305:localhost:7305
- vizserv2
$ ssh -i ~/salomon_key -TN -f user@vizserv2.salomon.it4i.cz -L 5902:localhost:5902 -L 7300:localhost:7300 -L 7301:localhost:7301 -L 7302:localhost:7302 -L 7303:localhost:7303 -L 7304:localhost:7304 -L 7305:localhost:7305
Run VPN client VPN IT4Innovations (user-computer)
Login to Salomon (user-computer)
$ ssh salomon.it4i.cz
Remove ~/.vnc/xstartup
Run job
$ qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv1,walltime=04:00:00 -N Vizserver1
$ qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv2,walltime=04:00:00 -N Vizserver2
Run vncserver on vizservX
- check existing vncservers in /tmp/.X11-unix/X* (rm /tmp/.X11-unix/X1 /tmp/.X11-unix/X2)
- vizserv1: vncserver :1 -geometry 2540x1380 -depth 24
- vizserv2: vncserver :2 -geometry 2540x1380 -depth 24
- set password for vncserver
Run SSH (vizserv1/vizserv2) with tunnels (user-computer)
Run NICE DCV (user-computer)
- vizserv1: localhost:5901
- vizserv2: localhost:5902
- fill password
Check DCV status in VNC window
Run glxgears
LOGOUT FROM MENU: System->Logout