Lets Design, Implement and do Administration of ESX3

Virtualization with VMWare Infrastructure 3.0

Archive for the ‘Logs’ Category

How to check which is your Primary node in HA ?

Posted by Preetam on September 22, 2008

[root@my-vmware01 root]# cat /opt/LGTOaam512/log/aam_config_util_listnodes.log
KEY: -z VAL: 1
KEY: domain VAL: vmware
KEY: cmd VAL: listnodes
CMD: hostname -s
RESULT:
————-
my-vmware01

CMD: /opt/LGTOaam512/bin/ft_gethostbyname my-vmware01 |grep FAILED
RESULT:
————-

list_nodes
CMD: /opt/LGTOaam512/bin/ftcli -domain vmware -connect my-vmware02 -port 8042 -timeout 60 -cmd listnodes
RESULT:
————-
        Node              Type              State
———————–  ————    ————–
  my-vmware01            Primary      Agent Running
  my-vmware02            Primary      Agent Running

Total time for script to complete:  0 minute(s) and 1 second(s)

Courtesy: Yellow Bricks

Advertisements

Posted in Advance Concepts, How to, Logs, VMWare | Leave a Comment »

Logs,vpxd

Posted by Preetam on November 1, 2007

Where is the vm-support dumping it’s data ?

= > /var/lib/vmware/hostd/docroot/downloads

Vpxd-#.log is circular in nature, which means they start over again with vpxd-0.log when the size limit is reached. You either check the vpxd-index file for checking what the current log index is or easier is to sort by date.

Virtual center logs rotate at 5MB and also when vpxd is started

Posted in Logs, Virtual Center, VMWare | Leave a Comment »

How to’s

Posted by Preetam on October 31, 2007

How to find version of virtual center you are running?

D:\Program Files\VMware\VMware VirtualCenter 2.0>vpxd.exe -v
VMware VirtualCenter 2.0.1 build-32042


Few ESX Commands

vmkping – use vmkernel to ping a device

esxcfg-vswif for configuring network interface

vm-support to run diagnostic commands

esxupdate -l query query patches installed on ESX Server

esxcfg-rescan vmhba1 to rescan HBA’s

ps -ef | grep hostd To check hostd is running

esxcfg-mpath -l to list path details


Important Log and their locations

VMKernel Logs = > /var/log/vmware/

VIClient logs = > /var/log/vmware/hostd.log

Virtual Center interaction logs = > /var/log/vmware/vpx/vpxa-*.log

VMWare Patch activity logs = > /var/log/vmware/esxupdate.log

[root@esx2007a config]# cat vmware-sites
FULLTIME_SITES_TID 00000061
+ 1:8042,8042,8043 esx2007e vmware #FT_Agent_Port=8045
+ 2:8042,8042,8043 esx2007d vmware
+ 3:8042,8042,8043 esx2007b vmware
+ 4:8042,8042,8043 esx2007a vmware
+ 5:8042,8042,8043 esx2007c vmware

License server logs = > %ALLUSERSPROFILE%\Application Data\VMware\VMware License Server\lmgrd.log


STORAGE

When ESX Server scans the SAN, each HBA reports all LUNs visible on the storage network; each LUN reports an ID that uniquely identifies it to all nodes on the storage network. After detecting the same unique LUN ID reported by the storage network, the VMkernel automatically enables multiple, redundant paths to this LUN, known as multi-pathing.ESX Server uses a single storage path for a particular LUN until the LUN becomes unavailable over this path. After noting the path failure, ESX Server switches to an operational path.


VIRTUAL CENTER:

SQL Server authentication will work predictably on local and remote database servers. NT authentication requires VC to run with a service account that has access to the DB; “Local System”account does not have access to remote servers.

vpxd.exe VirtualCenter Server service

vpxd.cfg VirtualCenter Server configuration

vpxa VirtualCenterAgent

If you create partition from virtual center then that partition is automatically aligned, in case you are creating partition using vmkfstools then you will have to manually align the partition using fdisk. But this is not enough you also have to align partition at guest level as well, which can be easily achieved using diskpart if the os is windows.

Posted in Advance Concepts, ESX-CMDs, Logs, Virtual Center, VMWare | Leave a Comment »