Install NCC
Upgrading NCC by Uploading Binary and Metadata Files
Installing NCC from an Installer File
Installs the Nutanix Cluster Check (NCC) health script to test for potential issues and cluster health.
- Download the installation file to any controller VM in the cluster and copy the installation file to the /home/nutanix directory.
- 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.
- Perform these steps for NCC versions that include a single installer file (ncc_installer_filename.sh)
- Make the installation file executable.
- Install NCC.
- The installation script installs NCC on each node in the cluster.
- NCC installation file logic tests the NCC tar file checksum and prevents installation if it detects file corruption.
- If it verifies the file, the installation script installs NCC on each node in the cluster.
- 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.
nutanix@cvm$ chmod u+x ./ncc_installer_filename.sh
nutanix@cvm$ ./ncc_installer_filename.sh
nutanix@cvm$ md5sum ./ncc_installer_filename.sh
- Extract the installation package.
- Replace ncc_installer_filename.tar.gz with the name of the compressed installation tar file.
- The
--recursive-unlink
option is needed to ensure old installs are completely removed.
nutanix@cvm$ tar xvmf ncc_installer_filename.tar.gz –recursive-unlink
nutanix@cvm$ ./ncc/bin/install.sh [-f install_file.tar]
- 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.