Install NCC

Upgrading NCC by Uploading Binary and Metadata Files

Nutanix Install NCC

Installing NCC from an Installer File

Installs the Nutanix Cluster Check (NCC) health script to test for potential issues and cluster health.

  1. Download the installation file to any controller VM in the cluster and copy the installation file to the /home/nutanix directory.
  2. Check the MD5 value of the file. It must match the MD5 value published on the support portal. If the value does not match, delete the file and download it again from the support portal.
  3. nutanix@cvm$ md5sum ./ncc_installer_filename.sh

  4. Perform these steps for NCC versions that include a single installer file (ncc_installer_filename.sh)
    1. Make the installation file executable.
    2. nutanix@cvm$ chmod u+x ./ncc_installer_filename.sh

    3. Install NCC.
    4. nutanix@cvm$ ./ncc_installer_filename.sh

    5. The installation script installs NCC on each node in the cluster.
    6. NCC installation file logic tests the NCC tar file checksum and prevents installation if it detects file corruption.
    7. If it verifies the file, the installation script installs NCC on each node in the cluster.
    8. If it detects file corruption, it prevents installation and deletes any extracted files. In this case, download the file again from the Nutanix support portal.
  5. Perform these steps for NCC versions that include an installer file inside a compressed tar file (ncc_installer_filename.tar.gz).
    1. Extract the installation package.
    2. nutanix@cvm$ tar xvmf ncc_installer_filename.tar.gz –recursive-unlink

    3. Replace ncc_installer_filename.tar.gz with the name of the compressed installation tar file.
    4. The --recursive-unlink option is needed to ensure old installs are completely removed.
    5. Run the install script. Provide the installation tar file name if it has been moved or renamed.
    6. nutanix@cvm$ ./ncc/bin/install.sh [-f install_file.tar]

    7. The installation script copies the install_file.tar tar file to each node and install NCC on each node in the cluster.
  6. Check the output of the installation command for any error messages.
    • If installation is successful, a Finished Installation message is displayed. You can check any NCC-related messages in /home/nutanix/data/logs/ncc-output-latest.log.
    • In some cases, output similar to the following is displayed. Depending on the NCC version installed, the installation file might log the output to /home/nutanix/data/logs/ or /home/nutanix/data/serviceability/ncc.

Copying file to all nodes [DONE]
—————————————————————————–+
+—————+
| State | Count |
+—————+
| Total | 1 |
+—————+
Plugin output written to /home/nutanix/data/logs/ncc-output-latest.log
[ info ] Installing ncc globally.
[ info ] Installing ncc on 10.130.45.72, 10.130.45.73
[ info ] Installation of ncc succeeded on nodes 10.130.45.72, 10.130.45.73.

Leave a Reply

Your email address will not be published. Required fields are marked *