Changes between Version 54 and Version 55 of Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup


Ignore:
Timestamp:
Jun 24, 2013, 9:28:26 PM (11 years ago)
Author:
ParviK
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup

    v54 v55  
    266266====== Setting up Login Service ======
    267267
    268 * From exernal1, get ogs_scheduler from /usr/share/omf-aggmgr-5.4/omf-aggmgr and scheduler.yaml from /etc/omf-aggmgr-5.4/enabled and save it to /usr/share/omf-aggmgr-5.4/omf-aggmgr and /etc/omf-aggmgr-5.4/available,respectively, on your console. Follow the steps given below to setup the scheduler.
     268* From exernal1, get ogs_scheduler from /usr/share/omf-aggmgr-5.4/omf-aggmgr and scheduler.yaml from /etc/omf-aggmgr-5.4/enabled and save it to /usr/share/omf-aggmgr-5.4/omf-aggmgr and /etc/omf-aggmgr-5.4/available,respectively, on your console. The scheduler.yaml file is shown below:
     269
     270{{{
     271 scheduler:
     272    # need in /etc/apache2/sites-available/default: ProxyPass /userManagement "http://<host>:5054/scheduler/userManagement"
     273    umURL: 'http://www.geni.net/userManagement'
     274    # need in /etc/apache2/sites-available/default-ssl: ProxyPass /loginService http://<host>:5054/scheduler/
     275    sslURL: 'https://www.geni.net/loginService'
     276    # need in /etc/apache2/sites-available/default-ssl: ProxyPass /schedule http://<host>:5054/scheduler/ShowScheduler
     277    # not mandatory - schedulerURL can be determined by sslURL+'/ShowScheduler'
     278    #schedulerURL: 'https://www.geni.net/schedule'
     279    schedulerURL: 'https://www.geni.net/loginService/ControlPanel'
     280    sleep: 180
     281    approveTime: 600
     282    database:
     283        # User name and password for scheduler database
     284        user: 'orbit'
     285        password: 'orbitpwd'
     286        host: 'internal1.geni.net'
     287        database: 'newScheduler'
     288        approveSeparatly: true # calculate time spend od domain separetely (only for domains listed in listOfDomains)
     289        listOfDomains: #grid,outdoor, list of domains to calculate user time separetely, all other domains accumulate
     290          - grid
     291    auth:
     292        class: LdapAuth
     293        homeDir: '/home/'
     294        nullHost: null.geni.net
     295        autohomehost: home.geni.net
     296        autohome-opts: '-fstype=nfs,hard,intr,rsize=8192,wsize=8192,nodev,nosuid'
     297        servers:
     298            -
     299                # primary LDAP server
     300                secret: 'srishti523'
     301                host: 'ldap2.geni.net'
     302                base: 'dc=geni, dc=net'
     303            -
     304                # alternate LDAP server
     305                secret: 'srishti523'
     306                host: 'ldap1.geni.net'
     307                base: 'dc=geni, dc=net'
     308    email:
     309        # email server configuration
     310        host: 'geni.net'
     311        port: 25
     312    admins:
     313        - 'olivera'
     314        - 'seskar'
     315        - 'ssugrim'
     316    scheduler:
     317        prefix: 'sc4'
     318        email:
     319            # sender and administrastor email configuration
     320            sender: 'schedule@geni.net'
     321            sender_name: 'ORBIT Schedule'
     322            emailAdmin: 1
     323        layout:
     324            # colors
     325            myres: '#5E7FB1'
     326            mypastres: '#A0A1A1'
     327            otherres: '#D2DDEC'
     328            otherpastres: '#CFCFCF'
     329            pending: '#E4DC04'
     330            blackout: '#6F292D'
     331            conflict: '#FF0000'
     332    registration:
     333        email:
     334            # sender and administrastor email configuration
     335            sender: 'account-manager@geni.net'
     336            sender_name: 'Account manager'
     337            emailAdmin: 1
     338        captcha:
     339            temp_image_dir: '/tmp'
     340            ttf_file: 'images/font21.ttf'
     341
     342}}}
     343
     344 
     345  Follow the steps given below to setup the scheduler.
    269346
    270347    * ''' Configuring apache web server '''
     
    313390       }}}
    314391
    315 * From internal2, get ogs_login from /usr/share/omf-aggmgr-5.4/omf-aggmgr and login.yaml from /etc/omf-aggmgr-5.4/enabled and save it to /usr/share/omf-aggmgr-5.4/omf-aggmgr and /etc/omf-aggmgr-5.4/available,respectively, on your console.
    316 
     392* From internal2, get ogs_login from /usr/share/omf-aggmgr-5.4/omf-aggmgr and login.yaml from /etc/omf-aggmgr-5.4/enabled and save it to /usr/share/omf-aggmgr-5.4/omf-aggmgr and /etc/omf-aggmgr-5.4/available,respectively, on your console. The login.yaml is shown  below.
     393
     394{{{
     395  login:
     396    # need in /etc/apache2/sites-available/default: ProxyPass /userManagement "http://<host>:5054/login/userManagement"
     397    umURL: 'http://www.orbit-lab.org/userManagement'
     398    # need in /etc/apache2/sites-available/default-ssl: ProxyPass /loginService http://<host>:5054/login/
     399    sslURL: 'https://www.orbit-lab.org/loginService'
     400    # need in /etc/apache2/sites-available/default-ssl: ProxyPass /schedule http://<host>:5054/login/ShowScheduler
     401    # not mandatory - schedulerURL can be determined by sslURL+'/ShowScheduler'
     402    #schedulerURL: 'https://www.orbit-lab.org/schedule'
     403    schedulerURL: 'https://www.orbit-lab.org/loginService/ControlPanel'
     404    sleep: 180
     405    approveTime: 600
     406    database:
     407        # User name and password for scheduler database
     408        user: 'orbit'
     409        password: 'orbitpwd'
     410        host: 'internal1.orbit-lab.org'
     411        database: 'newScheduler'
     412        approveSeparatly: true # calculate time spend od domain separetely (only for domains listed in listOfDomains)
     413        listOfDomains: #grid,outdoor, list of domains to calculate user time separetely, all other domains accumulate
     414          - grid
     415    auth:
     416        class: LdapAuth
     417        homeDir: '/home/'       
     418        nullHost: null.orbit-lab.org
     419        autohomehost: home.orbit-lab.org
     420        autohome-opts: '-fstype=nfs,hard,intr,rsize=8192,wsize=8192,nodev,nosuid'
     421        servers:
     422            -
     423                # primary LDAP server
     424                secret: 'srishti523'
     425                host: 'ldap2.orbit-lab.org'
     426                base: 'dc=orbit-lab, dc=org'
     427            -
     428                # alternate LDAP server
     429                secret: 'srishti523'
     430                host: 'ldap1.orbit-lab.org'
     431                base: 'dc=orbit-lab, dc=org'
     432    email:
     433        # email server configuration
     434        host: 'orbit-lab.org'
     435        port: 25
     436    admins:
     437        - 'olivera'
     438        - 'seskar'
     439        - 'ssugrim'
     440    scheduler:
     441        prefix: 'sc4'
     442        email:
     443            # sender and administrastor email configuration
     444            sender: 'schedule@orbit-lab.org'
     445            sender_name: 'ORBIT Schedule'
     446            emailAdmin: 1
     447        layout:
     448            # colors
     449            myres: '#5E7FB1'
     450         mypastres: '#A0A1A1'
     451            otherres: '#D2DDEC'
     452            otherpastres: '#CFCFCF'
     453            pending: '#E4DC04'
     454            blackout: '#6F292D'
     455            conflict: '#FF0000'
     456    registration:
     457        email:
     458            # sender and administrastor email configuration
     459            sender: 'account-manager@orbit-lab.org'
     460            sender_name: 'Account manager'
     461            emailAdmin: 1
     462        captcha:
     463            temp_image_dir: '/tmp'
     464            ttf_file: 'images/font21.ttf'
     465
     466  }}}
     467 
    317468* Modify login.yaml and scheduler.yaml according to your testbed.
    318469