Nithinraot / SEBC

0 stars 0 forks source link

Install CM #9

Open Nithinraot opened 6 years ago

Nithinraot commented 6 years ago

Create the Issue Install CM Assign yourself and label it started Install Cloudera Manager on the second node listed in 0_setup.md List the command and output for ls /etc/yum.repos.d in challenges/labs/1_cm.md Copy cloudera-manager.repo to challenges/labs/2_cloudera-manager.repo.md Connect Cloudera Manager Server to its database Use the scm_prepare_database.sh script to create the db.properties file List the full command and its output in 2_properties.md Add the db.properties file content to 2_properties.md Start the Cloudera Manager server In challenges/labs/2_cm_startup.md add: The first line of the server log The line(s) that contain the phrase "Started Jetty server" Push these changes to GitHub and label the Issue review Assign the issue to the instructor

Nithinraot commented 6 years ago

Lines that contains jetty server -> 2018-05-17 07:16:26,286 INFO WebServerImpl:org.mortbay.log: Started SelectChannelConnector@0.0.0.0:7180 2018-05-17 07:16:26,286 INFO WebServerImpl:com.cloudera.server.cmf.WebServerImpl: Started Jetty server.

Nithinraot commented 6 years ago

[root@ip-172-31-38-16 schema]# ./scm_prepare_database.sh mysql -h ip-172-31-38-16 scm scm Enter SCM password: JAVA_HOME=/usr/java/jdk1.8.0_121-cloudera Verifying that we can write to /etc/cloudera-scm-server Creating SCM configuration file in /etc/cloudera-scm-server Executing: /usr/java/jdk1.8.0_121-cloudera/bin/java -cp /usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/cmf/schema/../lib/* com.cloudera.enterprise.dbutil.DbCommandExecutor /etc/cloudera-scm-server/db.properties com.cloudera.cmf.db. [ main] DbCommandExecutor INFO Successfully connected to database. All done, your SCM database is configured correctly!