This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathschema.yaml
704 lines (642 loc) · 18.1 KB
/
schema.yaml
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
title: Sample input variable schema
schemaVersion: 1.1.0
version: "2020311"
locale: "en"
groupings:
- title: "SSH Key"
variables:
- ${provide_ssh_key}
- ${ssh_provided_key}
- title: "Availabilty Domain"
variables:
- ${availability_domain}
- title: "VCN Options"
variables:
- ${useExistingVcn}
- ${myVcn}
- ${hide_public_subnet}
- ${hide_private_subnet}
- ${vcn_dns_label}
- ${custom_cidrs}
- ${VPC_CIDR}
- ${edge_cidr}
- ${public_cidr}
- ${private_cidr}
- title: "Cloudera Options"
variables:
- ${cm_username}
- ${cm_password}
- ${cm_version}
- ${cloudera_version}
- ${cluster_name}
- ${secure_cluster}
- ${hdfs_ha}
- ${AdvancedOptions}
- ${enable_debug}
- ${log_volume_size_in_gbs}
- ${cloudera_volume_size_in_gbs}
- ${svc_HBASE}
- ${svc_HDFS}
- ${svc_HIVE}
- ${svc_IMPALA}
- ${svc_KAFKA}
- ${svc_OOZIE}
- ${svc_SOLR}
- ${svc_SPARK_ON_YARN}
- ${svc_SQOOP_CLIENT}
- ${svc_YARN}
- ${vcore_ratio}
- ${yarn_scheduler}
- title: "Advanced CDP Options"
variables:
- ${svc_ATLAS}
- ${svc_RANGER}
- ${rangeradmin_password}
visible:
and:
- ${AdvancedOptions}
- and:
- eq:
- ${cloudera_version}
- "7.1.7.0"
- and:
- not:
- eq:
- ${cloudera_version}
- "5.10.2.5"
- not:
- eq:
- ${cloudera_version}
- "5.11.2.4"
- not:
- eq:
- ${cloudera_version}
- "5.12.2.4"
- not:
- eq:
- ${cloudera_version}
- "5.13.3.2"
- not:
- eq:
- ${cloudera_version}
- "5.14.4.3"
- not:
- eq:
- ${cloudera_version}
- "5.15.2.3"
- not:
- eq:
- ${cloudera_version}
- "5.16.2.8"
- not:
- eq:
- ${cloudera_version}
- "6.0.0"
- not:
- eq:
- ${cloudera_version}
- "6.0.1"
- not:
- eq:
- ${cloudera_version}
- "6.1.0"
- not:
- eq:
- ${cloudera_version}
- "6.1.1"
- not:
- eq:
- ${cloudera_version}
- "6.2.0"
- not:
- eq:
- ${cloudera_version}
- "6.2.1"
- not:
- eq:
- ${cloudera_version}
- "6.3.2"
- title: "Worker Node Options"
variables:
- ${worker_instance_shape}
- ${worker_node_count}
- ${objectstoreRAID}
- ${enable_block_volumes}
- ${block_volumes_per_worker}
- ${data_blocksize_in_gbs}
- ${customize_block_volume_performance}
- ${block_volume_high_performance}
- ${block_volume_cost_savings}
- ${clusterSubnet}
- ${enable_secondary_vnic}
- ${blockvolume_cidr}
- ${blockvolumeSubnet}
- title: "Master Node Options"
variables:
- ${master_instance_shape}
- ${master_node_count}
- ${nn_volume_size_in_gbs}
- title: "Utility Node Options"
variables:
- ${utility_instance_shape}
- ${utilitySubnet}
- ${meta_db_type}
- title: "Edge Node Options"
variables:
- ${use_edge_nodes}
- ${bastion_instance_shape}
- ${bastion_node_count}
- ${bastionSubnet}
- title: "Pre-Defined"
variables:
- ${region}
- ${compartment_ocid}
- ${tenancy_ocid}
- ${CentOSImageOCID}
- ${OELImageOCID}
- ${oci_service_gateway}
- ${AD}
- ${vpus_per_gb}
- ${secondary_vnic_count}
- ${blockvolume_subnet_id}
- ${worker_domain}
visible: false
variables:
cm_version:
type: enum
enum:
- "6.0.0"
- "6.0.1"
- "6.1.0"
- "6.2.0"
- "6.3.0"
- "6.3.1"
- "7.0.3"
- "7.1.1"
- "7.1.2"
- "7.1.3"
- "7.1.4"
- "7.2.4"
- "7.2.6"
- "7.3.1"
- "7.4.4"
- "7.5.1"
title: "Cloudera Manager Version"
description: "Choose the version of Cloudera Manager to deploy, CDP requires 7.1.4"
required: true
default: "7.4.4"
cloudera_version:
type: enum
enum:
- "5.10.2.5"
- "5.11.2.4"
- "5.12.2.4"
- "5.13.3.2"
- "5.14.4.3"
- "5.15.2.3"
- "5.16.2.8"
- "6.0.0"
- "6.0.1"
- "6.1.0"
- "6.1.1"
- "6.2.0"
- "6.2.1"
- "6.3.2"
- "7.1.7.0"
title: "Cluster Version"
description: "Choose the version of CDH to deploy, for CDP choose 7.1.4.0"
required: true
default: "7.1.7.0"
cluster_name:
type: string
title: "Cluster Name"
description: "Name your Cluster"
required: true
useExistingVcn:
type: boolean
title: "Use Existing VCN"
description: "Click to use existing VCN, otherwise VCN and Subnets will be created"
required: true
default: false
myVcn:
type: oci:core:vcn:id
title: "Existing VCN"
description: "Select Existing VCN"
dependsOn:
compartmentId: ${compartment_ocid}
visible: ${useExistingVcn}
required: true
custom_cidrs:
type: boolean
title: "Customize Network CIDRS"
description: "Click to customize CIDR ranges, only applicable when creating VCN as part of deployment"
required: true
default: false
utilitySubnet:
type: oci:core:subnet:id
title: "Utility Subnet"
description: "Select Subnet - Ensure the Subnet is in the same Availability Domain selected above"
dependsOn:
compartmentId: ${compartment_ocid}
vcnId: ${myVcn}
hidePrivateSubnet: ${hide_private_subnet}
visible: ${useExistingVcn}
required: true
clusterSubnet:
type: oci:core:subnet:id
title: "Cluster Subnet"
description: "Select Subnet - Ensure the Subnet is in the same Availability Domain selected above"
dependsOn:
compartmentId: ${compartment_ocid}
vcnId: ${myVcn}
hidePublicSubnet: ${hide_public_subnet}
visible: ${useExistingVcn}
required: true
bastionSubnet:
type: oci:core:subnet:id
title: "Utility Subnet"
description: "Select Subnet - Ensure the Subnet is in the same Availability Domain selected above"
dependsOn:
compartmentId: ${compartment_ocid}
vcnId: ${myVcn}
hidePrivateSubnet: ${hide_private_subnet}
visible: ${useExistingVcn}
required: true
blockvolumeSubnet:
type: oci:core:subnet:id
title: "BlockVolume Subnet"
description: "Select Subnet - Ensure the Subnet is in the same Availability Domain selected above"
dependsOn:
compartmentId: ${compartment_ocid}
vcnId: ${myVcn}
hidePublicSubnet: ${hide_public_subnet}
visible:
and:
- ${useExistingVcn}
- ${enable_secondary_vnic}
required: true
hide_private_subnet:
type: boolean
title: "Deploy Utility & Edge hosts to Public Networks"
description: "If you wish to deploy to private networks and use VPN, un-check this"
default: true
visible: ${useExistingVcn}
hide_public_subnet:
type: boolean
title: "Deploy Cluster to Private Network Only"
description: "This is highly suggested, disable at your own risk"
default: true
visible: ${useExistingVcn}
availability_domain:
type: oci:identity:availabilitydomain:name
title: "Availability Domain"
description: "Select AD"
dependsOn:
compartmentId: ${compartment_ocid}
required: true
secure_cluster:
type: Boolean
title: "Kerberos Security"
description: "Click to Enable Kerberos for Secure Cluster"
required: true
hdfs_ha:
type: boolean
title: "High Availability"
description: "Click to Enable HDFS High Availability"
required: true
worker_instance_shape:
type: enum
enum:
- "VM.Standard2.8"
- "VM.Standard2.16"
- "VM.Standard2.24"
- "BM.Standard2.52"
- "BM.Standard.E2.64"
- "VM.DenseIO2.8"
- "VM.DenseIO2.16"
- "VM.DenseIO2.24"
- "BM.DenseIO2.52"
- "BM.HPC2.36"
title: "Shape of Worker Nodes"
required: true
worker_node_count:
type: integer
minimum: 3
title: "Number of Worker Nodes"
description: "3 is the minimum requirement"
required: true
master_instance_shape:
type: enum
enum:
- "VM.Standard2.8"
- "VM.Standard2.16"
- "VM.Standard2.24"
- "BM.Standard2.52"
- "BM.Standard.E2.64"
- "VM.DenseIO2.8"
- "VM.DenseIO2.16"
- "VM.DenseIO2.24"
- "BM.DenseIO2.52"
- "BM.HPC2.36"
title: "Shape of Master Nodes"
required: true
master_node_count:
type: integer
minimum: 2
title: "Number of Master Nodes"
description: "2 is the minimum requirement"
required: true
utility_instance_shape:
type: enum
enum:
- "VM.Standard2.8"
- "VM.Standard2.16"
- "VM.Standard2.24"
- "BM.Standard2.52"
- "BM.Standard.E2.64"
- "VM.DenseIO2.8"
- "VM.DenseIO2.16"
- "VM.DenseIO2.24"
- "BM.DenseIO2.52"
- "BM.HPC2.36"
title: "Shape of Utility Node"
required: true
bastion_instance_shape:
type: enum
enum:
- "VM.Standard2.1"
- "VM.Standard.E2.1"
- "VM.Standard2.2"
- "VM.Standard.E2.2"
- "VM.Standard2.4"
- "VM.Standard.E2.4"
- "VM.Standard2.8"
- "VM.Standard.E2.8"
- "VM.Standard2.16"
- "VM.Standard2.24"
- "BM.Standard2.52"
- "VM.DenseIO2.8"
- "VM.DenseIO2.16"
- "VM.DenseIO2.24"
- "BM.DenseIO2.52"
title: "Shape of Edge Nodes"
required: true
visible: ${use_edge_nodes}
bastion_node_count:
type: integer
title: "Number of Edge Nodes"
description: "Enter a number, 0 to service limit of shape"
minimum: 0
required: true
visible: ${use_edge_nodes}
ssh_provided_key:
type: string
title: "SSH Public Key"
description: "Copy/Paste the contents of your SSH Public Key"
required: true
default: ""
visible: ${provide_ssh_key}
data_blocksize_in_gbs:
type: integer
title: "HDFS Block Volume Size ( GB )"
description: "700 to 32,768 "
minimum: 700
maximum: 32768
required: true
visible: ${enable_block_volumes}
block_volumes_per_worker:
type: integer
title: "Number of Block Volumes for HDFS"
description: "0 to 29"
minimum: 0
maximum: 29
required: true
visible: ${enable_block_volumes}
customize_block_volume_performance:
type: boolean
title: "Custom Block Volume Performance"
description: "Click to customize Block Volume performance. Default profile is Balanced. When enabled, only select one sub-option."
default: false
visible: ${enable_block_volumes}
block_volume_high_performance:
type: boolean
title: "High Performance Block Volumes"
description: "Click to enable High Performance for HDFS Block Volumes. This comes at a higher cost per GB."
default: false
visible:
and:
- ${enable_block_volumes}
- ${customize_block_volume_performance}
block_volume_cost_savings:
type: boolean
title: "Lower Cost Block Volumes"
description: "Click to enable Lower Cost for HDFS Block Volumes. This lowers performance for cost savings per GB."
default: false
visible:
and:
- ${enable_block_volumes}
- ${customize_block_volume_performance}
nn_volume_size_in_gbs:
type: integer
title: "Block Volume Size for NameNode Metadata"
description: "500 to 32,768"
minimum: 500
maximum: 32768
required: true
visible: ${enable_block_volumes}
log_volume_size_in_gbs:
type: integer
title: "Volume size in GB for CDH Logs"
description: "50 to 32,768"
minimum: 50
maximum: 32768
required: true
visible: ${AdvancedOptions}
cloudera_volume_size_in_gbs:
type: integer
title: "Volume size in GB for CDH Data (Parcels)"
description: "150 to 32,768"
minimum: 150
maximum: 32768
required: true
visible: ${AdvancedOptions}
VPC_CIDR:
type: string
title: "VPC CIDR for VCN"
description: "Customize VCN top level CIDR"
visible: ${custom_cidrs}
edge_cidr:
type: string
title: "Edge Subnet CIDR"
description: "Customize Edge Subnet CIDR, ensure this fits in VCN CIDR range."
visible: ${custom_cidrs}
public_cidr:
type: string
title: "Public Subnet CIDR"
description: "Customize Public Subnet CIDR, ensure this fits in VCN CIDR range."
visible: ${custom_cidrs}
private_cidr:
type: string
title: "Private Subnet CIDR"
description: "Customize Private Subnet CIDR, ensure this fits in VCN CIDR range."
visible: ${custom_cidrs}
blockvolume_cidr:
type: string
title: "BlockVolume Subnet CIDR"
description: "Customize BlockVolume Subnet CIDR, ensure this fits in VCN CIDR range. This subnet is used on BM hosts to segregate storage network traffic from cluster traffic."
visible:
and:
- ${custom_cidrs}
- ${enable_secondary_vnic}
vcn_dns_label:
type: string
title: "VCN DNS Label"
description: "Set the VCN DNS label to be used when creating VCN. Default is 'clouderavcn' which sets the VCN domain to 'clouderavcn.oraclevcn.com'"
objectstoreRAID:
type: boolean
title: "RAID0 Block Volume Cache"
description: "Enable RAID0 Block Volume cache to enhance througput when moving data to/from Object Storage. This is recommended when using DistCP."
default: false
meta_db_type:
type: enum
title: "Cloudera Manager Database"
description: "Pick which database to use for Cloudera Manager. Note that Postgresql is not recommended for production clusters."
enum:
- "mysql"
- "postgres"
required: true
visible: ${AdvancedOptions}
use_edge_nodes:
type: boolean
title: "Enable Edge Nodes"
description: "Check to enable Edge Nodes for the cluster."
default: false
enable_block_volumes:
type: boolean
title: "Enable Block Volumes for HDFS"
description: "Check to enable Block Volumes for use with HDFS. This is optional for BM.Dense hosts, required for all others."
default: true
cm_username:
type: string
title: "Cloudera Manager Admin"
description: "Set the admin username, it must be something other than the default."
required: true
cm_password:
type: password
title: "Cloudera Manager Admin Password"
description: "Set the Admin user default password, do not use spaces as this password is not sanitized. This will be used for deployment, it is encouraged you change this after deployment is complete."
required: true
provide_ssh_key:
type: boolean
title: "Provide SSH Key"
description: "Un-Check to generate SSH key as part of deployment process. This is NOT recommended for persistent environments, you should provide your own key for any production deployment."
vcore_ratio:
type: int
title: "YARN VCore Ratio"
description: "Set the YARN VCore ratio. This is typically between 1-4. VMs benefit from a smaller VCore ratio, BMs benefit from a higher VCore ratio."
min: 1
max: 4
default: 2
visible: ${AdvancedOptions}
AdvancedOptions:
type: boolean
title: "Advanced Options"
description: "Enable Advanced Cluster Configuration Options. For advanced users only, changing service parameters may have a negative impact on cluster deployment, modify at your own risk. These parameters only affect initial cluster build, once the cluster is deployed Cloudera Manager must be used for service administration."
svc_ATLAS:
type: boolean
title: "Atlas Service"
description: "Enable Atlas Service, CDP ONLY"
svc_HBASE:
type: boolean
title: "HBase Service"
description: "Enable HBase Service"
visible: ${AdvancedOptions}
svc_HDFS:
type: boolean
title: "HDFS Service"
description: "Enable HDFS Service"
visible: ${AdvancedOptions}
svc_HIVE:
type: boolean
title: "Hive Service"
description: "Enable Hive Service"
visible: ${AdvancedOptions}
svc_IMPALA:
type: boolean
title: "Impala Service"
description: "Enable Impala Service"
visible: ${AdvancedOptions}
svc_KAFKA:
type: boolean
title: "Kafka Service"
description: "Enable Kafa Service"
visible: ${AdvancedOptions}
svc_OOZIE:
type: boolean
title: "Oozie Service"
description: "Enable Oozie Service"
visible: ${AdvancedOptions}
svc_RANGER:
type: boolean
title: "Ranger Service"
description: "Enable Ranger Service, CDP ONLY"
rangeradmin_password:
type: string
title: "Password for Ranger"
description: "Sets default deployment password for rangeradmin, usersync, tagsync, and keystore. Password requires upper case, numbers and special character, if this is not set properly then deployment may fail."
visible: ${svc_RANGER}
svc_SOLR:
type: boolean
title: "SOLR Service"
description: "Enable SOLR Service"
visible: ${AdvancedOptions}
svc_SPARK_ON_YARN:
type: boolean
title: "Spark on YARN Service"
description: "Enable Spark on YARN Service"
visible: ${AdvancedOptions}
svc_SQOOP_CLIENT:
type: boolean
title: "Sqoop Client"
description: "Enable Sqoop Client"
visible: ${AdvancedOptions}
svc_YARN:
type: boolean
title: "YARN Service"
description: "Enable YARN Service"
visible: ${AdvancedOptions}
enable_debug:
type: boolean
title: "Enable debug Output"
description: "Enable debug output for python deployment script. Output is found in /var/log/cloudera-OCI-initialize.log"
visible: ${AdvancedOptions}
yarn_scheduler:
type: enum
enum:
- "fair"
- "fifo"
- "capacity"
title: "YARN Scheduler"
description: "Select YARN Scheduler type"
visible: ${AdvancedOptions}
default: "capacity"
enable_secondary_vnic:
type: boolean
title: "Enable Secondary VNIC"
description: "Enable a second VNIC on the second physical interface for BM hosts. This will be used for cluster traffic, allowing the primary interface to be used for storage."
visible:
or:
- or:
- eq:
- ${worker_instance_shape}
- "BM.Standard2.52"
- eq:
- ${worker_instance_shape}
- "BM.DenseIO2.52"
- or:
- eq:
- ${worker_instance_shape}
- "BM.HPC2.36"
- eq:
- ${worker_instance_shape}
- "BM.Standard.E2.64"