Friday, November 27, 2009

VMware error: "Another task is already in progress"

Sometimes, in VMware ESX 3.5 and vSphere 4.0, when you try to perform some actions against a virtual machine (like for example to take a snapshot or to rename it) the system throw an exception with the message "Another task is already in progress" even if there are no active tasks.

The solution is to ssh to the physical ESX server that the virtual machine resides on and restart the “mgmt-vmware” service as the user root.

service mgmt-vmware stop
    Stopping VMware ESX Management services:
    VMware ESX Host Agent Watchdog [ OK ]
    VMware ESX Host Agent [ OK ]


Wait 30 seconds and start the service

service mgmt-vmware start
    Starting VMware ESX Management services:
    VMware ESX Host Agent (background) [ OK ]
    Availability report startup (background) [ OK ]


The ESX server and any virtual machines hosted on it will disconnect from the Virtual Infrastructure/vSphere Client and can be reconnected by right clicking on the ESX server and choosing “reconnect”.

When it reconnects attempt the tasks that were failing earlier and they should now as intended.

Friday, November 6, 2009

Exchange 2007 Message Size Limit

In Microsoft Exchange 2007 you have 10Mb limit for messages size. To increase this limit, you have to do several configurations.

After setting the single user mailbox limit from the GUI (Exchange Management Console), go to the shell (Exchange Management Shell) and type the commands below. Uppercase commands print the configuration parameters, "set" commands modify the values.


GET-TRANSPORTCONFIG

set-transportconfig -MaxReceiveSize VALUE
set-transportconfig -MaxRecipientEnvelopeLimit VALUE
set-transportconfig -MaxSendSize VALUE


GET-RECEIVECONNECTOR LIST

set-receiveconnector -MaxMessageSize VALUE (if requested, the "identity" are listed by the upper command)


GET-SENDCONNECTOR LIST


set-sendconnector -MaxMessageSize VALUE (if requested, the "identity" are listed by the upper command)



VALUE can be expressed, for example, like 10000 or 10MB