This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
/
answerfile-deployLab.yml
106 lines (98 loc) · 3.83 KB
/
answerfile-deployLab.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
# Deploy vCenter section
# the following section defines the vCenter / vSphere environment
# were the NSX Manager OVA gets deployed. This can be a separate management vCenter,
# or the same vCenter to which NSX Manager gets registered
deployVcIPAddress: 'vcsa-01a.corp.local'
deployVcUser: '[email protected]'
deployVcPassword: 'VMware1!'
# with NSX 6.2.2 and later you need licnse in order to prepare the hosts
# Uncomment the line below and provide valid license key, otherwise the deployment will fail before preparing the clusters
license_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
62666334653730613865616437626236366134396431633665663839613862383233613539373132
3961633365306532313338383835313536323833326266360a313461653266303335636330376136
66333034396132323362653862323861353564373931346165356639626439306134663464303364
3033393235333237660a363835303339343666396138343236306336336336383234346435383036
61366363306439333563353665393539333535376261613031396235646632393436
# NSX Manager OVA deployment parameters
# this section holds all parameters needed to deploy the NSX Manager OVA like IP address, etc.
deployMgmtPortGroup: 'ESXi-RegionA01-vDS-COMP'
deployDataCenterName: "RegionA01"
deployCluster: 'RegionA01-MGMT'
deployMgmtDatastoreName: 'RegionA01-ISCSI01-COMP01'
deployMgmtIpAddress: '192.168.110.33'
deployMgmtDefaultGateway: '192.168.110.1'
deployMgmtNetmask: '255.255.255.0'
deployMgmtDnsServer: '192.168.110.10'
deployMgmtDnsDomain: 'corp.local'
deployNtpServers: '192.168.110.1'
deploySyslogServer: '192.168.110.10'
deployVmName: 'testnsxmanager'
deployHostname: 'testnsxmanager.corp.local'
nsxCliPass: 'VMware1!'
nsxEnPass: 'VMware1!'
nsxmanOvaPath: '/home/localadmin/OVAs'
nsxmanOva: 'VMware-NSX-Manager-6.3.1-5124716.ova'
ovfToolPath: '/usr/bin' # Use '/Applications' if using ovftool on a MAC
# Target 'register' vCenter section
# the following section defines the vCenter / vSphere environment
# to which NSX Manager will be registered to. This can be the same as deploy vCenter,
# or a separate 'payload' vCenter
vcHostname: "vcsa-01a.corp.local"
vcIpAddress: "192.168.110.22"
vcUser: "[email protected]"
vcPassword: "VMware1!"
vcSsoHostname: "vcsa-01a.corp.local"
vcSsoUser: "[email protected]"
vcSsoPassword: "VMware1!"
# NSX Manager credentials and RAML file path
nsxmanager_spec:
raml_file: '/home/localadmin/nsxraml/nsxvapi.raml'
host: "{{ deployMgmtIpAddress }}"
user: 'admin'
password: "{{ nsxCliPass }}"
# NSX configuration details
# including controller deployment environment details and IP Pools
nsxControllerPortGroup: 'VM-RegionA01-vDS-COMP'
nsxControllerDatastore: 'RegionA01-ISCSI01-COMP01'
nsxControllerVcCluster: 'RegionA01-MGMT'
controllerDeployType: 'lab'
controllerPassword: 'VMware1!VMware1!'
controllerSyslogServer: '192.168.110.10'
targetDatacenterName: 'RegionA01'
targetVdsName: 'RegionA01-vDS-COMP'
transportZoneName: 'TZ1'
transportZoneDescription: 'Default TZ'
defaultControllPlaneMode: 'HYBRID_MODE'
nsxIppools:
controller:
name: 'controller'
start_ip: '192.168.210.10'
end_ip: '192.168.210.20'
prefix_length: '24'
gateway: '192.168.210.1'
dns_server_1: '192.168.110.10'
dns_server_2: ''
vteps:
name: 'vteps'
start_ip: '192.168.220.10'
end_ip: '192.168.220.20'
prefix_length: '24'
gateway: '192.168.220.1'
dns_server_1: '192.168.110.10'
dns_server_2: ''
# ID Pool for VXLAN
segmentIdPoolStart: '5000'
segmentIdPoolEnd: '10000'
mcastEnabled: 'True'
mcastAddrStart: '239.0.0.0'
mcastAddrEnd: '239.255.255.255'
vtep_vlan_id: '0'
# Target vCenter Cluster Section
# the following section defines which clusters in the target vCenter should
# be prepared for NSX (VIB deployment)
targetClusters:
cluster1:
clusterName: 'RegionA01-MGMT'
cluster2:
clusterName: 'RegionA01-COMP'