-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars_ots_cluster_create_2node.yml
108 lines (97 loc) · 2.88 KB
/
vars_ots_cluster_create_2node.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
# ---------------------------------------------------------------
# Cluster Variables
# ---------------------------------------------------------------
# -------------------------------
# Number of nodes in the cluster
# Note: Valid Numbers - 1,2,4,6,8
# -------------------------------
node_count: 2
# ------------------------------------------------------------------------
# true = Authenticate through vCenter | false = Authenticate host directly
# Note: if esxi host is managed by vCenter then you MUST use vCenter
# ------------------------------------------------------------------------
use_vcenter: true
# -----------------------------------------------
# Monitor a job until "success" or "failure"
# - Host registration & network connectivity jobs
# are always monitored
# -----------------------------------------------
monitor_deploy_job: true
# -----
monitor_deploy_retries: 60
monitor_deploy_delay: 120
# -----
monitor_host_retries: 10
monitor_host_delay: 15
# ----------------------------------------------------------------------
# Connectivity Check
# - Set to true to run the network connectivity check
# - Valid modes: quick, extended, cleanup
# - Valid switch types: StandardvSwitch, DistributedvSwitch, OpenvSwitch
# - cluster_nodes referenced so make sure item count = node count !!!
# ----------------------------------------------------------------------
run_net_check: true
net_mode: quick
net_mtu: 9000
net_switch_type: StandardvSwitch
# -----
monitor_netcheck_retries: 30
monitor_netcheck_delay: 60
# -----------
# Deploy Info
# -----------
deploy_ip: 10.0.10.9
deploy_api_url: "https://{{ deploy_ip }}/api/v3"
deploy_login: admin
# ------------
# vCenter Info
# ------------
vcenter_login: administrator@vsphere.local
vcenter_name: vc.netapp.local
# -----
# Hosts
# -----
esxi_hosts:
- host_name: esxi1.netapp.local
host_login: root
- host_name: esxi2.netapp.local
host_login: root
# ------------
# Cluster Info
# ------------
cluster_name: TEST2
cluster_ip: 10.0.10.195
cluster_netmask: 255.255.255.0
cluster_gateway: 10.0.10.1
cluster_ontap_image:
cluster_ntp:
- 10.0.10.253
cluster_dns_ips:
- 10.0.10.8
cluster_dns_domains:
- netapp.local
# --------
# Networks
# --------
mgt_network: "Mgt Network"
data_network: Data
internal_network: Internal
# --------
# Instance
# --------
instance_type: small
# --------------------------------------------------
# Node Info
# - cluster_nodes # of items should equal node_count
# --------------------------------------------------
cluster_nodes:
- node_name: "{{ cluster_name }}-01"
ipAddress: 10.0.10.196
storage_pool: dsONTAP1
capacityTB: 2
host_name: esxi1.netapp.local
- node_name: "{{ cluster_name }}-02"
ipAddress: 10.0.10.197
storage_pool: dsONTAP2
capacityTB: 2
host_name: esxi2.netapp.local