Skip to main content

Posts

Showing posts from 2015

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       …