Archive for February, 2010

VMware Capacity Alerts on your Desktop

Posted: February 26, 2010 in VMware

I thought you might be interested in the new fee tool that VKernel released today. Capacity View provides quick visibility and alerting to the storage and server capacity issues in your VMware virtualized infrastructure. This powerful tool is a desktop app that downloads in 2 minutes and can be connected to ESX, vCenter or VKernel’s VM Stats or Optimization Pack applications.

Capacity View identifies capacity based performance issues such as virtual machine I/O latency or under-allocated CPU, memory or storage. Additionally, it monitors your available capacity for new VM deployments and shows you which over-provisioned VMs can be rightsized to free up wasted capacity.

Redhat – ACL

Posted: February 26, 2010 in Redhat

This is the best site to understand ACL

- First Mount the partition with ACL support
- vi /etc/fstab
- /dev/emcpowerb1 /backup ext3 defaults,acl 0 0
- mount -o remount /export
- Ckeck with mount command
- sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/emcpowerb1 on /backup type ext3 (rw,acl)

getfacl /

[root@gorgon Finance]# getfacl Planning
# file: Planning
# owner: root
# group: root

- Set user level Permission
- setfacl -m u:paulb:rwx Planning
- Take out group and other permission
- setfacl -m u::---,g::---,o:--- Planning

Remove User from ACL


Problem :

I was facing this issue in my Production SAMBA file server . Some of the user was complaning
while downloding the file from the share drive …it takes too long and eventually Crash .

After investigation in the /var/log/message while user is trying to open the file , I have came accross with the folloing error message .

Feb 25 16:47:00 gorgon smbd[8344]: [2010/02/25 16:47:00, 0] smbd/oplock.c:oplock_timeout_handler(366)
Feb 25 16:47:00 gorgon smbd[8344]: Oplock break failed for file Product Files/Product Files 2010/Optical Equipment/Aus Instruments & Equipment/OPHTHALMIC EQUIPMENT ORDERING/Order Tracking/Copy of AUS Specsavers Ophthalmic Equipment Order Tracking 150709v5.xls — replying anyway

Solution :

Trying to google around with problem and try to put some fix from there , but does not work .Then figure it out, the date on the server was wrong and ntpd was crashed . So with my understanding it was the time stamp on the file confusing the SAMBA and hence the document was crashing ..

Just put the following scripts under /etc/cron.hourly and My problem is solved for ever 🙂

/etc/init.d/ntpd stop
/etc/init.d/ntpd start

VMware – PSOD (Purple Screen of Death)

Posted: February 24, 2010 in VMware

Check below for PSOD and possible resolution .

VMware – PSOD (Purple Screen of Death)

Posted: February 24, 2010 in VMware

Check below for PSOD and possible resolution .

VMware – Error : Canot Shutdown VM

Posted: February 24, 2010 in VMware

Error : While shutting down one vm it is say ,
"can perform the task as another process is running "
Solution : Check the knowledge Base on

The quick sulition is .
- Log in to the ESX host with username
- su to root
- execute command "service mgmt-vmware restart"

It should fix the problem .

VMware – Enable SSH on ESXi

Posted: February 24, 2010 in VMware

ESXi 3.5 does ship with the ability to run SSH, but this is disabled by default (and is not supported). If you just need to access the console of ESXi, then you only need to perform steps 1 – 3.

1) At the console of the ESXi host, press ALT-F1 to access the console window.
2) Enter unsupported in the console and then press Enter. You will not see the text you type in.
3) If you typed in unsupported correctly, you will see the Tech Support Mode warning and a password prompt. Enter the password for the root login.
4) You should then see the prompt of ~ #. Edit the file inetd.conf (enter the command vi /etc/inetd.conf).
5) Find the line that begins with #ssh and remove the #. Then save the file. If you’re new to using vi, then move the cursor down to #ssh line and then press the Insert key. Move the cursor over one space and then hit backspace to delete the #. Then press ESC and type in :wq to save the file and exit vi. If you make a mistake, you can press the ESC key and then type it :q! to quit vi without saving the file.
6) Once you’ve closed the vi editor, run the command /sbin/ restart to restart the management services. You’ll now be able to connect to the ESXi host with a SSH client.