Files
dc-deployments-automation/roles/synchrony_config/templates/atl.synchrony.j2

30 lines
1.4 KiB
Django/Jinja

# 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"
SYNCHRONY_DATABASE_USERNAME="{{ atl_jdbc_user }}"
SYNCHRONY_DATABASE_PASSWORD="{{ atl_jdbc_password }}"
ATL_SYNCHRONY_JVM_PROPERTIES="{{ atl_synchrony_stack_space }} {{ atl_synchrony_memory }} \
-Dsynchrony.cluster.impl=hazelcast-btf \
-Dsynchrony.database.url={{ atl_jdbc_url }} \
-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 }}"