How to Dump Install Logs to the Serial Port of the Virtual Machine
m (1 revision)
m (Protected "How to Dump Install Logs to the Serial Port of the Virtual Machine": Virtualization process [edit=sysop:move=sysop] [cascading])
Revision as of 21:17, 7 June 2011
Follow this procedure to dump install logs to the serial port on the VM.
- Configure a Serial Port on the VM.
- When the VM is powered off, edit settings and add a serial port to the VM.
Caution: You cannot add one while the VM is running.
- Attach the serial port to a TMP file (see the TMP File section below).
- Power on the VM and start your installation.
- When you're ready to actually dump the log files, attach a new, empty file to the serial port.
- After the file is saved, open it using 7-zip (http://www.7-zip.org/download.html)
- After a successful dump, power off the VM, edit settings and remove the serial port from the VM.
You need attach a TMP file to the serial port for the folowing reason: When you boot-up a linux server, a few garbage characters (terminal escape sequences) are output to that port. These characters corrupt the TAR format of the file--when you dump logs into that file. To obtain a valid TAR file, you must connect the serial port to a new and empty file just before you dump log to it.
Once you prevent this data corruption, go back to the VM console and proceed to dump the logs to the serial port.
If the systems halts due to an install failure, a window pops up to verify if you want to dump the logs.
Caution: BEFORE you click Yes, edit settings on the VM and attach the actual file name where you want to dump the logs. Then click Yes.
|Back to: Unified Communications in a Virtualized Environment|