Nutanix Community Edition Getting Started
Nutanix Community Edition Getting Started
Nutanix Community Edition Getting Started
Support for and Learning More About Community Edition and Acropolis
(AOS)............................................................................................................... 4
Creating a Cluster........................................................................................... 12
Creating a Single-node Cluster.................................................................................................................12
Creating and Configuring a Multi-Node Cluster Manually........................................................................ 13
Destroying a Cluster..................................................................................................................................14
Getting Started................................................................................................ 16
Configuring Proxy Server Settings Before Logging Into the Web Console...............................................16
Logging Into the Web Console................................................................................................................. 17
Creating the Datastore: Storage Pool and Container............................................................................... 17
Creating a VM by Using the Web Console.............................................................................................. 19
Troubleshooting.............................................................................................. 23
Recovering From USB Failure (CE)......................................................................................................... 23
Recovering From SSD Failure (CE)......................................................................................................... 23
Recovering From CVM Error (CE)............................................................................................................24
Copyright..........................................................................................................25
WELCOME TO NUTANIX COMMUNITY
EDITION
Nutanix Community Edition is a free version of Nutanix AOS, which powers the Nutanix Enterprise Cloud Platform.
The Community Edition of AOS is designed for people interested in test driving its main features on their own test
hardware and infrastructure. As stated in the license agreement, Community Edition is intended for internal business
operations and non-production use only.
Before you begin, consider that the commercially available Nutanix NX series systems are tuned for performance.
The enterprise-ready version of AOS is bundled as the engine driving our hyperconverged compute and storage
platform. You should not expect to achieve comparable benchmark numbers. For example, the NX series systems
include 10 GbE network interfaces, high core count dual CPUs, large amounts of memory, and high performance
enterprise-class solid-state drives (SSDs).
Even so, Community Edition performance is sufficient for a few VMs per node, given enough memory, CPU, and
network resources.
Single pane of glass control Prism web console to manage the cluster
Ability to add nodes to the cluster One, three, or four nodes can comprise a cluster
Ease of installation and use Install and boot the hypervisor and AOS
environment from the USB device
• Connect with other Community Edition users and download the Community Edition software at Nutanix Next
Community Edition Forum.
• Access Nutanix Hybrid Cloud Fundamentals course for NCA (Nutanix Certified Associate) certification.
• View videos about Community Edition at Nutanix nu.school YouTube channel - Getting Started with Community
Edition.
• Get more details about AOS, AHV, and other Nutanix features in the Nutanix documentation.
• Try Community Edition within minutes, with no hardware, no setup, and no cost for 2 hours at Community
Edition Test Drive.
Community Edition | Support for and Learning More About Community Edition and Acropolis (AOS) | 4
RECOMMENDED COMMUNITY EDITION
HARDWARE
The following table shows our recommendations for hardware to use with Community Edition, based on the hardware
we have tested. However, like other Community Edition users, you might find that other hardware works as well as
the recommended types. Visit the Community Edition Next forum for more details.
Network interface card (NIC) Intel-based NIC Some Community Edition users
have reported success using
Broadcom NICs
Storage Devices, All Drives Maximum number of SSD/HDD Some Community Edition users
drives per node is 4. have reported success using
more than 4 drives.
Storage Devices, Cold Tier 500 GB or greater available Hard disk drive (HDD) or Solid-
state drive (SSD) for cold-tier
Maximum 18 TB (3 x 6 TB HDDs)
storage
Boot device One 64 GB capacity device per Nutanix has successfully tested
node. It can be an external or and used external USB drives
internal device. and internal devices such as
a SATA DOM. USB 3.0 media
recommended.
Component Recommendation
DHCP Server If you are using a DHCP server, ensure that static
IP addresses are assigned for hypervisor hosts and
Controller VMs.
Nutanix recommends not to use dynamic IP addressing
for hosts or Controller VMs.
Imaging software
• Linux: use the included dd utility
• Mac OS X: use the included dd utility
• Windows: ImageUSB from PassMark Software
(freeware)
Requirement Enforcement
Admin account password change from default When you first logon to the Prism web console
with the admin account credentials, you must
immediately change the admin user password from
its default.
Nutanix Next account with logon credentials and the After you first logon to the Prism web console and
Community Edition role enabled change the admin credentials, you are prompted to
provide these credentials.
Outgoing TCP ports 80 or 8443 opened through An automated feedback mechanism named Pulse
your firewall that sends cluster alerts and usage statistics to
Nutanix requires Internet connectivity and port
access.
Install any pending Community Edition updates Nutanix make updates available occasionally. When
an upgrade is available, but not yet downloaded,
you must upgrade within 30 calendar days. Install
the available upgrade immediately once you have
downloaded it.
If you fail to meet these requirements, access to your
cluster will be blocked. The cluster remains operating but
you will be unable to log on to it.
Procedure
1. Ensure that you have a valid account and log on credentials for the Next Community Edition forum, and that the
account has the Community Edition role associated with it.
2. Download the Community Edition software at the Community Edition forum topic Nutanix Next Community
Download Software. The latest release is usually in the most recent topic in the thread.
4. Prepare the USB drive or other boot device with the downloaded image of the imaging software.
Tip: If you are using a Linux or Mac OS X environment, you can use the dd command to image the device:
dd if=ce.img of=/dev/sdX
where X is the USB drive letter.
• [Linux only] To find the USB drive letter, check the output of this command:
for i in /dev/sd?; do udevadm info --query=all --name=$i; done
What to do next
Have the following networking information ready for installation.
CAUTION: Nutanix recommends not to use dynamic IP addressing for hosts or Controller VMs. If you are using a
DHCP server, ensure that it is set to assign static IP addresses for hosts and Controller VMs.
Community Edition reserves IP addresses 192.168.5.0 through 192.168.5.254 for internal use. Nutanix
recommends using an IP address in the network ranges 10.x.x.x or 172.x.x.x for the Host and Controller
VM.
Host IP address
(for the Community Edition hypervisor host)
Host gateway
Controller VM IP address
(this becomes the virtual IP address that enables you to
log on and manage the cluster through the Prism web
console or an SSH terminal connection)
Controller VM gateway
Note: Do not remove the USB drive or device at any time during your use of Community Edition.
Procedure
1. Set the primary boot device to USB (or SATA DOM, if that is the case) on your server (also known as the node)
where you are going to install Community Edition.
2. If you are using an external boot device, insert the imaged USB drive or device into the node and restart the
node.
The node boots into the Nutanix Acropolis image.
5. Read the WARNING about how performance tests are run on the discovered disks.
» Press Tab to move to Proceed if you are OK with the I/O performance tests, which will erase any existing
data on the disks.
» Press Tab to move to Cancel if you must back up existing data before installing Community Edition. This
choice exits the installer.
7. Type the IP address information and use the Tab or arrow keys to go to the next field.
8. If you are creating a single-node cluster, press the spacebar to select Create single-node cluster?.
Note: A single-node cluster is created with redundancy factor 1. You cannot extend an existing single-node
cluster to a three- or four-node cluster, to automatically create a cluster with redundancy factor 2. To expand to
a three- or four-node cluster when you have a single-node cluster, destroy the cluster first, then create the new
cluster. See Destroying a Cluster on page 14.
9. Read and scroll through the license agreement, then go to the I accept the end user license agreement
checkbox.
10. Press the spacebar to select the checkbox, then move to Start and press Enter.
The installation process displays status messages to the screen. When you see the Imaging process
completed successfully message, it means that the process is complete and then the Controller VM begins
starting up.
What to do next
1. Log on to the Community Edition host, then open a secure shell session to the Controller VM IP address.
2. Configure a single-node or multi-node cluster.
3. See Getting Started on page 16.
Note:
CAUTION: If you created a single-node cluster during installation (that is, you selected the Create single-node
cluster? checkbox) you do not need to perform this procedure. This topic is included for reference only.
Procedure
1. At the logon prompt shown after installing Community Edition, log on to the Community Edition host. User name
is root and password is nutanix/4u.
2. Log on to the Controller VM through a secure shell session. User name is nutanix and password is
nutanix/4u.
For example: ssh nutanix@192.168.5.2
3. Create the single node cluster, where cvm_ip is the Controller VM's IP address.
nutanix@cvm$ cluster -s cvm_ip --redundancy_factor=1 create
A series of messages displays, indicating that the cluster is being created and cluster services are starting. When
the process is finished, a cluster created message is displayed and the prompt returns.
4. Configure one or more DNS servers, then verify that the settings are in place.
nutanix@cvm$ ncli cluster add-to-name-servers servers="dns_server"
Replace dns_server with the IP address of a single DNS server or with a comma-separated list of DNS server IP
addresses.
nutanix@cvm$ ncli cluster get-name-servers
• Do not remove the USB drive or device at any time during your use of Community Edition.
• A single-node cluster is created with redundancy factor 1. You cannot extend an existing single-node cluster to a
three- or four-node cluster, to automatically create a cluster with redundancy factor 2. To expand to a three-node
or four-node cluster when you have a single-node cluster, destroy the cluster first, then create the new cluster. See
Destroying a Cluster on page 14.
Note: As described, this procedure is performed from the Community Edition hypervisor host. You can also perform
it remotely by logging on to the Controller VM virtual IP address through a secure shell session. You specified this IP
address as part of installation (Preparing to Install Community Edition on page 8).
Procedure
1. At the logon prompt shown after installing Community Edition, log on to the Community Edition host. User name
is root and password is nutanix/4u.
2. Log on to the Controller VM through a secure shell session. User name is nutanix and password is
nutanix/4u.
For example: ssh nutanix@192.168.5.2
Destroying a Cluster
About this task
Destroying a cluster resets all nodes in the cluster to the factory configuration. All cluster configuration and
guest VM data are unrecoverable after destroying the cluster.
Procedure
CAUTION: Performing this operation deletes all cluster and guest VM data in the cluster.
Note: If cluster services are not DOWN, you cannot destroy the cluster. Other cluster issues also prevent
destroying a cluster. Connect with other Community Edition users at Nutanix Next Community Edition Forum
if you encounter issues while destroying a cluster.
(Optional) Configure your HTTP proxy server. Configuring Proxy Server Settings Before Logging Into
the Web Console on page 16
Ensure that your outgoing network ports 80 or 8443 Pulse is enabled by default after installation. You
are open. need these ports open as part of your Community
Edition licensing requirements.
Configure your storage by creating one storage pool Creating the Datastore: Storage Pool and Container on
(consisting of all physical disks in the cluster) and page 17
one container (a datastore consisting of all available
storage capacity in the pool).
Create and manage virtual machines. Creating a VM by Using the Web Console on
page 19
Check cluster health. The web console shows a summary of information
about the cluster. For health details, click Home >
Health. The Web Console Guide describes more in
the Health Monitoring topic.
Install any pending Community Edition updates. As updates are made available in future, this
Getting Started guide will describe how to install
them.
Configuring Proxy Server Settings Before Logging Into the Web Console
About this task
If you are deploying Community Edition behind a proxy server, you must use the Nutanix command-line
interface (nCLI) to configure a proxy server. This step helps ensure that Community Edition can validate
your credentials.
Procedure
1. At the logon prompt shown after installing Community Edition, log on to the Community Edition host. User name
is root and password is nutanix/4u.
2. Log on to the Controller VM through a secure shell session. User name is nutanix and password is
nutanix/4u.
For example: ssh nutanix@192.168.5.2
To update proxy settings, use the ncli http-proxy edit command with the same options above. To delete
the proxy, use the ncli http-proxy delete command with the same options above.
Procedure
1. Open a web browser and browse to http://management_ip_addr. Replace management_ip_addr with the IP
address of any Nutanix Controller VM in the cluster.
The browser is redirected to the encrypted port (9440) and displays an SSL certificate warning. Acknowledge the
warning and proceed to the site.
2. First-time logon: Do this step if you have logged on to your Community Edition cluster for the first time.
a. Log on with the default admin account user name and password of (Nutanix/4u).
b. When prompted, change the default admin password, then log on with the admin account user name and new
password.
c. Type your Nutanix Next Community account user name and password and press Enter or click the right arrow
icon.
Click +Create Account if you have not joined the Next Community. Community Edition checks to ensure that
the Community Edition role associated with your account is enabled.
3. After logging on for the first time. Log on with the admin account user name and new password.
Note: Advanced Settings include the ability to set the replication factor. For single-node clusters, you can
see the alert message Replication factor of oplog on container default is set to 1.
Obviously, you cannot select a replication factor of 2, and, as a result, single-node clusters do not provide
resiliency or High Availability features, as multi-node clusters do.
c. When all the field entries are correct, click the Save button.
a. Type: Select the type of storage device, DISK, or CDROM, from the pull-down list.
The following fields and options vary depending on whether you choose DISK, or CDROM.
b. Operation: Specify the device contents from the pull-down list.
• Select Clone from Image to copy an existing system image onto the device.
• Select Empty CDROM to create a blank CDROM device. (This option appears only when CDROM is
selected in the previous field.) A CDROM device is needed when you intend to provide a system image
from CDROM.
• Select Allocate on Container to allocate space without specifying an image. (This option appears only
when DISK is selected in the previous field.) Selecting this option means you are allocating space only.
Provide a system image later from a CDROM or other source.
c. Bus Type: Select the bus type from the pull-down list. The choices are IDE, SCSI, or SATA.
d. Path: Enter the path to the desired system image.
This field appears only when Clone from Image is selected. It specifies the image to copy. Enter the path
name as /container_name/iso_name.iso. For example to clone an image frommyos.iso in a container
named crt1, enter /crt1/myos.iso. When a user types the container name (/container_name/), a list
4. To create a network interface for the VM, click the plus symbol to the right of the NIC field.
The Create NIC dialog box appears.
a. VLAN ID: Select the target virtual LAN from the pull-down list.
The list includes all defined networks.
b. VLAN Details: This is a read-only field that displays the VLAN UUID.
c. Network Address/Prefix: This is a read-only field that displays the network IP address and prefix.
d. IP Address: Enter an IP address for the VLAN.
This field appears only if the NIC is placed in a managed network. Entering an IP address in this field is
optional when the network configuration provides an IP pool. If the field is left blank, the NIC is assigned an
IP address from the pool.
e. When all the field entries are correct, click the Create button to create the network interface for the VM and
return to the Create VM dialog box.
f. Repeat this step to create other network interfaces for the VM.
5. When all the field entries are correct, click the Save button to create the VM and close the Create VM dialog
box.
The new VM appears in the VM table view.
Procedure
2. Image a new USB drive with the desired CE image and boot into it.
4. On the first page, select a keyboard layout using the Up or Down arrow keys.
5. From the install options on the next page, choose Repair Host.
6. On the next page, enter the host IP address, netmask, and gateway information, and press Enter to repair the host.
After the repair, it will take approximately 2 minutes for the CVM to boot.
Note: Perform this operation only when the node is part of a cluster that contains three or more nodes.
Procedure
2. Insert the new SSD and logon with the username install. (A password is not required.)
3. From the install options on the next page, choose Repair CVM.
4. On the next page, enter the CVM IP address, netmask, and gateway, and if necessary edit the pre-populated host
IP address, netmask, and gateway information to complete the installation.
If this happens, use the following procedure to recover without needing to reinstall CE.
Procedure
2. Restart Genesis.
nutanix@cvm$ genesis restart