Skip to main content

Install Cluster

Before proceeding, ensure the node’s boot device is set to USB in BIOS (if you are using a USB boot device). Typically, you will need to press a function key or the escape key to enter the BIOS settings. The hotkey needed typically displays during POST. If it does not, consult the hardware vendor instruction manual.

Procedure

danger

The deployment process destroys any pre-existing data on all drives!

  1. Insert the USB stick and power on the node. The machine should boot to the image loaded on the USB drive.
  2. When prompted, enter install as the username, and leave the password blank.
  3. Select the appropriate keyboard layout using the arrow keys.
  4. Read the warning about the destructive testing and use tab to select “Proceed.”
  5. Press “Enter” to proceed with installation.

Figure 2: Initial Install Screen

Initial install screen

Source: Nutanix. (2020). “Getting Started with Nutanix Community Edition”

  1. Enter the IP address, subnet mask and gateway information for the node (host) and the CVM. Use the Tab or arrow keys to go to the next field.
  2. Use the space bar to select “Create a Single Node Cluster” if applicable.
info

If you are creating a single-node cluster, the installer will also prompt you to enter a Domain Name Service (DNS) server IP. If the customer does not have an internal DNS server, you can use an IP from a public DNS service such as Google Public DNS (8.8.8.8 or 8.8.4.4) (Google, LLC, n.d.)

  1. Accept the End User License Agreement (EULA).
  2. Use Tab to highlight “Start,” and press “Enter.”

Figure 3: Post-Install Configuration

Source: Nutanix. (2020). “Getting Started with Nutanix Community Edition”

When the installation completes, you will see a “Imaging Process Completed Successfully” message. The CVM will then start. Please allow about 5 minutes for all CVM services to start.

  1. Open a web browser and enter the IP of the CVM. The management console will display:

Figure 4: Prism Element Initial Login Screen

Source: Nutanix. (2020). “Getting Started with Nutanix Community Edition”

  1. Enter the default password of nutanix/4u. The system will prompt you to change it. Have the customer enter a secure password of his/her choice.
  2. Have the customer enter his/her NEXT credentials to finish registering the cluster. This is the account created in the "Licensing" section on the software requirements page.
info

See “Default Nutanix passwords” in the appendix for a list of default passwords for various components of the Nutanix system. All default passwords are well known and should be changed after deployment. The appendix also contains instructions on how to change these passwords.

  1. At the login prompt shown after installing Community Edition, log into the node. The username is root and the default password is nutanix/4u.
  2. Log into the CVM via secure shell (SSH). The username is nutanix, and the default password is nutanix/4u.

Cluster Configuration

note

If you are creating a multi-node cluster, skip to “Creating a Multi-Node Cluster.”

Creating a Single-Node Cluster

  1. Connect to the CVM using SSH.
  2. Create the cluster by entering the following command, where cvm_ip is the CVM’s IP address:
cluster -s cvm_ip --redundancy_factor=1 create

A series of messages informs you that the cluster is being created and services are starting. When the process is finished, a “cluster created message” is displayed.

  1. Configure one or more DNS servers by entering the following command, where dns_server is either a single IP, or a comma-separated list of multiple IPs:
ncli cluster add-to-name-servers servers="dns_server"

You can specify either internal DNS IP addresses, or use a public DNS service such as Google Public DNS (8.8.8.8 and 8.8.4.4).

  1. Verify the configuration:
ncli cluster get-name-servers

(Nutanix, Inc., 2020)

Creating a Multi-Node Cluster

info

You will need another IP address, which Nutanix calls the “external IP address,” to use as the cluster IP. This IP is used to access Prism, the management interface for the cluster. Nutanix recommends using a static IP for the external IP. Despite its name, the external IP should be LAN-facing only, and NOT accessible from the internet.

  1. Connect to a CVM using SSH.
  2. Create the cluster by entering the following command, where cvm_ip_addresses is a comma-separated list of all the CVM IP addresses that will be part of the cluster:
cluster -s cvm_ip_addresses create
  1. Start your new cluster:
cluster start

A series of messages should display, indicating a status of UP for each node in the cluster.

Configure Cluster

  1. Define the name of the cluster by entering the following command, where cluster_name is the desired cluster name:
ncli cluster edit-params new-name=cluster_name
  1. Configure one or more DNS servers using the following command, where dns_server is a single DNS server, or a comma-separated list of servers:
ncli cluster add-to-name-servers servers="dns_server"
  1. Confirm the new DNS settings:
ncli cluster get-name-servers
  1. Configure Network Time Protocol (NTP) servers, where ntp_server is a single NTP server, or a comma-separated list of servers. You can use the customer’s internal NTP servers (if applicable), or external sources such as the time.nist.gov NTP server pool:
ncli cluster add-to-ntp-servers servers="ntp_server"
  1. Configure the external IP (cluster IP), where cluster_ip_address is the cluster IP:
ncli cluster set-external-ip-address \ external-ip address="cluster_ip_address"

(Nutanix, Inc., 2020)