Working with vCloud logfiles

In this recipe we will see how to access the logfiles and make sense of its contents.

Getting ready

We just need a working vCloud environment.

How to do it...

We will first see how to access a logfile and then we will go into the specifics of the two most important files, followed by a look at the vCNS logfiles.

Working with a vCD cell logfile

  1. Log in to the vCloud Cell.
  2. Gain root access, if you haven't already.
  3. Run the following command:
    less /opt/vmware/cloud-director/logs/[logfile]
    
  4. Use the cursor to move around or refer to the There's more section for more detailed instructions on how to work with less.
  5. Exit the program by pressing q (lower case).

Cell log

The cell log shows the boot status of a cell. The file is located at ...

Get VMware vCloud Director Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.