Run the extraction for CDH 6 with Cloudera Manager 6

Extraction must be executed for all Navigator Metadata Server clusters prior to the Cloudera Manager upgrade. 

  1. Determine the required information for the extraction:
    • Planned host for the Atlas service
    • JAVA_HOME location
    • Navigator Metadata Server cluster names
    • Navigator Metadata Server admin users
    • Keystore and truststore paths and passwords
    $ ssh <planned Atlas host>
    $ export JAVA_HOME=…
    $ /opt/cloudera/cm-agent/service/navigator/cnav.sh -n http://<NAVIGATOR_METADATA_HOST>:7187 -u<NAVIGATOR_USERNAME> -p<NAVIGATOR_PASSWORD> -c ‘<CLUSTER_NAME>’ -o ‘/tmp/nav2atlas/<cluster_name>_navigator_data.zip’
  2. Open a terminal window or command prompt from where you can access the cluster.
  3. Using the provided command, SSH into the Atlas host.
  4. Run the export command pointing to the location of the JDK, to make sure the JAVA_HOME variable is set.
  5. Customize the extraction command to include the Navigator admin user and password.
  6. Run the extraction command.
When the extraction is complete, you can view a status message in the command output.
    If Navigator is configured with TLS/SSL, the cnav script needs the following credential information:
    • Truststore path
    • Truststore password
    • Keystore path
    • Keystore password

    To make these parameters available, run the following commands before running the cnav script:

    export KEYSTORE_PATH=<keystore-path>;

    export KEYSTORE_PASSWORD=<keystore-password>;

    export TRUSTSTORE_PATH=<truststore-path>;

    export TRUSTSTORE_PASSWORD=<truststore-password>

    For example, the command sequence might look similar to the following (line breaks are introduced for readability):

    export KEYSTORE_PATH=/opt/cloudera/CMCA/trust-store/acme_truststore.jks;

    export

    KEYSTORE_PASSWORD=Q01FAeH53dn1HLY74D68Kk1yMAQVGtOI_cLznArccid48DDzS0VXY-DWnzpz0Ug10BvikGMoovYaZT2EEEdBGgLPiDCRKHyzFExE3OITRGazjKPtZxAaXOUzgKMMmQQgJKw-5JW9I6WgLGBhCpKfBa7vP3z6PFtm6XfYB-o3R6qmcdzZLwslDIQ18mowuFV1ouQIzA;
    export
                                TRUSTSTORE_PATH=/var/lib/cloudera-scm-agent/agent-cert/cm-auto-host_keystore.jks; 
    export TRUSTSTORE_PASSWORD=123420978alngdfdfjliaiu;
    /opt/cloudera/cm-agent/service/navigator/cnav.sh -n
                            https://acme-finance-1.acme-finance:7187 -u admin -p adminpass -c "Cluster 2" -o
                            /tmp/nav2atlas/nav2altas_nav_export.zip

    You must uninstall cloudera-manager-cnav on the following operating systems:

    On Red Hat/CentOS/SLES operating systems:

    yum remove cloudera-manager-cnav

    On Debian/Ubuntu operating systems:

    apt remove cloudera-manager-cnav