«

»

Jun 12 2014

Nutanix Cluster, Storage Pool and Container setup

During my first month at Nutanix I have been doing quite a few Nutanix presentations for potential customers and consultants. I have received a lot of questions during the presentations but also questions via email including, but not limited to, e.g. setup, management, snapshot, disaster recovery, availability, Controller Virtual Machine (CVM), performance.

Even though there is a lot of information available around these topics I have decided to publish blog posts instead of writing emails. For those of you familiar with Nutanix knows we supports the following hypervisors:

  • Microsoft Hyper-V
  • KVM
  • VMware ESXi

The hypervisor I’ll use in my blog posts initially is VMware ESXi 5.5 and Nutanix Operating System (NOS 3.5.4).

The first blog post will cover the initial Cluster, Storage pool and Container setup and this implies that you have received your Nutanix Nodes installed with VMware ESXi.

Cluster

Follow the below step to setup your Nutanix cluster:

  • Access any available CVM via ssh.
  • Use the following syntax “cluster –cluster_external_ip “Cluster-External-IP_Address” –cluster_name “Cluster-name” –cvm_ips “IP_addresses of 3 CVMs” –svm_login “login-name-for-the-CVMs” create” for the cluster create command e.g:
    • cluster –cluster_external_ip 192.168.246.70 –cluster_name vcdx56-01 –cvm_ips 192.168.246.71,192.168.246.72,192.168.246.73 –svm_login nutanix create
      Screen Shot 2014-06-05 at 14.43.07
    • The output should list status for all CVMs, which should be “up” and report “Date Time INFO cluster:Cluster-Number Success!” at the end e.g:
      Screen Shot 2014-06-05 at 14.27.08

Storage Pool and Container

Now the Nutanix cluster is created and you are ready to let the VMware ESXi hosts start using its resources. To make that happen you need to access the Nutanix PRISM which is the Nutanix user interface (UI).
You can access any CVM available in the Nutanix cluster via its Fully Qualified Domain Name (FQDN) and/or IP address, http://CVM-FQDN-or-IP_address.
The login page includes a background video which can be bypassed if you want by accessing the following CVM URL:

  • https://CVM-IP_Address:9440/console/#login?novideo=true
    Screen Shot 2014-06-05 at 13.13.20

We need to create one Storage pool and one Container where the Container is the Nutanix construct which will be reflected to as a Datastore, more specifically a NFS Datastore, for your ESXi hosts. If/when using Hyper-V the Container will be accessible via SMB and when using KVM the Container will be accessible via iSCSI.

After logging in to the Nutanix Prism User Interface (UI) you end up in the Home screen which gives you information about e.g Hypervisor version, Storage Summary, VM Summary, Performance statistics, Alerts, Hardware Summary.
Follow the below steps to create your Storage Pool and Container and also mount it to your ESXi hosts:

  • Click the Create link in the Storage Summary section to create your Container.

Screen Shot 2014-06-05 at 13.13.48

  • Since we don’t have a Storage Pool yet we have to create one by clicking the plus sign next to “No Storage Pool”
    Screen Shot 2014-06-05 at 14.29.58
  • Type a name and click save.
    I used all unallocated capacity which is the default configuration.Screen Shot 2014-06-05 at 14.30.17
  • Type a Container name, in my case “vcdx56-container-01”.
    If you have more than one Storage Pool you must select the Storage Pool in the “Storage Pool” drop down.
    I wanted the Container to automatically be mounted to my ESXi hosts included in the Nutanix Cluster so I used the default value of “Mount on all hosts” under the “NFS Datastore” section.
    Screen Shot 2014-06-05 at 14.30.39
  • There are Container advanced settings available if clicking the “Advanced Settings” button.
    Replication factor is always 2 when creating the Nutanix Container via the UI, I left reserved capacity to 0 and I didn’t want to enable either compression or deduplication for this Container.
    Screen Shot 2014-06-05 at 14.30.49
  • Click the Save button and you are finished.

The Prism Home page will now reflect the storage available and when going to the Storage page you can get more information.

Screen Shot 2014-06-05 at 14.31.29 Screen Shot 2014-06-05 at 14.31.45

By clicking the Diagram link in the Storage page Table link in the Storage page you will get information about e.g. Capacity, Storage Pools, Containers.

Screen Shot 2014-06-05 at 14.31.56

By clicking the Table link in the Storage page you will get additional information about e.g. number of disks backing the container, Free Unreserved Capacity, How much capacity is in use and some statistics as well.

Screen Shot 2014-06-05 at 14.32.10

 When creating the Container I selected the option “Mount on all hosts” meaning the Container will automatically be mounted as a NFS Datastore without any further interaction.

Below is a print screen from the vSphere Client (the ESXi host is not connected to a vCenter Server) connected to on of the ESXi hosts and there you can see that the container i created is mounted as a NFS Datastore.

Screen Shot 2014-06-05 at 14.35.36

 

 

5 comments

Skip to comment form

  1. Nation News

    Excelloent post. I used to be checking continuously this blog and I amm impressed!
    Very useful info specifically the remaining section :
    ) I handle such information a lot. I used to be seeking
    this certan information for a long time. Thanks and best oof luck.

  2. Amanda

    What’s up, Ilog on to your blog likje every week.

    Youur story-telling style is witty, keep doing whnat you’re doing!

  3. Sammie

    Usually I don’t read post on blogs, but I wish to say that this
    write-up vvery compelled me to take a look at and do so!
    Your writing taste has been amazed me. Thanks, quite great post.

  4. Hafizullah Mohammadi

    How to mount Nutanix container on Hyper-v Core hosts, it does not list the container created in prism – need help

    i have 4 nutanix cluster of nodes with hyper-v 2012 R2 core installed. i created a container in prism and said to mound on all hosts, at prism it says successfully mounted on 4 hosts, but when i go host it does not show up the container

    thanks

  5. magander3

    Hi,
    have you followed the Hyper-V setup guide and pointed out the container in the VM home and VM Config folder for the Hyper-V hosts? Remember to use the cluster FQDN and not an IP address.

    thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">