Skip to main content

Posts

NSX 6.3.3 Controller Deployment Status "Deploying" for long time and fails (root password expired issue)

Problem Description: NSX controllers’ deployment is failing on NSX 6.3.3 version. The controller shows “Deploying” status for around 30-45 mins and later failed/VM is deleted although your entire NSX configuration looks good. During the deployment state, the controller VM is deployed and powered on. But, it is not assigned with IP Address which is specified in the IP Pool. It looks like that “root password expired” issue with NSX controller VM. The NSX Controller is built-on Photon OS and root password age is set 90 days. This may be cause for the controller machine unable to assign the IP Address during its customization stage. Work Around: 1.After the controller VM is deployed and powered on, connect the VM and Launch web console. 2.Enter the username as “root” and password “vmware” 3.Enter the new password and note down. (must be 8 chrs and one upper, lower and special chr) 4.Type the following command: vi /etc/system/network/10-eth0.network 5.Press “I” to insert text in the vi 6.…
Recent posts

Assign VLAN Tag for Nutanix Hardware using HyperV

You can use the following commands to tag VLAN for IPMI Traffic from HyperV host on Nutanix platform.

To set VLAN ID

ipmiutil -e -I "IP Address" -G "Gateway" -S "SubnetMask"  -h "VLAN ID"

To Remove VLAN ID

ipmiutil -e I "IP Address" -G "Gateway" -S "SubnetMask"  -h 4099

Note: Remove the quotes while entering command

Acropolis Hypervisor Configuration

The following commands help to configure Factory (Nutanix) loaded hypervisor called as Acropolis without reinstalling using Foundation process:

To configure IP Address:  root@ahv# vi /etc/sysconfig/network-scripts/ifcfg-br0  ONBOOT="yes"  NM_CONTROLLED="no"  PERSISTENT_DHCLIENT = 1  NETMASK="subnet_maskIPADDR="host_ip_addr"  DEVICE="br0"  TYPE="ethernet"  GATEWAY="gateway_ip_addr"  BOOTPROTO="none“  (set as “static”)
DNS Entry:  root@ahv# vi /etc/resolv.conf
To List Ethernet Interfaces:  manage_ovs show_interfaces 
To verify the interfaces are assigned to br0:  manage_ovs --bridge_name br0 show_uplinks  To Add 1gb Interface into br0:  manage_ovs --bond_name bond1 --interfaces 1g update_uplinks 
To Configure IP Address in CVM: ssh to CVM (ssh nutanix@192.168.5.254) and use sudo vi /etc/sysconfig/network-scripts/ifcfg-eth0, finally reboot the CVM
To Create cluster:  1. cluster -s <cvm_ipaddress> (- - redundancy_factor=3…

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-statencli cluster get-domain-fault-tolerance-status  type=rackable_unitncli cluster get-domain-fault-tolerance-status type=nodencli 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       …

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 Address             : xx:xx:xx…