Installing CFM parcel and CSD files

For installing Cloudera Flow Management (CFM), you need to add the CFM parcel to your cluster using Cloudera Manager to make NiFi and NiFi Registry available for installation.. You also need to upload the NiFi and NiFi Registry Custom Service Descriptor (CSD) files to the default CSD directory. Custom Service Descriptor (CSD) files contain configuration information needed to describe and manage a new service.

  • You have installed a JDK. For more information, see Installing the JDK.
  • You have installed and configured a database for use with NiFi Registry. For more information, see Installing and configuring a database for NiFi Registry.
  • You have installed a CDP Private Cloud Base cluster. For more information, see Installing Cloudera Manager and a CDP Private Cloud Base cluster.
  1. Log into Cloudera Manager.
  2. Navigate to the Parcels page by selecting Hosts > Parcels.
  3. Click Parcel Repository & Network Settings.
  4. On the Parcel Repository & Network Settings page, click + to add an additional row in the Remote Parcel Repository URLs list.
  5. Add the URL of the CFM parcel repository where the parcel file you wish to install is hosted.
    RHEL/CentOS 7
    https://archive.cloudera.com/p/cfm2/2.1.6.0/redhat7/yum/tars/parcel/
    RHEL/CentOS 8
    https://archive.cloudera.com/p/cfm2/2.1.6.0/redhat8/yum/tars/parcel/
    SLES 12
    https://archive.cloudera.com/p/cfm2/2.1.6.0/sles12/yum/tars/parcel/
    Ubuntu 18
    https://archive.cloudera.com/p/cfm2/2.1.6.0/ubuntu18/apt/tars/parcel/
    Ubuntu 20
    https://archive.cloudera.com/p/cfm2/2.1.6.0/ubuntu20/apt/tars/parcel/

    See Download locations for a complete list of parcel links.

  6. Click Save & Verify Configuration.
    The new CFM parcel is displayed on the Parcels page.
  7. Click Download next to CFM to download the parcel to the local repository.
  8. When the download is completed, click Distribute to distribute the parcel to all clusters.
  9. Download the CSD files for NiFi and NiFi Registry and place them in the default CSD directory: /opt/cloudera/csd
    For example: Use the following wget commands to download the required CSD files for CFM 2.1.6 SP1 on RHEL7/CentOS7.
    wget https://<username>:<password>@archive.cloudera.com/p/cfm2/2.1.6.1000/redhat7/yum/tars/parcel/NIFI-1.23.1.2.1.6.1000-47.jar 
    
    wget https://<username>:<password>@archive.cloudera.com/p/cfm2/2.1.6.1000/redhat7/yum/tars/parcel/NIFIREGISTRY-1.23.1.2.1.6.1000-47.jar
  10. Change the ownership of the CSD files.

    In /opt/cloudera/csd, enter:

    chown cloudera-scm:cloudera-scm /opt/cloudera/csd/*
    chmod 644 /opt/cloudera/csd/*
  11. Restart the Cloudera Manager Server.
    sudo service cloudera-scm-server restart
    
  12. Go back to Cloudera Manager, click Clusters > Cloudera Management Service and click Actions > Restart to restart the service.
  13. Navigate to the Parcels page by selecting Hosts > Parcels.
  14. Click Activate next to CFM in the parcel list to activate the CFM parcel.
  15. Click OK when confirmation is required.

You have completed your CDP Private Cloud Base installation. You can now proceed with installing, securing, and configuring CFM.

You can install NiFi and NiFi Registry on the Base cluster, on a Compute cluster, or in a hybrid setup. To decide which option is best for you, see the CFM installation workflow.