skanduri1987 / SEBC

0 stars 0 forks source link

CM Lab Upgrade Cloudera Manager #14

Open skanduri1987 opened 6 years ago

skanduri1987 commented 6 years ago

started working on it

skanduri1987 commented 6 years ago

Below are the sequence of steps:

  1. stop all the services in cluster and stop clouderamanager and agent packages.

  2. Take the cm datbase backup for safer side.

  3. Update JDK if required. I have installed JDK1.8.

  4. Update the repo file with the latest version as below .

    cloudera-cdh5]

    Packages for Cloudera's Distribution for Hadoop, Version 5, on RedHat or CentOS 7 x86_64

    name=Cloudera's Distribution for Hadoop, Version 5 baseurl=https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/5/ gpgkey =https://archive.cloudera.com/cdh5/redhat/7/x86_64/cdh/RPM-GPG-KEY-cloudera
    gpgcheck = 1

  5. Do all the sanity checks before upgrade like selinux, firewall settings.

  6. Start Upgrade using commands yum upgrade cloudera-manager-server cloudera-manager-daemons and cloudera-manager-agent on all the hosts belongs to this cluster hosts.

  7. start the services Datatabase, cloudera manager server,cloudera manager agent.

  8. do the sanity check and confirm the upgrade.

Command Line checks:

  1. Report the latest available version of the API
  2. Report the CM version curl -u admin:admin -G http://10.130.8.71:7180/api/version
  3. List all CM users
  4. Report the database server in use by CM
skanduri1987 commented 6 years ago

Help required in writing the curl commands to get information on database server and CM users