In this recipe we will see how to access the logfiles and make sense of its contents.
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.
Run the following command:
less /opt/vmware/cloud-director/logs/[logfile]
Use the cursor to move around or refer to the There's more section for more detailed instructions on how to work with
less
.Exit the program by pressing q (lower case).
The cell log shows the boot status of a cell. The file is located at /opt/vmware/cloud-director/logs/cell.log
.
It contains the percentage of the cell boot. If you restart a cell after a crash or an update, this is the place to monitor (using tail –f
; refer to the There's more section), as it will tell you what fails...