Book Image

Hands-On Linux Administration on Azure - Second Edition

By : Kamesh Ganesan, Rithin Skaria, Frederik Vos
Book Image

Hands-On Linux Administration on Azure - Second Edition

By: Kamesh Ganesan, Rithin Skaria, Frederik Vos

Overview of this book

Thanks to its flexibility in delivering scalable cloud solutions, Microsoft Azure is a suitable platform for managing all your workloads. You can use it to implement Linux virtual machines and containers, and to create applications in open source languages with open APIs. This Linux administration book first takes you through the fundamentals of Linux and Azure to prepare you for the more advanced Linux features in later chapters. With the help of real-world examples, you’ll learn how to deploy virtual machines (VMs) in Azure, expand their capabilities, and manage them efficiently. You will manage containers and use them to run applications reliably, and in the concluding chapter, you'll explore troubleshooting techniques using a variety of open source tools. By the end of this book, you'll be proficient in administering Linux on Azure and leveraging the tools required for deployment.
Table of Contents (14 chapters)
13
Index

Chapter 11: Troubleshooting and Monitoring Your Workloads

  1. You can access your virtual machine using Azure Serial Console as root without a password unless it's specifically blocked.
  2. To collect all the standard output, syslog messages, and related messages from the kernel, systemd processes, and units.
  3. syslog uses the following list of severities (per application):

    Alert: Action must be taken immediately.

    Critical: Critical conditions.

    Error: Error conditions.

    Warning: Warning conditions.

    Notice: Normal but significant conditions.

    Informational: Informational messages.

    Debug: Debug-level messages.

  4. 0-Emergency, 1-Alert, 2-Critical, 3-Error, 4-Warning, 5-Notice, 6-Informational, 7-Debug.
  5. Use logger or systemd-cat. You can use it if an application or script doesn't have syslog support. Another option is to add logging entries as a part of your change management.
  6. The Azure Log Analytics service is used to view the metrics of a virtual machine.
  7. There are several...