From 934e51bae909c3cdfda2c9b8d7bb245ee1543b21 Mon Sep 17 00:00:00 2001 From: hitchhooker Date: Tue, 3 Dec 2024 13:06:28 +0700 Subject: [PATCH] deploy validators to bkk03 --- bkk03 | 16 +- host_vars/bkk03.yaml | 389 ++---------------- host_vars/{ksm03.yaml => val-kusama-03.yaml} | 19 +- .../{dot03.yaml => val-polkadot-03.yaml} | 26 +- inventory | 13 +- 5 files changed, 58 insertions(+), 405 deletions(-) rename host_vars/{ksm03.yaml => val-kusama-03.yaml} (67%) rename host_vars/{dot03.yaml => val-polkadot-03.yaml} (54%) diff --git a/bkk03 b/bkk03 index 720f8c4..e99bdbf 100644 --- a/bkk03 +++ b/bkk03 @@ -16,22 +16,12 @@ polkadot bkk50 [polkadot] -dot03 -dot23 -wnd23 -pso03 -ksm03 +val-polkadot-03 +val-kusama-03 [cumulus] -mint23 -wmint23 -pbr23 -wbr23 -pch23 -wch23 [services] -ibp [unmanaged] @@ -48,5 +38,3 @@ unmanaged [referrence_nodes] monitor -dot26 -wnd26 diff --git a/host_vars/bkk03.yaml b/host_vars/bkk03.yaml index a5fd0c1..cb4374d 100644 --- a/host_vars/bkk03.yaml +++ b/host_vars/bkk03.yaml @@ -17,7 +17,7 @@ default_need_iptables_port_forwarding: False default_gw_device: "enp9s0" default_resource_pool: "bkk03_resource_pool" # storage -default_storage: "tank03lvm" +default_storage: "bkk03data" default_storage_mountpoint: "/mnt/tank" port_forwards: @@ -26,392 +26,69 @@ port_forwards: protocol: "tcp" lxc_nodes: - - host: "ksm03" + - host: "val-polkadot-03" + # 192.168.213.10:31006 proxmox_config: - vmid: "113" - hostname: "{{ hostvars['ksm03']['host_name'] }}" + vmid: "31006" + hostname: "{{ hostvars['val-polkadot-03']['host_name'] }}" ostemplate: 'local:vztmpl/{{ default_container_template }}' - netif: "{{ hostvars['ksm03']['netif'] }}" - cores: 4 + netif: "{{ hostvars['val-polkadot-03']['netif'] }}" + cores: 8 memory: 16384 swap: 16384 password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:1300,mp={{ hostvars["ksm03"]["default_base_path"] }}"}' + disk: "bkk03data:20" + mounts: '{"mp0":"bkk03data:1000,mp={{ hostvars["val-polkadot-03"]["default_base_path"] }}"}' onboot: True unprivileged: True validate_certs: False - description: "Polkadot validator node: {{ hostvars['ksm03']['host_name'] }}" + description: "Polkadot validator node: {{ hostvars['val-polkadot-03']['host_name'] }}" state: present features: - nesting=1 port_forwards: - - from_port: "{{ hostvars['ksm03']['ansible_port'] }}" - to_host: "{{ hostvars['ksm03']['container_ip'] }}:22" + - from_port: "{{ hostvars['val-polkadot-03']['ansible_port'] }}" + to_host: "{{ hostvars['val-polkadot-03']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['ksm03']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['val-polkadot-03']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - - from_port: "{{ hostvars['ksm03']['default_p2p_port'] }}" - to_host: "{{ hostvars['ksm03']['container_ip'] }}:{{ hostvars['ksm03']['default_p2p_port'] }}" + - from_port: "{{ hostvars['val-polkadot-03']['default_p2p_port'] }}" + to_host: "{{ hostvars['val-polkadot-03']['container_ip'] }}:{{ hostvars['val-polkadot-03']['default_p2p_port'] }}" protocol: "tcp" - - from_port: "{{ hostvars['ksm03']['default_p2p_port'] }}" - to_host: "{{ hostvars['ksm03']['container_ip'] }}:{{ hostvars['ksm03']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['ksm03']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['ksm03']['container_ip'] }}:{{ hostvars['ksm03']['default_p2p_port_ws'] }}" + - from_port: "{{ hostvars['val-polkadot-03']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['val-polkadot-03']['container_ip'] }}:{{ hostvars['val-polkadot-03']['default_p2p_port_ws'] }}" protocol: "tcp" - - from_port: "{{ hostvars['ksm03']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['ksm03']['container_ip'] }}:{{ hostvars['ksm03']['default_p2p_port_ws'] }}" - protocol: "udp" - - host: "dot03" + - host: "val-kusama-03" + # 192.168.223.10:32006 proxmox_config: - vmid: "113" - hostname: "{{ hostvars['dot03']['host_name'] }}" + vmid: "32006" + hostname: "{{ hostvars['val-kusama-03']['host_name'] }}" ostemplate: 'local:vztmpl/{{ default_container_template }}' - netif: "{{ hostvars['dot03']['netif'] }}" - cores: 4 - memory: 16384 - swap: 16384 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:600,mp={{ hostvars["dot03"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "Polkadot validator node: {{ hostvars['dot03']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['dot03']['ansible_port'] }}" - to_host: "{{ hostvars['dot03']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['dot03']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['dot03']['default_p2p_port'] }}" - to_host: "{{ hostvars['dot03']['container_ip'] }}:{{ hostvars['dot03']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['dot03']['default_p2p_port'] }}" - to_host: "{{ hostvars['dot03']['container_ip'] }}:{{ hostvars['dot03']['default_p2p_port'] }}" - protocol: "udp" - - from_port: "{{ hostvars['dot03']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['dot03']['container_ip'] }}:{{ hostvars['dot03']['default_p2p_port_ws'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['dot03']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['dot03']['container_ip'] }}:{{ hostvars['dot03']['default_p2p_port_ws'] }}" - protocol: "udp" - - host: "ibp" - proxmox_config: - vmid: "997" - hostname: "{{ hostvars['ibp']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['ibp']['netif'] }}" - cores: 1 - memory: 512 - swap: 1024 - password: "{{ default_password }}" - disk: "{{ default_storage }}:50" - onboot: True - unprivileged: True - validate_certs: False - description: "ibp monitoring" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['ibp']['ansible_port'] }}" - to_host: "{{ hostvars['ibp']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['ibp']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - host: "dot23" - proxmox_config: - vmid: "313" - hostname: "{{ hostvars['dot23']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['dot23']['netif'] }}" - cores: 8 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:2000,mp={{ hostvars["dot23"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['dot23']['default_network'] }} {{ hostvars['dot23']['default_node_type'] }}: {{ hostvars['dot23']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['dot23']['ansible_port'] }}" - to_host: "{{ hostvars['dot23']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['dot23']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['dot23']['default_p2p_port'] }}" - to_host: "{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['dot23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['dot23']['container_ip'] }}:{{ hostvars['dot23']['default_p2p_port_ws'] }}" - protocol: "tcp" - - host: "wnd23" - proxmox_config: - vmid: "333" - hostname: "{{ hostvars['wnd23']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['wnd23']['netif'] }}" + netif: "{{ hostvars['val-kusama-03']['netif'] }}" cores: 8 memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:600,mp={{ hostvars["wnd23"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['wnd23']['default_network'] }} {{ hostvars['wnd23']['default_node_type'] }}: {{ hostvars['wnd23']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['wnd23']['ansible_port'] }}" - to_host: "{{ hostvars['wnd23']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['wnd23']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['wnd23']['default_p2p_port'] }}" - to_host: "{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wnd23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wnd23']['container_ip'] }}:{{ hostvars['wnd23']['default_p2p_port_ws'] }}" - protocol: "tcp" - - host: "mint23" - proxmox_config: - vmid: "613" - hostname: "{{ hostvars['mint23']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['mint23']['netif'] }}" - cores: 4 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["mint23"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['mint23']['default_network'] }} {{ hostvars['mint23']['default_node_type'] }}: {{ hostvars['mint23']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['mint23']['ansible_port'] }}" - to_host: "{{ hostvars['mint23']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['mint23']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['mint23']['default_p2p_port'] }}" - to_host: "{{ hostvars['mint23']['container_ip'] }}:{{ hostvars['mint23']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['mint23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['mint23']['container_ip'] }}:{{ hostvars['mint23']['default_p2p_port_ws'] }}" - protocol: "tcp" - - host: "wmint23" - proxmox_config: - vmid: "633" - hostname: "{{ hostvars['wmint23']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['wmint23']['netif'] }}" - cores: 4 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["wmint23"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['wmint23']['default_network'] }} {{ hostvars['wmint23']['default_node_type'] }}: {{ hostvars['wmint23']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['wmint23']['ansible_port'] }}" - to_host: "{{ hostvars['wmint23']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['wmint23']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['wmint23']['default_p2p_port'] }}" - to_host: "{{ hostvars['wmint23']['container_ip'] }}:{{ hostvars['wmint23']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wmint23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wmint23']['container_ip'] }}:{{ hostvars['wmint23']['default_p2p_port_ws'] }}" - protocol: "tcp" - - host: "pbr23" - proxmox_config: - vmid: "643" - hostname: "{{ hostvars['pbr23']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['pbr23']['netif'] }}" - cores: 4 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["pbr23"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['pbr23']['default_network'] }} {{ hostvars['pbr23']['default_node_type'] }}: {{ hostvars['pbr23']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['pbr23']['ansible_port'] }}" - to_host: "{{ hostvars['pbr23']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['pbr23']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['pbr23']['default_p2p_port'] }}" - to_host: "{{ hostvars['pbr23']['container_ip'] }}:{{ hostvars['pbr23']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['pbr23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['pbr23']['container_ip'] }}:{{ hostvars['pbr23']['default_p2p_port_ws'] }}" - protocol: "tcp" - - host: "wbr23" - proxmox_config: - vmid: "663" - hostname: "{{ hostvars['wbr23']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['wbr23']['netif'] }}" - cores: 4 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["wbr23"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['wbr23']['default_network'] }} {{ hostvars['wbr23']['default_node_type'] }}: {{ hostvars['wbr23']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['wbr23']['ansible_port'] }}" - to_host: "{{ hostvars['wbr23']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['wbr23']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['wbr23']['default_p2p_port'] }}" - to_host: "{{ hostvars['wbr23']['container_ip'] }}:{{ hostvars['wbr23']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wbr23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wbr23']['container_ip'] }}:{{ hostvars['wbr23']['default_p2p_port_ws'] }}" - protocol: "tcp" - - host: "pch23" - proxmox_config: - vmid: "673" - hostname: "{{ hostvars['pch23']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['pch23']['netif'] }}" - cores: 4 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["pch23"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['pch23']['default_network'] }} {{ hostvars['pch23']['default_node_type'] }}: {{ hostvars['pch23']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['pch23']['ansible_port'] }}" - to_host: "{{ hostvars['pch23']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['pch23']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['pch23']['default_p2p_port'] }}" - to_host: "{{ hostvars['pch23']['container_ip'] }}:{{ hostvars['pch23']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['pch23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['pch23']['container_ip'] }}:{{ hostvars['pch23']['default_p2p_port_ws'] }}" - protocol: "tcp" - - host: "wch23" - proxmox_config: - vmid: "693" - hostname: "{{ hostvars['wch23']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['wch23']['netif'] }}" - cores: 4 - memory: 16384 - swap: 8192 - password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["wch23"]["default_base_path"] }}"}' - onboot: True - unprivileged: True - validate_certs: False - description: "{{ hostvars['wch23']['default_network'] }} {{ hostvars['wch23']['default_node_type'] }}: {{ hostvars['wch23']['host_name'] }}" - state: present - features: - - nesting=1 - port_forwards: - - from_port: "{{ hostvars['wch23']['ansible_port'] }}" - to_host: "{{ hostvars['wch23']['container_ip'] }}:22" - protocol: "tcp" - - from_port: "{{ hostvars['wch23']['zabbix_ext_port'] }}" - to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" - protocol: "tcp" - - from_port: "{{ hostvars['wch23']['default_p2p_port'] }}" - to_host: "{{ hostvars['wch23']['container_ip'] }}:{{ hostvars['wch23']['default_p2p_port'] }}" - protocol: "tcp" - - from_port: "{{ hostvars['wch23']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['wch23']['container_ip'] }}:{{ hostvars['wch23']['default_p2p_port_ws'] }}" - protocol: "tcp" - - host: "pso03" - proxmox_config: - vmid: "1003" - hostname: "{{ hostvars['pso03']['host_name'] }}" - ostemplate: "local:vztmpl/{{ default_container_template }}" - netif: "{{ hostvars['pso03']['netif'] }}" - cores: 2 - memory: 16384 - swap: 8192 + swap: 16384 password: "{{ default_password }}" - disk: "{{ default_storage }}:20" - mounts: '{"mp0":"{{ default_storage }}:200,mp={{ hostvars["pso03"]["default_base_path"] }}"}' + disk: "bkk03data2:20" + mounts: '{"mp0":"bkk03data2:1000,mp={{ hostvars["val-kusama-03"]["default_base_path"] }}"}' onboot: True unprivileged: True validate_certs: False - description: "{{ hostvars['pso03']['default_network'] }} {{ hostvars['pso03']['default_node_type'] }}: {{ hostvars['pso03']['host_name'] }}" + description: "Polkadot validator node: {{ hostvars['val-kusama-03']['host_name'] }}" state: present features: - nesting=1 port_forwards: - - from_port: "{{ hostvars['pso03']['ansible_port'] }}" - to_host: "{{ hostvars['pso03']['container_ip'] }}:22" + - from_port: "{{ hostvars['val-kusama-03']['ansible_port'] }}" + to_host: "{{ hostvars['val-kusama-03']['container_ip'] }}:22" protocol: "tcp" - - from_port: "{{ hostvars['pso03']['zabbix_ext_port'] }}" + - from_port: "{{ hostvars['val-kusama-03']['zabbix_ext_port'] }}" to_host: "{{ hostvars['monitor']['container_ip'] }}:10050" protocol: "tcp" - - from_port: "{{ hostvars['pso03']['default_p2p_port'] }}" - to_host: "{{ hostvars['pso03']['container_ip'] }}:{{ hostvars['pso03']['default_p2p_port'] }}" + - from_port: "{{ hostvars['val-kusama-03']['default_p2p_port'] }}" + to_host: "{{ hostvars['val-kusama-03']['container_ip'] }}:{{ hostvars['val-kusama-03']['default_p2p_port'] }}" protocol: "tcp" - - from_port: "{{ hostvars['pso03']['default_p2p_port_ws'] }}" - to_host: "{{ hostvars['pso03']['container_ip'] }}:{{ hostvars['pso03']['default_p2p_port_ws'] }}" + - from_port: "{{ hostvars['val-kusama-03']['default_p2p_port_ws'] }}" + to_host: "{{ hostvars['val-kusama-03']['container_ip'] }}:{{ hostvars['val-kusama-03']['default_p2p_port_ws'] }}" protocol: "tcp" diff --git a/host_vars/ksm03.yaml b/host_vars/val-kusama-03.yaml similarity index 67% rename from host_vars/ksm03.yaml rename to host_vars/val-kusama-03.yaml index 56442cc..3dc2a11 100644 --- a/host_vars/ksm03.yaml +++ b/host_vars/val-kusama-03.yaml @@ -1,8 +1,9 @@ --- ansible_host: "160.22.181.181" -container_ip: "192.168.69.123" -ansible_port: 2123 -host_name: "ksm03.rotko.net" +container_ip: "192.168.223.10" +# 192.168.213.10:32006 # kusama-03 +ansible_port: +host_name: "val-kusama-03.ct.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' role: "polkadot" @@ -15,10 +16,8 @@ default_telemetry_name: "Kusama XI Validator" default_pruning: 1000 default_database: paritydb default_syncmode: warp -default_p2p_port: 33123 -default_p2p_port_ws: 34123 -default_p2p_port_wss: 35123 -default_rpc_port: 9123 -default_secure_rpc_port: 42123 -default_prom_port: 7123 -zabbix_ext_port: 10123 +default_p2p_port: 32006 +default_p2p_port_ws: 42006 +default_p2p_port_wss: 52006 +zabbix_ext_port: 12006 +default_chains_name: "ksmcc3" diff --git a/host_vars/dot03.yaml b/host_vars/val-polkadot-03.yaml similarity index 54% rename from host_vars/dot03.yaml rename to host_vars/val-polkadot-03.yaml index 8731fec..088f25a 100644 --- a/host_vars/dot03.yaml +++ b/host_vars/val-polkadot-03.yaml @@ -1,24 +1,22 @@ --- ansible_host: "160.22.181.181" -container_ip: "192.168.69.113" -ansible_port: 2113 -host_name: "dot03.rotko.net" +container_ip: "192.168.213.10" +ansible_port: 21006 +host_name: "val-polkadot-03.ct.rotko.net" host_timezone: "Asia/Bangkok" netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}' role: "polkadot" -pinned_service: False +pinned_service: True -# default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" -default_telemetry_name: "Rotko Networks - dot01 Validator" -default_network: "polkadot" +default_network: polkadot default_node_type: "validator" +# default_telemetry_name: "Rotko Networks - {{ host_name.split('.')[0] }} {{ default_node_type | capitalize }}" +default_telemetry_name: "Rotko Networks - ksm03 Validator" default_pruning: 1000 default_database: paritydb default_syncmode: warp -default_p2p_port: 33113 -default_p2p_port_ws: 34113 -default_p2p_port_wss: 35113 -default_rpc_port: 9113 -default_secure_rpc_port: 42113 -default_prom_port: 7113 -zabbix_ext_port: 10113 +default_p2p_port: 31006 +default_p2p_port_ws: 41006 +default_p2p_port_wss: 51006 +zabbix_ext_port: 11006 +default_chains_name: "polkadot" diff --git a/inventory b/inventory index 9589aa0..060cc85 100644 --- a/inventory +++ b/inventory @@ -31,14 +31,8 @@ kbr13 wmint14 wbr13 wch13 -mint23 -pbr23 -pch23 mine24 kbr24 -wmint23 -wbr23 -wch23 mint26 pbr26 pch26 @@ -107,15 +101,14 @@ rpc-westend-02 rpc-paseo-02 val-polkadot-02 val-kusama-02 +val-polkadot-03 +val-kusama-03 dot01 dot02 -dot03 dot04 ksm01 ksm02 -ksm03 ksm04 -pso03 pso04 pso06 pso07 @@ -123,11 +116,9 @@ dot14 ksm14 wnd14 pso16 -dot23 dot26 ksm24 ksm26 -wnd23 wnd26 pso24 pso26