cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
17239
Views
10
Helpful
3
Comments
vemanyam
Level 1
Level 1

 

 

Introduction

This document covers the Procedure for Dumping CUCM Fresh Install Logs - Virtualization

 

Problem Description

In order to dump install logs on a virtual UC installation, it is necessary to use a virtual serial port on the virtual machine. By default, a serial port is not present when deploying from the Cisco provided OVA. Thus it will often be the case that the first time you hit an installation problem and need to dump the logs, the serial port will not be available. Use this procedure to add a serial port to the virtual machine and dump the logs.

 

Procedure

Follow this procedure to dump install logs to the serial port on the VM.

1. When the VM is powered off, edit settings and add a serial port to the VM.

Note: You cannot add one while the VM is running.

2. You will be required at this time to attach the serial port to a file. Just attach to any temp/junk file, as this file will NOT be used to dump the logs.

3. Power on the VM and start your installation. At boot up, linux will dump some garbage characters (escape sequence characters) into the temp file you attached to the serial port.

4. When you're ready to actually dump the log files, attach a new, empty file to the serial port by editing settings of the VM while the machine is running. You do not have to power down the VM to change the file attached to the serial port.

5. After the file is saved, you can open it using 7-zip (http://www.7-zip.org/download.html)

6. After you have a successful install in the VM, power off the VM, edit settings and remove the serial port from the VM.

Capture1.JPG

Capture2.JPG

Capture3.JPG

Capture4.JPG

Capture5.JPG

Capture6.JPG

Note

Leaving the serial port (or any other unnecessary virtual hardware) can negatively impact performance of the VM. There is no other use of the serial port in a Unified CM VM other than dumping the install logs, so you will not need it again unless you do a fresh install.

Comments
msaeedi
Level 1
Level 1

and to open the file you will need the program 7zip 

BenBen
Level 1
Level 1

Hi,

 

Thanks for this document. At the end of the document it says:

"There is no other use of the serial port in a Unified CM VM other than dumping the install logs, so you will not need it again unless you do a fresh install."

 

Does this indicate that a "direct standard" install do NOT need a serial port? 

Creating this serial port would need to shutdown the VMs which is not a small task. I am performing a "Direct Standard" upgrade so I want to know if I need the serial port or not.

 

Thanks.

 

-Ben

rrendonm
Cisco Employee
Cisco Employee

No longer supported on CUCM 15, 

 

https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/install/15/cucm_b_install-guide-cucm-imp-15/cucm_b_install-guide-cucm-imp-14_chapter_0100.html

 

Steps to Recover Logs using Recovery CD
You should use the Recovery CD to recover the logs to access the diagnostic information. Follow the steps mentioned:

Insert the recovery CD.

Reboot the system.

Once the recovery CD menu comes up, press Alt + F2 to get to the command prompt.

Find the largest partition by performing a "df -h". (/mnt/part6).

Locate the install logs at: /mnt/part6/log/install/ directory.

Collect the logs.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: