Contact us
Please use this form if you’d like to ask a question or discuss an initiative.
sudo apt update
apt install git
git --version
git version 2.43.0
sudo apt install nano
nano
apt update
apt install python3
apt install python3-pip python3-apt
apt install python3-venv
python3 --version
pip3 --version
apt install software-properties-common
pip3 install ansible --break-system-packages
ansible --version
ansible [core 2.18.2]
...
sudo nano /etc/hosts
<IP-ADDRESS> xdata.xdata.local
git clone https://gitlab+deploy-token-1:<TOKEN>@gitlab.tantorlabs.ru/xdata/arxm.git
cd arxm
python3 -m venv venv
source venv/bin/activate
(venv) user@hostname:~/arxm$
/home/user/arxm/venv/bin/python
pip install -r requirements.txt
ansible-galaxy install -r requirements.yml
cd environments/default/
nano inventory.yml
---
all:
children:
mgt:
hosts:
md:
ansible_host: 192.168.11.159
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
db:
hosts:
db01:
ansible_host: 192.168.11.153
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_u
db02:
ansible_host: 192.168.11.154
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
db03:
ansible_host: 192.168.11.155
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
registry_srv:
hosts:
registry01:
ansible_host: 192.168.11.160
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
etcd:
hosts:
etcd01:
ansible_host: 192.168.11.156
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
etcd_node_name: etcd1
etcd02:
ansible_host: 192.168.11.157
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
etcd_node_name: etcd2
etcd03:
ansible_host: 192.168.11.158
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
etcd_node_name: etcd3
s3:
hosts:
s3-01:
ansible_host: 192.168.11.162
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
tam:
hosts:
tam01:
ansible_host: 192.168.11.165
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
tantor_platform:
hosts:
tantor-platform:
ansible_host: 192.168.11.164
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
cli:
hosts:
cli01:
ansible_host: 192.168.11.152
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
vault:
hosts:
vault01:
ansible_host: 192.168.11.166
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
bckserver:
hosts:
bckserver01:
ansible_host: 192.168.11.151
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
ntp_reserve:
hosts:
ntp_reserve01: # ------------------------------------------ stor-01
ansible_host: 192.168.11.163
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
# ntp_reserve02: # ------------------------------------------ stor-02 (if
exists)
# ansible_host:
# ansible_python_interpreter: /usr/bin/python3.11
# ansible_ssh_user: user
ntp_server:
hosts:
ntp_server01: # -----------------------------------------------------------
mgt-01
ansible_host: 192.168.11.159
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
bckagent:
hosts:
bckagent01: # ------------------------------------------------------ db-01
ansible_host: 192.168.11.153
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
bckagent02: # ------------------------------------------------------ db-02
ansible_host: 192.168.11.154
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
bckagent03: # ------------------------------------------------------ db-03
ansible_host: 192.168.11.155
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
ntp_client:
hosts:
ntp_client01: # ------------------------------------------------------ db-01
ansible_host: 192.168.11.153
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
ntp_client02: # ------------------------------------------------------ db-02
ansible_host: 192.168.11.154
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
ntp_client03: # ------------------------------------------------------ db-03
ansible_host: 192.168.11.155
ansible_python_interpreter: /usr/bin/python3.11
ansible_ssh_user: user
cd /home/user/arxm
nano vars.yml
### common VM setups
interconnect_ip_pool: "192.168.6.0/24"
# reverse routes
reverse_routes_gateway: "192.168.6.254/24"
reverse_routes_network: "192.168.7.0/24"
cd environments/default/
ansible-inventory --list -i inventory.yml
ansible -i inventory.yml all --list-hosts
ansible-playbook examples/bootstrap.yml
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/ntp.yml
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/registry.yml
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/etcd.yml
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/vault.yml -e '{"ci": true, "docker_username":
"<DOCKER_USERNAME>", "docker_auth_required": true, "docker_password":
"<DOCKER_PASSWORD>"}'
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/tam.yml -e '{"ci": true, "docker_username": "<USERNAME>",
"docker_auth_required": true, "docker_password": "<PASSWORD>"}'
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/bckserver.yml -e '{"ci": true, "docker_username":
"<USERNAME>", "docker_auth_required": true, "docker_password": "<PASSWORD>"}'
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook -i environments/default/inventory.yml examples/tantor_platform.yml
-e '{"ci": true, "docker_username": "<USERNAME>", "docker_auth_required": true,
"docker_password": "<PASSWORD>"}'
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/atam.yml -e '{"ci": true, "docker_username": "<USERNAME>",
"docker_auth_required": true, "docker_password": "<PASSWORD>"}'
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/alt_python.yml -e '{"ci": true, "docker_username":
"<USERNAME>", "docker_auth_required": true, "docker_password": "<PASSWORD>"}'
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/bckagent.yml -e '{"ci": true, "docker_username":
"<USERNAME>", "docker_auth_required": true, "docker_password": "<PASSWORD>"}'
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/cli.yml -e '{"ci": true, "docker_username": "<USERNAME>",
"docker_auth_required": true, "docker_password": "<PASSWORD>"}'
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/s3.yml
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ansible-playbook examples/reverse_routes.yml
PLAY RECAP *********************************************************************
: ok=12 changed=6 unreachable=0 failed=0
ssh user@<IP-ADDRESS>
tam-cli --version
tam-cli:
version: 2.5.0
build_hash: 1b4db629
build_time: 2025-03-31T14:21:13+00:00
backman-cli --version
backman_cli:
version: 2.5
backman:
version: 2.5