Routing the world

Routing & IT System Administration

Archive for February 2011

VMWare ESX/ESXi iSCSI Management via console

leave a comment »

The VMWare iSCSI configuracion file on ESX and ESXi is:

The command to manage the iSCSI initiator services is esxcfg-swiscsi

So you can use it to make the administration tasks you need, for example;

Disable using the command:
esxcfg-swiscsi -d

Enable using the command:
esxcfg-swiscsi -e

Verify the initiator is running using the command:
esxcfg-swiscsi -q

Scan for new targets using the command:
esxcfg-swiscsi -s

Written by Root

February 22, 2011 at 12:00

Posted in Linux, VMWare

Tagged with , ,

VMWare ESX 3.5 Detect iSCSI reservation conflicts

leave a comment »

To obtain information about the reservation conflicts that may hang a iSCSI LUN:

esxcfg-info | egrep -B5 "s Reserved|Pending"

If you need to reset the LUN:

vmkfstools -L lunreset /vmfs/devices/disks/vmhbaXX\:YY\:Z\:N

Written by Root

February 4, 2011 at 13:23

Posted in VMWare

Tagged with ,

VMWare VCenter 4.1 64Bit crash with no logs

leave a comment »

I have installed VC4.1 64Bit and after a couple days of use the service crash when you open a VM Settings or creating a new VM.

In the windows machine there is no log information that helps to know the problem.

After some research, and 3 failed new installations, I could see some information in the VPX Log about a service kernel panic.

In the VMWare Communities says the service sometimes fails with no information when there is multiple access to one VM vmdk files. (What happends with Multipath?)

The solution:

  1. Go to C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter
  2. Edit vpxd.cfg
  3. add to the end of the file just before the </config> the next sentence:

<vmomi> <panicOnLinkErrors>false</panicOnLinkErrors>  </vmomi>

After configure, restart de VCenter Server and the problems will stop.


Written by Root

February 4, 2011 at 10:48

Posted in VMWare

Tagged with

Postfix: Envelope records out of order

leave a comment »

If you make a migration between Postfix servers, or a system recovery, you may find when you manually copy de Maildir files or spool files this string in your server logs

fatal: 98GH09DFI: envelope records out of order

Note that “98GH09DFI” is a Queue ID that could be anyone.

The reason for this issue is the corruption of the input queue, causing all incoming messages to be stored in the “Deferred Queue”.

To fix this you need to locate that file in the pool of Postfix:
#cd /var/spool
#find . -name "98GH09DFI"

And delete the files:
rm -rf ./postfix/defer/6/98GH09DFI ./postfix/active/98GH09DFI

Sometimes the file is not found… so you have to use the postsuper command:
postsuper -d 98GH09DFI

The postsuper command is a swiss kniffe for Postfix Queue.

Written by Root

February 1, 2011 at 13:19

Posted in Linux

Tagged with ,

%d bloggers like this: