-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhosts.yml
168 lines (168 loc) · 6.26 KB
/
hosts.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
---
# This is just default ansible parsed file for hosts. Global Hosts files for group structure
# v0.02 20211021
# file: /hosts.yml
# Ex: ansible-playbook ./roles/role_ping_nodes.yml --limit power_hosts
# Note: Setting for each host group and variables for each group or host we can set.
all:
children:
###### POWER Hosts ###########
power_hosts: # Nodes for hosting VMs
hosts:
p90091:
mgmt_nic: eth5 # Host main SSH target bound to sea
phy_nic0: ent0 # Physical NIC
phy_nic1: ent1 # Physical NIC
lag_nic: ent2 # LACP agg active/passive
trunk_nic: ent3 # 4094 VLAN to virtual interface
heartbeat_nic: ent4
sea_nic: eth5 # Shared Ethernet
vlan11_nic: eth6 # VLAN tag 11
vlan16_nic: eth7 # VLAN tag 16
vlan17_nic: eth8 # VLAN tag 17
vlan18_nic: eth9 # VLAN tag 18
vlan19_nic: eth10 # VLAN tag 19
storage_nic: eth10
vios1: 172.20.17.123 # p90091p1 host
vios2: 172.20.17.124 # p90091p2 host
bmc_ip: 172.16.17.112
boot_vol: 0 # volume on SAN for booting VIOS this is set in SMS
p90092:
mgmt_nic: eth5 # Host main SSH target bound to sea
phy_nic0: ent0 # Physical NIC
phy_nic1: ent1 # Physical NIC
lag_nic: ent2 # LACP agg active/passive
trunk_nic: ent3 # 4094 VLAN to virtual interface
heartbeat_nic: ent4
sea_nic: eth5 # Shared Ethernet
vlan11_nic: eth6 # VLAN tag 11
vlan16_nic: eth7 # VLAN tag 16
vlan17_nic: eth8 # VLAN tag 17
vlan18_nic: eth9 # VLAN tag 18
vlan19_nic: eth10 # VLAN tag 19
storage_nic: eth10
vios1: 172.20.17.125 # p90091p1 host
vios2: 172.20.17.126 # p90091p2 host
bmc_ip: 172.16.17.113
boot_vol: 0 # volume on SAN for booting VIOS this is set in SMS
p84861:
mgmt_nic: enp8s0f0
storage_nic: ens15f0
mgmt_ip: enp8s0f1
storage_ip: 172.16.101.102
bmc_ip: 172.16.101.101
p80051:
mgmt_nic: enp7s0
storage_nic: enp3s0f0
mgmt_ip: enp3s0f2
storage_ip: 172.16.101.103
bmc_ip: 172.16.101.101
vars:
ansible_ssh_pass: "{{ vault_ansible_sudo_password }}"
hci_ignition_node: pvc01
###### Storage Systems #############
ibm_storage: # Nodes for hosting VMs Private LAN side
hosts:
fs72001
mgmt0_ip: 172.20.10.245 # Storewize Cannister A Mgmt IP
mgmt1_ip: 172.20.10.35 # Storewize Cannister B Mgmt IP
service0_ip: 172.20.10.36 # Storewize Cannister A service IP
service1_ip: 172.20.10.37 # Storewize Cannister B service IP
iscsi0_ip: 172.20.10.32 # Storewize Cannister A iSCSI IP
iscsi1_ip: 172.20.10.33 # Storewize Cannister B iSCSI IP
fs9001:
mgmt0_ip: 172.20.10.210 # VIP Mgmt IP
service0_ip: 172.20.10.211 # Cannister A service IP
service1_ip: 172.20.10.212 # Cannister B service IP
vars:
ansible_ssh_pass: "{{ vault_ansible_sudo_password }}"
storage_ssh_key: "{{ vault_storage_ssh_key }}"
###### Intel Servers #############
ibm_intel_vmware: # Intel vmware cluster nodes
hosts:
intel01:
mgmt_nic0: en0 # dvSwitch0 for mgmt, vmotion, vms
mgmt_nic1: en0 # dvSwitch0 for mgmt, vmotion, vms
storage_nic2: en2 # iSCSI / ROCE for block data
storage_nic3: en3 # iSCSI / ROCE for block data
mgmt_ip: 172.20.11.197
storage_ip0: 172.20.18.196
storage_ip1: 172.20.19.196
ipmi_ip: 172.20.11.196
intel02:
mgmt_nic0: en0 # dvSwitch0 for mgmt, vmotion, vms
mgmt_nic1: en0 # dvSwitch0 for mgmt, vmotion, vms
storage_nic2: en2 # iSCSI / ROCE for block data
storage_nic3: en3 # iSCSI / ROCE for block data
mgmt_ip: 172.20.11.199
storage_ip0: 172.20.18.198
storage_ip1: 172.20.19.198
ipmi_ip: 172.20.11.198
ibm_intel_windows: # Intel windows bastion nodes
hosts:
x325001:
mgmt_nic0: en0 # dvSwitch0 for mgmt, vmotion, vms
mgmt_nic1: en0 # dvSwitch0 for mgmt, vmotion, vms
storage_nic2: en2 # iSCSI / ROCE for block data
storage_nic3: en3 # iSCSI / ROCE for block data
mgmt_ip: 172.20.11.213
storage_ip0: 172.20.11.214
storage_ip1: 172.20.19.42
ipmi_ip: 172.20.11.215
x325002:
mgmt_nic0: en0 # dvSwitch0 for mgmt, vmotion, vms
mgmt_nic1: en0 # dvSwitch0 for mgmt, vmotion, vms
storage_nic2: en2 # iSCSI / ROCE for block data
storage_nic3: en3 # iSCSI / ROCE for block data
mgmt_ip: 172.20.11.216
storage_ip0: 172.20.11.217
storage_ip1: 172.20.19.43
ipmi_ip: 172.20.11.218
group_ibm_intel_total:
ibm_intel_vmware:
ibm_intel_windows:
###### Power VC engine ##########
pvc_engine:
hosts:
pvc01:
###### VM based Control Plane for environment ###########
idm_nodes: # Nodes for cluster RBAC of Identity Managment Cluster
hosts:
ibmdc01:
ibmdc02:
bastion_node: # Host to deploy and run installations / ansible jobs
hosts:
ansible00:
###### Network Devices for environment ###########
group_100Gb_switches: # Cisco Nexus 5k and leafs
hosts:
sw10:
sw11:
group_1Gb_switches: # Mellanox 25/100Gb switches
hosts:
sw10a:
sw11a:
group_fc_switches: # Brocade VDX Stack
hosts: # VIP fcdcx VIP but A and B fabrics easier to split
fc10:
fc11:
group_switches: # All Network switches in environment
children:
group_100Gb_switches:
group_1Gb_switches:
group_fc_switches:
###### Electrical and Temprature Control ###########
group_ups: # UPS in environment
hosts:
ups01:
group_ups_client: # VM Clients who connect to each UPS unit with varible set to which UPS they are slaved
hosts:
pvc01:
vars:
ups: "{{ ups01 }}"
vcenter01:
vars:
ups: "{{ ups01 }}"
ansible00:
vars:
ups: "{{ ups01 }}"