mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
DCD-352: First cut of a synchrony startup script.
This commit is contained in:
28
roles/synchrony_startup/templates/atl.synchrony.j2
Normal file
28
roles/synchrony_startup/templates/atl.synchrony.j2
Normal file
@@ -0,0 +1,28 @@
|
||||
# Generated by Ansible Synchrony playbook. Usually sourced with
|
||||
# EnvironmentFile in the systemd service file.
|
||||
|
||||
ATL_SYNCHRONY_SERVICE_NAME="synchrony"
|
||||
ATL_CONFLUENCE_INSTALL_DIR="{{ atl_product_installation_current }}"
|
||||
ATL_CONFLUENCE_SHARED_CONFIG_FILE="{{ atl_product_home_shared }}/confluence.cfg.xml"
|
||||
ATL_SYNCHRONY_JAR_PATH="{{ atl_product_installation_current }}/confluence/WEB-INF/packages/synchrony-standalone.jar"
|
||||
|
||||
AWS_EC2_PRIVATE_IP="{{ atl_local_ipv4 }}"
|
||||
_RUNJAVA="{{ atl_product_installation_current }}/jre/bin/java"
|
||||
|
||||
ATL_SYNCHRONY_JVM_PROPERTIES="{{ atl_synchrony_stack_space }} {{ atl_synchrony_memory }} \
|
||||
-Dsynchrony.cluster.impl=hazelcast-btf \
|
||||
-Dsynchrony.database.url={{ atl_jdbc_url }} \
|
||||
-Dsynchrony.database.username={{ atl_jdbc_user }} \
|
||||
-Dsynchrony.database.password={{ atl_jdbc_password }} \
|
||||
-Dsynchrony.bind={{ atl_local_ipv4 }} \
|
||||
-Dsynchrony.cluster.bind={{ atl_local_ipv4 }} \
|
||||
-Dcluster.interfaces={{ atl_local_ipv4 }} \
|
||||
-Dsynchrony.cluster.base.port=25500 \
|
||||
-Dsynchrony.service.url={{ atl_synchrony_service_url }} \
|
||||
-Dsynchrony.context.path=/synchrony \
|
||||
-Dsynchrony.port=8091 \
|
||||
-Dcluster.name=Synchrony-Cluster \
|
||||
-Dcluster.join.type={{ atl_synchrony_cluster_type }} \
|
||||
-Dcluster.join.aws.tag.key={{ atl_hazelcast_network_aws_tag_key }} \
|
||||
-Dcluster.join.aws.tag.value={{ atl_hazelcast_network_aws_tag_value }} \
|
||||
-Dcluster.join.aws.region={{ atl_hazelcast_network_aws_iam_region }}
|
||||
Reference in New Issue
Block a user