-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample_inventory_r6525.ini
46 lines (39 loc) · 2.16 KB
/
sample_inventory_r6525.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
; This is a sample inventory demonstrating typical settings when using Dell R6525 collocated servers.
; In this scenario, the Onyx switches are 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.
[servers]
coloserver[01:04].domain.com
[clients]
client[01:16].domain.com
; The first switch is configured for back-end RoCEv2 traffic only.
; The second and third switches are configured for front-end TCP traffic only.
; Each of switch02 and switch03 are configured for a separate TCP VLAN ID.
[onyx]
onyx-switch01.domain.com tcp_vlan_id_list=[] rocev2_vlan_id_list=[31,32]
onyx-switch02.domain.com tcp_vlan_id_list=[41] rocev2_vlan_id_list=[]
onyx-switch03.domain.com tcp_vlan_id_list=[42] rocev2_vlan_id_list=[]
; 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.
[all:vars]
ansible_user=ansible
tcp_vlan_id_list=[41,42]
rocev2_vlan_id_list=[31,32]
; A `target_fw_version` must be defined, containing a space-separated list of values for each NVMe SSD to be
; allocated into NVMeOF subsystem storage on each host.
[servers:vars]
target_fw_version=EDA5202Q
custom_coremask='0xffffffff0000000000000000ffffffff'
; 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