How to enable ESXi SSH And ESXi Shell Using PowerCLI

How to enable ESXi SSH And ESXi Shell Using PowerCLI

Connect to the VCenter Server

 

#Connect to VCenter Server 
Connect-VIServer -Server 192.168.10.1 -Protocol https -User Administrator@vsphere.local -Password P@ssw0rd

#Now Check which serveries are running and you want to start or stop
Get-VMHost 192.168.10.11 | Get-VMHostService

Now you will get slimier  to below screen

Continue reading How to enable ESXi SSH And ESXi Shell Using PowerCLI

Cisco UCS Networking Best Practices by Brad Hedlund

Cisco UCS Networking Best Practices by Brad Hedlund

This presentation assumes familiarity with basic networking and server VNIC concepts in UCS, and familiarity with virtual port channels.

This version of the presentation (v2.5) focuses primarily on the Ethernet uplinks. SAN uplinks and VMware networking scenarios are briefly discussed but not covered extensively. Those topics and others such as QoS, the Cisco VIC, and vNIC fabric failover may be included in future versions of this presentation.

Part 1 – Cisco UCS Networking Overview

Continue reading Cisco UCS Networking Best Practices by Brad Hedlund

How to get RDM list in your VMware infrastructure

How to get RDM list in your VMware infrastructure.

Some time we require information about our virtual machines connected to which RDM .Below are the usefull powershell script to generate a csv report .

VMName: (Display) name of the VM that has the RDM attached to it
GuestDevName: The name of the disk in the VM’s hardware configuration (e.g. “Hard disk 2”)
GuestDevID: The SCSI controller and device ID of the disk in the VM’s configuration (e.g. “scsi0:1”)
VMHost: The ESXi host that runs the VM
HDFileName: The location and name of the RDM mapping file
HDMode: whether the RDM is in virtual or physical compatibility mode
HDSize: the size of the RDM
RuntimeName: The runtime name of the host’s LUN that represents the RDM (e.g. “vmhba1:C0:T2:L61”)
CanonicalName: Its canonical name (naaid) Continue reading How to get RDM list in your VMware infrastructure

How to get WWN of all your ESXi Servers from Power CLI

How to get WWN of all your ESXi Servers from Power CLI

Some time require to know our ESXi servers  WWN information for your record if you are having Cisco UCS or you are coordinating with Storage Administrator .That time you require WWN to MAP new LUN or RDM or MDS Switch Zoaning.

I got a script and tested it working fine . Its gives you Cluster Name Host Name HBA  and WWN . Continue reading How to get WWN of all your ESXi Servers from Power CLI

How to troubleshoot SIP Connection using tcpdump

How to troubleshoot SIP Connection using tcpdump

To check SIP connection through tcpdump use the following command

tcpdump -nqt -s 0 -A -i eth0 port 5060

where:
-n do not convert IP address to DNS names
-q be quite, print less output informations
-t do not print timestamps
-s capture number of bytes from a packet, 0 = default iptions which is max 65535, or simply a whole packet
-A prints each packet in ASCI
-vvv be very very verbose
-i use interface to capture on
port 5060 listen for traffic ort 5060 traffic for  (source and destination)

output of command  Continue reading How to troubleshoot SIP Connection using tcpdump