-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample_inventory_disaggregated.ini
51 lines (42 loc) · 2.42 KB
/
sample_inventory_disaggregated.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
; This is a sample inventory demonstrating typical settings when using Dell R740xd disaggregated targets hosts.
; NVMeOF subsystems are provisioned across the targets, and mounted on the single host.
; In this scenario, the Onyx switch is automatically configured for front and back-end high speed networking.
; Additionally, Ansible will automatically configure VLANs and provision IP addresses to all high-speed
; Connect-X adapters on all clients and servers.
[targets]
target[01:04].domain.com
[hosts]
host01.domain.com
[clients]
client[01:04].domain.com
[onyx]
onyx-switch01.domain.com
; The `ansible_user` var must be defined for the playbook to manage the hosts using a different user-id
; than you are currently logged in with.
; This cluster uses a single VLAN for front-end TCP, and a single VLAN for back-end RoCEv2 traffic. The VLANs and their prefixes are explicitly defined
; in this inventory, rather than using the defaults (as found in `group_vars/all.yml`)
[all:vars]
ansible_user=ansible
tcp_vlan_id_list=[41]
rocev2_vlan_id_list=[31]
rocev2_vlans=[{"id": 31, "ipv4_prefix": "201.0.0", "ipv4_netmask": "255.0.0.0", "ipv6_prefix": "fd81:7E55:15:D55:31", "ipv6_prefix_length": 80}]
tcp_vlans=[{"id": 41, "ipv4_prefix": "202.0.0", "ipv4_netmask": "255.0.0.0", "ipv6_prefix": "fd81:7E55:15:D55:41", "ipv6_prefix_length": 80}]
; Targets only use RoCEv2, so `tcp_vlan_id_is` must be explicitly set with an empty list.
[targets:vars]
tcp_vlan_id_list=[]
; Hosts in this scenario use the inbox infiniband driver. Since not explicitly defined, all other groups will use Mellanox OFED.
[hosts:vars]
infiniband_driver=inbox
; Ansible will automatically provision the last-octet of each high-speed IP, based on the presence of the number
; contained in the hostname of each server/client host. Since there is overlap between servers and clients,
; setting a `last_octet_offset` here will offset the clients' IP addresses by 100 to avoid conflict.
; If conflit cannot be avoided, the playbook will automatically assign non-conflicting IP's to each host.
; For additional control on VLAN allocation, please see `group_vars/all.yml`, "VLAN defaults".
; Clients only use TCP, so `rocev2_vlan_id_list` must be explicitly set with an empty list.
[clients:vars]
last_octet_offset=100
rocev2_vlan_id_list=[]
; Since Onyx does not support key-based authentication, a username and password must be provided
[onyx:vars]
ansible_user=onyxuser
ansible_ssh_pass=onyxpass