Difference between revisions of "Cedeus Technical Architecture"

From stgo
Jump to: navigation, search
Line 19: Line 19:
 
#* go to file ''/etc/apache2/sites-available/''
 
#* go to file ''/etc/apache2/sites-available/''
 
#* <code>sudo nano 000-default.conf</code>
 
#* <code>sudo nano 000-default.conf</code>
#* add the follwing content, and do afterwards the apprpriate setting in geosteiniger.cl domain using the DNS zone editor
+
#* add the follwing content, and do afterwards the apprpriate setting in geosteiniger.cl domain using the DNS zone editor:
#*:<code>snippets here</code>
+
 
 +
<code>
 +
<VirtualHost *:80>
 +
# The ServerName directive sets the request scheme, hostname and port that
 +
# the server uses to identify itself. This is used when creating
 +
# redirection URLs. In the context of virtual hosts, the ServerName
 +
# specifies what hostname must appear in the request's Host: header to
 +
# match this virtual host. For the default virtual host (this file) this
 +
# value is not decisive as it is used as a last resort host regardless.
 +
# However, you must set it for any further virtual host explicitly.
 +
        # ServerName www.example.com
 +
 +
ServerAdmin webmaster@observatorio.cedeus.cl
 +
        ServerName observatorio.cedeus.cl
 +
        ServerAlias cedeusgeonode.ing.puc.cl
 +
        ServerAlias observatorio.geosteiniger.cl
 +
DocumentRoot /var/www/html
 +
 +
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
 +
# error, crit, alert, emerg.
 +
# It is also possible to configure the loglevel for particular
 +
# modules, e.g.
 +
#LogLevel info ssl:warn
 +
 +
ErrorLog ${APACHE_LOG_DIR}/error.log
 +
CustomLog ${APACHE_LOG_DIR}/access.log combined
 +
 +
# For most configuration files from conf-available/, which are
 +
# enabled or disabled at a global level, it is possible to
 +
# include a line for only one particular virtual host. For example the
 +
# following line enables the CGI configuration for this host only
 +
# after it has been globally disabled with "a2disconf".
 +
#Include conf-available/serve-cgi-bin.conf
 +
 +
    # Servers to proxy the connection, or;
 +
    # List of application servers:
 +
    # Usage:
 +
    # ProxyPass / http://[IP Addr.]:[port]/
 +
    # ProxyPassReverse / http://[IP Addr.]:[port]/
 +
 +
    ProxyPass /wiki http://146.155.17.19:22080/wiki/
 +
    ProxyPassReverse /wiki http://146.155.17.19:22080/wiki/
 +
 
 +
</VirtualHost>
 +
 +
#Datos
 +
<VirtualHost *:80>
 +
    ServerName observatorio.cedeus.cl
 +
    ProxyRequests Off
 +
    ProxyPreserveHost On
 +
    ProxyPass /data/ http://146.155.17.19:13080/
 +
    ProxyPassReverse /data/ http://146.155.17.19:13080/
 +
</VirtualHost>
 +
 +
#Guias
 +
<VirtualHost *:80>
 +
    ServerName guias.observatorio.cedeus.cl
 +
    ProxyRequests Off
 +
    ProxyPreserveHost On
 +
    ProxyPass / http://146.155.17.19:22080/
 +
    ProxyPassReverse / http://146.155.17.19:22080/
 +
</VirtualHost>
 +
 +
#Wiki geosteiniger
 +
<VirtualHost *:80>
 +
    ServerName wiki.geosteiniger.cl
 +
    ProxyRequests Off
 +
    ProxyPreserveHost On
 +
    ProxyPass / http://146.155.17.19:21080/
 +
    ProxyPassReverse / http://146.155.17.19:21080/
 +
</VirtualHost>
 +
 +
#CedeusData geosteiniger
 +
<VirtualHost *:80>
 +
    ServerName cedeusdata.geosteiniger.cl
 +
    ProxyRequests Off
 +
    ProxyPreserveHost On
 +
    ProxyPass / http://146.155.17.19:13080/
 +
    ProxyPassReverse / http://146.155.17.19:13080/
 +
</VirtualHost>
 +
 +
#CedeusWiki geosteiniger
 +
<VirtualHost *:80>
 +
    ServerName cedeuswiki.geosteiniger.cl
 +
    ProxyRequests Off
 +
    ProxyPreserveHost On
 +
    ProxyPass / http://146.155.17.19:22080/
 +
    ProxyPassReverse / http://146.155.17.19:22080/
 +
</VirtualHost>
 +
 +
#Tilestream geosteiniger
 +
<VirtualHost *:80>
 +
    ServerName tilestream.geosteiniger.cl
 +
    ProxyRequests Off
 +
    ProxyPreserveHost On
 +
    ProxyPass / http://146.155.17.18:16088/
 +
    ProxyPassReverse / http://146.155.17.18:16088/
 +
</VirtualHost>
 +
 +
#OpenTripPlanner geosteiniger
 +
<VirtualHost *:80>
 +
    ServerName otp.geosteiniger.cl
 +
    ProxyRequests Off
 +
    ProxyPreserveHost On
 +
    ProxyPass / http://146.155.17.54:8080/
 +
    ProxyPassReverse / http://146.155.17.54:8080/
 +
</VirtualHost>
 +
 +
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
 +
</code>
  
 
'''ToDo''':
 
'''ToDo''':

Revision as of 15:02, 9 September 2014

>> return to Cedeus_IDE


  1. IDE architecture design
  2. Cedeus Hardware - get computer + server - mid Nov. + end Dec
    • ToDo: evaluacion propio servidor(es) vs. nube (pro + contra)
  3. Cedeus software
    • Cedeus Evaluacion de GeoNode
    • test instalación de GeoNode en mi servidor personal (cedeusgis1) : 6. Ene - 28. Feb:
      • incluyendo: (i) instalación GeoNode, (ii) instalación y test con BD externa, (iii) test backup GeoNode + (iv) test backup BD, (v) test anadir tiles/datos in GeoExplorer de TileStream, (vi) ToDo: create mi proprio servidor TileStream (similar como OpenQuake.org), (vi) ToDo: instalación en servidores reales
  4. running CEDEUS Servers
  5. Installed a reverse proxy to access Geonode, TileStream, Wiki

<VirtualHost *:80>
	# The ServerName directive sets the request scheme, hostname and port that
	# the server uses to identify itself. This is used when creating
	# redirection URLs. In the context of virtual hosts, the ServerName
	# specifies what hostname must appear in the request's Host: header to
	# match this virtual host. For the default virtual host (this file) this
	# value is not decisive as it is used as a last resort host regardless.
	# However, you must set it for any further virtual host explicitly.
       # ServerName www.example.com

	ServerAdmin webmaster@observatorio.cedeus.cl
       ServerName observatorio.cedeus.cl
       ServerAlias cedeusgeonode.ing.puc.cl
       ServerAlias observatorio.geosteiniger.cl
	DocumentRoot /var/www/html

	# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
	# error, crit, alert, emerg.
	# It is also possible to configure the loglevel for particular
	# modules, e.g.
	#LogLevel info ssl:warn

	ErrorLog ${APACHE_LOG_DIR}/error.log
	CustomLog ${APACHE_LOG_DIR}/access.log combined

	# For most configuration files from conf-available/, which are
	# enabled or disabled at a global level, it is possible to
	# include a line for only one particular virtual host. For example the
	# following line enables the CGI configuration for this host only
	# after it has been globally disabled with "a2disconf".
	#Include conf-available/serve-cgi-bin.conf

   # Servers to proxy the connection, or;
   # List of application servers:
   # Usage:
   # ProxyPass / http://[IP Addr.]:[port]/
   # ProxyPassReverse / http://[IP Addr.]:[port]/

   ProxyPass /wiki http://146.155.17.19:22080/wiki/
   ProxyPassReverse /wiki http://146.155.17.19:22080/wiki/
 
</VirtualHost>

#Datos
<VirtualHost *:80>
   ServerName observatorio.cedeus.cl
   ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass /data/ http://146.155.17.19:13080/
   ProxyPassReverse /data/ http://146.155.17.19:13080/
</VirtualHost>

#Guias
<VirtualHost *:80>
   ServerName guias.observatorio.cedeus.cl
   ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass / http://146.155.17.19:22080/
   ProxyPassReverse / http://146.155.17.19:22080/
</VirtualHost>

#Wiki geosteiniger
<VirtualHost *:80>
   ServerName wiki.geosteiniger.cl
   ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass / http://146.155.17.19:21080/
   ProxyPassReverse / http://146.155.17.19:21080/
</VirtualHost>

#CedeusData geosteiniger
<VirtualHost *:80>
   ServerName cedeusdata.geosteiniger.cl
   ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass / http://146.155.17.19:13080/
   ProxyPassReverse / http://146.155.17.19:13080/
</VirtualHost>

#CedeusWiki geosteiniger
<VirtualHost *:80>
   ServerName cedeuswiki.geosteiniger.cl
   ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass / http://146.155.17.19:22080/
   ProxyPassReverse / http://146.155.17.19:22080/
</VirtualHost>

#Tilestream geosteiniger
<VirtualHost *:80>
   ServerName tilestream.geosteiniger.cl
   ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass / http://146.155.17.18:16088/
   ProxyPassReverse / http://146.155.17.18:16088/
</VirtualHost>

#OpenTripPlanner geosteiniger
<VirtualHost *:80>
   ServerName otp.geosteiniger.cl
   ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass / http://146.155.17.54:8080/
   ProxyPassReverse / http://146.155.17.54:8080/
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

ToDo:

  • install UPS
  • develop backup procedure
  • test GeoNode 2.x on !4.04
  • documentation
  • contracts
  • add data
  • add maps