geosolutions-it/C198-KRIHS

GeoNode Installation for KRIHS

Closed this issue · 16 comments

image

We're going to install on 3 machines that we got acces to. In this phase we're only setting up ONE environment with PostgreSQL, GeoServer, GeoNode, Reverse proxy.

Machines are Red Hat Enterprise Linux Server release 7.8 (Maipo) with:

  • 4 CPU Cores (Intel(R) Xeon(R) CPU E7- 2820 @ 2.00GHz)
  • 16 GB RAM
  • 50 GB Disk

Unfortunately there is no tested way to install GeoNode on multiple machine on RHEL / CentOS 7+

We have to either make a regular non-dockerized installation of GeoNode or make the Dockerized solution (geonode project) work on multiple machines (it is based on docker-compose 2, never tested with docker swarm). Both approaches are "risky".
A docker based install would make it easier to set up CI but this is not a requirement so I am incline to go with the non dockerized setup.

We test the non-dockerized installation on RHEL 7.8 on a local VM machine. Assuming we don't encounter major issues we document it and proceed with the setup on KRISH machines and contribute back to GeoNode the documentation to install on RHEL 7.

On the long run though, we want GeoNode to be installable on multiple machines using docker. I'll create an epic for the devops to write a new docker swarm compatible compose-file for geonode.

I have a working environment for RedHat EL 7.8
Now I will produce documentation steps for the 3 nodes given for the project.

Now I will produce documentation steps for the 3 nodes given for the project.

If you mean cleaning up the notes that you have that's fine.

A few questions @lpasquali:

  • have you tested the setup?
  • how long will it take to produce the doc? I am talking about making a PR against the GeoNode doc github repo (here @afabiani ?). This will be worked on After the setup for KRIHS
  • ready to deploy tomorrow morning 09:30? how long will it take? including testing and installation documentation

Now I will produce documentation steps for the 3 nodes given for the project.

If you mean cleaning up the notes that you have that's fine.

the installation plan has been documented in the project folder (see link in comment above)

A few questions @lpasquali:

  • have you tested the setup?

Using https://files.pythonhosted.org/packages/2a/e3/bd15b7a5d0cdd8d316b051ac3e2ec180bd09d9a144e6df35733cbdc9ca82/gisdata-0.5.4.tar.gz
I uploaded and created successfully store(shape files), layers and a map in geonode

  • how long will it take to produce the doc? I am talking about making a PR against the GeoNode doc github repo (here @afabiani ?). This will be worked on After the setup for KRIHS
    2 hours
  • ready to deploy tomorrow morning 09:30? how long will it take? including testing and installation documentation

yup!
Documentation has only to be updated with correct ip addresses and I will probaly do it before 18:30 CET
I think it could take less than the whole morning so 4 hours at most with tidy docs included

I'm stopping and wait as the VDI is incapable to resolve the hostnames of the 3 machines by any browser Edge,Chrome,Firefox installed (note: they are resolvable through ping in powershell from the same VDI).

Asked the client to fix this. Waiting for feedback

Fixed. We can move on with finalizing the setup

Please move on ASAP here @lpasquali . The proxy settings can be found from the Internet Explorer (or Edge? I don't remember) settings. Ping me if you don't find them

@randomorder looks like everyhting is working I updated this document with the final application URLs:

https://docs.google.com/document/d/1KSIhsofeNk5geN2VEBIQRNxdUwdRQzO-6fxLcwR42Ss/edit#heading=h.3gf25xkf0f99

Thanks I'll review the Doc. Please go ahead and prepare a PR for upstream GeoNode documentation

@chpicone I think we're ready for final testing validation. Let me know if you need anything else on our side

@randomorder I mounted in /mnt/data the unmounted lvm storage.

@randomorder @afabiani I documented this kind of RHEL 7.x installation in this PR

GeoNode/documentation#66

please check my comment in the installation document about the deploymen diagram @lpasquali

@randomorder deployment diagram added let me know if it is ok
@bermud you asked me to specify some information about postgres but any existent schema, user, password and the host are in a table little below your comment. more over what does "create buss document with the logic" mean?

I reviewed the diagram @bermud
let mw know if there's anything else you think is missing