Sunteți pe pagina 1din 49

Nutanix

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

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 2

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

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 3

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 4

Introduction and legal information


This guide is intended primarily at IT professionals and virtualisation
consultants with an interest in learning and deploying Nutanix Community
Edition in a home-lab, test/dev or non-production environment.
The information found in this guide should not be used or followed in a
production environment or live business environment, it is provided for the
sole purpose of helping individuals learn Nutanix Community Edition in a
small training environment.
Legal Information

The author assumes no liability whatsoever for any direct or indirect


damage, loss, inconvenience or other unintended consequences
caused by using, or following the information presented in this
guide.

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.

The guide and the information presented in this guide is based on


the beta version of the product which will be subject to unspecified
changes and modifications over time, outside of the authors control.

Nutanix, Nutanix Community Edition, Nutanix CE and other


associated trademarks, logos and devices remain the sole property
of their respective owners and are only used in this guide to explain
a concept or illustrate a procedure.

This guide is not officially endorsed, recognised or affiliated with


Nutanix or any of its subsidiarys.

At the time of writing this guide the author is not employed by


Nutanix, and has never been employed by Nutanix.

Unless clearly stated, no other contributing authors of this guide are


employees of Nutanix.

The author is not officially recognised or certified by Nutanix for


providing information or training on Nutanix products and services
other than having passed the following Nutanix Partner
Accreditations.
o NPSR Nutanix Platform Sales Representative
o NPSE Nutanix Platform Sales Engineer
o NPP Nutanix Platform Professional

The only official source of product information and product support


for Nutanix Community Edition is from the Nutanix NEXT
community.

IF YOU DO NOT CLEARLY UNDERSTAND AND AGREE TO ACCEPT


THE LEGAL INFORMATION AND LEGAL DISCLAIMERS IN THIS
SECTION PLEASE STOP READING THE GUIDE AT THIS POINT AND
DESTROY ALL PHSYICAL OR ELECTRONIC COPIES OF THIS GUIDE
IN YOUR PERSONAL POSSESSION
Nutanix Community Edition Primer Jason Meers Q2 2015 Page 5

About this guide


This guide is provided free of charge and is licenced under the following
Creative Commons licence:

Attribution-NonCommercial ShareAlike 4.0 International

You should not have been charged for this guide


You may not add or remove pages or sections from this guide
If you distribute this guide you must distribute as-is with no
modifications, additions or deletions.
Any new derivatives that you create based on this guide should be
licenced under the same licence.

Other commercial and non-commercial distribution of this guide may be


considered on a case-by-case basis, but will require written permission
from the author.
To contact the author please use:
firstname (at) firstnamesurname (dot) com
(Where firstnamesurname is the authors first name and surname in
lowercase with no spaces)
Intended use
This primary focus of this guide is to provide the user with enough
information to:

Download and install Nutanix Community Edition


Perform initial configuration of a 1, 3 or 4 node cluster
Configure Storage
Configure Networking
Build a VM on the Acropolis KVM hypervisor
Provide a basic overview of the PRISM dashboard and
management interface
Start, Stop and Shutdown the cluster in a controlled manner

This guide was created to provide Nutanix CE training in the hands-on-labs


at the Technology User Group across the UK: www.technologyug.co.uk

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 6

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.

Community Edition is a 100% software solution


enabling technology enthusiasts to easily
evaluate the latest hyper-convergence
technology at zero cost. Users can now
experience the same Nutanix technology that
powers the datacenters of thousands of leading
enterprises around the world.
Feature Rich Software
Broad Hardware Support
Zero Cost

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/

NOTE: Nutanix CE use an embedded, customised version of the KVM


hypervisor and does not support Hyper-V, vSphere ESXi or the Disaster
Recovery features present in the commercial Nutanix offerings.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 7

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.

Minimum System Requirements for Community


Edition

Servers

1, 3 & 4 servers

CPU

Intel CPUs, 4 cores minimum, with


VT-x support

Memory

16GB minimum

Storage Subsystem

RAID 0 (LSI HBAs) or AHCI storage


sub-systems

Hot Tier (SSD)

One SSD per server minimum,


200GB per server

Cold Tier (HDD)

One HDD per server minimum,


500GB per server

Networking

Intel NICs

A community updated HCL (Hardware


Compatibility List) is also being maintained here
(registration required):
http://next.nutanix.com/t5/Nutanix-Community-Edition/ct-p/NutanixCommunity-Edition

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.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 8

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.

To register you will need to sign-up at the link


below:
http://www.nutanix.com/products/community-edition/register/

Register Now to Get Exclusive Access to Community


Edition
By signing up today you will:

Secure your place in line for early access

Join the premier hyper-convergence community

Get unfettered access to the latest product news

If you have a special access code, enter under "Invite Code."

Once signed up, the link to download the


software can be found in this forum (registration
required):
http://next.nutanix.com/t5/Nutanix-Community-Edition/ct-p/NutanixCommunity-Edition

The file download will have a name similar to the


following (depending on the version and date
downloaded):
ce-2015.06.08-beta.img.gz

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 9

Preparing the local media


An archive utility such as 7-ZIP or gzip/gunzip on Linux and MacOS can
be used to un-compress the g-zipped file:

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

Write the image to USB, SD or SATA-DOM


The image can be written to a USB, SD or SATA-DOM (Disk-On-Module)
with one of the following tools:

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)

Win32 Disk Imager


http://sourceforge.net/projects/win32diskimager/

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 10

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

After logging in you will need to provide the following details:


For the physical host:

IP Address
Subnet Mask
Gateway

For the Nutanix


Controller Virtual
Machine (CVM) that will
run on the physical
host:

IP Address
Subnet Mask
Gateway

At this point do not


tick/check the Create
single-node cluster
option (we will do this
manually from the
command line later).
Scroll down the licence
agreement and accept it
if you wish to continue,
then Start the
installation.
Once the install has
completed press ENTER
to exit and make a note
of the CVM IP Address
shown on screen.
Now, repeat this process for each Nutanix CE host you wish to install
Nutanix Community Edition Primer Jason Meers Q2 2015 Page 11

Configuring a Nutanix CE cluster


Although it is possible to configure a cluster form the main cluster_init
page:
http://CVM-IP-ADDRESS:2100/cluster_init.html

Some operations cannot be completed through this cluster_init interface,


or from the Create single-node cluster option during the install, namely
creating a cluster where the host IP Address and CVM IP Address are on
the same subnet (such as 192.168.x.x):
Although we will use the command-line method to configure the cluster in
this guide, an example of the cluster_init interface is shown below:

Install an SSH client:


To access the CVM host over SSH you will need an SSH client:

SSH Under Linux


SSH Under MacOS
Putty Windows

SSH under Linux


ssh CVM-IP-ADDRESS

(Where CVM-IP-ADDRESS is the IP Address of the CVM)

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 12

SSH under MacOS


ssh CVM-IP-ADDRESS

(Where CVM-IP-ADDRESS is the IP Address of the CVM)

Putty - Windows
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Single-node and Multi-node clusters


Due to the way Nutanix CE protects and distributes data across hosts, only
the following cluster sizes are available:

Single-node cluster

1 Host

no data redundancy

Multi-node cluster

2 hosts

not available

Multi-node cluster

3 hosts

with data redundancy

Multi-node cluster

4 hosts

with data redundancy

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 13

Create a single-node cluster


To create a single-node cluster, SSH into the host and provide the following
user information:

User:

nutanix

Password:

nutanix/4u

Then run the following commands:


cluster -s CVM-IP -f create
ncli cluster add-to-name-servers servers="DNS-SERVER"
ncli cluster get-name-servers

(Where CVM-IP is the IP Address of the CVM, and DNS-SERVER is a


single IP Address or comma separated list of IP Addresses of DNS
Servers)

NOTE: If DNS servers are not configured correctly at this stage registering
the installation against your NEXT account in the next section will fail.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 14

Create a multi-node cluster


To create a multi-node cluster, SSH into the host and provide the following
user information:

User:

nutanix

Password:

nutanix/4u

Then run the following commands:


cluster -s CVM-IP -f create
ncli cluster add-to-name-servers servers="DNS-SERVER"
ncli cluster get-name-servers

(Where CVM-IP is comma separated list of IP Addresses of the CVMs on


each of the host you wish to include in the cluster, and DNS-SERVER is a
single IP Address or comma separated list of IP Addresses of DNS
Servers)

NOTE: If DNS servers are not configured correctly at this stage registering
the installation against your NEXT account in the next section will fail.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 15

The main PRISM interface


Open a web browser and
connect to the PRISM
management interface
using any of the CVM IP
Addresses present in
the cluster.
User:
Password:

admin
admin

You will be prompted to


create a new admin
password which should
be used in PRISM for all
future logins.

At the next screen you


will need to enter your
NEXT username and
password to register the
installation against your
NEXT account.

The main PRISM


interface will now load
and we will briefly cover
each section in turn.

Note: In the examples


shown here Z600 refers
the HP Z600 workstation
used to create these
screenshots.
Z600 has no other
special meaning here
and just identifies the
host for management
purposes.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 16

An overall summary is
shown for:

Hypervisor
Version
Storage Used
Storage Capacity

The number of VMs


(Virtual Machines) is also
shown. The CVM itself is
the first VM running on
the system.
A hardware summary is
also shown showing how
many individual hosts
and blocks of hosts are
available.
NOTE: Blocks are more
relevant to the
commercial Nutanix form
factors.

Metrics are also provided


for:

Controller IOPS
Controller
bandwidth

NOTE: IOPS are I/O


Operations Per Second.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 17

Metrics are also provided


for:

Controller
Latency
CPU Usage
Memory Usage

Overall health is also


broken down by:

Disks
Hosts
VMs

Critical alerts are shown


by:

Alert description
Minutes elapsed
since alert was
generated

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 18

The current Data


Resilience Status is
also shown along with
rebuild information.

In this screenshot the


cluster only consists of a
single-node, therefore
the resilience is
undefined (we have no
resilience)

In this screenshot the


cluster consists of a
multiple nodes, therefore
the cluster can tolerate
the failure of one host.

Block Awareness is a
feature more commonly
used with commercial
Nutanix offerings to
distribute metadata and
data across different
hardware blocks for
better redundancy

Statistics are also


provided for:
Warning Alerts
Info Alerts
Events

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 19

Create a storage pool


From the main PRISM
interface select the
Storage page.

From the Storage page,


select add Storage Pool
from the top-right menu.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 20

A Storage Pool allows


us to aggregate all
available SSD and HDD
drives in a single host, or
across multiple hosts.

The default option is to


Use all unallocated
capacity, but if your disk
configuration is not
detected correctly, does
not meet the minimum
requirements or another
Storage Pool has
already been created
and used all available
capacity you may see a
screen like the one
shown below.

If disks are not


recognised correctly you
can try setting/moving an
SSD to be the first
device detected by the
BIOS
Ensure the minimum
requirements have been
met.

One SSD per


server minimum,
200GB per
server
One HDD per
server minimum,
500GB per
server
No more than
four drives in total

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 21

Once the Storage Pool


has been created it
should be visible from
the Storage > Table
view.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 22

Create a storage container


From the main PRISM
interface select the
Storage page.

From the Storage page,


select add Container
from the top-right menu.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 23

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 this guide we are not


going to enable any of
the Advanced Settings
for Storage Containers
as they require additional
compute and memory
resources to function
correctly.

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:

We will however discuss


what these features are
in the next few pages,
should your own lab
environment have
enough resources
available to enable them
on each host.

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

(Where xx is your student/lab number)

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.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 24

The following Advanced


Settings are not
required in our lab
environment, however
we will cover them briefly
here as they are likely to
be encountered on larger
multi-host clusters and
commercial Nutanix
environments.

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

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 25

The following Advanced


Settings are not
required in our lab
environment, however
we will cover them briefly
here as they are likely to
be encountered on larger
multi-host clusters and
commercial Nutanix
environments.

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

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 26

Create a File system Whitelist


In order to add an ISO
image to the Storage
Container we just
created for holding the
ISOs we need to allow
NFS access to the
Storage Containers
through a Filesystem
Whitelist.

To allow our workstation


to mount the NFS
container we need to add
the Whitelist, and a
range of IP Addresses to
be included in it.
In this example we have
allowed the subnet:
192.168.0.0
With a subnet mask of:
255.255.255.0
(Which is also known as
a /24 subnet mask)

In the Technology User Group Lab we need to whitelist:


172.16.2.0/255.255.255.0

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 27

Create ISO store


SSH onto the CVM as
the nutanix user and
type the following to list
all NFS containers:
nfs_ls

Mount the volume in


the standard way on a
Linux or MacOS
operating System

Windows 7 users may


need to install the Client
for NFS component:
Control Panel >
Programs and Features
> Windows Features >
Services for NFS > NFS
Client
NOTE: Windows 8 and
later users may already
have the mount
command available
without having to install
the NFS Client.
Mount the drive to an
available drive letter then
copy the ISO files over:
For example:
mount \\CVM-IPADDRESS\STORAGECONTAINER DRIVELETTER:
mount
\\192.168.0.115\Z600
-ISOS Q:

(These commands and


volume names are casesensitive)

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 28

After copying the ISO file


over, we can run the
following command
again:
nfs_ls

To make sure that the


new files have
successfully been copied
over.

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.

The KVM VirtIO drivers ISO can be found here:


https://fedoraproject.org/wiki/Windows_Virtio_Drivers#Direct_
download

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

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 29

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.

From the VM page,


select Network Config
from the top-right menu

Click on Create Network

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 30

We will create a new


Network on VLAN 0.
In the VLAN ID field
enter zero:
0

To add the new network


connection to VLAN 0
Click Save.
At this point we are done
creating the network
connection and we can
move onHowever
some optional settings
are shown next just for
completeness.

(These next steps are


optional)
If you wish to have more
control over IP
Addresses, DNS
Settings and Domain
Names you can select
the Enable IP Address
Management box.

This allows you to


provide information
about the IP Subnet and
Prefix Length the
connection is on and the
Gateway IP Address.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 31

(Optional) DNS servers.


Domain Search lists and
a local Domain Name
can also be specified

(Optional) A local IP
Address Pool can also
be specified.

The IP Address Pool is


used to issue IP
Addresses to VMs on
that network, and
performs the same role
as a traditional DHCP
server,

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 32

(Optional) If you wish to


specific an alternate IP
Address for the DHCP
service you can select
the Override DHCP
Server option and enter
an alternate IP Address
to use.

Once you have made


any necessary changes
the new network and its
UUID unique identifier
will be displayed on the
Network Configuration
page.

In the Technology User Group Labs we do not need to specify any of


these optional IP Address management settings.
A single network connection on VLAN 0 is sufficient as we already
have DHCP services available to us.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 33

Acropolis KVM
Under the hood Nutanix
CE uses a modified
version of the KVM
hypervisor called
Acropolis.

Information about each


VM can be found by
selecting the VM option
from the main PRISM
menu.

Selecting a VM from the


TABLE view will
enable/disable various
VM hypervisor
operations

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 34

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.

From the VM page,


select Create VM from
the top-right menu

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 35

Enter the following


information:

Name
Compute (vCPU)
Memory (MB)

Then click New Disk.

In the Technology User Group Labs we will use the following settings:
2 vCPUs
2048 Mb RAM (2 GB)

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 36

Then Select the following


information:

Disk
Allocate on
Container
SCSI
Container to use
Size in GB

Then click Add.

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)

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 37

(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

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 38

We now need to load


one of our ISO images
into the first virtual
CDROM drive.

Click on the pencil icon


on the right hand side of
the CDROM entry to
edit the CDROM
settings.

Then Select the following


information:

Clone from NDFS


file

Start typing a forward


slash / to select the ISO
container.
Then type another
forward slash / to select
the ISO image until the
full path has been builtup.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 39

Once the full path has


been specified click
Update.

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

Now add another New


Disk and create a
second CDROM drive
that contains the VirtIO
ISO image.

Although we can swap


CDROM images
between one drive, it is
much easier to have two
CDROM drives, as long
as the Windows ISO is
loaded in the first drive
(Otherwise the VM will
not be able to boot into
the Windows installer)

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 40

Now click New NIC to


add a network card to
the VM.
Select the network
connection we created
for VLAN 0, then click
Add.

With the VM selected in


the VM Table:

Click Power On
Click Launch
Console (opens a
new browser
tab/window)

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 41

Install a VM
The console should
appear in a new browser
tab/window

Once the Windows install


has started we will need
to provide a driver for the
virtual SCSI disk we just
created on the VM.
Click Load Driver and
browse the VirtIO disk on
the second CDROM
Drive

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 42

The Windows installation


should now continue as
normal

Once the installation has


completed you may have
noticed that the Network
Card has not been
recognised properly and
no driver has been
loaded for it.

This can be fixed from


the Computer
Management snap-in

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 43

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

Browse to the VirtIO


CDROM and update any
required drivers.
Reapeat for any other
devices that require
VirtIO drivers installing.

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 44

You may be prompted


when installing the
device drivers.

The Ethernet NIC Driver


has successfully been
installed.

The Memory Balloon


Driver has successfully
been installed (used by
the hypervisor for VM
virtual memory
management).

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)

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 45

Starting and stopping services


Starting
The correct Start order is HOST > CVM > VMs

To check the status of a Nutanix CE cluster, login to a CVM as user: nuatnix,


password: nutanix/4u and type the following:
cluster status
To start a Nutanix CE cluster, login to a CVM as user: nuatnix, password:
nutanix/4u and type the following:
cluster start
To start a Nutanix CE VM, go to the VM Table under the VM menu in PRISM and
select a Power option from the list.

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.

To check the status of a Nutanix CE cluster, login to a CVM as user: nuatnix,


password: nutanix/4u and type the following:
cluster status
To stop a Nutanix CE cluster, login to a CVM as user: nuatnix, password:
nutanix/4u and type the following:
cluster stop
To stop a Nutanix CE CVM, login to a CVM as user: nuatnix, password:
nutanix/4u and type the following:
sudo shutdown h now

To stop a Nutanix CE Host, login to a CVM as user: root, password: nutanix/4u


and type the following:
shutdown h now

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 46

Powering off a whole cluster


Complete shutdown
The correct Shutdown order for a whole Nutanix CE cluster is as follows:

Shutdown and power off each individual VM through PRISM

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).

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 47

Technology User Group

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 48

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.

This guide was


produced using the
following BH hardware:
HP Z600 Workstation

The Technology User


Group Nutanix CE
Hands-on-Labs are run
on the following BH
hardware:
Trading since 2004 weve become the largest PC and Server refurbisher on
eBay UK and a Top Rated Seller since the programme introduction.

Dell T5500 Workstation

Bargain Hardware
Bee Mill,
Preston Road,
Ribchester,
Preston.
PR3 3XL

Tel:

http://www.bargainhardware.co.uk

+44 (0)1254 878 801

Nutanix Community Edition Primer Jason Meers Q2 2015 Page 49

S-ar putea să vă placă și