182 lines
6 KiB
YAML
182 lines
6 KiB
YAML
tixel_root: /opt/tixel
|
|
tixel_root_v3: /opt/tixstream-fx
|
|
tixel_html: "{{ tixel_data }}/html"
|
|
tixel_data: "{{ data_dir }}/tixel"
|
|
share_name: share
|
|
share_mount: /mnt/share
|
|
data_dir: /data
|
|
tixstream_fx_user: tixstream
|
|
tixstream_fx_group: tixstream
|
|
tixway_user: tixway
|
|
mysql_root_password: standard_password
|
|
|
|
tixel_config_directory:
|
|
path: "{{ tixel_root }}/config"
|
|
dest: "{{ share_mount }}/config"
|
|
|
|
tixel_temp_directory:
|
|
path: "{{ tixel_root }}/tmp"
|
|
dest: "{{ share_mount }}/tmp"
|
|
|
|
tixel_data_directory:
|
|
path: "{{ tixel_root }}/data"
|
|
dest: "{{ share_mount }}/data"
|
|
|
|
proftpd_config: "/etc/proftpd/proftpd.conf"
|
|
|
|
remote_deployment_dir: "{{ ansible_env.HOME }}/deployment"
|
|
|
|
configs:
|
|
deployment_dir: "{{ playbook_dir }}/deployment"
|
|
tixel_root: "/opt/tixel"
|
|
host_config:
|
|
# --- Worker 0 ---
|
|
thesis-worker-0:
|
|
name: "Worker Node 0"
|
|
hostname: "thesis-worker-0"
|
|
ip: "10.10.1.10"
|
|
route_gateway: "10.10.1.1"
|
|
route_interface: "ens4"
|
|
contains_setup:
|
|
- mft
|
|
- java21
|
|
encryption_policy: PREFERRED
|
|
checksum_policy: PREFERRED
|
|
|
|
# --- Worker 1 ---
|
|
thesis-worker-1:
|
|
name: "Worker Node 1"
|
|
hostname: "thesis-worker-1"
|
|
ip: "10.10.2.10"
|
|
route_gateway: "10.10.2.1"
|
|
route_interface: "ens4"
|
|
contains_setup:
|
|
- mft
|
|
- java21
|
|
encryption_policy: PREFERRED
|
|
checksum_policy: PREFERRED
|
|
|
|
# --- Worker 2 ---
|
|
thesis-worker-2:
|
|
name: "Worker Node 2"
|
|
hostname: "thesis-worker-2"
|
|
ip: "10.10.3.10"
|
|
route_gateway: "10.10.3.1"
|
|
route_interface: "ens4"
|
|
contains_setup:
|
|
- mft
|
|
- java21
|
|
encryption_policy: PREFERRED
|
|
checksum_policy: PREFERRED
|
|
|
|
# --- Router
|
|
thesis-router:
|
|
name: "Router"
|
|
hostname: "thesis-router"
|
|
ip: "10.10.1.1"
|
|
contains_setup: []
|
|
|
|
mft_services:
|
|
access_manager:
|
|
name: access-manager
|
|
port: 9001
|
|
proxy_port: 60011
|
|
config: "{{ tixel_root }}/config/access-manager.properties"
|
|
demo_user: demo
|
|
demo_pass: secret
|
|
api_user: admin
|
|
api_pass: verysecret
|
|
database: access_manager
|
|
database_user: tixel
|
|
database_pass: tixel
|
|
tixstream:
|
|
name: tixstream
|
|
port: 60002
|
|
proxy_port: 60003
|
|
config: "{{ tixel_root }}/config/tixstream.conf"
|
|
transfer_job_manager:
|
|
name: transfer-job-manager
|
|
port: 60000
|
|
proxy_port: 60001
|
|
config: "{{ tixel_root }}/config/transfer-job-manager.properties"
|
|
demo_user: demo
|
|
demo_pass: secret
|
|
api_user: admin
|
|
api_pass: verysecret
|
|
scheduler_properties:
|
|
- option: "custom.transfer-job-manager.job-scheduler-interval-ms"
|
|
line: "custom.transfer-job-manager.job-scheduler-interval-ms=1000"
|
|
- option: "custom.transfer-job-manager.max-parallel-incoming-jobs"
|
|
line: "custom.transfer-job-manager.max-parallel-incoming-jobs=4"
|
|
- option: "custom.transfer-job-manager.max-parallel-outgoing-jobs"
|
|
line: "custom.transfer-job-manager.max-parallel-outgoing-jobs=10"
|
|
- option: "custom.transfer-job-manager.min-reschedule-time-seconds"
|
|
line: "custom.transfer-job-manager.min-reschedule-time-seconds=1"
|
|
- option: "custom.transfer-job-manager.max-reschedule-time-seconds"
|
|
line: "custom.transfer-job-manager.max-reschedule-time-seconds=10"
|
|
- option: "custom.transfer-job-manager.max-retries"
|
|
line: "custom.transfer-job-manager.max-retries=100"
|
|
- option: "custom.transfer-job-manager.job-scheduler-interval-ms"
|
|
line: "custom.transfer-job-manager.job-scheduler-interval-ms=1000"
|
|
watchfolder_properties:
|
|
- option: "custom.transfer-job-manager.watchfolder-enabled"
|
|
line: "custom.transfer-job-manager.watchfolder-enabled=true"
|
|
load_balancing_properties:
|
|
- option: "custom.transfer-job-manager.load-balancing-enabled"
|
|
line: "custom.transfer-job-manager.load-balancing-enabled=true"
|
|
- option: "custom.tixstream.checksum-file-dir"
|
|
line: "custom.tixstream.checksum-file-dir={{ tixel_data_directory.path }}/tixstream"
|
|
- option: "custom.transfer-job-manager.max-parallel-incoming-jobs"
|
|
line: "custom.transfer-job-manager.max-parallel-incoming-jobs=3"
|
|
- option: "custom.transfer-job-manager.max-parallel-outgoing-jobs"
|
|
line: "custom.transfer-job-manager.max-parallel-outgoing-jobs=2"
|
|
database: transfer_job_manager
|
|
tixel_control_center:
|
|
name: tixel-control-center
|
|
port: 9010
|
|
config: "{{ tixel_root }}/config/tixel-control-center.properties"
|
|
nginx:
|
|
name: nginx
|
|
config: "/etc/nginx/nginx.conf"
|
|
config_win: "{{ tixel_root }}/nginx/conf/nginx.conf"
|
|
log_dir: "/opt/tixel/logs/nginx"
|
|
user: "nginx"
|
|
group: "nginx"
|
|
fx_services:
|
|
access_manager:
|
|
name: access-manager
|
|
port: 9001
|
|
proxy_port: 60011
|
|
config: "{{ tixel_root }}/config/access-manager.properties"
|
|
config_v3: "{{ tixel_root_v3 }}/config/access-manager.properties"
|
|
database: access_manager
|
|
database_user: tixel
|
|
database_pass: tixel
|
|
tixstream_express_job_manager:
|
|
name: tixstream-express-job-manager
|
|
port: 30010
|
|
nonssl_port: 30009
|
|
config: "{{ tixel_root }}/config/tixstream-express-job-manager.properties"
|
|
database: tixstream_express_job_manager
|
|
database_user: tixel
|
|
database_pass: tixel
|
|
tixstream_fx:
|
|
name: tixstream-fx
|
|
config: "{{ tixel_root }}/config/tixstream-fx.properties"
|
|
fx_core:
|
|
name: fx-core
|
|
port: 30010
|
|
nonssl_port: 30009
|
|
config: "{{ tixel_root_v3 }}/config/fx-core.properties"
|
|
database: fx_core
|
|
database_user: tixel
|
|
database_pass: tixel
|
|
tixway:
|
|
name: tixway
|
|
config: "{{ tixel_root }}/config/ssg.config"
|
|
config_v3: "{{ tixel_root_v3 }}/config/ssg.config"
|
|
nginx:
|
|
name: nginx
|
|
config: "/etc/nginx/conf.d/tixstream-fx-https.on"
|
|
config_v3: "/etc/nginx/conf.d/tixstream-fx.conf"
|
|
# vim:ft=ansible
|