// removed jquery ui css and js

Log File Location

Types of Log Files

The CloudCenter platform generates log files for each major component  to help troubleshoot problems and error. CloudCenter log files are generated through the log4J library and follows the log4j format.


ComponentLog File NameLog File LocationDescription

CCO

CloudCenter maintains 10 revisions of these log files. Be sure the send the latest log file revision.


gateway.log

/usr/local/cliqr/logs/gateway.log

Logs generated by the CCO server.

config-server.log

/usr/local/cliqr/logs/config-server.logConfig logs generated by the CCO server.
capacity-collector.log/usr/local/cliqr/logs/capacity-collector.logSpecific to VMware and OpenStack cloud environments – if Capacity Management is enabled.
cloudblade.log /usr/local/cliqr/logs/cloudblade.logThe logs generated for the interaction between the cloud provider and the CloudCenter platform. See Component-Specific Processes > CCO Processes for additional details.

container-blade.log

/usr/local/cliqr/logs/container-blade.logThe logs generated for the interaction between the container and the CloudCenter platform. See Component-Specific Processes > CCO Processes for additional details.

CCM

CloudCenter maintains 10 revisions of these logs. Be sure the send the latest log file revision.


cliqr-admin.log

/usr/local/cliqr/logs/cliqr-admin.log

The logs generated by the Admin for the CCM server.

config-server.log/usr/local/cliqr/logs/config-server.logConfig logs generated by the CCM server.
hazelcast-server.log/usr/local/cliqr/logs/hazelcast-server.logHazelcast logs generated by the CCM server.
mgmtserver.log/usr/local/cliqr/logs/mgmtserver.logDatabase logs generated by the CCM server.

notification-server.log

/usr/local/cliqr/logs/notification-server.logNotification logs for CloudCenter configuration changes.
capacity-manager.log/usr/local/cliqr/logs/capacity-manager.logSpecific to VMware and OpenStack cloud environments – if Capacity Management is enabled.
PostgreSQL

Postgres-<DayofWeek>.log

/var/lib/pgsql/9.6/data/pg_log/Postgres-<DayofWeek>.log

The logs generated by the database server.

See PostgreSQL Troubleshooting > HA-Specific Database Log Files for additional files that are only used in HA environments.

AMQP
  • amqp.log
  • startup_log
/var/log/rabbitmq

The logs generated by the AMQP server. CloudCenter uses RabbitMQ as the open source message broker to implement AMQP

Linux Application VM (Optional Java Agent)cliqr-agent.log

/usr/local/c3agent/jetty/logs/cliqr-agent.log

The Jetty logs generated by the management agent server.
service.log

/usr/local/osmosix/logs/service.log 

The logs generated for application VMs with mid-tier services like Tomcat, Apache, and so forth. If those services are present, CloudCenter generates a separate log file with messages specific to the orchestration of that service.
Windows Application VM (Optional Java Agent)node-metadata.logC:\opt\jetty\logs

The Jetty logs generated for the node metadata.

cliqr-agent.logC:\opt\jetty\logs

The Jetty logs generated by the management agent.

service.logC:\Program Files\osmosix\logsThe logs generated for application VMs with mid-tier services like Tomcat, Apache, and so forth. If those services are present, CloudCenter generates a separate log file with messages specific to the orchestration of that service.
Environment Variables for Callout Scriptstimestamp is the file name/usr/local/osmosix/callout/<module_name>/logs/<timestamp>A full list on input variables is available in the callout script log.

Default GoLang-Based Logs for the Management agent

Directory/FileLinuxWindows
Agent Bundle file name

agent-lite-linux-bundle.tar.gz

agent-lite-windows-bundle.zip

Agent Home Directory/usr/local/agentliteC:\opt\agentlite
Agent Home Linked Directories

/usr/local/osmosix

/usr/local/cliqr

C:\Program Files\agentlite

C:\Program Files\osmosix

Agent Bundle timestamp file/usr/local/agentlite/utc_timestampC:\opt\agentlite\utc_timestamp
Remote Files Directory/opt/remoteFilesC:\temp\remoteFiles
System Logs

/var/log/messages or /var/log/syslog

Use Windows Event viewer

Agent Log Directory and Files

/usr/local/agentlite/log

  • agent.log - Agent log
  • agent_setup.log - Installation log
  • nohup.err - Error log if agent crashes due to unhandled exception

C:\opt\agentlite\log

  • agent.log - Agent log
  • agent_startup.log - Agent service startup/error log
Agent Install Log/usr/local/agentlite/log/agent_setup.logC:\opt\agent_install.log
Agent Upgrade Log/usr/local/cliqrstage/c3upgrade.logC:\opt\c3upgrade.log

Agent Config file

/usr/local/agentlite/config/config.json

C:\opt\agentlite\config\config.json
Log Config File/usr/local/agentlite/config/log_config.jsonC:\opt\agentlite\config\log_config.json
User Data File/usr/local/osmosix/etc/user-dataC:\Program Files\osmosix\etc\user-data
Raw User Data File/tmp/rawUserDataC:\temp\rawUserdata.ps1
Node Metadata App/usr/local/ccc_node-metadataC:\opt\ccc_node-metadata.exe
Node Metadata Log/usr/local/node-metadata/log/node_metadata.logC:\opt\node-metadata\log\node_metadata.log
Sigar App/usr/local/agentlite/lib/ccc_gosigarC:\opt\agentlite\lib\ccc_gosigar.exe
Sigar Log/usr/local/agentlite/log/gosigar.log

C:\opt\agentlite\log

  • gosigar.log - Sigar service log
  • gosigar_startup.log - Sigar service startup log
Service Logs/usr/local/agentlite/logs/service.logC:\opt\agentlite\logs\service.log
Collection Metrics Configuration

/usr/local/agentlite/collections/config/

  • metric_config.json
  • schedule_config.json

C:\opt\agentlite\collections\config

  • metric_config.json
  • schedule_config.json
Collection Metrics Data/usr/local/agentlite/collections/files/C:\opt\agentlite\collections\config\files\
Agent Version File/usr/local/agentlite/versionC:\opt\agentlite\version

Agent Git Build Information

File content is formatted as: <COMMIT_ID>

/usr/local/agentlite/buildinfoC:\opt\agentlite\buildinfo


Logging Levels

For detailed logging, CloudCenter offers multiple levels to control the granularity of information printed in the log files. CloudCenter provides standard logging levels. Out-of-the box the logging level is set to default.

level
  • Description: The log level for this file.
  • Type: Enumeration

    EnumerationDescription
    ALLAll levels of logging
    DEBUGDetailed information on the system flow and are generally written to logs.
    ERROROther runtime errors or unexpected conditions and are generally visible on the CCM UI.
    FATALSevere errors that cause premature termination and are generally visible on th CCM UI.
    INFOStartup or shut down runtime events and are are generally visible on the CCM UI.
    so be conservative and keep to a minimum.
    TRACEDetailed log information and are generally written to logs.
    WARNUse of deprecated APIs, poor use of API, other runtime situations that are undesirable or unexpected and area generally visible on the CCM UI
     TRACE_INT Detailed log information and are generally written to logs.
    OFFTurns off logging.

Retrieve a Log File

To retrieve any log file, follow this procedure:

  1. Change to the required log file directory. For example, if you are retrieving the CCO log file:

    cd /usr/local/cliqr/logs

  2. Download the log file.

  3. If you are forwarding this log file to CloudCenter Support, attach this file to your support ticket.

The Log Collector

See Log Collector (Required) and Download Log File for additional context

  • No labels
© 2017-2019 Cisco Systems, Inc. All rights reserved