Skip to main content

My Nutanix Notes

IPMI Tool 
~ # /ipmitool lan print1 (To Print the IP Address Info. command must run thru ESXi console)
~ # /ipmitool lan set 1 vlan id 333 (To set the VLAN ID)
~ # /ipmitool lan set 1 vlan id off (To remove the VLAN or disable)
Set time zone for CVMs:

SSH to any CVM

# ncli cluster set-timezone timezone=America\New_York

Test E-Mail config:

#ncli cluster send-test-email recipient=“shan@nutanix.com” subject=“test”

To Stop/Start PRISM Service:
curl http://localhost/h/exit - Prism restart from zeusleader node

curl http://localhost/prism/leader   —> Prism start

Commands to verify the Block-Awareness

  • ncli cluster get-fault-tolerance-state
  • ncli cluster get-domain-fault-tolerance-status  type=rackable_unit
  • ncli cluster get-domain-fault-tolerance-status type=node
  • ncli rack ls - how many blocks are in the cluster

Expand Cluster thru nCLI
# ncli cluster discover-nodes (First Discover the nodes)

nutanix@NTNX-14SM36410061-A-CVM:10.49.11.108:~/cluster/bin$ ncli cluster discover-nodes
    Cluster Id                :
    Controller Vm Address     :
    Hypervisor Address        :
    Ip                        : fe80::20c:29ff:fe00:a1e4%eth0
    Ipmi Address              :
    Model String              : NX-3060
    Node Position             : B
    Node Uuid                 : 942205fd-f14c-4540-846b-b80b30eecb40
    Rackable Unit Model       : NX-3060
    Rackable Unit Serial      : 14SM36430046
    Sed Node                  : false

    Svm Id                    :
ncli cluster add-node node-uuid=942205fd-f14c-4540-846b-b80b30eecb40 (Add nodes into cluster using Node UUID)

Shutdown a Nutanix Block/Nodes:

Step 1: Shutdown all VMs, not CVMs

Step 2: SSH to any CVM

Step 3: Issue “cluster stop”, make sure cluster stopped and no errors reported

Step 4: Issue “cluster status”, all processes must be DOWN state

Step 5: Shutdown CVMs one by one . Use “shutdown -P now” command

Step 6: Shutdown ESXi/Hyper-V/KVM Nodes


Start or Power On a Nutanix Block:

Step 1: Power On a node at a time

Step 2: Wait for 10-20 seconds to power on every nodes

Step 3: Make sure all CVMs are powered on

Step 4: SSH to any CVM

Step 5: Type “cluster status” if all process are showing down

Step 6: Type “cluster start”

Step 7: Type “cluster status” to see all process are showing Up

Step 8: Make sure you’re able to access Prism Web Interface


Step 9: Make sure NFS mounts are accessible

Comments

Popular posts from this blog

vCenter Reinstallation after 60-Days trial expires without losing Database Contents

Many of us still evaluating the vSphere and vCenter in our test environments. Sometimes, it takes more than 60 days to evaluate where trial edition expires. We can't extend the trial edition in ESX host, either we have to reinstall it or license it. vCenter also have to follow the same way as ESX does. But, here we can keep old database contents as it is when you reinstall the vCenter software. This document using vCenter 4.0 and SQLEXPRESS 2005 (built in) database. At the time of installation of vCenter 4.0, it installs SQLEXPRESS 2005 by default unless any other Database specified. Mostly, we are using built-in database is SQLEXPRESS 2005 for testing environment. When you install vCenter 4.0, it installs SQLEXPRESS 2005 and creates a database called "SQLEXP_VIM". You can view this thru SQL Server Configuration Manager console. Start à All Programs à Microsoft SQL Server 2005 à Configuration Tools à SQL Server Configuration Manager Creating DSN Create a System DSN f

Set VLAN ID to IPMI Address in Nutanix

The IPMI is remote management interface like as HP iLO, DELL DRAC. During the Nutanix cluster deployment, it is not possible to mention the VLAN ID of the IPMI's IP Address. This need to be entered thru command line via ESXi host or Windows Hyper-V. This article talks about ESXi host only. Login to ESXi thru SSH client. Run the following command to enter the VLAN ID (we assume that you already configured IP Address) ~ # /ipmitool lan set 1 vlan id 333 ~ # /ipmitool lan print1 Set in Progress         : Set Complete Auth Type Support       : NONE MD2 MD5 PASSWORD  Auth Type Enable        : Callback : MD2 MD5 PASSWORD                          : User     : MD2 MD5 PASSWORD                          : Operator : MD2 MD5 PASSWORD                          : Admin    : MD2 MD5 PASSWORD                          : OEM      : MD2 MD5 PASSWORD  IP Address Source       : Static Address IP Address              : xx.xx.xx.xx Subnet Mask             : 255.255.254.0 MAC

How to reset HP iLO Password (DL 585 G2)

Today, I got into trouble with a HP Server. I need to hold remote console of the HP DL 585 G2 server. When I tried to access the console, prompted me to enter "Administrator" credential...Oops... no idea what is the password. I have not been known about this while KT from previous administrator. Now, I have to find a way to reset this password and access the server remotely. While searching, I ended up with 3 different ways to reset the password. All the 3 ways given below, you choose which one good for you: Resetting using SmartStart CD 1.         Boot the server using HP SmartStart CD 2.        Press F8 to goto iLO Configuration console 3.        Select the HP iLO setting 4.       Goto User setting 5.        Select the “Administrator” and change the password or Create new user with administrator privileges Resetting using Security Override Switch 1.         Look system board diagram server top bonnet 2.        Look for the system management switch (mostly no:11 on DL 58