-
Notifications
You must be signed in to change notification settings - Fork 100
/
aws.reference.conf
1721 lines (1467 loc) · 46.8 KB
/
aws.reference.conf
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
#
# Copyright (c) 2015-2019 Cloudera, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Sample AWS Cloudera Altus Director configuration file based on the Cloudera AWS reference
# architecture:
# https://www.cloudera.com/content/dam/www/marketing/resources/solution-briefs/cloudera-enterprise-reference-architecture-for-aws-deployments.pdf.landing.html
#
# This is a template of a non-HA deployment for all services. Kerberos configurations properties
# are also provided. Refer to Cloudera Altus Director's documentation for more information.
#
#
# Cluster name
#
name: "C6-Reference-AWS"
#
# The environment and deployment name will be generated by default based on the cluster
# name. Another cluster can be bootstrapped under the same deployment by specifying the
# existing environment and deployment name along with a new cluster name. Note that when
# terminating with a configuration file, the deployment is only terminated if there are
# no other clusters under the deployment. Also, the external databases are only terminated
# if there are no other components (deployments or clusters) using the external database.
#
# environmentName: "C6-Reference-AWS Environment"
# deploymentName: "C6-Reference-AWS Deployment"
#
# Cloud provider configuration (credentials, region or zone, and more)
#
provider {
type: aws
#
# Get AWS credentials from the OS environment
# See https://docs.aws.amazon.com/general/latest/gr/aws-security-credentials.html
#
# If specifying the access keys directly and not through variables, make sure to enclose
# them in double quotes.
#
# Leave the accessKeyId and secretAccessKey fields blank when running Altus Director on an
# instance launched with an IAM role.
#
# accessKeyId: ${?AWS_ACCESS_KEY_ID}
# secretAccessKey: ${?AWS_SECRET_ACCESS_KEY}
#
# ID of the Amazon AWS region to use
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
#
region: region-REPLACE-ME
#
# Region endpoint (if you are using a region with custom endpoints, such as GovCloud)
#
# regionEndpoint: ec2.us-gov-west-1.amazonaws.com
#
# ID of the VPC subnet
# See: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html
#
subnetId: subnet-REPLACE-ME
#
# Comma separated list of security group IDs
# See: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html
#
securityGroupsIds: sg-REPLACE-ME
#
# A prefix that Cloudera Altus Director should use when naming the instances (this is not part
# of the hostname)
#
instanceNamePrefix: cloudera-director
#
# Specify a size for the root volume (in GB). Cloudera Altus Director will automatically expand
# the filesystem so that you can use all the available disk space for your application
#
# rootVolumeSizeGB: 100 # defaults to 50 GB if not specified
#
# Specify the type of the EBS volume used for the root partition. Defaults to gp2
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
#
# rootVolumeType: gp2 # OR standard (for EBS magnetic)
#
# Whether to associate a public IP address with instances or not. If this is false, instances
# should be able to access the internet using a NAT instance if necessary.
# See: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-ip-addressing.html
#
# associatePublicIpAddresses: true
#
# Spot Price (in USD per hour) for Spot instances
# Can be set here and shared across instance groups, and/or overridden/set per instance group
# See: https://aws.amazon.com/ec2/spot/pricing/
#
# spotPriceUSDPerHr: 0.50
#
# Block Duration in minutes for Spot instances
# This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).
# Can be set here and shared across instance groups, and/or overridden/set per instance group
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-requests.html#fixed-duration-spot-instances
#
# blockDurationMinutes: 120
}
#
# SSH credentials to use to connect to the instances
#
ssh {
username: ec2-user # for RHEL image
privateKey: privateKey-REPLACE-ME # with an absolute path to .pem file, ${HOME} may be used
}
#
# These instance properties will be applied to all instances.
#
common-instance-properties {
#
# Amazon Machine Image (AMI)
#
# Certain AMI virtualization types are incompatible with certain instance types. HVM
# AMI types are recommended since they are compatible with most instance types.
#
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html
# Compatibility matrix: https://aws.amazon.com/amazon-linux-ami/instance-type-matrix/
# Altus Director compatibility: https://www.cloudera.com/documentation/director/latest/topics/director_deployment_requirements.html
#
image: ami-REPLACE-ME
# Use Auto Scaling Group (ASG)
#
# Altus Director can provision a group of instances in an EC2 Auto Scaling group (ASG).
# Changing the size of the ASG must be done through Altus Director, not through the
# AWS Management Console. By default, Altus Director will not use an ASG.
#
# See: http://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html
automatic: false
#
# Cloudera Manager Rack ID
#
# Each host in Cloudera Manager has a rack ID that is used to encode the datacenter topology
# as a path
#
# rackId: "/default"
#
# Name of the IAM Role to use for this instance type
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
#
# iamProfileName: iam-profile-REPLACE-ME
#
# Tags to apply to each instance
#
tags {
owner: ${?USER}
}
#
# EBS Volumes
#
# Director can create and attach additional EBS volumes to the instance. These volumes
# will be automatically deleted when the associated instance is terminated. These
# properties don't apply to the root volume.
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html
#
# ebsVolumeCount : 0
# ebsVolumeType: st1 # Specify either st1, sc1, gp2 or io1 volume type
# ebsVolumeSizeGiB: 500
# ebsIops: 500 # Number of IOPS, only valid and required for io1 volume type
#
# EBS Volume Encryption
#
# Encryption can be enabled on the additional EBS volumes. An optional CMK can
# be specified for volume encryption. Not setting a CMK means the default CMK
# for EBS will be used. The encryption here does not apply to the root volume.
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html
#
# enableEbsEncryption: false
# ebsKmsKeyId: arn:aws:kms:REPLACE-ME # full ARN of the KMS CMK
#
# EBS Optimized
#
# Specify whether to enable EBS Optimized I/O. This optimization isn't available
# with all instance types. Some instance types are EBS Optimized by default
# regardless of this flag. Additional usage charges may apply when using an
# EBS-optimized instance.
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html
#
# ebsOptimized : false
#
# Bootstrap Scripts
#
# Provide scripts, that run as root, which can customize instances immediately
# after boot and before any other Cloudera Altus Director action. Scripts run
# in the order listed. Interpeters other than sh/bash may be used.
#
# Use exit code 0 to indicate success.
# Use exit code 91 to indicate an unretryable failure.
# Altus Director will automatically retry script execution for all other exit codes.
#
# Script content can be provided in a simple string, or as part of of an object
# with an ID (for easier tracking) and an optional map of environment
# variables to set before running the script.
#
bootstrapScripts: ["""#!/bin/sh
echo 'Hello World!'
exit 0
""",
{
id: bootstrapScript2,
env {
KEY1: VALUE1
KEY2: VALUE2
},
content: "echo The values are $KEY1 and $KEY2"
}
]
#
# More complex scripts can be supplied via local filesystem paths. They will
# run after any scripts supplied in the previous bootstrapScripts section.
#
# bootstrapScriptsPaths: ["/tmp/test-script.sh",
# {
# id: bootstrapScriptFromPath2,
# env: {
# KEY3: VALUE3
# },
# path: "/tmp/test-script.py"
# }
# ]
#
# Pre-terminate Scripts
#
# Provide scripts, that run as root, which can run cleanup steps on instances
# immediately before termination. If an instance has already been terminated,
# the scripts will be skipped for it. Scripts run in the order listed.
# Interpeters other than sh/bash may be used.
#
# Use exit code 0 to indicate success.
# Use exit code 91 to indicate an unretryable failure.
# Altus Director will automatically retry script execution for all other exit codes.
#
# Script content can be provided in a simple string, or as part of of an object
# with an ID (for easier tracking) and an optional map of environment
# variables to set before running the script.
#
preTerminateScripts: ["""#!/bin/sh
echo 'Goodbye World!'
exit 0
""",
{
id: preTerminateScript2,
env {
KEY1: VALUE1
KEY2: VALUE2
},
content: "echo The values are $KEY1 and $KEY2"
}
]
#
# More complex scripts can be supplied via local filesystem paths. They will
# run after any scripts supplied in the previous preTerminateScripts section.
#
# preTerminateScriptsPaths: ["/tmp/test-pre-terminate-script.sh",
# {
# id: preTerminateScriptFromPath2,
# env: {
# KEY3: VALUE3
# },
# path: "/tmp/test-pre-terminate-script.py"
# }
# ]
#
# Flag indicating whether to normalize the instance. Not setting normalization here implies that
# your bootstrap script will take care of normalization. This is an advanced configuration that
# requires assistance from Cloudera support.
#
# Defaults to true
#
# normalizeInstance: true
#
# Configuration allowing for granular control over the normalization steps of an instance.
# By default, all of these steps are on. This is an advanced configuration. None of these steps
# will run if normalizeInstance is set to false.
#
# Normalization includes:
# prewarming the parcel directory
# downloading, installing, and adjusting packages
# minimizing swappiness
# increasing the maximun number of open files
# resizing the root partition
# mounting ephemeral disks
#
# normalizationConfig {
# prewarmDirectory: true
# installPackages: true
# miscellaneousServiceAdjustment: true
# minimizeSwappiness: true
# increaseMaxNumberOfOpenFiles: true
# resizeRootPartition: true
# mountAllUnmountedDisks: true
# }
#
# By default Director does not do host key verification when performing SSH on an instance.
# This can be changed for added security by setting the SSH Host Key Retrieval Type.
#
# NONE : Host key fingerprints will not be stored or verified during SSH (default)
# PROVIDER : Retrieve the host key fingerprints from the cloud provider. This does not
# work for all images and will likely increase bootstrap time.
# INSTANCE : Retrieve the host key fingerprints upon first connection into the instance. This
# is less secure than the PROVIDER method since the first connection isn't guaranteed
# to be secure.
# FALLBACK : Attempt to retrieve host key fingeprint form the cloud provider first, if that
# fails, attempt to retrieve upon first connection into the instance.
#
# sshHostKeyRetrievalType: NONE
#
# User Data
#
# Director can pass opaque data or scripts to instances using the EC2 user data mechanism.
# Director will base64-encode the user data automatically when it is provided through the
# userDataUnencoded property. If the data is already base64-encoded, pass it through the
# userData property instead. Only use one property or the other, not both.
# See: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
#
# userData: "U2FtcGxlIHVzZXIgZGF0YQo="
# userDataUnencoded: "Sample user data"
}
#
# A list of instance types to use for groups of nodes or management services. Instances
# specified here inherit from the common-instance-properties properties specified above.
#
instances {
m42x: ${common-instance-properties} {
type: m4.2xlarge
#
# The properties inherited from the provider section or common-instance-properties can
# be overridden for each instance template.
# These properties include:
#
# image: ami-REPLACE-ME
# securityGroupsIds: sg-REPLACE-ME
# subnetId: subnet-REPLACE-ME
# rackId: "/default"
}
m44x: ${common-instance-properties} {
type: m4.4xlarge
}
c34x: ${common-instance-properties} {
type: c3.4xlarge
}
c38x: ${common-instance-properties} {
type: c3.8xlarge
}
c44x: ${common-instance-properties} {
type: c4.4xlarge
}
i2x: ${common-instance-properties} {
type: i2.xlarge
}
i22x: ${common-instance-properties} {
type: i2.2xlarge
}
d2x: ${common-instance-properties} {
type: d2.xlarge
}
d22x: ${common-instance-properties} {
type: d2.2xlarge
}
d24x: ${common-instance-properties} {
type: d2.4xlarge
}
t2l: ${common-instance-properties} { # only suitable as a gateway
type: t2.large
}
}
#
# Optional external database server configuration.
#
# Cloudera Altus Director can provision RDS database servers on-demand or create databases
# on existing database servers. This reference configuration does the former.
#
databaseServers {
#
# Provision RDS database server
#
rds-mysql-prod1 {
#
# The type of database to use. Allowed values are:
# - mysql
#
type: mysql
#
# The root user Cloudera Altus Director will use.
#
user: dbrootuser-REPLACEME
#
# The password for the database user.
#
password: dbrootpassword-REPLACEME
#
# The instance class of the database server.
#
instanceClass: dbinstanceClass-REPLACEME
#
# The DB subnet group for the database server.
#
dbSubnetGroupName: dbsubnet-REPLACE-ME
#
# A comma separated list of security group IDs for the database server. The Cloudera Manager
# and cluster instances should be permitted by these groups to access the database server.
#
vpcSecurityGroupIds: sg-REPLACE-ME
#
# The amount of storage, in GB, to allocate.
#
allocatedStorage: 10
#
# The version of the database engine, e.g., MySQL.
#
engineVersion: 5.7.24
#
# Tags for the database server instance
#
tags {
owner: ${?USER}
}
}
#
# Use an existing MySQL server
#
# existingmysql1 {
# type: mysql
# host: REPLACE-ME # with IP address of database server
# port: 3306
# user: root
# password: rootpassword
# }
#
# Use an existing PostgresSQL server
#
# existingpostgres1 {
# type: postgresql
# host: REPLACE-ME # with IP address of database server
# port: 5432
# user: postgres
# password: rootpassword
# }
}
#
# Configuration for Cloudera Manager. Cloudera Altus Director can use an existing Cloudera
# Manager installation, or bootstrap everything from scratch for a new cluster.
#
cloudera-manager {
instance: ${instances.m42x} {
#
# The properties inherited from the provider section, common-instance-properties or
# instance template can be overridden for the Cloudera Manager instance.
# These properties include:
#
# image: ami-REPLACE-ME
# securityGroupsIds: sg-REPLACE-ME
# subnetId: subnet-REPLACE-ME
# rackId: "/default"
#
# Additional tags for the Cloudera Manager instance
#
tags {
application: "Cloudera Manager 6"
}
}
#
# Licensing configuration
#
# There are three mutually exclusive options for setting up Cloudera Manager's license.
# 1. License text may be embedded in this file using the "license" field. Triple quotes (""")
# are recommended for including multi-line text strings.
# 2. The "licensePath" can be used to specify the path to a file containing the license.
# 3. The "enableEnterpriseTrial" flag indicates whether the 60-Day Cloudera Enterprise Trial
# should be activated when no license is present. This must not be set to true if a
# license is included using either "license" or "licensePath".
#
#
# Embed a license for Cloudera Manager
#
# license: """
# -----BEGIN PGP SIGNED MESSAGE-----
# Hash: SHA1
#
# {
# "version" : 1,
# "name" : "License Owner",
# "uuid" : "license id",
# "expirationDate" : 0,
# "features" : [ "FEATURE1", "FEATURE2" ]
# }
# -----BEGIN PGP SIGNATURE-----
# Version: GnuPG v1.4.11 (GNU/Linux)
#
# PGP SIGNATURE
# -----END PGP SIGNATURE-----
# """
#
# Include a license for Cloudera Manager from an external file
#
# licensePath: "/path/to/license.txt.asc"
#
# Activate 60-Day Cloudera Enterprise Trial
#
enableEnterpriseTrial: true
#
# Specify the billing ID.
#
# Altus Director will use the billing ID to report usage information to a metering service for
# usage based billing.
#
# Usage reporting starts as soon as you assign a billing ID and a license to a Cloudera Manager.
# If you remove a billing ID, Director will stop reporting to the metering service.
#
# When usage reporting stops, you will not have access to Cloudera Support with this deployment.
# If you want a billing ID, please contact Cloudera. An enterprise license is required.
#
# billingId: billingId-REPLACE-ME
#
# Select the strategy for installing a JDK. Choices are:
#
# - AUTO (default): Altus Director installs the JDK on the Cloudera Manager instance, and
# Cloudera Manager installs the JDK on cluster instances
# - DIRECTOR_MANAGED: Altus Director installs the JDK on all instances
# - NONE: Neither Altus Director nor Cloudera Manager installs the JDK on any instances
#
# javaInstallationStrategy: AUTO
#
# Install the unlimited strength JCE policy files for higher levels of encryption.
# Prior to setting this to true, confirm that you understand the legal ramifications
# of using unlimited JCE policy files in your country.
#
# unlimitedJce: true
#
# Automatic TLS
#
#
# Set up TLS connections automatically between Cloudera Altus Director and Cloudera Manager,
# as well as among the cluster services. Automatic TLS includes installation of
# unlimited strength JCE policy files (see unlimitedJce).
#
# tlsEnabled: true
#
# Pass TLS configuration properties to Cloudera Manager to refine how automatic TLS
# is configured. All TLS configuration properties are optional and have sane defaults.
# Additional properties are available beyond those listed here.
#
# tlsConfigurationProperties {
# subject_suffix: "O=example.com,L=Cityville,ST=CA,C=US"
# ca_sig_hash_algo: "SHA512"
# email_address: "[email protected]"
# }
#
# Kerberos Credentials
#
#
# An administrative Kerberos account capable of creating principals on the KDC that
# Cloudera Manager will be using. This will typically be in the format:
#
# krbAdminUsername: "krbAdminUsername-REPLACE-ME"
#
# The password for the administrative Kerberos account.
#
# krbAdminPassword: "krbAdminPassword-REPLACE-ME"
#
# Optional database configuration for Cloudera Manager
#
# There are three mutually exclusive options for database usage in Cloudera Altus Director.
# 1. With no configuration, databases in the Cloudera Manager embedded PostgreSQL database server
# will be used. This option is NOT supported for production use.
# 2. Alternatively, existing external databases can be used.
# 3. Finally, databases can be created on the fly on existing external database servers.
#
# Note that using an external database here necessitates using an external database
# for the cluster services. This reference configuration is using Option 3.
#
#
# (Option 2) Optional configuration for existing external databases
#
# databases {
# CLOUDERA_MANAGER {
# type: postgresql
#
# host: db.example.com
# port: 123
#
# user: admin
# password: 1231ed
#
# name: scm
# }
#
# ACTIVITYMONITOR { ... }
#
# REPORTSMANAGER { ... }
#
# NAVIGATOR { ... }
#
# NAVIGATORMETASERVER { ... }
# }
#
# (Option 3) Optional configuration for creating external databases on the fly
#
# When a database is created on the fly, Altus Director generates a random database name using the
# specified database name prefix, a random username based on the specified username prefix, and a
# random password. The password is stored by Altus Director and made available to the service that uses the database.
# If multiple services reference the same external database server, Altus Director will create a database for each.
#
# MySQL limits usernames to sixteen characters. Therefore, limit usernamePrefix values for databases on MySQL to
# seven characters; the remaining nine characters are used by the randomized suffix generated by Altus Director.
#
# Note that the databaseServerName must correspond to an external database server named above, which
# can be the provisioned RDS instance or another existing database server.
#
databaseTemplates {
CLOUDERA_MANAGER {
name: scmt
databaseServerName: rds-mysql-prod1
databaseNamePrefix: scm
usernamePrefix: scmu
}
ACTIVITYMONITOR {
name: amont
databaseServerName: rds-mysql-prod1
databaseNamePrefix: amon
usernamePrefix: amonu
}
REPORTSMANAGER {
name: rmant
databaseServerName: rds-mysql-prod1
databaseNamePrefix: rman
usernamePrefix: rmanu
}
NAVIGATOR {
name: navt
databaseServerName: rds-mysql-prod1
databaseNamePrefix: nav
usernamePrefix: navu
}
NAVIGATORMETASERVER {
name: navmst
databaseServerName: rds-mysql-prod1
databaseNamePrefix: navms
usernamePrefix: navmsu
}
}
#
# Configuration to override Cloudera Manager package repositories. These are
# optional, and default to the Cloudera Enterprise release corresponding to
# the Altus Director version.
#
# repository: "https://archive.cloudera.com/cm6/6.3/redhat7/yum/"
# repositoryKeyUrl: "https://archive.cloudera.com/cm6/6.3/redhat7/yum/RPM-GPG-KEY-cloudera"
# OR use an existing Cloudera Manager installation
# hostname: "192.168.33.10"
# username: REPLACE-ME # default is admin
# password: REPLACE-ME # default is admin
#
# Optional configuration for Cloudera Manager and its management services
#
# Configuration properties for CLOUDERA_MANAGER are documented at
# https://www.cloudera.com/documentation/enterprise/6/properties/6.3/topics/cm_props_cmserver.html
#
# Configuration properties for the Cloudera Management services are documented at
# https://www.cloudera.com/documentation/enterprise/6/properties/6.3/topics/cm_props_mgmtservice.html
#
# Configuration properties for Hosts are documented at
# https://www.cloudera.com/documentation/enterprise/6/properties/6.3/topics/cm_props_host.html
#
configs {
#
# CLOUDERA_MANAGER corresponds to the Cloudera Manager Server configuration options
#
CLOUDERA_MANAGER {
# enable_api_debug: true
custom_banner_html: "Managed by Cloudera Altus Director"
#
# Kerberos Configurations
#
#
# The type of KDC Cloudera Manager will be using. Valid values are "MIT KDC"
# and "Active Directory"
#
# KDC_TYPE: "Active Directory"
#
# The KDC host name or IP address.
#
# KDC_HOST: "KDC_HOST-REPLACE-ME"
#
# The security realm that your KDC uses. This will be of the format of a fully
# qualified domain name:
# YOUR.KDC.REALM
#
# SECURITY_REALM: "SECURITY_REALM-REPLACE-ME"
#
# The Active Directory KDC domain. Only applicable to Active Directory KDCs. This
# will be in the format of an X.500 Directory Specification:
# DC=domain,DC=example,DC=com
#
# AD_KDC_DOMAIN: "AD_KDC_DOMAIN-REPLACE-ME"
#
# Allow Cloudera Manager to deploy Kerberos configurations to hosts. This should
# be set to true unless you have an alternate mechanism to generate or retrieve the
# Kerberos configuration on your Cloudera Manager node instances.
#
# KRB_MANAGE_KRB5_CONF: true
#
# The encryption types your KDC supports. Some of those listed below will require the
# unlimited strength JCE policy files.
#
# KRB_ENC_TYPES: "aes256-cts aes128-cts des3-hmac-sha1 arcfour-hmac des-hmac-sha1 des-cbc-md5 des-cbc-crc"
#
# There are many more optional Kerberos configuration options available to Cloudera Manager.
# Please refer to the Kerberos section of Cloudera Enterprise documentation for more details.
#
#
# Workload Analytics
#
#
# The following config options are necessary to enable Workload Analytics. Additionally, an external
# Altus Account must be added via the external accounts section, which should be referenced by the
# telemetry_altus_account configuration option.
#
# telemetry_master: true
# telemetry_wa: true
# telemetry_collect_job_logs: true
# telemetry_altus_account: AltusAccount
}
#
# CLOUDERA_MANAGEMENT_SERVICE corresponds to the Service-Wide configuration options
#
# CLOUDERA_MANAGEMENT_SERVICE {
# enable_alerts : false
# enable_config_alerts : false
# }
#
# SERVICEMONITOR { ... }
#
# ACTIVITYMONITOR { ... }
#
# HOSTMONITOR { ... }
#
# REPORTSMANAGER { ... }
#
# EVENTSERVER { ... }
#
# ALERTPUBLISHER { ... }
#
# NAVIGATOR { ... }
#
# NAVIGATORMETASERVER { ... }
#
# # Configuration properties for all hosts
# HOSTS { ... }
}
#
# Deployment Post-create Scripts
#
# Provide scripts, that run as root, which can customize the Cloudera Manager
# instance after the deployment has been created. Scripts run in the order
# listed. Interpeters other than sh/bash may be used.
#
# Use exit code 0 to indicate success.
# Use exit code 91 to indicate an unretryable failure.
# Altus Director will automatically retry script execution for all other exit codes.
#
# Deployment post-creation scripts have access to the following environment
# variables:
#
# DEPLOYMENT_HOST_PORT
# ENVIRONMENT_NAME
# DEPLOYMENT_NAME
# CM_USERNAME
# CM_PASSWORD
#
# Script content can be provided in a simple string, or as part of of an object
# with an ID (for easier tracking) and an optional map of additional environment
# variables to set before running the script. Environment variables set here
# override the values of default ones above.
#
postCreateScripts: ["""#!/bin/sh
echo 'Hello World!'
exit 0
""",
{
id: depPostCreateScript2,
env {
KEY1: VALUE1
KEY2: VALUE2
},
content: "echo The values are $KEY1 and $KEY2"
},
"""#!/usr/bin/python
print 'Hello again!'
"""]
#
# More complex scripts can be supplied via local filesystem paths. They will
# run after any scripts supplied in the previous postCreateScripts section.
# postCreateScriptsPaths: ["/tmp/test-script.sh",
# {
# id: postCreateScriptFromPath2,
# env: {
# KEY3: VALUE3
# },
# path: "/tmp/test-script.py"
# }
# ]
#
#
# Optional custom service descriptors for external parcels
#
# csds: [
# "https://archive.cloudera.com/exampleProduct/csd/example-csd.jar"