Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MasterSite vs GeoSite #7

Open
matthewhanson opened this issue Jun 18, 2015 · 9 comments
Open

MasterSite vs GeoSite #7

matthewhanson opened this issue Jun 18, 2015 · 9 comments

Comments

@matthewhanson
Copy link
Member

For Landscape Portal, each individual site will be on it's own server. The MasterSite will be on it's own server, along with the database used by all the sites.

However, GeoSites needs access to the MasterSite settings file, templates, and static files*.

One approach is to treat the MasterSite as it's own project and install it as such on each machine.

Another approach would be to use a shared storage space to store the MasterSite files (and also server static files from).

  • static files can be discussed separately, but by having different web servers means we have multiple copies of assets on each server. Maybe not worth discussing near term.
@simod
Copy link
Contributor

simod commented Jun 18, 2015

Uhm, what's the advantage of having every site on it's own server if the database and geoserver live on the MasterSite?

@matthewhanson
Copy link
Member Author

I'm not sure, but they want it configured like this, to keep each site physically separate. I don't think there's really an advantage.

GeoServer is also on it's own server.

Servers

  • MasterSite and database(s)
  • GeoServer
  • Each site

@simod
Copy link
Contributor

simod commented Jun 18, 2015

It sounds a bit inefficient to have just the python running on a server and all the data elsewhere. That will generate a lot of slow connections.
I thought that for the GeoSite they would have used virtualhosts. also because from different servers they need to deploy different GeoNodes that could be avoided in the other case.

@matthewhanson
Copy link
Member Author

I agree. My preference would be to have all the servers together on a
machine. Geoserver on it's own, and the datastore on the same machine as
geoserver, and the django db on the web server.
On Jun 18, 2015 9:16 AM, "Simone Dalmasso" notifications@github.com
wrote:

It sounds a bit inefficient to have just the python running on a server
and all the data elsewhere. That will generate a lot of slow connection.
I thought that for the GeoSite they would have used virtualhosts. also
because from different servers they need to deploy different GeoNodes that
could be avoided in the other case.


Reply to this email directly or view it on GitHub
#7 (comment)
.

@eomwandho
Copy link

Which implementation was agreed on? having the geosites under the master or on individual VM.

@matthewhanson
Copy link
Member Author

@eomwandho Right now they geosites and master are on one server, which is the preferred method. Please let us know if this doesn't meet your requirements.

@matthewhanson
Copy link
Member Author

For reference here's what I posted in slack:

All of the sites have a lot of shared components - GeoNode for one, but also all other dependencies and potentially templates, static files, and settings - all of the sites have some set of shared settings files, with site specific settings in it's own.

Because of this interdependence, it would greatly increase the administration efforts, since it is not just the DB that links these sites, but static files and templates. Effort would need to be made to keep those files synchronized or use some sort of shared storage and upgrades will need to be done across multiple machines at once.

Is the separation of sites on VMs a hard requirement? We would suggest that all the sites be hosted together. The dev server is currently set up with a master site and site2

@eomwandho
Copy link

If putting the geosites and master on same machine, would reduce the amount of work the we will support that option also.

@simod
Copy link
Contributor

simod commented Jul 6, 2015

@eomwandho yes it would and also increase the performances as we would avoid database hits across different machines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants