Search This Blog

Wednesday, February 14, 2018

Increase Memory of Nutanix CVM

Insufficient memory & CVM is crawling require more memory...

In this post, we will look at how to increase CVM memory.

Before that, turn off the entire virtual machine before shutdown CVM.

[Get CVM name]
virsh list








[Get CVM properties]
virsh dominfo <CVMName>

[Shutdown CVM]
virsh shutdown <CVM Name>


[Change memory]

virsh setmaxmem <CVM Name> 12GB --config
virsh setmem <CVM name> 12 GB --config

[Start CVM]
virsh start <CVM Name>

That should do the trick!

Sunday, February 11, 2018

Upload Existing Image Into Nutanix AHV

We go an existing vmware virtual image & would like to load into Nutanix AHV. To do so, here is a simple step.

1. Go to top right, select Image Configuration


2. Enter image details
- image type -> DISK
-Image source -> Upload a file


3. Select the image that you want to upload


4. Voila ....done. the image has successful to uploaded. Nutanix AHV will convert the disk and when state is ready, it will display "ACTIVE"
You can use the same method for uploading ISO files.


Once uploaded, you can create a new VM using this image.

Saturday, February 10, 2018

Setup Nutanix CE on Lab Environment

[Updated on 23 Sept 2021]
Note:- For Nutanix AHV 5.6

We are going to explore on Nutanix AHV. Here is my quick note on the configuration

[Preparation]

  • Use Vmware workstation
  • Download Nutanix CE  from here.
  • Extract ce-CE 2018.05.01-stable.img.gz and rename to ce-flat.vmdk
  • Download disk descriptor from here and rename to ce.vmdk
[VM Preparation]
  • New VM with Guest OS version set to Centos 7 64 Bits
  • 4 vcpu
  • 16 GB RAM
  • Add SATA Disk , map to existing virtual disk- ce.vmdk
  • Add SATA Disk, create new disk -200GB
  • Add SATA Disk, create new disk - 500GB
  • Network to Internet (require for Nutanix NEXT access)

[Installation]

1. Boot up vm, login with credential -root, nutanix/4u (as password)
2.Modify some changes minimum value

Go to /home/install/phx_iso/phoenix/minimum_reqs.py
MIN_Memory_GB=12.0

Go to 

/home/install/phx_iso/phoenix/sysUtil.py
Modify:-
SSD_rdIOPS_thresh = 1000
SSD_wrIOPS_thresh = 1000

Modify
if os environment has key ("Comunity Edition")
Change custom_ram =6

return to logon screen, log off and begin installation by typing "install" on user


3. Assign static IP
4. Do not check "Create single node cluster"
Once installation complete, return to main screen.

5. Login with root
6. ssh to CVM "ssh nutanix@CVM_IP"
7. Create cluster -" cluster -s "CVM_IP" create "
Once cluster created, login using browser

[Access to CVM Administration]
1. Type http://CVM_IP


2. Login with default username "admin", password "nutanix/4u"
3. Change default password.
4. Enter the Nutanix NEXT credential

Voila..... Nutanix CE is up and running