|
| 1 | +OMERO Searchengine |
| 2 | +================== |
| 3 | + |
| 4 | +[](https://github.com/ome/ansible-role-omero-ms-image-region/actions) |
| 5 | +[](https://galaxy.ansible.com/ui/standalone/roles/ome/omero_ms_image_region/) |
| 6 | + |
| 7 | +Installs and configures the OMERO Searchengine. |
| 8 | + |
| 9 | +Dependencies |
| 10 | +------------ |
| 11 | + |
| 12 | +OMERO.docker.web is required. |
| 13 | + |
| 14 | + |
| 15 | +Role Variables |
| 16 | +-------------- |
| 17 | + |
| 18 | +- `apps_folder'`: The application data folder |
| 19 | +- `database_server_url`: The database URL |
| 20 | +- `database_port`: The database port |
| 21 | +- `database_name`: The database name (e.g., omero) |
| 22 | +- `database_username`: The database username |
| 23 | +- `database_user_password`: The database user password |
| 24 | +- `default_datasource`: The default datasource |
| 25 | +- `search_engineelasticsearch_docker_image`: The Elasticsearch image (default: `docker.elastic.co/elasticsearch/elasticsearch:9.2.1`) |
| 26 | +- `searchengine_docker_image`: The search engine Docker image |
| 27 | +- `automatic_refresh`: Whether the searchengine should reload configuration when modified (true/false) |
| 28 | +- `searchengine_secret_key`: The search engine secret key |
| 29 | +- `searchengineurlprefix`: The URL prefix for the searchengine (default: searchengine) |
| 30 | +- `elasticsearch_no_nodes`: The number of nodes in the Elasticsearch cluster |
| 31 | +- `elasticsearch_backup_folder`: The Elasticsearch data backup folder |
| 32 | +- `ca_password`: The CA password for the Elasticsearch certificate |
| 33 | +- `keystore_password`: The keystore password for the Elasticsearch cluster |
| 34 | +- `elastic_password`: The password for the Elasticsearch user |
| 35 | +- `data_dump_folder`:The data dump folder (used for asynchronous search and container BFFs) |
| 36 | +- `nginx_port`: The port Nginx should use |
| 37 | +- `cache_rows`: The number of rows the indexing process can handle at one time |
| 38 | +- `no_index_processes`: The number of parallel processes available for the indexing process |
| 39 | + |
| 40 | +Example Playbook |
| 41 | +---------------- |
| 42 | +:: |
| 43 | + |
| 44 | + - name: Deploying search engine |
| 45 | + connection: local |
| 46 | + hosts: localhost |
| 47 | + become: true |
| 48 | + roles: |
| 49 | + - role: omero_searchengine |
| 50 | + vars: |
| 51 | + - elastic_password: Jlsp2cZirz6G56&^hdlhkf7 |
| 52 | + - apps_folder: /data |
| 53 | + - asynchronous_search: true |
| 54 | + - automatic_refresh: true |
| 55 | + - cache_rows: 50000 |
| 56 | + - database_name: idr |
| 57 | + - database_user_password: GDj2PSoCYYwt2BvWvsT3xePW42TocQ8ZaIpfFWIBjCJX |
| 58 | + - database_port: '5432' |
| 59 | + - database_server_url: 192.168.10.38 |
| 60 | + - database_username: omeroreadonly |
| 61 | + - elasticsearch_backup_folder: /searchengine_backup |
| 62 | + - searchengine_secret_key : searchengine_secret_key |
| 63 | + - verify_certs: false |
| 64 | + - quires_folder: quires/ |
| 65 | + - data_dump_folder: /data/data_dump/ |
| 66 | + - default_datasource: omero |
| 67 | + - searchengineurlprefix: "searchengine" |
| 68 | + - ca_password: "ca_password_1234" |
| 69 | + - keystore_password: "keystore_password_1234" |
| 70 | + - no_index_processes: 6 |
| 71 | + - elasticsearch_no_nodes: 3 |
| 72 | + - nginx_port: 8080 |
| 73 | + |
| 74 | +Author Information |
| 75 | +------------------ |
| 76 | + |
| 77 | +ome-devel@lists.openmicroscopy.org.uk |
0 commit comments