Changes between Version 6 and Version 7 of Internal/LoginService


Ignore:
Timestamp:
Jun 21, 2011, 3:18:02 PM (13 years ago)
Author:
Olivera Tosic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/LoginService

    v6 v7  
    1  == Description of parameters used to configure login service ==
     1 === Description of parameters used to configure login service ===
    22
    33server_name – how you access your server externally
     
    88
    99
    10 Example : Orbit parameters:
     10 === Example: Orbit parameters: ===
    1111
    1212<server_name> => www.orbit-lab.org
     
    1515
    1616<port> => 5052
     17These parameters are used in login.yam and to configure apache.
     18
     19 === login.yaml ===
     20
     21registration:
     22        baseURL: 'http://<server_name>/userManagement'
     23        publicURL: 'http://<server_name>/status/orbit'
     24
     25
     26 === Apache configuration ===
     27
     28/etc/apache2/sites-available/default
     29ServerName <server_name>
     30ProxyPass /status/orbit "http://<host>:<port>/public_html/"
     31ProxyPass /userManagement "<host>:<port>/login/userManagement"
     32
     33Note: If you change baseURL and publicURL in login.yaml it is necessary to change corresponding values in apache default file.
     34
     35/etc/apache2/sites-available/default-ssl
     36
     37 ProxyPass /schedule/ http://<host>:<port>/login/ShowScheduler
     38 ProxyPass /loginService/ http://<host>:<port>/login/
     39        <Proxy http://<host>:<port>:5052/login/*>
     40          AllowOverride None
     41          order allow,deny
     42          allow from all
     43        </Proxy>
     44       
     45
     46
     47 === Database ===
     48Currently, it is necessary to run sql script to create database. Resources table need to be fill out with data manually.
     49Example:
     50INSERT into resources (machid,name,location,rphone,notes,minRes,maxRes) VALUES
     51('sc1431b400c5f130', 'grid', 'Orbit Facility', '(732) 932-6857, 'Main 400 node grid,30,120)