| | 39 | The lemon server consits of an information collector and the webinterface (called LRF). |
| | 40 | Lemon supports 2 main types of information storing (using flatfiles or using Oracle). |
| | 41 | Currently only Oracle support is provided (but for the people with no access to an Oracle installation, the setup using OracleXE is provided). |
| | 42 | |
| | 43 | == Backend configuration == |
| | 44 | The backend is set using |
| | 45 | {{{ |
| | 46 | ## use OraMon or flatfile |
| | 47 | variable LEMON_BACKEND ?= 'OraMon'; |
| | 48 | }}} |
| | 49 | |
| | 50 | ==== Oracle / OraMon ==== |
| | 51 | When using orcale as a beckend, some oracle specific parameters need to be set: |
| | 52 | {{{ |
| | 53 | ## name of database to use |
| | 54 | variable ORAMON_ORACLE_DATABASE_NAME ?= 'XE'; |
| | 55 | ## |
| | 56 | variable ORACLE_HOME ?= '/usr/lib/oracle/xe/app/oracle/product/10.2.0/server'; |
| | 57 | |
| | 58 | ## Local installation using XE or not |
| | 59 | variable ORACLE_XE_LOCAL_INSTALL ?= true; |
| | 60 | |
| | 61 | ## Oracle user (must be created in oracle manually!) |
| | 62 | ## (this is not necessarily the same unix username that runs lemon services) |
| | 63 | variable ORAMON_ORACLE_USER ?= 'lemon'; |
| | 64 | ## Oracle password for this user |
| | 65 | variable ORAMON_ORACLE_PASSWD ?= undef; |
| | 66 | |
| | 67 | }}} |
| | 68 | |
| | 69 | If you don't use/want a local XE installation, set ORACLE_XE_LOCAL_INSTALL to false and configure the oracle TNS (example for GRIF): |
| | 70 | {{{ |
| | 71 | variable CONTENTS_ORACLE_TNS ?= <<EOF; |
| | 72 | # tnsnames.ora Network Configuration File: |
| | 73 | ccora10gtaf.in2p3.fr = |
| | 74 | (DESCRIPTION = |
| | 75 | (ADDRESS=(PROTOCOL=TCP)(HOST=ccdbcl01.in2p3.fr)(PORT=1521)) |
| | 76 | (ADDRESS=(PROTOCOL=TCP)(HOST=ccdbcl02.in2p3.fr)(PORT=1521)) |
| | 77 | (LOAD_BALANCE=yes) |
| | 78 | (CONNECT_DATA= |
| | 79 | (SERVER=DEDICATED)(SERVICE_NAME=ccora10gtaf.in2p3.fr) |
| | 80 | (FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC) |
| | 81 | (RETRIES=180)(DELAY=5)) |
| | 82 | ) |
| | 83 | ) |
| | 84 | EOF |
| | 85 | }}} |
| | 86 | |
| | 87 | ==== flatfile ==== |
| | 88 | Nothing yet |
| | 89 | |
| | 90 | == LRF == |
| | 91 | |
| | 92 | |