Commit b2aa4a84 authored by Lukáš Krupčík's avatar Lukáš Krupčík Committed by Josef Hrabal
Browse files

Visualization update

parent 4b8fd45a
......@@ -16,19 +16,94 @@ For remote visualization two nodes with NICE DCV software are available each con
## References
* [graphical-user-interface](shell-and-data-access/#graphical-user-interface)
* [vpn-access](shell-and-data-access/#vpn-access)
* [Graphical User Interface](shell-and-data-access/#graphical-user-interface)
* [VPN Access](shell-and-data-access/#vpn-access)
## Install and Run
**Install NICE DCV 2016 (user-computer)**
**Install NICE DCV 2016** (user-computer)
* [Overview](https://www.nice-software.com/download/nice-dcv-2016)
* [Linux](http://www.nice-software.com/storage/nice-dcv/2016.0/endstation/linux/nice-dcv-endstation-2016.0-17066.run)
* [Linux download](http://www.nice-software.com/storage/nice-dcv/2016.0/endstation/linux/nice-dcv-endstation-2016.0-17066.run)
* [Windows download](http://www.nice-software.com/storage/nice-dcv/2016.0/endstation/win/nice-dcv-endstation-2016.0-17066-Release.msi)
**Install VPN client (user-computer)**
**Install VPN client** [VPN Access](../general/accessing-the-clusters/vpn-access/) (user-computer)
* [Overview](../general/accessing-the-clusters/vpn-access/)
## Windows Users
**Install WinSCP client** (user-computer) [Download WinSCP installer](https://winscp.net/download/WinSCP-5.13.3-Setup.exe)
**Config WinSCP**
* Add credentials
![](../img/viz1-win.png)
* Add path to key file
![](../img/viz2-win.png)
* Save
**Install PuTTY**
* [Overview](https://docs.it4i.cz/general/accessing-the-clusters/shell-access-and-data-transfer/putty/)
* [Download PuTTY installer](https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.70-installer.msi)
* Config PuTTY
![](../img/viz3-win.png)
* 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) (only for sessions vizserv1 and vizserv2) - ports: **5901**, **5902**, **7300-7305**
![](../img/viz4-win.png)
* Save
**Run VPN client** [VPN IT4Innovations](https://vpn.it4i.cz/user) (user-computer)
**Login to Salomon via PuTTY** [salomon](salomon.it4i.cz) (user-computer)
```console
$ ssh salomon.it4i.cz
```
**Remove ~/.vnc/xstartup**
**Run job**
```console
$ 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 2016** (user-computer)
* vizserv1: localhost:5901
* vizserv2: localhost:5902
* fill password
![](../img/viz5-win.png)
![](../img/viz6-win.png)
**Check DCV status (Salomon-vizservX) in VNC window**
**Run glxgears (Salomon-vizservX)**
![](../img/viz7-win.png)
**LOGOUT FROM MENU: System->Logout**
## Linux Users
**Config SSH tunnels (user-computer)**
......@@ -45,28 +120,33 @@ $ ssh -i ~/salomon_key -TN -f user@vizserv1.salomon.it4i.cz -L 5901:localhost:59
$ 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](https://vpn.it4i.cz/user) (user-computer)**
**Login to Salomon (user-computer)**
**Run VPN client** [VPN IT4Innovations](https://vpn.it4i.cz/user) (user-computer)
**Login to Salomon** [salomon](salomon.it4i.cz) (user-computer)
```console
$ 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
```console
$ 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)
* 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 – see 3. (user-computer)**
**Run NICE DCV 2016 (user-computer)**
**Run SSH (vizserv1/vizserv2) with tunnels** (user-computer)
**Run NICE DCV 2016** (user-computer)
* vizserv1: localhost:5901
* vizserv2: localhost:5902
......@@ -76,6 +156,7 @@ $ ssh salomon.it4i.cz
![](../img/viz2.png)
**Check DCV status in VNC window**
**Run glxgears**
![](../img/viz3.png)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment