Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

Crash down for VM host

The machine is DL380G6 2 x Xeon X5560 2.8Ghz holding 6 VM guest. The VM host is crashed few days ago and we need to reboot it. It took > 20min before we could connect to the server again.

There was a message keep prompting on the console but I hadn't written it down due to urgency. Is it possible to retrieve this type of messsage ? Any better suggestion to cope with this type of problem next time is appreciate.
Avatar of lovableurs
lovableurs
Flag of United States of America image

try to remember anything that you think off without any info it would be very hard for anyone to help you out.

was the message related to the hardware or the software of anything else?
Avatar of AXISHK
AXISHK

ASKER

Seem like relate to OS, VMware 4.0 ..

Where can I retrieve the log ? I could post it.

Tks
Avatar of AXISHK

ASKER

Try to go to Home --> Administration --> System Logs but the logs only logged the messages after rebooting. It seems that it couldn't log the message before reboot....
SOLUTION
Avatar of lovableurs
lovableurs
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

a bunch of text (same message) rolling on the screen but I couldn't remember the error message ...

Tks
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
the main issue with ESXi is the logs will be erase when the system restarts, so in future you will need to setup, a Syslog Server of vMA Server for the logs to be sent to, so they are not stored on the server.

see here

http://kb.vmware.com/kb/1016621

http://www.virtuallyghetto.com/2010/06/esxi-syslog-caveat.html

What happened when the server crashes, can you explain in details what happened, what was not working?

e.g. could you ping the Host Server, could you ping the VMs?
Avatar of AXISHK

ASKER

I could ping the VM server but couldn't ping the VM guest. However, I couldn't connect to the VM host through the Vsphere client...

Tks
that's very odd, you could ping the server but not the guest.

it might be worth also checking the vmware.logs in the folder of the VM, which are the logs for the VM running on the Hypervisor.
Avatar of AXISHK

ASKER

THe VM host was hanged up again today. This is the second time within a week.

When I go to the console, the command prompt doesn't response to any input. No error message was logged in the console. Again, we couldn't ping the VM host IP but not the guest IP.

Any idea how to isolate the problem ?


Thanks
did you setup the Syslog server, to look at the logs?
Avatar of AXISHK

ASKER

Is there any free Syslog server that I could use ? Can't fix out what I need to set, should i just follow the instruction in "Configuring Remote logging using the vSphere Command Line Interface" ? Can the log be directed to local datastore as the article also mention the following :

"Syslog.Local.DatastorePath - a location on a local or remote datastore and path where logs are saved to. Has the format [datastorename] directory/filename, which maps to /vmfs/volumes/datastorename/directory/filename."

Can you list out the simplest steps that I set the logs ?

Thanks.
you will need to use a Syslog Server, so logs remain after a reboot

http://sourceforge.net/projects/syslog-server/

there is a Syslog server on the vCenter 5.0 cdrom

specify the IP Address of the syslog server.
Avatar of AXISHK

ASKER

Install the syslog on a file server. From file server, I could ping the VM host but I couldn't ping to file server from VM host.

The VM host has two leg, one is plugging into DMZ and the other is plugged into internal network. Is it the root of the problem ? How can I fix it ?

Thanks
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,
Threre are couple of possibilities,

How are your network cards configured? what the Ip of both network?
Are there more then one gateway?

thanks
Avatar of AXISHK

ASKER

The physical Vm host has two physical network card connecting to two different gateways. The VM are configured to different gateways based on the role and requirement.

Will that be the problem ? How can I check and fix it ?

Thanks
Unlikely this causes the host to crash. Check the logs.
Avatar of AXISHK

ASKER

Try to configure the syslog but doesn't work. Any idea ? We are using vsphere 4.

Thanks
VM01.bmp
this is because the operation needs to be performed using the  vSphere CLI from a client. It's not a common used on the ESXi console.
Avatar of AXISHK

ASKER

Sorry, can u tell me how to access vSphere CLI from a client ? Is it under Vsphere client ?

Thanks
Avatar of AXISHK

ASKER

Let try to close this thread first and will post my question when setting up the syslog server.<br /><br />Thanks.