Skip to content
Snippets Groups Projects
Commit a526fe9e authored by Josef Hrabal's avatar Josef Hrabal
Browse files

Merge branch 'Visualization-update' into 'master'

Visualization update

See merge request !212
parents 4b8fd45a b2aa4a84
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!212Visualization update
docs.it4i/img/viz1-win.png

17.5 KiB

docs.it4i/img/viz2-win.png

46.9 KiB

docs.it4i/img/viz3-win.png

160 KiB

docs.it4i/img/viz4-win.png

84.7 KiB

docs.it4i/img/viz5-win.png

35.6 KiB

docs.it4i/img/viz6-win.png

49.8 KiB

docs.it4i/img/viz7-win.png

244 KiB

...@@ -16,19 +16,94 @@ For remote visualization two nodes with NICE DCV software are available each con ...@@ -16,19 +16,94 @@ For remote visualization two nodes with NICE DCV software are available each con
## References ## References
* [graphical-user-interface](shell-and-data-access/#graphical-user-interface) * [Graphical User Interface](shell-and-data-access/#graphical-user-interface)
* [vpn-access](shell-and-data-access/#vpn-access) * [VPN Access](shell-and-data-access/#vpn-access)
## Install and Run ## 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) * [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)** **Config SSH tunnels (user-computer)**
...@@ -45,28 +120,33 @@ $ ssh -i ~/salomon_key -TN -f user@vizserv1.salomon.it4i.cz -L 5901:localhost:59 ...@@ -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 $ 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)** **Run VPN client** [VPN IT4Innovations](https://vpn.it4i.cz/user) (user-computer)
**Login to Salomon (user-computer)**
**Login to Salomon** [salomon](salomon.it4i.cz) (user-computer)
```console ```console
$ ssh salomon.it4i.cz $ ssh salomon.it4i.cz
``` ```
**Remove ~/.vnc/xstartup** **Remove ~/.vnc/xstartup**
**Run job** **Run job**
* qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv1,walltime=04:00:00 -N Vizserver1 ```console
* qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv2,walltime=04:00:00 -N Vizserver2 $ 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** **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 * vizserv1: vncserver :1 -geometry 2540x1380 -depth 24
* vizserv2: vncserver :2 -geometry 2540x1380 -depth 24 * vizserv2: vncserver :2 -geometry 2540x1380 -depth 24
* set password for vncserver * set password for vncserver
**Run SSH (vizserv1/vizserv2) with tunnels – see 3. (user-computer)** **Run SSH (vizserv1/vizserv2) with tunnels** (user-computer)
**Run NICE DCV 2016 (user-computer)**
**Run NICE DCV 2016** (user-computer)
* vizserv1: localhost:5901 * vizserv1: localhost:5901
* vizserv2: localhost:5902 * vizserv2: localhost:5902
...@@ -76,6 +156,7 @@ $ ssh salomon.it4i.cz ...@@ -76,6 +156,7 @@ $ ssh salomon.it4i.cz
![](../img/viz2.png) ![](../img/viz2.png)
**Check DCV status in VNC window** **Check DCV status in VNC window**
**Run glxgears** **Run glxgears**
![](../img/viz3.png) ![](../img/viz3.png)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment