Upgrading to CFM 2.0.1

To upgrade from CFM 1.1.0 to CFM 2.0.1, you must stop the CFM services, update the CSD files, restart the SCM Server, and activate the new CFM parcel.

Cloudera recommends that you upgrade from CFM version 1.1.0 to 2.0.1

If you must upgrade from CFM version 1.0.x, you should first upgrade to CFM 1.1.0. See the Upgrade documentation for CFM 1.1.0 for more information.

Before you begin the CFM upgrade, ensure that you have completed the steps to:

  • Turn off TLS regeneration.
  • Back up your keystore and truststore settings for NiFi and NiFi Registry.
  1. Stop NiFi, NiFi Registry, and NiFi CA Service in this order.
  2. Delete the old CSD files.
  3. Download the new CSD files.
    The default CSD location is /opt/cloudera/csd, but you can configure that location from Cloudera Manager Administration | Settings | Local Descriptor Repository Path.

    Ensure that you maintain the appropriate file ownership and access attributes and SELinux permissions if needed.

  4. Download the new CFM parcel and .sha checksum file appropriate for your operating system.
    The default parcel location is /opt/cloudera/parcel-repo/.

    Ensure that you maintain the appropriate file ownership and access attributes and SELinux permissions if needed.

  5. Restart the cloudera-scm-server service:
    service cloudera-scm-server restart
  6. In Cloudera Manager, from the Parcels page, distribute and activate the CFM parcel to which you want to upgrade.
    After clicking Activate, the Activate CFM 2.0.1.0 on <cluster-name> pop-up displays. Click Activate Only, and then OK.
  7. Optionally, to clean up, remove the older parcels from the host.
    1. From the Parcel menu, go to the older CFM parcel.
    2. Select Remove From Host.
    3. Select Delete.

Once you have completed the upgrade, perform the following additional tasks:

  • Set the keystore and truststore settings with the values from your backup.
  • Turn off identity mapping for both NiFi and NiFi Registry.
  • Start the NiFi and NiFi Registry.
  • Optionally, you can remove the NiFi CA service.