Downloading and Preparing CNC NF Data Collector

Perform this procedure to download Cloud Native Core (CNC) Network Function (NF) Data Collector Images and Helm files from Oracle Software Delivery Cloud (OSDC) and prepare CNC NF Data Collector for execution.
Ensure that you have completed the prerequisites as described in Prerequisites.
  1. Download the following files from OSDC:
    • CNC NF Data Collector package file: <name>-pkg-<marketing-release-number>.tgz
      Example:
      ocnfDataCollector-pkg-1.1.0.0.0.tgz
    • ReadMe file: <name>-pkg-<marketing-release-number>-README.txt
      Example:
      ocnfDataCollector-pkg-1.1.0.0.0-README.txt
  2. Execute the following command to untar the CNC NF Data Collector package:
    tar -xvf <<name>-pkg-<marketing-release-number>>.tgz
    The system creates the <<nfname>-pkg-<marketing-release-number>> directory, which contains the following items:
    ocnfDataCollector-pkg-1.1.0.0.0.tgz
               |_ _ _ _ _ _ ocnf-data-exporter-1.1.0.tgz (Helm Charts)
               |_ _ _ _ _ _ ocnf-data-loader-1.1.0.tgz (Helm Charts)
               |_ _ _ _ _ _ ocnfDataCollector-image-1.1.0.tar (Docker Images)
               |_ _ _ _ _ _ exporter-custom-values.yaml
               |_ _ _ _ _ _ loader-custom-values.yaml
  3. Verify the checksum of packages from the <name>-pkg-<marketing-release-number>-README.txt file.
    cksum ocnfDataCollector-pkg-1.1.0.0.0-README.txt
    2932245484 2256 ocnfDataCollector-pkg-1.1.0.0.0-README.txt
  4. Execute the following command to load the images to the local registry:
    docker load --input ocnfDataCollector-image-1.1.0.tar
  5. Execute the docker images command to check whether all the images are loaded.
  6. Execute the following commands to push the docker images to docker registry:
    docker tag <image-name>:<image-tag> <docker-repo>/<image-name>:<image-tag>
    docker push <docker-repo>/<image-name>:<image-tag>
    docker tag cnc-nfdata-collector:1.1.0 kingbastion-2:5000/cnc-nfdata-collector:1.1.0
  7. Execute the following commands to untar the helm files:
    • tar -xvzf <file name>: To untar the ocnf-data-exporter-1.1.0.tgz file if you want to collect the data on the required system.

      Where, <file name> indicates the file name, for example, tar -xvzf ocnf-data-exporter-1.1.0.tgz.

      The system creates a directory with the name ocnf-data-exporter. This directory contains the following files: Chart.yaml, nf-tools, templates, and values.yaml.

    • tar -xvzf <file name>: To untar the ocnf-data-loader-1.1.0.tgz file if you want to import the data into the required system.

      Where, <file name> indicates the file name, for example, tar -xvzf ocnf-data-loader-1.1.0.tgz.

      The system creates a directory with the name ocnf-data-loader. This directory contains the following files: Chart.yaml, templates, and values.yaml.