Skip to content

Commit 030e433

Browse files
author
Martial Mancip
committed
"Fix condition in start postgres. Improve docs."
1 parent bd5c357 commit 030e433

19 files changed

Lines changed: 1312 additions & 740 deletions

README.md

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -19,83 +19,3 @@ If you want to use your own client container, take care of x11-driver-vidio-nvid
1919
be able to use you Nvidia GPU already installed in the shared kernel of the HPC node.
2020
You can try TiledTest CASE with glxgears to test GLX extension.
2121
One can use Singularity client containers as well whith tools in Singularity directory.
22-
23-
Thoses containers are launched (in test_job.py for example) on the HPC machine.
24-
You may use TVConnections/Swarm/launch_dockers script.
25-
26-
Using docker on HPC machine represent a security breach because one user with docker rights can escaladate to root.
27-
28-
With a new connection a special ssh id is created and propagated to user chain of frontends and use in HPC containers to exchange secured data and RPC (VNC) streams to be share by other invited users in the secured web session.
29-
30-
For TiledViz client browser, best usage comes with a scale factor at 0.25 to watch all
31-
tiles in a full view of the visualization grid.
32-
33-
You can adjust list of scale factor with google-chrome using dev tools on page
34-
chrome://settings/?search=zoom
35-
Inspect page zoom chooser element with Developper tool.
36-
Look at zoomLevel list and copy/paste on element. Then change the value and print.
37-
It will be saved in ".config/google-chrome/default/Current Session" binary file.
38-
39-
On Mozilla Firefox you just have to go on about:config
40-
and get the list
41-
toolkit.zoomManager.zoomValues
42-
43-
44-
1. Use debug option in web Connection form.
45-
46-
If you want to build your own TiledViz cases, you may read
47-
TVConnection/TVConnections.py
48-
because it contains initialization and functions for calling in case job.
49-
50-
This debug option may stop the connection script before you launch your own job then
51-
you can test it manualy.
52-
53-
You may use os.system('/cat_between #Line1 #Line2 file.py') to display and copy/paste
54-
parts of your script in the ipython prompt.
55-
56-
You can either have python sources of your functions already loaded with this command
57-
print(inspect.getsource(myfun))
58-
on ipython prompt.
59-
60-
2. Problems on some OS
61-
62-
Some gvfs versions gives full memory with Connections docker and
63-
udisks2-volume-monitor service. You can deactivate this behaviour with
64-
> systemctl --user stop gvfs-udisks2-volume-monitor.service
65-
> systemctl --user mask gvfs-udisks2-volume-monitor.service
66-
67-
Some new Dockerd version limit system in containers.
68-
This blocks connections to x11vnc server for TVConnection client.
69-
One must change /etc/docker/daemon.json by added
70-
```
71-
"default-ulimits": {
72-
"nofile": {
73-
"Hard": 1048576,
74-
"Name": "nofile",
75-
"Soft": 1048576
76-
}
77-
}
78-
```
79-
80-
3. SSL and server deployment
81-
82-
Give SERVER_NAME.DOMAIN web server string available in a DNS service.
83-
Give SSL public then private available keys complete path in server at install stage in a readable directory.
84-
Thoses variables are asked in the installation step on a web server.
85-
86-
4. Logger
87-
88-
Change level (from WARNING to DEBUG) interactively :
89-
> docker exec -u flaskusr -it flaskdock bash -c 'echo DEBUG > /tmp/logfifo'
90-
91-
Size of server log:
92-
> docker inspect --format='{{.LogPath}}' flaskdock | xargs sudo du -sh
93-
94-
5. ssh version
95-
Switch to ed25519.
96-
97-
As per the release notes for OpenSSH 7.6:
98-
99-
Refuse RSA keys <1024 bits in length and improve reporting for keys that do not meet this requirement.
100-
101-
So it's likely that the key you're trying to import is too short (weak). Your best bet is to generate a new key.

0 commit comments

Comments
 (0)