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

Deploying the NSX Manager virtual appliance


Deploying the NSX Manager virtual appliance is the first step to enabling network virtualization in your vSphere environment. In this recipe, you will go through the steps to enable your environment for NSX.

The following diagram depicts the logical process of enabling your environment for network virtualization, and the first four steps will be covered in this chapter:

Getting ready

Before deploying NSX Manager, the following prerequisites need to be satisfied:

  • Static IP address and portgroup for NSX Manager
  • Firewall ports open between NSX Manager, vCenter server, and ESXi VMKernel 0 Interface on each host (refer to Appendix for a complete list of ports)
  • Forward and reverse DNS entries for NSX Manager
  • NTP server is accessible; minimum of four is recommended for accurate time
  • Shared datastore for the appliance to be deployed onto
  • Satisfy minimum requirements for NSX Manager
  • Fill in the following table before deployment (removing prefilled data to reflect your environment):

Component

Value

NSX appliance name

nsxmgr-01a

NSX Manager hostname

nsxmgr-01a

vSphere cluster

RegionA01

Datastore

vsanDatastore

vSphere network (Portgroup)

VM Network

IPv4 address

192.168.1.111

Subnet mask

255.255.255.0

Default gateway

192.168.1.254

Domain name

corp.local

DNS server(s)

192.168.1.100

NTP servers(s)

192.168.1.100 (Use four in production)

Enable SSH

yes

CLI password

VMware1!

CLI privilege password

VMware1!

How to do it...

The following steps will detail how to deploy the NSX Manager appliance:

  1. Log into the vSphere Web Client
  2. Select Hosts and Clusters, right-click on the target cluster and select Deploy OVF Template
  1. Select Local File and locate the NSX Manager OVA downloaded earlier; click on Next
  2. Type in the Name of the virtual appliance and click on Next
  3. Select the vSphere cluster and resource where you want to deploy NSX Manager and select Next
  4. Review details, Accept license agreements and click on Next
  5. Select the shared datastore of where you want the virtual appliance to be deployment onto
  6. Select the VLAN-backed portgroup as defined earlier and click on Next
  7. Fill in the template details as highlighted in the preceding table and click on Next
  8. Ensure all details are correct and click on Finish: