Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit b21f1bf

Browse files
committed
Updated README
1 parent 222a3b9 commit b21f1bf

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

v6/scripts/README.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ All scripts in this location are referenced for deployment automation
66
* cm_boot_postgres.sh can be used instead of cm_boot_mysql.sh if you want to use Postgres for Cloudera Manager and Cluster Metadata.
77
* deploy_on_oci.py is the primary Python script invoked to deploy Cloudera EDH v6 using cm_client python libraries
88

9+
# CloudInit boot scripts
10+
11+
With the introduction of local KDC for secure cluster, this requires some setup at the instance level as part of the bootstrapping process. To facilitate local KDC, this automation is inserted into the Cloudera Manager CloudInit boot script. There is also a dependency for krb5.conf on the cluster hosts, prior to enabling Cloudera Manager management of these Kerberos client files. KDC setup depends on a few parameters which can be modified prior to deployment:
12+
13+
* boot.sh
14+
* kdc_server - This is the hostname where KDC is deployed (defaults to Cloudera Manager host)
15+
* realm - This is set to hadoop.com by default.
16+
* REALM - This is set to HADOOP.COM by default.
17+
* cm_boot_mysql.sh -
18+
* KERBEROS_PASSWORD - This is used for the root/admin account.
19+
* SCM_USER_PASSWORD - By default the cloudera-scm user is given admin control of the KDC. This is required for Cloudera Manager to setup and manage principals, and the password here is used by that account.
20+
* kdc_server - Defaults to local hostname.
21+
* realm - This is set to hadoop.com by default.
22+
* REALM - This is set to HADOOP.COM by default.
23+
* cm_boot_postgres.sh - Same items as cm_boot_mysql.sh
24+
* deploy_on_oci.py
25+
* realm - This is HADOOP.COM by default.
26+
* kdc_admin - Set to cloudera-scm@HADOOP.COM by default.
27+
* kdc_password - This should match what is set in the CM boot script for SCM_USER_PASSWORD.
28+
29+
It is highly suggested you modify at a minimum the default passwords prior to deployment.
930

1031
## CAUTION WHEN MODIFYING BOOT SCRIPTS
11-
Because boot.sh and cm_boot.sh are invoked as part of user_data in Terraform, if you modify these files and re-run a deployment, existing instances will be destroyed and re-deployed because of this change.
32+
Because boot.sh and cm_boot_mysql.sh/cm_boot_postgres.sh are invoked as part of user_data in Terraform, if you modify these files and re-run a deployment, default behavior is existing instances will be destroyed and re-deployed because of this change.

0 commit comments

Comments
 (0)