wiki:Internal/LoginService

Version 7 (modified by Olivera Tosic, 13 years ago) ( diff )

Description of parameters used to configure login service

server_name – how you access your server externally

host - internal server name

port - by default is 5052

Example: Orbit parameters:

<server_name> ⇒ www.orbit-lab.org

<host> ⇒ internal1.orbit-lab.org

<port> ⇒ 5052 These parameters are used in login.yam and to configure apache.

login.yaml

registration:

baseURL: 'http://<server_name>/userManagement' publicURL: 'http://<server_name>/status/orbit'

Apache configuration

/etc/apache2/sites-available/default ServerName <server_name> ProxyPass /status/orbit "http://<host>:<port>/public_html/" ProxyPass /userManagement "<host>:<port>/login/userManagement"

Note: If you change baseURL and publicURL in login.yaml it is necessary to change corresponding values in apache default file.

/etc/apache2/sites-available/default-ssl

ProxyPass /schedule/ http://<host>:<port>/login/ShowScheduler ProxyPass /loginService/ http://<host>:<port>/login/

<Proxy http://<host>:<port>:5052/login/*>

AllowOverride None order allow,deny allow from all

</Proxy>

Database

Currently, it is necessary to run sql script to create database. Resources table need to be fill out with data manually. Example: INSERT into resources (machid,name,location,rphone,notes,minRes,maxRes) VALUES ('sc1431b400c5f130', 'grid', 'Orbit Facility', '(732) 932-6857, 'Main 400 node grid,30,120)

Attachments (4)

Note: See TracWiki for help on using the wiki.