Archive for the ‘How to’ Category
Posted by techstarts on April 30, 2009
Here is way
How to find queue depth for HBA ?
[root@pz-vmware07 scripts]# tail /etc/vmware/esx.conf
/vmkmodule[0003]/enabled = “true”
/vmkmodule[0003]/module = “tg3.o”
/vmkmodule[0003]/type = “nic”
/vmkmodule[0004]/enabled = “true”
/vmkmodule[0004]/module = “cciss.o”
/vmkmodule[0004]/type = “scsi”
/vmkmodule[0005]/enabled = “true”
/vmkmodule[0005]/module = “lpfcdd_732.o”
/vmkmodule[0005]/options = “lpfc0_lun_queue_depth=16 lpfc1_lun_queue_depth=16 lpfc_tgt_queue_depth=31″
/vmkmodule[0005]/type = “fc”
Or
[root@pz-vmware07 scripts]# esxcfg-module -l
Device Driver Modules
Module Type Enabled Loaded
vmkapimod vmkapimod true true
vmklinux linux true true
bnx2 nic true true
tg3 nic true true
cciss scsi true true
lpfcdd_732 fc true true
[root@ci-vmware07 scripts]# esxcfg-module -g lpfcdd_732
lpfcdd_732 enabled = 1 options = ‘lpfc0_lun_queue_depth=16 lpfc1_lun_queue_depth=16 lpfc_tgt_queue_depth=31′
Posted in Advance Concepts, How to, Storage, VMWare | Leave a Comment »
Posted by techstarts on April 30, 2009
Posted in How to, VMWare | Leave a Comment »
Posted by techstarts 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
Posted in Advance Concepts, How to, Logs, VMWare | Leave a Comment »
Posted by techstarts on July 20, 2008
How to start the daemon by default when server starts/reboots?
chkconfig –level 345 ntpd on
How to instruct the kernel to occasionally synchronize the system time(when NTP is configured) back to the hardware clock?
hwclock –systohc
How to check which services are auto-start in Service console?
ls -Al /etc/rc3.d/S*
Where are the review logs located in Service console?
VMKernel –>> /var/log/vmkernel
VMKernel Warning –>> /var/log/vmkwarning
VMKernel Summary –>> /var/log/vmksummary.html
Host agent log –>> /var/log/vmware/hostd.log
WebAccess –>> /var/log/vmware/webaccess
Service Console –>> /var/log/messages
Authentication log –>> /var/log/secure
How to check what is the password policy set at Service console?
esxcfg-auth –probe
Posted in Advance Concepts, ESX-CMDs, How to, VMWare | Leave a Comment »
Posted by techstarts on November 21, 2007
Few good articles i came across and found rich in knowledge, would like to share with you all
Posted in Advance Concepts, How to, Networking, VMWare, VMWare Tools | Leave a Comment »
Posted by techstarts on October 28, 2007
How to Re-start VMWare Hostd service ?
service mgmt-vmware restart
when you make change from command line, those changes might not be visible in Virtual center, to make them visible re-start of hostd is recommended.This restart process re-reads esx.conf file
TO FIND THE STATUS OF ALL SERVICES
E.g. => service –status-all
E.g. => service vmware-vpxa status
Posted in ESX-CMDs, How to, VMWare | Leave a Comment »
Posted by techstarts on September 24, 2007
Before we do this, we need to understand why are we actually enabling disk shares. Since in ESX environment we have multiple VM’s accessing the same VMFS volume and in that in case, you need to prioritize any of the VM, it is recommend practice to enable disk shares for that VM.
How to enable disk shares to prioritize virtual machines
- Start a VI Client and connect to a Virtual Center Server.
- Select the virtual machine in the inventory panel and choose Edit Settings from the right‐button menu.
- Click the Resources tab, and click Disk.
- Right‐click the Shares column for the disk you want to modify, and select the required value from the drop‐down menu.

Posted in How to, Shares, VMWare | Leave a Comment »
Posted by techstarts on September 4, 2007
How to calculate DB size for Virtual Center. This is quick excel sheet calculator from VMware, hope you will find it useful. I got this link from Advance technical design guide
www.vmware.com/support/vi3/doc/vc_db_calculator.xls
Posted in Advance Concepts, How to, VMWare, VMWare NEWS, Virtual Center | Leave a Comment »
Posted by techstarts on September 2, 2007
Three great guys and one great way of sharing knowledge. I’ve just read finishing 110 pages of this book. At all point I felt someone is talking to me, explaining me and that as well filled with great humor. My words will fall short for this book. This book reaches a cult status in my heart for one great reason and that is book comes free. I’m not sure about the entire book, after reading this book I feel very few of us will resist buying this book.
More information: www.vi3book.com
Posted in How to, VMWare, VMWare NEWS | 1 Comment »
Posted by techstarts on August 24, 2007
Below is the command which you will have to execute from SVC Console to enter host into maintenance mode
vimsh -n -e /hostsvc/maintenance_mode_enter
To exit maintenance mode
vimsh -n -e /hostsvc/maintenance_mode_exit
Now next question is how I check whether host is in maintenance mode.Here is it…
vimsh -n -e /hostsvc/runtimeinfo | grep inMaintenanceMode | awk ‘{print $3}’
For more information please visit http://www.xtravirt.com and under section white papers. I’ll rate this site 5-Stars, anyone who wish to excel in VMWare.
Posted in How to, VMWare | Leave a Comment »