Book Image

VMware NSX Cookbook

By : Bayu Wibowo, Tony Sangha
Book Image

VMware NSX Cookbook

By: Bayu Wibowo, Tony Sangha

Overview of this book

This book begins with a brief introduction to VMware's NSX for vSphere Network Virtualization solutions and how to deploy and configure NSX components and features such as Logical Switching, Logical Routing, layer 2 bridging and the Edge Services Gateway. Moving on to security, the book shows you how to enable micro-segmentation through NSX Distributed Firewall and Identity Firewall and how to do service insertion via network and guest introspection. After covering all the feature configurations for single-site deployment, the focus then shifts to multi-site setups using Cross-vCenter NSX. Next, the book covers management, backing up and restoring, upgrading, and monitoring using built-in NSX features such as Flow Monitoring, Traceflow, Application Rule Manager, and Endpoint Monitoring. Towards the end, you will explore how to leverage VMware NSX REST API using various tools from Python to VMware vRealize Orchestrator.
Table of Contents (19 chapters)
Title Page
Packt Upsell
Foreword
Contributors
Preface
Index

Configuring the NSX Components Syslog


In this recipe, we will configure NSX components logs to be sent to a syslog collector, view the logs via the console, and figure out how to download the tech support log. NSX Manager logs are extremely important during troubleshooting, and knowing where to get the appropriate log is crucial.

Getting ready

You will need to have the following access and configurations present before proceeding with this recipe:

  • NSX Manager deployed
  • Access to the NSX Manager appliance via a web client and CLI using either the console or SSH
  • Syslog collector available for log shipment

How to do it...

This recipe is made up of three different parts, which are as follows:

  • Configuring the NSX Manager Syslog
  • Configuring the NSX controller node Syslog
  • Configuring the NSX Edge Syslog

Configuring the NSX Manager syslog

You can configure NSX Manager to forward logs to an external syslog server from the NSX Manager web interface UI. Perform the following steps to forward NSX Manager logs to...