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

Restoring a Logical Switch Backing Port Group


Every NSX logical switch created will have a corresponding dvPortGroup per vDS in vCenter Server. If the dvPortGroup backing logical switch is deleted or missing, the associated logical switch will not function. In this recipe, we will restore a missing dvPortGroup backing logical switch. If you want to simulate this, delete a dvPortGroup backing logical switch from the vSphere networking menu.

Getting ready

You should be logged into the vSphere Web Client as an Enterprise Administrator or NSX Administrator.

How to do it...

Follow the steps below to restore a missing dvPortGroup backing logical switch from the vSphere Web Client:

  1. From the vSphere Web Client, navigate to Home | Networking & Security | Logical Switches. Make sure the desired logical switch is listed in the center pane; if it is not, the repair procedure cannot continue. Logical switches with issues will have their status as Out of sync:

  1. Click the Out of sync status link to find more...