Installing Cloudera Manager Server

pre-requite for Cloudera Manager installation
———————————————-
# Confirm that Java version is 1.8.x_xxx
java -version


# Confirm that JAVA_HOME is /usr/java/default
echo $JAVA_HOME


# Confirm that the PATH variable includes /usr/java/default/
echo $PATH


# Confirm Python 2.7 is installed
rpm -q python-2.7*


# mysqld.service service should be active (running)
systemctl status mysqld


# Confirm SELinux status is disabled
sestatus


# Notice the IPv4 address for eth0, confirm there is no IPv6 address
ip addr show


# Confirm firewalld.service is disabled
systemctl list-unit-files | grep firewalld


# HugePages_Total should be 0
cat /proc/meminfo | grep -i hugepages_total


# Confirm vm.swappiness is between 1 and 10
cat /proc/sys/vm/swappiness


# Confirm that the chronyd.service service is active
systemctl status chronyd


# Confirm that mysql-connector-java.jar is present based on the type of db use
ls -l /usr/share/java/mysql*

Create requird DB Schemas with help of DB Ex.scm for CM

Installation of Cloudera Manager and agents

Download the required cloudera manager server agent and demons .
on Cloudera manager install


yum localinstall cloudera-manager-daemons-xxxpxxx.rpm cloudera-manager-server-xxxpxxx.rpm cloudera-manager-agent-xxxpxxx.rpm


on the remaining nodes


yum localinstall cloudera-manager-daemons-xxxpxxx.rpm cloudera-manager-agent-xxxpxxx.rpm

start cloudera manager server –> systemctl start cloudera-scm-server


verify staus –> systemctl status cloudera-scm-server
restart CM –> systemctl restart cloudera-scm-server

start cloudera manager agent–> systemctl start cloudera-scm-agent
verify staus –> systemctl status cloudera-scm-agent
restart agent–> systemctl restart cloudera-scm-agent

Creating Default tables and Seeding Data in CM
/opt/cloudera/scm/schema/scm_prepare_database.sh mysql -h dbhost -P
run above by replacing the values . It should be able to connect DB successfully

Now start Cloudera Manager

verify logs /var/log/cloudera-scm-server/cloudera-scm-server.log


Login to CM URL : http://CMHOST:7080/


default userid and password is admin/admin .you can change password later

Now CM installed successfully and login to Create cluster …once done login looks like below with all the components that we maintain .

CM -Admin console

Related Posts

Leave a Reply

Your email address will not be published.