ESXICLI command to find memmory cpu and IP details

     ESXICLI command to find memory, CPU and IP details



1)To check vmware version
   >vmware -v

2)To see Memory
 > esxcli hardware memory get

3)To see CPU details
> esxcli hardware cpu list

4)To check IP  details
> esxcfg-vmknic -l

How to Change Vsphere Webclient Timeout Value

Change Vsphere Web client Timeout Value



1)For VCSA:

Edit file:

/etc/vmware/vsphere-client/webclient.properties

for session.timeout = 120

# Note: unless otherwise noted, changes in this file require a server restart or a new client session.
# Web client session timeout in minutes, default is 120, i.e. 2 hours


2)For Windows web client its under:

   C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client

How to enable sftp copy in VCSA (vcenter server Appliance)

How to enable sftp copy in VCSA (vcenter server Appliance)





  •              ssh to VCSA server
  •              shell.set --enable True
  •              shell
  •              Change the default shell to Bash: chsh -s /bin/bash root

Find iscsi adapater iqn number for esxi

Find iscsi adapater iqn number for esxi



power cli commands for the same:

      esxcli iscsi adapter list

      esxcli iscsi adapter get -A <adapter name from above command>| grep iqn

How to find Moref ID for VM and Datastore

Moref ID for VM and Datastores

powercli commands:

Connect-VIServer <VC/esxi server IP>

To find VM moref ID:

    Get-VM | Select Name,ID

To Find Moref ID for datastores:

Get-Datastore | ft -Property Name,ID -AutoSize

VIRGO logs in Vcenter server

                                            VIRGO logs in Vcenter server


Windows VCenter server:

 C:\ProgramData\VMware\vCenterServer\logs\vsphere-client\logs\

VCSA Linux OVA:

  /storage/logs/vmware/vsphere-client

Vsphere client serenity locations

Vsphere client serenity locations


In Vcenter server windows:

       C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client\vc-packages\vsphere-client-serenity/

In VCSA linux server:
   
   /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity
or
   /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity/

.war pickup directory for Vsphere webclient

.war pickup directory for Vsphere webclient


The location for .war webclient pickup director will be:


  • Vcenter Server:

C:\ProgramData\VMware\vCenterServer\runtime\vsphere-client\server\pickup


  • VCSA:


  1. 6.5 onwards:  /usr/lib/vmware-vsphere-client/server/pickup
  2. 6.0U3: /usr/lib/vmware-virgo/server/pickup




How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...