48 lines
2.3 KiB
Plaintext
48 lines
2.3 KiB
Plaintext
# Nomad 完整架构配置
|
||
# 合并后的inventory文件,基于production目录的最新配置
|
||
|
||
[nomad_servers]
|
||
# 服务器节点 (7个服务器节点)
|
||
# 本机,不操作 bj-semaphore.global ansible_host=100.116.158.95 ansible_user=root ansible_password=3131 ansible_become_password=3131
|
||
ash1d.global ansible_host=100.81.26.3 ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
ash2e.global ansible_host=100.103.147.94 ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
ch2.global ansible_host=100.90.159.68 ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
ch3.global ansible_host=100.86.141.112 ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
onecloud1.global ansible_host=100.98.209.50 ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
de.global ansible_host=100.120.225.29 ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
|
||
[nomad_clients]
|
||
# 客户端节点 (6个客户端节点,基于production配置)
|
||
hcp1 ansible_host=hcp1 ansible_user=root ansible_password=313131 ansible_become_password=313131
|
||
influxdb1 ansible_host=influxdb1 ansible_user=root ansible_password=313131 ansible_become_password=313131
|
||
warden ansible_host=warden ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
browser ansible_host=browser ansible_user=root ansible_password=313131 ansible_become_password=313131
|
||
kr-master ansible_host=master ansible_port=60022 ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
us-ash3c ansible_host=ash3c ansible_user=ben ansible_password=3131 ansible_become_password=3131
|
||
|
||
[nomad_nodes:children]
|
||
nomad_servers
|
||
nomad_clients
|
||
|
||
[nomad_nodes:vars]
|
||
# NFS配置
|
||
nfs_server=snail
|
||
nfs_share=/fs/1000/nfs/Fnsync
|
||
mount_point=/mnt/fnsync
|
||
|
||
# Ansible配置
|
||
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
||
|
||
# Telegraf监控配置(基于production配置)
|
||
client_ip="{{ ansible_host }}"
|
||
influxdb_url="http://influxdb1.tailnet-68f9.ts.net:8086"
|
||
influxdb_token="VU_dOCVZzqEHb9jSFsDe0bJlEBaVbiG4LqfoczlnmcbfrbmklSt904HJPL4idYGvVi0c2eHkYDi2zCTni7Ay4w=="
|
||
influxdb_org="seekkey"
|
||
influxdb_bucket="VPS"
|
||
telegraf_config_url="http://influxdb1.tailnet-68f9.ts.net:8086/api/v2/telegrafs/0f8a73496790c000"
|
||
collection_interval=30
|
||
disk_usage_warning=80
|
||
disk_usage_critical=90
|
||
telegraf_log_level="ERROR"
|
||
telegraf_disable_local_logs=true
|