forked from rutgerblom/SDDC.Lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_sample.yml
2985 lines (2871 loc) · 164 KB
/
config_sample.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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
##
## Project: SDDC.Lab
## Authors: Luis Chanu & Rutger Blom
## Filename: config_sample.yml
##
---
DEBUG:
KeepConfigFiles: false
KeepInstallerFiles: false
DisplayVariables: false
DisplayVariables_DNS: false
DisplayDelayInSeconds: 5
##
## ███████ ██ ████████ ███████ ██████ ██████ ██████ ███████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ███████ ██ ██ █████ ██ ██ ██ ██ ██ █████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ███████ ██ ██ ███████ ██████ ██████ ██████ ███████
##
SiteCode: "Pod-{{ '%03d'|format(Pod.Number|int) }}" # SiteCode defaults to 'Pod-###'. This should NOT include the trailing '-', and can be changed, if needed, to represent a textual SiteCode like SFO or NYC.
##
## ██████ ██████ ██████
## ██ ██ ██ ██ ██ ██
## ██████ ██ ██ ██ ██
## ██ ██ ██ ██ ██
## ██ ██████ ██████
##
Pod:
Number: 240 # Number - The number of the Pod to be deployed must be between 10-240.
VLANOffset: 0 # VLANOffset - This number added to Net.<SegmentName>.VLAN variable, which will move the POD VLAN up by this amount
BaseNetwork:
IPv4: '10.203' # IPv4 BaseNetwork must be the first two octets of the IPv4 address space used by the nested environment.
IPv6: fd00:0000:0000:00 # IPv6 BaseNetwork must be a fully expanded /56 prefix. All nested IPv6 networks build off of this IPv6 base network.
BaseOverlay: # This section controls the automatic addressing of IP Segments on NSX-T Overlay Segments
IPv4:
Network: 10.204.0.0/16 # IPv4 supernet from which Pod IPv4 subnets are created. Must be a /16 network. For each Pod, automatic addressing will start, by default, at a base network of 10.204.<Pod.Number>.0/24
Prefix: 24 # IPv4 network prefix used for automatically created Segment IPv4 subnet. Prefix of 24 is recommended. Prefix must be >= 24.
RangePrefix: 28 # This CIDR defines the DHCP Scope Range size for the IPv4 subnet. Address range is allocated from the HIGHEST RangePrefix size within the subnet. RangePrefix CIDR number must be greater than Prefix CIDR number.
IPv6:
Network: fc00::/56 # IPv6 supernet from which Pod IPv6 subnets are created. Must be a /56 network. For each Pod, automatic addressing will start, by default, at a base network of fc00:0000:0000:00<Pod.Number In Hex>/64
Prefix: 64 # IPv6 network prefix used for automatically created Segment IPv4 subnet. Prefix of 64 is recommended. Prefix must be >= 64.
RangePrefix: 112 # This CIDR defines the DHCP Scope Range size for the IPv6 subnet. Address range is allocated from the HIGHEST RangePrefix size within the subnet. RangePrefix CIDR number must be greater than Prefix CIDR number.
##
## ██████ ███████ ██████ ██ ██████ ██ ██
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ██ █████ ██████ ██ ██ ██ ████
## ██ ██ ██ ██ ██ ██ ██ ██
## ██████ ███████ ██ ███████ ██████ ██
##
Deploy:
Product:
DNSServer:
Deploy: false # DNSServer - Deploy a pre-configured DNS/NTP server as part of the Pod deployment. This DNS/NTP server is not Pod specific and can serve multiple Pods.
Router:
Deploy: true # Router - Deploy a Pod-Router as part of the Pod deployment (recommended).
vRLI:
Deploy: true # vRLI - Deploy vRealize Log Insight as part of the Pod deployment.
ALB:
Deploy: false # ALB - Deploy NSX Advanced Load Balancer as part of the Pod deployment.
Replication:
Deploy: false # Replication - Deploy a vSphere Replication Appliance as part of the Pod deployment.
NSXT:
Federation:
Deploy: false # Indicates if Federation should be deployed as part of the Pod deployment.
LocalManager:
Deploy: true # LocalManager - Deploy NSX-T Local Manager as part of the Pod deployment.
GlobalManager:
SiteCode: "{{ SiteCode }}" # If not deploying Global Manager in this SiteCode (i.e. 'Pod-###') as part of this deployment, change to indicate to which SiteCode Global Manager is being deployed to. If the Global Manager is in a different SiteCode than this deployment, it must be deployed either before or concurrently with this deployment.
PodNumber: "{{ Pod.Number }}" # If not deploying Global Manager to this site as part of this deployment, change to indicate the Pod Number (i.e. 30) of the Pod in which the Global Manager is being deployed to. When Federation is deployed, this is used to determine the proper eBGP Peering ASN to use on the Pod Router.
Edge:
Deploy: true # Edge - Deploy NSX-T Edge Transport Nodes as part of the Pod deployment.
WorkloadVMs:
Deploy: false # Controls whether Guest Workload VMs are deployed from the Content Library after the Pod deployment is completed
Cluster: ComputeA # Default vSphere Cluster to place the Workload VMs in
VMFolder: _Workload VMs # Default Folder to place the provisioned Workload VMs in
DRS:
VMRules:
Enable: true # Enable creation of DRS VM-VM Affinity Rule for Pod VMs
Name: "SDDCLab_{{ SiteCode }}_VMs" # DRS VM-VM Affinity Rule Name
Setting:
IPv4: true # IPv4 - All components are configured with IPv4 addresses.
IPv6: false # IPv6 - Make sure your environment (i.e. Ansible control station, DNS, etc.) are all configured with IPv6 else the installation will fail. IPv6 transit also required between Ansible constrol station and DNS Server.
UseNFS: false # UseNFS - Set to "True" if you want to connect an existing NFS datastore to the nested ESXi hosts. NFS datastore details are configured the under "Common.NFS" section.
UseDNS: true # UseDNS - Use DNS name resolution within the Pod (recommended). This requires that either "Deploy.Product.DNSServer.Deploy" is set to "True" (recommended) or that a pre-existing, pre-configured DNS server is available.
EnableSSH: true # EnableSSH - Allow SSH access to the deployed components.
Software:
Options:
UseLocalInstaller: true
KeepNewInstallers: true
UnmountISO: false # When deploying Pod, dismount ISO after use. Changing this to True will cause simultaneous deployments to fail. It is recommended that this setting remain False.
vCenter: # Label used for selection of which template to use during deployment (templates.yml)
Vendor: VMware # Indicates software vendor you want to deploy from the software repository (software.yml)
Product: vCenter # Indicates software product you want to deploy from the software repository (software.yml)
Version: '8.00U3' # Indicates which software version you want to deploy from the software repository (software.yml)
Patch: false
Config: "{{ SiteCode }}-vCenter.conf"
Installer: "{{ SiteCode }}-Installer-vCenter"
ESXi: # Label used for selection of which template to use during deployment (templates.yml)
Vendor: VMware # Indicates software vendor you want to deploy from the software repository (software.yml)
Product: ESXi # Indicates software product you want to deploy from the software repository (software.yml)
Version: '8.00U3' # Indicates which software version you want to deploy from the software repository (software.yml)
Patch: false
Config: "KS.CFG"
Installer: "{{ SiteCode }}-Installer-ESXi"
NSXT: # Label used for selection of which template to use during deployment (templates.yml)
Vendor: VMware # Indicates software vendor you want to deploy from the software repository (software.yml)
Product: NSXT # Indicates software product you want to deploy from the software repository (software.yml)
Version: '4.2.0.0' # Indicates which software version you want to deploy from the software repository (software.yml)
Patch: false
Config: "{{ SiteCode }}-NSXT.conf"
Installer: "{{ SiteCode }}-Installer-NSXT"
Router: # Label used for selection of which template to use during deployment (templates.yml)
Vendor: VyOS # Indicates software vendor you want to deploy from the software repository (software.yml)
Product: Router # Indicates software product you want to deploy from the software repository (software.yml)
Version: Latest # Must be "Latest". Other options have been deprecated. "Latest" will download the latest nightly build from VyOS if you do not already have an ISO local.
Patch: false
Config: "{{ SiteCode }}-Router.conf"
Installer: "{{ SiteCode }}-Installer-Router"
vRLI: # Label used for selection of which template to use during deployment (templates.yml)
Vendor: VMware # Indicates software vendor you want to deploy from the software repository (software.yml)
Product: vRLI # Indicates software product you want to deploy from the software repository (software.yml)
Version: '8.16.0' # Indicates which software version you want to deploy from the software repository (software.yml)
Patch: false
Config: "{{ SiteCode }}-vRLI-1.conf"
Installer: "{{ SiteCode }}-Installer-vRLI-1"
DNSServer: # Label used for selection of which template to use during deployment (templates.yml)
Vendor: Ubuntu # Indicates software vendor you want to deploy from the software repository (software.yml)
Product: Server # Indicates software product you want to deploy from the software repository (software.yml)
Version: '22.04' # Must be "22.04", Other options have been deprecated
Patch: false
Config: "{{ SiteCode }}-Ubuntu.conf"
Installer: "{{ SiteCode }}-Installer-Ubuntu"
ALB: # Label used for selection of which template to use during deployment (templates.yml)
Vendor: VMware # Indicates software vendor you want to deploy from the software repository (software.yml)
Product: ALB # Indicates software product you want to deploy from the software repository (software.yml)
Version: '30.2.1' # Indicates which software version you want to deploy from the software repository (software.yml)
Patch: false
Config: "{{ SiteCode }}-ALB-Controller-1"
Installer: "{{ SiteCode }}-ALB-Controller-1"
Replication: # Label used for selection of which template to use during deployment (templates.yml)
Vendor: VMware # Indicates software vendor you want to deploy from the software repository (software.yml)
Product: Replication # Indicates software product you want to deploy from the software repository (software.yml)
Version: '8.8.0.2' # Indicates which software version you want to deploy from the software repository (software.yml)
Patch: false
Config: "{{ SiteCode }}-Replication"
Installer: "{{ SiteCode }}-Replication"
##
## ██████ ██████ ███ ███ ███ ███ ██████ ███ ██
## ██ ██ ██ ████ ████ ████ ████ ██ ██ ████ ██
## ██ ██ ██ ██ ████ ██ ██ ████ ██ ██ ██ ██ ██ ██
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██████ ██████ ██ ██ ██ ██ ██████ ██ ████
##
##
## The 'Common' section are settings used by the various nested lab components, except for the Nested_Router.
## The physical real-world NTP time server that is used to obtain time for the lab is defined in the Nested_Router section.
## The DNS servers listed below MUST be able to resolve DNS names on the public Internet.
##
Common:
Password:
Nested: VMware1!
Physical: VMware1!
DHCP:
LeaseTime: 3600 # DHCP Lease Time (in seconds) for Overlay Segments
DNS:
Domain: SDDC.Lab # Domain - Default DNS Domain used by all nested components.
Forwarder:
IPv4: 8.8.8.8 # Forwarder - Default DNS forwarding address used by nested routers.
IPv6: 2001:4860:4860::8888 # Forwarderv6 - Default DNS IPv6 forwarding address used by nested routers.
Protocol: udp # Select protocol to be used when adding/updating dns records for pods on the nested DNS server
Server1:
IPv4: "{{ Net.Uplink.IPv4.Network }}.5" # Replace this IP if using a different DNS server than the suggested .5 server in the Router Uplink segment (MUST support Dynamic DNS Updates)
IPv6: "{{ Net.Uplink.IPv6.Network }}::{{ '%04x'|format(5) }}" # Replace this IP if using a different DNS server than the suggested ::5 server in the Router Uplink segment (MUST support Dynamic DNS Updates)
Server2:
IPv4:
IPv6:
NTP:
Server1:
IPv4: "{{ Net.Uplink.IPv4.Network }}.5" # Replace this IP if using a different NTP server than the suggested .5 server in the Router Uplink segment
IPv6: "{{ Net.Uplink.IPv6.Network }}::{{ '%04x'|format(5) }}" # Replace this IP if using a different NTP server than the suggested ::5 server in the Router Uplink segment
Server2:
IPv4: "{{ Net.Management.IPv4.Network }}.1"
IPv6: "{{ Net.Management.IPv6.Network }}::{{ '%04x'|format(1) }}"
Syslog:
Protocol: udp
Port: 514
Level: INFO # Replace with your desired logging level. Values include: EMERG, ALERT, CRIT, ERR, WARNING, NOTICE, INFO, DEBUG
IPv4: "{{ Net.Management.IPv4.Network }}.19" # Replace with your IP address if Deploy.Product.vRLI.Deploy == false
IPv6: "{{ Net.Management.IPv6.Network }}::{{ '%04x'|format(19) }}" # Replace with your IP address if Deploy.Product.vRLI.Deploy == false
Timezone: UTC # Replace with your desired ISO 8601 time zone abbreviation (https://en.wikipedia.org/wiki/List_of_time_zone_abbreviations)
NFS: # NFS - The NFS settings below refer to a NFS share that can be used by the NESTED ESXi hosts for storage, and has nothing to do with physical ESXi server(s). If possible, we suggest using vSAN storage on the nested ESXi hosts, which are backed by local physical storage.
Server:
IPv4: 192.168.0.12
IPv6:
Datastore: nfs01
Path: /nested_nfs01
Type: nfs
PKI:
ValidateCerts: false # This indicates if PKI Certificates should be validated. By default, self-signed certificates are used, so ValidateCerts should be set to 'false'
DiskProvisioning: thin
DeploymentSetting: # Default deployment settings for various Nested VM deployment options. Settings can be over-written within each 'Nested_xxx' component configuration section.
Hardware:
Memory:
Shares: normal # Allocation of memory share resources for nested VMs. Valid options are 'low', 'normal', and 'high'.
ReserveAllGuestMemory: false # This determines if all nested components should have all of their memory reserved. Make sure your physical host has sufficient memory before setting to 'true'.
Annotation: '*** Auto-Deployed by SDDC.Lab ***'
##
## ██████ █████ ██████ ██ ██ ██ ██ ██████ ███████ ███████ ██████ ██ ██ ███████ ██████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██████ ███████ ██ █████ ██ ██ ██████ ███████ █████ ██████ ██ ██ █████ ██████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██████ ██ ██ ██████ ██ ██ ██████ ██ ███████ ███████ ██ ██ ████ ███████ ██ ██
##
##
## Unable to put BackupServer in Common due to circular reference. Must be stand-alone
##
BackupServer:
Credential:
User: "{{ Nested_DNSServer.OS.Credential.User }}" # DNS server is default SFTP server, so use that credential
Password: "{{ Nested_DNSServer.OS.Credential.Password }}"
Passphrase: "{{ Common.Password.Nested }}" # Passphrase used to secure backups
SFTP:
Port: 22 # Protocol Port Number
FQDN: "{{ Nested_DNSServer.FQDN }}" # Server FQDN
Path: "/home/{{ Nested_DNSServer.OS.Credential.User }}" # Must be an absolute path
##
## ████████ █████ ██████ ██████ ███████ ████████ ██████ ██████ ███ ██ ███████ ██ ██████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██
## ██ ███████ ██████ ██ ███ █████ ██ ██ ██ ██ ██ ██ ██ █████ ██ ██ ███
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ██ ██ ██ ██ ██████ ███████ ██ ██████ ██████ ██ ████ ██ ██ ██████
##
##
## Users should specify their deployment target settings in the 'TargetConfig' section
##
TargetConfig:
Deployment: Host # Deployment - Valid options are "Host" or "vCenter", and controls if the physical installation target is vCenter or a single ESXi Host.
Host: # Settings used when "Host" deployment is chosen (TargetConfig.Deployment == "Host")
FQDN: Host32.NetLab.Home # FQDN - The FQDN of your physical ESXi host. IMPORTANT: The FQDN listed here must EXACTLY match the output of the "hostname" CLI command on the ESXi server.
User: root
Password: "{{ Common.Password.Physical }}"
vSwitch: "{{ SiteCode }}-vSwitch"
vSwitchVersion: ''
DataCenter: ha-datacenter
Cluster: ''
Datastore: Local_VMs # Datastore - The datastore connected to your physicsal ESXi host
VMFolder: ha-datacenter/vm
ISOFolder: /SDDCLab-ISO-Folder
TempFolder: "{{ lookup('env','HOME') }}/SDDC.Lab/{{ SiteCode }}" # TempFolder - Temporary folder location used for temporary files created during the deployment process
TemplateFolder: ../templates
PortGroup:
Uplink: Lab-Routers # Uplink - The portgroup for your Router Uplink segment
Management:
Name: "{{ SiteCode }}-Mgmt"
VLAN: "{{ Net.Management.VLAN }}"
Trunk:
Name: "{{ SiteCode }}-Trunk"
VLAN: 4095
vCenter: # Settings used when "vCenter" deployment is chosen (TargetConfig.Deployment == "vCenter")
FQDN: NetLab-vCenter.NetLab.Local # FQDN - The FQDN to your physical vCenter Server
User: [email protected] # User - vCenter Server user account. We suggest you create a dedicated account for deployments, such as [email protected]. If using Content Libraries, user must be given persmission to the respective Content Library
Password: "{{ Common.Password.Physical }}" # Password - Password used by User to authenticate to the physical vCenter Server
vSwitch: SDDCLab_vDS # vSwitch - Name of the vDS which is automatically provisioned by the playbooks, and where all the Pod Port-Groups are crated
vSwitchVersion: 6.6.0 # vSwitchVersion - vDS version used for the given vSwitch
DataCenter: SDDC # DataCenter - Defines under which DataCenter object the lab Pod's are deployed
Cluster: Lab-Cluster # Cluster - Defines which vSphere cluster within DataCenter the lab Pod's are deployed
Datastore: Shared_VMs # Datastore - Defines Which datastore should the nested lab Pod VMs be placed
VMFolder: "SDDC Pods/{{ SiteCode }}" # VMFolder - Deployed lab Pod VMs are placed within this VMFolder
ISOFolder: /SDDCLab-ISO-Folder # ISOFolder - Directory created within Datastore where custom created ISOs are placed as part of the nested lab deployment
TempFolder: "{{ lookup('env','HOME') }}/SDDC.Lab/{{ SiteCode }}" # TempFolder - Temporary folder location used for temporary files created during the deployment process
TemplateFolder: ../templates # TemplateFolder - The location of the "templates" folder, relative to teh "playbooks" directory
PortGroup: # Various PortGroups used during deployment
Uplink: Lab-Routers # Uplink - PortGroup which the VyOS lab Pod router attaches it's northbound/outside interface to.
Management: # Management PortGroup Information
Name: "{{ SiteCode }}-Mgmt" # Name - Pod specific Management PortGroup name
VLAN: "{{ Net.Management.VLAN }}" # VLAN - Pod specific Management VLAN
Trunk: # Trunk PortGroup Information
Name: "{{ SiteCode }}-Trunk" # Name - Pod specific Trunk PortGroup name
VLAN: "{{ Net.Management.VLAN }}-{{ Net.VMNetwork.VLAN }}" # VLAN - Pod specific VLAN Range
##
## ████████ █████ ██████ ██████ ███████ ████████
## ██ ██ ██ ██ ██ ██ ██ ██
## ██ ███████ ██████ ██ ███ █████ ██
## ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ██ ██ ██ ██ ██████ ███████ ██
##
##
## Determine effective Target settings to use throughout deployment script -- Do NOT edit Target
##
Target:
Deployment: "{{ TargetConfig.Deployment }}"
FQDN: "{{ TargetConfig[TargetConfig.Deployment].FQDN }}"
User: "{{ TargetConfig[TargetConfig.Deployment].User }}"
Password: "{{ TargetConfig[TargetConfig.Deployment].Password }}"
vSwitch: "{{ TargetConfig[TargetConfig.Deployment].vSwitch }}"
vSwitchVersion: "{{ TargetConfig[TargetConfig.Deployment].vSwitchVersion }}"
DataCenter: "{{ TargetConfig[TargetConfig.Deployment].DataCenter }}"
Cluster: "{{ TargetConfig[TargetConfig.Deployment].Cluster }}"
Datastore: "{{ TargetConfig[TargetConfig.Deployment].Datastore }}"
VMFolder: "{{ TargetConfig[TargetConfig.Deployment].VMFolder }}"
ISOFolder: "{{ TargetConfig[TargetConfig.Deployment].ISOFolder }}"
TempFolder: "{{ TargetConfig[TargetConfig.Deployment].TempFolder }}"
TemplateFolder: "{{ TargetConfig[TargetConfig.Deployment].TemplateFolder }}"
PortGroup:
Uplink: "{{ TargetConfig[TargetConfig.Deployment]['PortGroup'].Uplink }}"
Management:
Name: "{{ TargetConfig[TargetConfig.Deployment]['PortGroup']['Management'].Name }}"
VLAN: "{{ TargetConfig[TargetConfig.Deployment]['PortGroup']['Management'].VLAN }}"
Trunk:
Name: "{{ TargetConfig[TargetConfig.Deployment]['PortGroup']['Trunk'].Name }}"
VLAN: "{{ TargetConfig[TargetConfig.Deployment]['PortGroup']['Trunk'].VLAN }}"
##
## ███ ██ ███████ ████████
## ████ ██ ██ ██
## ██ ██ ██ █████ ██
## ██ ██ ██ ██ ██
## ██ ████ ███████ ██
##
Net:
Uplink:
VLAN: None
MTU: 1500
Description: Router Uplink
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.0"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}00"
Management:
VLAN: "{{ Pod.Number + 0 + Pod.VLANOffset }}"
MTU: 1500
Description: Management
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 0 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+0|int) }}"
vMotion:
VLAN: "{{ Pod.Number + 1 + Pod.VLANOffset }}"
MTU: 9000
Description: vMotion
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 1 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+1|int) }}"
vSAN:
VLAN: "{{ Pod.Number + 2 + Pod.VLANOffset }}"
MTU: 9000
Description: vSAN
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 2 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+2|int) }}"
IPStorage:
VLAN: "{{ Pod.Number + 3 + Pod.VLANOffset }}"
MTU: 9000
Description: IP Storage
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 3 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+3|int) }}"
Transport:
VLAN: "{{ Pod.Number + 4 + Pod.VLANOffset }}"
MTU: 9000
Description: Overlay Transport
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 4 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+4|int) }}"
ServiceVM:
VLAN: "{{ Pod.Number + 5 + Pod.VLANOffset }}"
MTU: 1500
Description: Service VM Management
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 5 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+5|int) }}"
NSXEdgeUplink1:
VLAN: "{{ Pod.Number + 6 + Pod.VLANOffset }}"
MTU: 1500
Description: "NSX Edge Uplink #1"
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 6 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+6|int) }}"
NSXEdgeUplink2:
VLAN: "{{ Pod.Number + 7 + Pod.VLANOffset }}"
MTU: 1500
Description: "NSX Edge Uplink #2"
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 7 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+7|int) }}"
RTEP:
VLAN: "{{ Pod.Number + 8 + Pod.VLANOffset }}"
MTU: 1500
Description: RTEP Transport
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 8 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+8|int) }}"
VMNetwork:
VLAN: "{{ Pod.Number + 9 + Pod.VLANOffset }}"
MTU: 1500
Description: VM Network
IPv4:
Prefix: 24
Network: "{{ Pod.BaseNetwork.IPv4 }}.{{ Pod.Number + 9 }}"
IPv6:
Prefix: 64
Network: "{{ Pod.BaseNetwork.IPv6 }}{{ '%02x'|format(Pod.Number+9|int) }}"
##
## ███ ██ ███████ ███████ ████████ ███████ ██████ ██████ ██████ ██ ██ ████████ ███████ ██████
## ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██████ ██ ██ ██ ██ ██ █████ ██████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ████ ███████ ███████ ██ ███████ ██████ ███████ ██ ██ ██████ ██████ ██ ███████ ██ ██
##
Nested_Router:
Name: "{{ SiteCode }}-Router"
UserConfig: # Optional user specific Pod-Router configuration commands to send to router after SDDC.Lab configuration
Directory: "~" # Must specify either '~' for home directory, a '.' for current directory, or an absolute directory path (without a '/' at the end)
Template: "{{ SiteCode }}-Router-UserConfig.j2" # Filename where users place their Pod-Router configuration commands. For VyOS, these should be 'SET' or 'DELETE' commands. There is no syntax or command checking performed, so it is up to the user to ensure the commands are correct.
DeploymentSetting: # Control various deployment settings for the 'Nested_xxx' VM.
Hardware:
Memory:
Shares: "{{ Common.DeploymentSetting.Hardware.Memory.Shares }}" # Allocation of memory share resources. Valid options are 'low', 'normal', 'high', or inherit from 'Common'.
ReserveAllGuestMemory: "{{ Common.DeploymentSetting.Hardware.Memory.ReserveAllGuestMemory }}" # Reserve guest VM memory. Valid options are 'false', 'true', or inherit from 'Common'.
Protocol: BOTH # Protocol - Options are "Static", "BGP", "OSPF" or "BOTH" (OSPF and BGP)
Interface:
Uplink:
PortGroup: "{{ Target.PortGroup.Uplink }}"
IPv4:
Address: "{{ Net.Uplink.IPv4.Network }}.{{ Pod.Number }}"
Prefix: "{{ Net.Uplink.IPv4.Prefix }}"
Gateway: "{{ Net.Uplink.IPv4.Network }}.1"
IPv6:
Address: "{{ Net.Uplink.IPv6.Network }}::{{ '%04x'|format(Pod.Number|int) }}"
Prefix: "{{ Net.Uplink.IPv6.Prefix }}"
Management:
VLAN: "{{ Net.Management.VLAN }}"
IPv4:
Address: "{{ Net.Management.IPv4.Network }}.1"
Prefix: "{{ Net.Management.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.Management.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.Management.IPv6.Prefix }}"
vMotion:
VLAN: "{{ Net.vMotion.VLAN }}"
IPv4:
Address: "{{ Net.vMotion.IPv4.Network }}.1"
Prefix: "{{ Net.vMotion.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.vMotion.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.vMotion.IPv6.Prefix }}"
vSAN:
VLAN: "{{ Net.vSAN.VLAN }}"
IPv4:
Address: "{{ Net.vSAN.IPv4.Network }}.1"
Prefix: "{{ Net.vSAN.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.vSAN.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.vSAN.IPv6.Prefix }}"
IPStorage:
VLAN: "{{ Net.IPStorage.VLAN }}"
IPv4:
Address: "{{ Net.IPStorage.IPv4.Network }}.1"
Prefix: "{{ Net.IPStorage.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.IPStorage.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.IPStorage.IPv6.Prefix }}"
Transport:
VLAN: "{{ Net.Transport.VLAN }}"
IPv4:
Address: "{{ Net.Transport.IPv4.Network }}.1"
Prefix: "{{ Net.Transport.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.Transport.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.Transport.IPv6.Prefix }}"
ServiceVM:
VLAN: "{{ Net.ServiceVM.VLAN }}"
IPv4:
Address: "{{ Net.ServiceVM.IPv4.Network }}.1"
Prefix: "{{ Net.ServiceVM.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.ServiceVM.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.ServiceVM.IPv6.Prefix }}"
NSXEdgeUplink1:
VLAN: "{{ Net.NSXEdgeUplink1.VLAN }}"
IPv4:
Address: "{{ Net.NSXEdgeUplink1.IPv4.Network }}.1"
Prefix: "{{ Net.NSXEdgeUplink1.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.NSXEdgeUplink1.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.NSXEdgeUplink1.IPv6.Prefix }}"
NSXEdgeUplink2:
VLAN: "{{ Net.NSXEdgeUplink2.VLAN }}"
IPv4:
Address: "{{ Net.NSXEdgeUplink2.IPv4.Network }}.1"
Prefix: "{{ Net.NSXEdgeUplink2.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.NSXEdgeUplink2.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.NSXEdgeUplink2.IPv6.Prefix }}"
RTEP:
VLAN: "{{ Net.RTEP.VLAN }}"
IPv4:
Address: "{{ Net.RTEP.IPv4.Network }}.1"
Prefix: "{{ Net.RTEP.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.RTEP.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.RTEP.IPv6.Prefix }}"
VMNetwork:
VLAN: "{{ Net.VMNetwork.VLAN }}"
IPv4:
Address: "{{ Net.VMNetwork.IPv4.Network }}.1"
Prefix: "{{ Net.VMNetwork.IPv4.Prefix }}"
IPv6:
Address: "{{ Net.VMNetwork.IPv6.Network }}::{{ '%04x'|format(1) }}"
Prefix: "{{ Net.VMNetwork.IPv6.Prefix }}"
NTP:
Servers:
- Name: Upstream NTP Server
IPv4:
Address: "{{ Common.NTP.Server1.IPv4 }}"
IPv6:
Address: "{{ Common.NTP.Server1.IPv6 }}"
BFD:
Enabled: true
Settings:
Multiplier: 3
Receive: 500 # Bidirectional Forward Detection (BFD) receive interval in milliseconds (ms)
Transmit: 500 # Bidirectional Forward Detection (BFD) transmit interval in milliseconds (ms)
OSPF:
RouterID: "{{ Net.Uplink.IPv4.Network }}.{{ Pod.Number }}"
Uplink:
Area: 0
NSXEdge:
Area: "{{ Pod.Number }}"
AreaType: normal # AreaType must be either 'normal' or 'nssa'
BGP:
ASN: "{{ 65000 + Pod.Number }}"
RouterID: "{{ Net.Management.IPv4.Network }}.1"
Neighbor:
Routers:
- Name: "Lab-Router"
ASN: 65000
SendDefault: false
IPv4:
Address: "{{ Net.Uplink.IPv4.Network }}.1"
IPv6:
Address: "{{ Net.Uplink.IPv6.Network }}::{{ '%04x'|format(1) }}"
NSXEdges:
- Name: "{{ SiteCode }}-T0-EdgeVM-01-1"
ASN: "{% if Deploy.Product.NSXT.Federation.Deploy %}{{ 65000 + (Deploy.Product.NSXT.GlobalManager.PodNumber|int) + 1 }}{% else %}{{ 65000 + Pod.Number + 1 }}{% endif %}"
SendDefault: true
IPv4:
Address: "{{ Net.NSXEdgeUplink1.IPv4.Network }}.2"
IPv6:
Address: "{{ Net.NSXEdgeUplink1.IPv6.Network }}::{{ '%04x'|format(2) }}"
- Name: "{{ SiteCode }}-T0-EdgeVM-01-2"
ASN: "{% if Deploy.Product.NSXT.Federation.Deploy %}{{ 65000 + (Deploy.Product.NSXT.GlobalManager.PodNumber|int) + 1 }}{% else %}{{ 65000 + Pod.Number + 1 }}{% endif %}"
SendDefault: true
IPv4:
Address: "{{ Net.NSXEdgeUplink2.IPv4.Network }}.2"
IPv6:
Address: "{{ Net.NSXEdgeUplink2.IPv6.Network }}::{{ '%04x'|format(2) }}"
- Name: "{{ SiteCode }}-T0-EdgeVM-02-1"
ASN: "{% if Deploy.Product.NSXT.Federation.Deploy %}{{ 65000 + (Deploy.Product.NSXT.GlobalManager.PodNumber|int) + 1 }}{% else %}{{ 65000 + Pod.Number + 1 }}{% endif %}"
SendDefault: true
IPv4:
Address: "{{ Net.NSXEdgeUplink1.IPv4.Network }}.3"
IPv6:
Address: "{{ Net.NSXEdgeUplink1.IPv6.Network }}::{{ '%04x'|format(3) }}"
- Name: "{{ SiteCode }}-T0-EdgeVM-02-2"
ASN: "{% if Deploy.Product.NSXT.Federation.Deploy %}{{ 65000 + (Deploy.Product.NSXT.GlobalManager.PodNumber|int) + 1 }}{% else %}{{ 65000 + Pod.Number + 1 }}{% endif %}"
SendDefault: true
IPv4:
Address: "{{ Net.NSXEdgeUplink2.IPv4.Network }}.3"
IPv6:
Address: "{{ Net.NSXEdgeUplink2.IPv6.Network }}::{{ '%04x'|format(3) }}"
##
## ███ ██ ███████ ███████ ████████ ███████ ██████ ██ ██ ██████ ██ ██
## ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██ ██ ██████ ██ ██
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ████ ███████ ███████ ██ ███████ ██████ ███████ ████ ██ ██ ███████ ██
##
Nested_vRLI:
Credential:
root:
Name: root
Password: "{{ Common.Password.Nested }}"
admin:
Name: admin
Password: "{{ Common.Password.Nested }}"
DeploymentSetting: # Control various deployment settings for the 'Nested_xxx' VM.
Hardware:
Memory:
Shares: "{{ Common.DeploymentSetting.Hardware.Memory.Shares }}" # Allocation of memory share resources. Valid options are 'low', 'normal', 'high', or inherit from 'Common'.
ReserveAllGuestMemory: "{{ Common.DeploymentSetting.Hardware.Memory.ReserveAllGuestMemory }}" # Reserve guest VM memory. Valid options are 'false', 'true', or inherit from 'Common'.
Component:
Cluster_VIP:
VMName: "{{ SiteCode }}-vRLI"
FQDN: "{% if Deploy.Setting.UseDNS %}{{ SiteCode }}-vRLI.{{ Common.DNS.Domain }}{% else %}{{ Net.Management.IPv4.Network }}.19{% endif %}"
Address:
IPv4:
Address: "{{ Net.Management.IPv4.Network }}.19"
Prefix: "{{ Net.Management.IPv4.Prefix }}"
Gateway: "{{ Net.Management.IPv4.Network }}.1"
IPv6:
Address: "{{ Net.Management.IPv6.Network }}::{{ '%04x'|format(19) }}"
Prefix: "{{ Net.Management.IPv6.Prefix }}"
Node:
VMName: "{{ SiteCode }}-vRLI-1"
FQDN: "{% if Deploy.Setting.UseDNS %}{{ SiteCode }}-vRLI-1.{{ Common.DNS.Domain }}{% else %}{{ Net.Management.IPv4.Network }}.20{% endif %}"
Deployment:
Size: small
EnableSSH: "{{ Deploy.Setting.EnableSSH }}"
AllowRootSSH: "{{ Deploy.Setting.EnableSSH }}"
Address:
IPv4:
Address: "{{ Net.Management.IPv4.Network }}.20"
Prefix: "{{ Net.Management.IPv4.Prefix }}"
Gateway: "{{ Net.Management.IPv4.Network }}.1"
IPv6:
Address: "{{ Net.Management.IPv6.Network }}::{{ '%04x'|format(20) }}"
Prefix: "{{ Net.Management.IPv6.Prefix }}"
##
## ███ ██ ███████ ███████ ████████ ███████ ██████ █████ ██ ██████
## ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ██ ██ █████ ███████ ██ █████ ██ ██ ███████ ██ ██████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ████ ███████ ███████ ██ ███████ ██████ ███████ ██ ██ ███████ ██████
##
Nested_ALB:
Credential:
root:
Name: root
Password: "{{ Common.Password.Nested }}"
admin:
Name: admin
Password: "{{ Common.Password.Nested }}"
BackupServer:
User: "{{ BackupServer.Credential.User }}"
Password: "{{ BackupServer.Credential.Password }}"
Passphrase: "{{ BackupServer.Credential.Passphrase }}"
Protocol: SFTP
FQDN: "{{ BackupServer.SFTP.FQDN }}"
Path: "{{ BackupServer.SFTP.Path }}"
Port: "{{ BackupServer.SFTP.Port }}"
DeploymentSetting: # Control various deployment settings for the 'Nested_xxx' VM.
Hardware:
Memory:
Shares: "{{ Common.DeploymentSetting.Hardware.Memory.Shares }}" # Allocation of memory share resources. Valid options are 'low', 'normal', 'high', or inherit from 'Common'.
ReserveAllGuestMemory: "{{ Common.DeploymentSetting.Hardware.Memory.ReserveAllGuestMemory }}" # Reserve guest VM memory. Valid options are 'false', 'true', or inherit from 'Common'.
Component:
Controller_VIP:
VMName: "{{ SiteCode }}-ALB-Controller"
FQDN: "{% if Deploy.Setting.UseDNS %}{{ SiteCode }}-ALB-Controller.{{ Common.DNS.Domain }}{% else %}{{ Net.Management.IPv4.Network }}.15{% endif %}"
Address:
IPv4:
Address: "{{ Net.Management.IPv4.Network }}.15"
Prefix: "{{ Net.Management.IPv4.Prefix }}"
Gateway: "{{ Net.Management.IPv4.Network }}.1"
IPv6:
Address: "{{ Net.Management.IPv6.Network }}::{{ '%04x'|format(15) }}"
Prefix: "{{ Net.Management.IPv6.Prefix }}"
Controller:
VMName: "{{ SiteCode }}-ALB-Controller-1"
FQDN: "{% if Deploy.Setting.UseDNS %}{{ SiteCode }}-ALB-Controller-1.{{ Common.DNS.Domain }}{% else %}{{ Net.Management.IPv4.Network }}.16{% endif %}"
Deployment:
EnableSSH: "{{ Deploy.Setting.EnableSSH }}"
AllowRootSSH: "{{ Deploy.Setting.EnableSSH }}"
Address:
IPv4:
Address: "{{ Net.Management.IPv4.Network }}.16"
Prefix: "{{ Net.Management.IPv4.Prefix }}"
Gateway: "{{ Net.Management.IPv4.Network }}.1"
IPv6:
Address: "{{ Net.Management.IPv6.Network }}::{{ '%04x'|format(16) }}"
Prefix: "{{ Net.Management.IPv6.Prefix }}"
Infrastructure:
Cloud:
NSXT:
Configure: true
CloudResource:
ServiceEngineGroup:
Cloud:
NSXT:
BasicSetting:
MemoryReserve: false
AdvancedSetting:
ServiceEngineNamePrefix: ALB-SE # The name prefix for the Service Engine VMs
ServiceEngineFolder: ALB Service Engines # The nested VM Folder in which the Service Engine VMs will be deployed
Cluster: ComputeA # The nested vSphere Cluster in which the Service Engine VMs will be deployed
##
## ███ ██ ███████ ███████ ████████ ███████ ██████ ██████ ███████ ██████ ██ ██ ██████ █████ ████████ ██ ██████ ███ ██
## ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██
## ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██████ █████ ██████ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ██
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ████ ███████ ███████ ██ ███████ ██████ ███████ ██ ██ ███████ ██ ███████ ██ ██████ ██ ██ ██ ██ ██████ ██ ████
##
Nested_Replication:
Credential:
root:
Name: root
Password: "{{ Common.Password.Nested }}"
admin:
Name: admin
Password: "{{ Common.Password.Nested }}"
Configuration:
SiteName: "{{ SiteCode }}"
Email: "admin@{{ SiteCode }}.{{ Common.DNS.Domain }}"
ClockToleranceSeconds: 3 # Maximum time tolerance between vSphere Replication and vCenter Server. Default is 3 seconds.
Component:
Appliance:
VMName: "{{ SiteCode }}-Replication-Appliance"
FQDN: "{% if Deploy.Setting.UseDNS %}{{ SiteCode }}-Replication-Appliance.{{ Common.DNS.Domain }}{% else %}{{ Net.Management.IPv4.Network }}.25{% endif %}"
Deployment:
EnableSSH: "{{ Deploy.Setting.EnableSSH }}"
AllowRootSSH: "{{ Deploy.Setting.EnableSSH }}"
EnableFileIntegrity: false
Cluster: # Specifying a Cluster will over-ride the default functionality of automatically selecting one from the deployed vSphere clusters
Address:
IPv4:
Address: "{{ Net.Management.IPv4.Network }}.25"
Prefix: "{{ Net.Management.IPv4.Prefix }}"
Gateway: "{{ Net.Management.IPv4.Network }}.1"
IPv6:
Address: "{{ Net.Management.IPv6.Network }}::{{ '%04x'|format(25) }}"
Prefix: "{{ Net.Management.IPv6.Prefix }}"
##
## ███ ██ ███████ ███████ ████████ ███████ ██████ ██████ ███ ██ ███████
## ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██
## ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██ ██ ██ ██ ██ ███████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ████ ███████ ███████ ██ ███████ ██████ ███████ ██████ ██ ████ ███████
##
Nested_DNSServer:
FQDN: "DNS.{{ Common.DNS.Domain }}"
VM:
VMName: SDDC-Lab-DNS
HardwareSettings:
Version: 13
CPU: 1
CoresPerSocket: 1
Memory: 2048
DiskSize: 20
PortGroup: "{{ Target.PortGroup.Uplink }}"
Annotation: "{{ Common.Annotation }}"
OS:
Credential:
User: ubuntu
Password: "{{ Common.Password.Nested }}"
Network:
IPv4:
Address: "{{ Net.Uplink.IPv4.Network }}.5"
Prefix: "{{ Net.Uplink.IPv4.Prefix }}"
Gateway: "{{ Net.Uplink.IPv4.Network }}.1"
DNS: "{{ Common.DNS.Forwarder.IPv4 }}" # DNS server reachable by OS to resolve names. Update as required for your environment.
IPv6:
Address: "{{ Net.Uplink.IPv6.Network }}::{{ '%04x'|format(5) }}"
Prefix: "{{ Net.Uplink.IPv6.Prefix }}"
DNS: "{{ Common.DNS.Forwarder.IPv6 }}"
Locale: en_US
Keyboard:
Layout: us
Variant: intl
Packages:
BIND:
Forwarder:
IPv4: "{{ Common.DNS.Forwarder.IPv4 }}" # DNS forwarders used by BIND. Update as required for your environment.
IPv6: "{{ Common.DNS.Forwarder.IPv6 }}"
##
## ███ ██ ███████ ███████ ████████ ███████ ██████ ██████ ██ ██ ██ ███████ ████████ ███████ ██████
## ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ██ ██ █████ ███████ ██ █████ ██ ██ ██ ██ ██ ██ ███████ ██ █████ ██████
## ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
## ██ ████ ███████ ███████ ██ ███████ ██████ ███████ ██████ ███████ ██████ ███████ ██ ███████ ██ ██
##
Nested_Cluster:
Management:
DeployHosts: false # If vSphere Hosts are not deployed (False), then the vSphere cluster is not created.
DeploymentSetting: # Control various deployment settings for the 'Nested_xxx' VM.
Hardware:
Memory:
Shares: "{{ Common.DeploymentSetting.Hardware.Memory.Shares }}" # Allocation of memory share resources. Valid options are 'low', 'normal', 'high', or inherit from 'Common'.
ReserveAllGuestMemory: "{{ Common.DeploymentSetting.Hardware.Memory.ReserveAllGuestMemory }}" # Reserve guest VM memory. Valid options are 'false', 'true', or inherit from 'Common'.
DRS: true
HA:
Enable: false
Host_Monitoring: enabled
VM_Monitoring: vmMonitoringDisabled
APD_Response: disabled
PDL_Response: disabled
Host_Isolation_Response: none
vSAN: true
Prep_NSX: false
vsanDatastore: Management_vSAN
NSXT_TransportNodeProfile: TNP-ESXi-Hosts
Tanzu:
SupervisorCluster:
Enable: false # If set to "true" the cluster will be configured as a Tanzu Supervisor Cluster
ControlPlaneSize: TINY # Size - The size of the control plane virtual machines
Network:
Management:
StartingIP: "{{ Net.Management.IPv4.Network }}.201" # StartingIP - The first IP address in a range of 5 IP addresses. 1 IP per control plane VM (3), 1 floating IP, and 1 used during upgrades.
Workload:
Pod: # Pod - Internal CIDR block from which IPs for pods will be allocated. They cannot overlap with IPs of Workload Management components.
Network: 10.244.0.0
Prefix: 20
Service: # Service - Internal CIDR block from which IPs for Kubernetes ClusterIP Services will be allocated. It cannot overlap with IPs of Workload Management components.
Network: 10.96.0.0
Prefix: 23
Ingress: # Ingress - External CIDR blocks from which IPs for Kubernetes Ingresses and LoadBalancer-type Services will be allocated. These CIDRs will come from the external network's IP space.
Network: "{{ Pod.BaseOverlay.IPv4.Network | ansible.utils.ipsubnet(24, Pod.Number+9) | ansible.utils.ipsubnet(28, 0) | ansible.utils.ipaddr('network') }}"
Prefix: 28
Egress: # Egress - External CIDR blocks which will be used for translating internal Pod IPs to an external IP via SNAT rules, to allow pods to reach the external network. These CIDRs should come from the external network's IP space.
Network: "{{ Pod.BaseOverlay.IPv4.Network | ansible.utils.ipsubnet(24, Pod.Number+9) | ansible.utils.ipsubnet(28, 1) | ansible.utils.ipaddr('network') }}"
Prefix: 28
ComputeA:
DeployHosts: true # If vSphere Hosts are not deployed (False), then the vSphere cluster is not created.
DeploymentSetting: # Control various deployment settings for the 'Nested_xxx' VM.
Hardware:
Memory:
Shares: "{{ Common.DeploymentSetting.Hardware.Memory.Shares }}" # Allocation of memory share resources. Valid options are 'low', 'normal', 'high', or inherit from 'Common'.
ReserveAllGuestMemory: "{{ Common.DeploymentSetting.Hardware.Memory.ReserveAllGuestMemory }}" # Reserve guest VM memory. Valid options are 'false', 'true', or inherit from 'Common'.
DRS: true
HA:
Enable: true
Host_Monitoring: enabled
VM_Monitoring: vmMonitoringDisabled
APD_Response: disabled
PDL_Response: disabled
Host_Isolation_Response: none
vSAN: true
Prep_NSX: true
vsanDatastore: ComputeA_vSAN
NSXT_TransportNodeProfile: TNP-ESXi-Hosts
Tanzu:
SupervisorCluster:
Enable: false # If set to "true" the cluster will be configured as a Tanzu Supervisor Cluster
ControlPlaneSize: TINY # Size - The size of the control plane virtual machines
Network:
Management:
StartingIP: "{{ Net.Management.IPv4.Network }}.206" # StartingIP - The first IP address in a range of 5 IP addresses. 1 IP per control plane VM (3), 1 floating IP, and 1 used during upgrades.
Workload:
Pod: # Pod - Internal CIDR block from which IPs for pods will be allocated. They cannot overlap with IPs of Workload Management components.
Network: 10.244.16.0
Prefix: 20
Service: # Service - Internal CIDR block from which IPs for Kubernetes ClusterIP Services will be allocated. It cannot overlap with IPs of Workload Management components.
Network: 10.96.2.0
Prefix: 23
Ingress: # Ingress - External CIDR blocks from which IPs for Kubernetes Ingresses and LoadBalancer-type Services will be allocated. These CIDRs will come from the external network's IP space.
Network: "{{ Pod.BaseOverlay.IPv4.Network | ansible.utils.ipsubnet(24, Pod.Number+9) | ansible.utils.ipsubnet(28, 2) | ansible.utils.ipaddr('network') }}"
Prefix: 28
Egress: # Egress - External CIDR blocks which will be used for translating internal Pod IPs to an external IP via SNAT rules, to allow pods to reach the external network. These CIDRs should come from the external network's IP space.
Network: "{{ Pod.BaseOverlay.IPv4.Network | ansible.utils.ipsubnet(24, Pod.Number+9) | ansible.utils.ipsubnet(28, 3) | ansible.utils.ipaddr('network') }}"
Prefix: 28
ComputeB:
DeployHosts: false # If vSphere Hosts are not deployed (False), then the vSphere cluster is not created.
DeploymentSetting: # Control various deployment settings for the 'Nested_xxx' VM.
Hardware:
Memory:
Shares: "{{ Common.DeploymentSetting.Hardware.Memory.Shares }}" # Allocation of memory share resources. Valid options are 'low', 'normal', 'high', or inherit from 'Common'.
ReserveAllGuestMemory: "{{ Common.DeploymentSetting.Hardware.Memory.ReserveAllGuestMemory }}" # Reserve guest VM memory. Valid options are 'false', 'true', or inherit from 'Common'.
DRS: true
HA:
Enable: true
Host_Monitoring: enabled
VM_Monitoring: vmMonitoringDisabled
APD_Response: disabled
PDL_Response: disabled
Host_Isolation_Response: none
vSAN: true
Prep_NSX: true
vsanDatastore: ComputeB_vSAN
NSXT_TransportNodeProfile: TNP-ESXi-Hosts
Tanzu:
SupervisorCluster:
Enable: false # If set to "true" the cluster will be configured as a Tanzu Supervisor Cluster
ControlPlaneSize: TINY # Size - The size of the control plane virtual machines
Network:
Management:
StartingIP: "{{ Net.Management.IPv4.Network }}.211" # StartingIP - The first IP address in a range of 5 IP addresses. 1 IP per control plane VM (3), 1 floating IP, and 1 used during upgrades.
Workload:
Pod: # Pod - Internal CIDR block from which IPs for pods will be allocated. They cannot overlap with IPs of Workload Management components.
Network: 10.244.32.0
Prefix: 20
Service: # Service - Internal CIDR block from which IPs for Kubernetes ClusterIP Services will be allocated. It cannot overlap with IPs of Workload Management components.
Network: 10.96.4.0
Prefix: 23
Ingress: # Ingress - External CIDR blocks from which IPs for Kubernetes Ingresses and LoadBalancer-type Services will be allocated. These CIDRs will come from the external network's IP space.
Network: "{{ Pod.BaseOverlay.IPv4.Network | ansible.utils.ipsubnet(24, Pod.Number+9) | ansible.utils.ipsubnet(28, 4) | ansible.utils.ipaddr('network') }}"
Prefix: 28
Egress: # Egress - External CIDR blocks which will be used for translating internal Pod IPs to an external IP via SNAT rules, to allow pods to reach the external network. These CIDRs should come from the external network's IP space.
Network: "{{ Pod.BaseOverlay.IPv4.Network | ansible.utils.ipsubnet(24, Pod.Number+9) | ansible.utils.ipsubnet(28, 5) | ansible.utils.ipaddr('network') }}"
Prefix: 28
Edge: # 'Edge' is where NSX-T ETN's are deployed. HIGHLY suggest you always have an 'Edge' cluster.
DeployHosts: true # If vSphere Hosts are not deployed (False), then the vSphere cluster is not created.
DeploymentSetting: # Control various deployment settings for the 'Nested_xxx' VM.
Hardware:
Memory:
Shares: "{{ Common.DeploymentSetting.Hardware.Memory.Shares }}" # Allocation of memory share resources. Valid options are 'low', 'normal', 'high', or inherit from 'Common'.
ReserveAllGuestMemory: "{{ Common.DeploymentSetting.Hardware.Memory.ReserveAllGuestMemory }}" # Reserve guest VM memory. Valid options are 'false', 'true', or inherit from 'Common'.
DRS: true
HA:
Enable: false
Host_Monitoring: enabled
VM_Monitoring: vmMonitoringDisabled
APD_Response: disabled
PDL_Response: disabled
Host_Isolation_Response: none