How to Change CVM Memory in Nutanix CE Platform

In last post of this series, I covered installation of Nutanix CE single-node cluster. In this post i will walk through steps of reducing CVM memory.

By default when you deploy Nutanix CE, CVM is configured with 16 GB RAM. You can verify this by logging into Prism and navigating to Home > VM view.

cvm-mem-1.PNG

Or you can SSH to AHV host and type command : virsh dominfo

Now suppose you allocated 20 GB RAM to the VM where Nutanix CE is installed, CVM will consume 16 GB out of it, leaving only 4 GB for the AHV host. But we can reduce CVM memory to 12G or 8G for lab purpose.

Follow below steps to change CVM memory.

1: Connect to CVM via ssh and stop cluster by executing command: cluster stop

cvm-mem-4.PNG

Wait for clean shutdown of cluster

cvm-mem-5.PNG

2: Once cluster is stopped on CVM, connect to AHV host via SSH and run command: virsh list –all to fetch CVM name

cvm-mem-2

Additionally you can run command : virsh dominfo to see details of CVM

cvm-mem-3

3: Stop CVM by typing command: virsh shutdown <cvm name>

cvm-mem-6.PNG

4: Reduce CVM memory by typing below commands:

  • virsh setmem  12G –config
  • virsh setmaxmem  12G –config

cvm-mem-7.PNG

Verify that new memory settings have applied.Read More

My HCI Lab with Nutanix Community Edition-Part 3: Deploy Single Node Cluster

In last post of this series we discussed about lab setup that is needed to deploy the Nutanix CE platform. In this post we will learn about how to deploy a single node cluster.

If you are not following along this series, then I recommend reading earlier posts of this series from below links:

1: Nutanix Community Edition Introduction

2: Lab Setup

In last post we converted our centos VM to a template to save deployment time. I deployed a new VM from the template and booted it. 

Once the “init image” is loaded at the login, type “install” command to proceed.

ce-install-1.PNG

Select your keyboard layout and hit proceed. 

ce-install-2.PNG

The installer will now show the disk drives namely sdb and sdc since they are connected to SCSI(0:1) and SCSI(0:2).

ce-install-3

The install wizard script will then detect the performance of the disk attached.

ce-install-5.PNG

If the installer is able to detect the required number of IOPS (as specified in sysUtil.pyRead More

My HCI Lab with Nutanix Community Edition: Part 2: Lab Setup

In last post of this series we discussed about what Nutanix CE is what does it offer and we talked about limitation of the product. In this post I will walk through my lab setup which I used to deploy the Nutanix CE.

Recommended Hardware

Before planning your deployment, make sure to refer to below spreadsheet which lists all necessary piece of hardware you need to have in place. 

Nutanix CE-HW Specs.png

In my lab, I don’t have a dedicated hardware server for deployment, so I went ahead with Nested virtualization technique. But if you are interested in deploying CE on dedicated piece of hardware then I would recommend reading this article.

Step 1: Download Nutanix CE bits

Before starting deployment, you need to first register register yourself on Nutanix Next Community . Fill in all the needed details and hit submit.

nutanix-next-registration.PNG

You will get an email with download links and Getting Started docs. Read More

My HCI Lab with Nutanix Community Edition: Part 1: Introduction

Till the time I was working majorly on VMware products, I thought there can’t be a better piece of technology than this. But since the time I started learning Nutanix, my thoughts changed and I must admit that I am in awe of this product.

To learn any new product, home lab is the best place where you can learn things from scratch. Since I don’t have dedicated hardware pieces to deploy Nutanix, I tried my hands on Nutanix Community Edition.

In this post I will outline some basic considerations which you should keep in mind when when planning to go with Nutanix CE and will walk through the steps needed to create lab. Also I will discuss possibilities and limits of using this product.

What is Nutanix Community Edition (CE) ?

Nutanix Community Edition is the free version of Nutanix OS which can be used to test drive main features of Nutanix.Read More

Learning vRNI 3.9: Part 3:User Management in vRNI

In last post of this series we learnt how to change default retention period for events etc in vRNI. In this post we will learn how about user management.

If you are not following along this series, then I recommend reading earlier posts of this series from below links:

1: Adding Data Sources in vRNI

2: Changing Default Data Management Policy

Default installation of vRNI allows you to login with admin@local user and this user can add new users (local and LDAP) and configure memberships and other settings of existing users. In this post we will learn how to add a local and LDAP user to vRNI.

Adding Local User

For security reasons, you might want to delete the default local user and specify a new one as per your organization access standard. To add a new local user login to vRNI and navigate to Home > Settings > User Management > Local Users and click on Add New User.Read More

Learning vRNI 3.9: Part 2:Changing Default Data Management Policy

By default the data retention policy in vRNI is one month. However if you have an enterprise license, then you can change this policy.  The data is divided into the following categories:

vrni-data retention

We can change the value of any category and can set it to maximum value specified in above table.

To change the default data retention policy, login to vRNI and navigate to Home > Settings > Data Management. 

Click on configure button to change the values.

vrni-dm-1

From the drop down menu, select the new value for each category which you want to change and hit submit button.

vrni-dm-2

And that’s it. Easy peasy task isn’t it 😉

I hope you find this post informational. Feel free to share this on social media if it is worth sharing. 

Learning vRNI 3.9: Part 1:Adding Data Sources in vRNI

By default when vRNI 3.9 is installed, it starts in the NSX assessment mode and in this mode you will only see option to add vCenter server as data source.

vrni-ds-1

If you click on Add Data Source, the only option available to you is to add vCenter, Infoblox and Netflow Collector.

vrni-ds-2

In order to add different data sources like NSX Manager or Cisco devices, you need to change the evaluation license and then click on “Switch to Full Product Evaluation” button available in the bottom right corner of vRNI homepage.

Once you have switched to full evaluation mode, you can add various data sources to analyze traffic flow, and generate reports. 

To add a new data source, go to settings page from gear icon menu and navigate to Accounts and Data Sources option.

vrni-ds-4

Click on Add Source button.

vrni-ds-5

Now you will see plenty of options available to be added as data source.Read More

vCloud Extender-Part 4: Cloud Provider Registration and VM Migration

In last post of this series, I covered the steps needed to configure on-prem environment to connect it to a cloud provider site. In this post I will demonstrate how to register cloud provider and initiate vm migration using vCloud Extender.

1: Introduction to vCloud Extender

2: vCloud Extender-Cloud Provider Setup

3: vCloud Extender-Tenant (On-Premise) Setup

Lets start with Cloud Provider registration.

Login to On-prem vCenter server webclient and click on vCloud Extender plugin and navigate to Provider Clouds tab. Click on Add a Provider Cloud button.

sp-1

Specify Cloud Provider name and Provider Cloud URL. This should be in format https://provider-url/cloud/org/tenant-org-name.

Also specify the vCD Extender cloud service URL. This URL we configured in post 2 of this series.

Clicking on Test button verifies that if the supplied info is correct and the on-prem vCenter can connect to cloud environment successfully. Once test is passed, click on Add button to save the configuration.Read More

vCloud Extender-Part 3: Tenant (On-Premise) Setup

In last post of this series we covered the deployment/configuration steps in the cloud provider side. In this post we will learn about how to configure the on-premise (tenant) environment.

If you are not following along this series, then I recommend reading earlier posts of this series from below links:

1: Introduction to vCloud Extender

2: vCloud Extender-Cloud Provider Setup

To connect the Tenant environment with the cloud provider, we need to deploy an instance of vCloud Extender in the on-premise. Deployment is more or less same like service provider side, but with difference that we select deployment type as “cx-connector” a shown in below screenshot.

CX-Tenant-Setup (1)

Once appliance is deployed and boots up, it will give you URL for the further configuration of appliance.

CX-Tenant-Setup (2)

Connect to https://CX-Appliance-FQDN/ui/mgmt and login with user administrator and password set during deployment of appliance.

CX-Tenant-Setup (3)

On the home page click on Setup Wizard button to start configuring the appliance.Read More

vCloud Extender-Part 2: Service Provider Setup

In last post of this series, I discussed about vCloud Extender architecture and its capabilities. In this post I will walk through steps of configuring vCloud Extender in cloud provider side.

vCloud Extender is deployed as ova and deployment steps are straight forward as shown in below slide show. Just make sure to select deployment type as “cx-cloud-service” on customization template page.

Once appliance is deployed and boots up, it will show the browser link to access the appliance for further configuration.

vcd-ext12

Connect to appliance by typing https://appliance-fqdn/ui/mgmt and login with administrator user and password set during deployment.

vcd-ext13

Click on Setup Wizard to start configuring the cx-cloud-service appliance.

vcd-ext14

Register appliance with your management vCenter. If your environment have PSC external to VC, then use PSC IP/FQDN for lookupservice url.

vcd-ext15

Next is to register cx-cloud appliance with the vCloud director. Enter your vCD details and administrator credentials.

Note: No need to append @system with the username.Read More