| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <metainfo> |
| <schemaVersion>2.0</schemaVersion> |
| <services> |
| <service> |
| <name>ELASTICSEARCH</name> |
| <displayName>Elasticsearch</displayName> |
| <comment>Indexing and Search</comment> |
| <version>5.6.14</version> |
| <components> |
| <component> |
| <name>ES_MASTER</name> |
| <displayName>Elasticsearch Master</displayName> |
| <category>MASTER</category> |
| <cardinality>1+</cardinality> |
| <commandScript> |
| <script>scripts/elastic_master.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| </component> |
| <component> |
| <name>ES_SLAVE</name> |
| <displayName>Elasticsearch Data Node</displayName> |
| <category>SLAVE</category> |
| <cardinality>0+</cardinality> |
| <commandScript> |
| <script>scripts/elastic_slave.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| </component> |
| </components> |
| <osSpecifics> |
| <osSpecific> |
| <osFamily>redhat6</osFamily> |
| <packages> |
| <package> |
| <name>elasticsearch-5.6.14</name> |
| </package> |
| </packages> |
| </osSpecific> |
| <osSpecific> |
| <osFamily>redhat7</osFamily> |
| <packages> |
| <package> |
| <name>elasticsearch-5.6.14</name> |
| </package> |
| </packages> |
| </osSpecific> |
| <osSpecific> |
| <osFamily>ubuntu14</osFamily> |
| <packages> |
| <package> |
| <name>elasticsearch=5.6.14</name> |
| </package> |
| </packages> |
| </osSpecific> |
| </osSpecifics> |
| <commandScript> |
| <script>scripts/service_check.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>300</timeout> |
| </commandScript> |
| <configuration-dependencies> |
| <config-type>elastic-env</config-type> |
| <config-type>elastic-site</config-type> |
| <config-type>elastic-sysconfig</config-type> |
| <config-type>elastic-systemd</config-type> |
| <config-type>elastic-jvm-options</config-type> |
| </configuration-dependencies> |
| <restartRequiredAfterChange>true</restartRequiredAfterChange> |
| <quickLinksConfigurations> |
| <quickLinksConfiguration> |
| <fileName>quicklinks.json</fileName> |
| <default>true</default> |
| </quickLinksConfiguration> |
| </quickLinksConfigurations> |
| </service> |
| </services> |
| </metainfo> |