-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample_inventory_r7515.ini
46 lines (39 loc) · 2.36 KB
/
sample_inventory_r7515.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 R7515 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.
; The servers in this inventory are composed of two groups of logically separate clusters, across two separate switches.
; In this configuration, DSS Client Library is leveraged to aggregate data across the clusters.
; Half of the servers belong to `cluster 0`, and the other to `cluster 1`. They will be deployed independently from each other.
[servers]
coloserver[01:02].domain.com cluster_num=0
coloserver[03:04].domain.com cluster_num=1
[clients]
client[01:08].domain.com
; In this scenario, half of the VLANs are available on one switch, and half on the other.
[onyx]
onyx-switch01.domain.com rocev2_vlan_id_list=[31,32]
onyx-switch02.domain.com rocev2_vlan_id_list=[33,34]
; 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,43,44]
rocev2_vlan_id_list=[31,32,33,34]
; In servers with limited memory (in this case, 256GB each) it may be necessary to reduce the hugepages allocation.
; Since a minimum of 4 subsystems are required for each cluster, set the `num_subsystems` var to `2`. With two hosts
; in each cluster, this will result in 4 total subsystems in each cluster.
[servers:vars]
target_fw_version=EDA5202Q
num_1gb_hugepages=120
num_2mb_hugepages=12288
num_subsystems=2
; Clients only use TCP, so `rocev2_vlan_id_list` must be explicitly set with an empty list.
; In order to use Datamover, a `datamover_nfs_shares` var must be defined describing a list of NFS servers and their available shares.
[clients:vars]
rocev2_vlan_id_list=[]
datamover_nfs_shares=[{'ip': 'nfs-server01.domain.com', 'shares': ['/alfa', '/bravo']},{'ip': 'nfs-server02.domain.com', 'shares': ['/charlie', '/delta']},{'ip': 'nfs-server03.domain.com', 'shares': ['/echo', '/foxtrot']},{'ip': 'nfs-server04.domain.com', 'shares': ['/golf', '/hotel']}]
; Since Onyx does not support key-based authentication, a username and password must be provided
[onyx:vars]
ansible_user=onyxuser
ansible_ssh_pass=onyxpass