Documente Academic
Documente Profesional
Documente Cultură
Community
Edition
Primer
Updated Q2 2015
Jason Meers
NPSR, NPSE, NPP
In association with:
"Cassandra" by Evelyn De Morgan - Flickr. Licensed under Public Domain via Wikimedia Commons
Contents
Introduction and legal information ............................................................... 5
About this guide .......................................................................................... 6
Intended use............................................................................................... 6
About Nutanix CE ....................................................................................... 7
Hardware compatibility ............................................................................... 8
Downloading Nutanix CE ............................................................................ 9
Preparing the local media ......................................................................... 10
Write the image to USB, SD or SATA-DOM.............................................. 10
DD under Linux ........................................................................................ 10
DD under MacOS ..................................................................................... 10
Win32 Disk Imager ................................................................................... 10
Installing Nutanix CE ................................................................................ 11
Configuring a Nutanix CE cluster .............................................................. 12
SSH under Linux ...................................................................................... 12
SSH under MacOS ................................................................................... 13
Putty - Windows........................................................................................ 13
Create a single-node cluster ..................................................................... 14
Create a multi-node cluster ....................................................................... 15
The main PRISM interface ........................................................................ 16
Create a storage pool ............................................................................... 20
Create a storage container ....................................................................... 23
Create a File system Whitelist .................................................................. 27
Create ISO store....................................................................................... 28
Create a network ...................................................................................... 30
Acropolis KVM .......................................................................................... 34
Create a VM ............................................................................................. 35
Install a VM............................................................................................... 42
Starting and stopping services .................................................................. 46
Powering off a whole cluster ..................................................................... 47
Technology User Group............................................................................ 48
Bargain Hardware..................................................................................... 49
Whilst great care and attention has been taken whilst producing this
guide the author cannot guarantee the accuracy of any of the
information provided in this guide.
About Nutanix CE
NOTE: Most of this information in this section has been taken directly
from the Nutanix website and Nutanix Community Edition
documentation and NEXT forums.
Sign Up
Sign up to access and download Community Edition software.
http://www.nutanix.com/products/community-edition/register
Deploy
Deploy Community Edition on up to four servers using a broad
variety of hardware.
http://www.nutanix.com/cwm/ce-hardware-table.html
Play
Evaluate with any workload. Explore and share your experience on
the Nutanix NEXT Community.
http://next.nutanix.com/
Hardware compatibility
NOTE: Most of this information in this section has been taken directly
from the Nutanix website and Nutanix Community Edition
documentation and NEXT forums.
Servers
1, 3 & 4 servers
CPU
Memory
16GB minimum
Storage Subsystem
Networking
Intel NICs
NOTE: CPU cores need to be real physical processor cores, not virtual
processor cores provided by Hyper-Threading technology.
NOTE: Work is still in progress to make Nutanix CE work seamlessly in a
nested hypervisor environment. It is highly recommended that you deploy
Nutanix CE on physical hardware in the current version.
Downloading Nutanix CE
NOTE: Most of this information in this section has been taken directly
from the Nutanix website and Nutanix Community Edition
documentation and NEXT forums.
ce-2015.06.08-beta.img.gz
To an image file such as:
ce-2015.06.08-beta.img
7-Zip can be downloaded for various operating systems at:
http://www.7-zip.org/download.html
DD Under Linux
DD Under MacOS
Win32 Disk Imager Windows
DD under Linux
dd if=ce-2015.06.08-beta.img of=/dev/sdX
(Where X is the USB drive letter)
DD under MacOS
dd if=ce-2015.06.08-beta.img of=/dev/sdX bs=1m
(Where X is the USB drive letter)
Installing Nutanix CE
Boot from the removable media
Install the removable media into your server (USB, SD or SATA-DOM) and
enter the server BIOS to set this device as the first boot device and reboot
the server.
NOTES:
Install Nutanix CE
To begin the Nutanix CE installation log in as the following user with no
password:
User: install
IP Address
Subnet Mask
Gateway
IP Address
Subnet Mask
Gateway
Putty - Windows
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Single-node cluster
1 Host
no data redundancy
Multi-node cluster
2 hosts
not available
Multi-node cluster
3 hosts
Multi-node cluster
4 hosts
User:
nutanix
Password:
nutanix/4u
NOTE: If DNS servers are not configured correctly at this stage registering
the installation against your NEXT account in the next section will fail.
User:
nutanix
Password:
nutanix/4u
NOTE: If DNS servers are not configured correctly at this stage registering
the installation against your NEXT account in the next section will fail.
admin
admin
An overall summary is
shown for:
Hypervisor
Version
Storage Used
Storage Capacity
Controller IOPS
Controller
bandwidth
Controller
Latency
CPU Usage
Memory Usage
Disks
Hosts
VMs
Alert description
Minutes elapsed
since alert was
generated
Block Awareness is a
feature more commonly
used with commercial
Nutanix offerings to
distribute metadata and
data across different
hardware blocks for
better redundancy
To create a Container
we need to specify:
Name
Storage Pool
In this example we have
used:
Z600-CONTAINER-01
As this guide is being
written using a HP Z600
workstation, however
you should replace the
prefix with your own such
as:
LAB01-CONTAINER-01
(If you are LAB student
01 for example)
In order to follow the Technology User Group lab that this guide was
written for, you will need to create the following two Storage
Containers:
If you are not following the TechUG lab feel free to substitute and of
these values/settings to your own environment.
LABxx-CONTAINER-01
LABxx-ISOS
To add a Storage
Container:
Enter a
descriptive name
Select a Storage
Pool to back it
Click Save
Repeat for any
other Storage
Containers you
may require.
Replication Factor
On a single host the only
option available to us is a
Replication Factor or RP
of one. That means we
only have one copy of
the data at any one time
(as there are no other
hosts in our cluster
available to hold a
second copy)
Multi-node clusters can
leverage RP-2 or RP-3
for resilience (two or
three copies of each
block of data held on
different nodes in the
cluster).
Other options include:
Reserved
Capacity
Advertised
Capacity
Enable
Compression
Compression
Delay
Compression Delay
0 minutes
equates to inline
compression
Greater than 0
minutes equates
to offline
compression
Performance Tier
Deduplication
(on/off)
De-duplicates data in
RAM/SSD tier but is not
recommended for:
VAAI Clones
Linked clones
CVMS with less
than 24GB RAM
Capacity Tier
Deduplication
(on-post-process/off)
De-duplicates data on
HDD tier but is not
recommended for:
VAAI Clones
Linked clones
CVMS with less
than 32GB RAM
CVMS with less
than 300GB
SSDs
In addition to the
Windows installation
ISO, we also need to
download the KVM VirtIO
drivers so that the KVM
virtual hardware can be
recognised and
configured correctly.
In the Technology User Group Lab we need copy the following ISOs:
Windows7 x86 ISO
KVM VirtIO Drivers ISO
We then need to
download the KVM VirtIO
drivers ISO and repeat
the process until we
have the following ISOS
on the ISOs Storage
Container:
Windows 7 ISO
KVM VirtIO ISO
Create a network
In order to connect a VM
to the outside world we
need to configure one or
more networks.
From the main PRISM
interface select the VM
page.
(Optional) A local IP
Address Pool can also
be specified.
Acropolis KVM
Under the hood Nutanix
CE uses a modified
version of the KVM
hypervisor called
Acropolis.
Create a VM
In order to build a new
Virtual machine (VM) we
need to setup the virtual
hardware resources it
will use.
From the main PRISM
interface select the VM
page.
Name
Compute (vCPU)
Memory (MB)
In the Technology User Group Labs we will use the following settings:
2 vCPUs
2048 Mb RAM (2 GB)
Disk
Allocate on
Container
SCSI
Container to use
Size in GB
In the Technology User Group Labs we will use the following settings:
DIsk
Allocate on Container
SCSI
LABxx-CONTAINER-01
40 GB
(Where xx is your student/lab number)
(This screenshot is
provided for information
only to show the various
Bus Type options)
In the labs we are going
to use the SCSI disk type
to demonstrate the
process for adding the
KVM drivers required to
recognise certain
devices during the install
and subsequent
configuration.
Bus Types currently
available for VM Disks
are:
SCSI
PCI
IDE
In the Technology User Group Labs we will use the following settings:
Hard Drive
SCSI
40GB
CDROM 1
CDROM
Windows ISO
CDROM 2
CDROM
VirtIO driver ISO
Click Power On
Click Launch
Console (opens a
new browser
tab/window)
Install a VM
The console should
appear in a new browser
tab/window
Select:
Control Panel >
Administrative Tools >
Computer management
> Device Manager
Right-Click on the
unknown Ethernet
Controller and select
Update Driver >
Browse my computer
for driver software
An optional QEMU
Guest Agent is also
available on the VirtIO
CDROM if required (can
improve performance
and add VSS snapshot
capabilities in some
cases)
Stopping
The correct Stop order is VMs > CVM > Host
To stop a Nutanix CE VM, go to the VM Table under the VM menu in PRISM and
select a Power option from the list.
Log into any CVM as nutanix and issue a cluster stop, followed by a
cluster status (just to check that everything did shutdown cleanly)
Log into each CVM individually as nutanix and issue a sudo shutdown
h now
Log into each Host individually as root and issue a sudo shutdown h
now
NOTE: Each Host has its own IP Address, plus an additional IP Address for the
CVM that runs on each node.
NOTE: If the commands do not work as expected be sure to check that you are
logging onto the correct IP Address and as the correct user (root for the physical
host and nutanix for the CVM virtual machine).
Bargain Hardware
All of the hardware used to create this guide and used in the
Technology User Group labs was very kindly provided by Bargain
Hardware.
Bargain hardware is a leading online retailer of new, used and refurbished
business and enterprise class I.T hardware based in Preston, Lancashire.
From our 15,000 sq ft warehouse we specialise in new, used and
refurbished HP ProLiant, Dell PowerEdge and IBM servers, workstations
and desktop PCs. Our combination of low-prices, industry leading brands
and dedicated customer service provides a unique opportunity for
customers to economize their IT budgets without compromise.
Bargain Hardware
Bee Mill,
Preston Road,
Ribchester,
Preston.
PR3 3XL
Tel:
http://www.bargainhardware.co.uk