ETX 自动化安装
ETX 自动化安装
inventory
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[centos_hosts]
centos110 ansible_host=172.31.0.110
centos112 ansible_host=172.31.0.112
[rocky_hosts]
rocky120 ansible_host=172.31.0.120
rocky121 ansible_host=172.31.0.121
rocky122 ansible_host=172.31.0.122
rocky130 ansible_host=172.31.0.130
rocky132 ansible_host=172.31.0.132
[etx_servers]
rocky130
rocky120
rocky121
centos110
[etx_nodes]
centos112
rocky122
rocky132
Collection
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[root@rockylinux-9-5-mgmt ansible-std]# tree -L 2
.
├── ansible.cfg
├── galaxy.yml
├── group_vars
│ ├── etx_nodes.yml
│ └── etx_servers.yml
├── inventory.ini
├── playbooks
│ ├── deploy_etxcn.yml
│ ├── deploy_etxsvr.yml
├── roles
│ ├── etxcn_deployment
│ ├── etxcn_purge_error_nodes
│ ├── etxsvr_api_key
│ ├── etxsvr_deployment
│ ├── join_ad
│ ├── linux_prep
│ └── mount_iso
└── vault.yml
10 directories, 10 files
etxsvr 安装
1
2
ansible-playbook -i inventory.ini playbooks/deploy_etxsvr.yml --ask-pass
SSH password:
etxsvr EULA
分别访问 etx_servers 的管理后台(如第一台,是 https://172.31.0.130:8443/etx/admin),然后同意 EULA。
etxsvr配置
License
Authentication
Profile
etxcn 安装
1
2
3
[root@rockylinux-9-5-mgmt ansible-std]# ansible-playbook -i inventory.ini playbooks/deploy_etxcn.yml --ask-pass --ask-vault-pass
SSH password:
Vault password:
至此,可以用域账户,使用刚才建立的 Profile 接入了。
This post is licensed under CC BY 4.0 by the author.