How to deploy Skylight sensor: capture Virtual Appliance in VMware
  • 14 Apr 2022
  • 11 Minutes to read
  • Contributors
  • PDF

How to deploy Skylight sensor: capture Virtual Appliance in VMware

  • PDF

Article summary

Introduction

This article explains how to deploy a Skylight sensor: capture (previously PVX) Virtual Appliance in VMware.

Basic Principles

slide 4.PNG

North to South Visibility

  • 100% user activities covered
  • 100% applications analyzed
  • Long look back retention
  • Performance baselines
  • L2 to application transactions
  • Automated analysis

slide 5.PNG

East to West Visibility

  • Addresses both infrastructure and application requirements
  • Non-intrusive virtualized datacenter integration
  • Full application-chain insight across hybrid clouds & SDNs
  • Fast time to value
  • Low TCO

slide 6.PNG

Universal Coverage: Virtual, IaaS, SDN

Skylight sensor: capture leverages its pure software sniffer to deliver agentless performance management in virtualized and cloud environments.

slide 7_1.PNG

Others relying on hardware components offer intrusive alternatives requiring NICs, Network Packet Brokers (NPB), and generate additional traffic load.

slide 7_2.PNG

In VMware, there are three traffic capture techniques based on:

  • Virtual Standard Switch (VSS)
  • Distributed Virtual Switch (DVS)
  • Encapsulated Remote SPAN (ERSPAN)

The choice is basically based on two factors:

  1. The VMware vSphere license : « Enterprise+ » or not
  2. The PVX VA (Virtual Appliance) location vs the location of the VMs you intend to monitor the traffic from/to.
Technique availableStandard or Enterprise VMware vSphere licenseEnterprise+ VMware vSphere license
Virtual Standard Switch(✓​)
Distributed Virtual SwitchX
ERSPANX
Technique availableSkylight sensor: capture VA on the same ESX Host as the VMs to monitorSkylight sensor: capture VA on a different ESX Host than the VMs to monitor but on the same L2 networkSkylight sensor: capture VA on a different ESX Host than the VMs to monitor and on a different L3 network
Virtual Standard SwitchXX
Distributed Virtual SwitchXX
ERSPAN(✓)

(✓) = Not recommended

Technique availableAdvantagesDisadvantages
Virtual Standard Switch
  • Supported on all VMware vSphere licenses
  • Operates as a « hub » (port mirroring per VSS or Port Group)
    • Bandwidth usage
    • Security concerns
  • Only valid in case Skylight sensor: capture VA and VMs to monitor are located on the same ESX Host
Distributed Virtual Switch
  • Port mirroring configurable per VM (Port ID)
  • Only for Skylight sensor: capture VA and VMs to monitor located on the same host
ERSPAN
  • Can be used on all possible scenario (same host, same or different L2/L3 networks)
  • Bandwidth usage for inter-hosts traffic

How to Install Skylight sensor: capture in a VMware Environment

With the vSphere web client

To install Skylight sensor: capture in a VMware environment

image.png

  1. Select Hosts & Clusters.
  2. From this list, select Datacenter-PVX.
  3. Go to the ACTIONS menu.
  4. Select Deploy OVF Template…

image.png

  1. In the Select an OVF template step, select the Local file radio button and click Choose files
  2. Browse to your local copy of the PVX.ova file.
  3. Click Open.

image.png

  1. Click on NEXT.

image.png

  1. In the Select a name and folder step, change the name of the Skylight sensor: capture VA (if needed) (1).
  2. Choose the Site (container) in which to deploy Skylight sensor: capture VA (2).
  3. Click NEXT (3).

image.png

  1. In the Select a compute resource step, choose the ESX Host on which to install Skylight sensor: capture VA (1) and click NEXT (2)

image.png

  1. In the Review details step, click NEXT.

image.png

  1. In the License agreements step, accept the license agreement (1) and click NEXT(2).

image.png

  1. In the Select storage step, choose your storage strategy (if not sure, select Thin Provision (1)) and click NEXT (2).

image.png

  1. In the Select Networks step, let the destination network remain default (we’ll adjust this later), just click NEXT.

image.png

  1. In the Ready to complete step, click FINISH.

image.png

  • Skylight sensor: capture VA is being deployed:
    image.png

  • Skylight sensor: capture VA has been succesfully deployed:
    image.png

How to Add Sniffing Interfaces to the Skylight sensor: capture Virtual Appliance

To add sniffing interfaces to the Skylight sensor: capture virtual appliance

  1. Select Hosts & Clusters.
  2. Select SkyLIGHT PVX.
  3. Go to the ACTIONS menu.
  4. In the drop-down menu, select Edit Settings...

image.png

  1. Click ADD NEW DEVICE.
  2. In the drop-down menu, select Network Adapter.
  3. Click OK.

image.png

  • You can create up to 10 network interfaces per Skylight sensor: capture VA (VMware limitation).

image.png

Virtual Standard Switch (VSS) Configuration

Scenario 1 - for intra-VMs capture only: Goal is to capture traffic between VM1 and VM2

slide 32.PNG

Configure the Mirror VSS

  1. Select Hosts & Clusters.
  2. Choose 192.168.33.131.
  3. Select the Configure tab.
  4. Select Virtual switches.
  5. Click on vSwitch0.
  • In the Port Groups tab, Management Network is the standard VMKernel Port Group and VM Network is the default VSS for virtual machine deployment.

image.png

  • Perform identical VSS configuration on the second ESK Host (192.168.33.132).

image.png

To configure the Mirror VSS

  1. Select Hosts & Clusters.
  2. Choose 192.168.33.131.
  3. Select the Configure tab.
  4. Select Virtual switches.
  5. Click on Add Networking.

image.png

  1. In the Select connection type step, select the Virtual Machine Port Group for a Standard Switch radio button (1) and click NEXT (2).

image.png

  1. In the Select target device step, select the New standard switch radio button (1), change the MTU value to 9,000 if you want to analyze jumbo frames (2) and click NEXT (3).

image.png

  1. In the Create a Standard Switch step, click NEXT (1), OK in the pop-up window (2) and NEXT once more (3).
    If you intend to only capture intra-virtual machine traffic, you do not need to specify a physical interface for this vSwitch.

image.png

  1. In the Connection settings step, Fill in the name you that you want for the default Port Group of this new vSwitch (1), select one of two available options (2) and click NEXT (3).

image.png

  1. In the Ready to complete step, review and click FINISH.

image.png

  • A new VSS (vSwitch1) has been created on ESX Host 192.168.33.131.

image.png

  • Note that a VSS is configured per ESX Host. No vSwitch1 has been created on the ESX Host 192.168.33.132.

image.png

Connect the Skylight sensor: capture VA sniffing i/f to the VSS

To connect the Skylight sensor: capture VA sniffing i/f to the VSS

  1. Select Hosts & Clusters.
  2. Select SkyLIGHT PVX.
  3. Go to the ACTIONS menu.
  4. In the drop-down menu, select Edit Settings...

image.png

  1. Under Network adapter 2, select VM Network (1), Mirror (2), and then OK (3).

image.png

  1. Click OK once more.

image.png

Configure the Promiscious mode on the VSS

To configure the Promiscious mode on the VSS

  1. Select Hosts & Clusters.
  2. Choose 192.168.33.131.
  3. Select the Configure tab.
  4. Select Virtual switches.
  5. Click on vSwitch1.
  6. Click Edit...

image.png

  1. Under the Security step (1), click the arrow (2) and select Accept (3) to enable Promiscuous mode.

image.png

Migrate the VMs for which you want to capture the traffic

To migrate the VMs for which you want to capture the traffic

  1. Select Hosts & Clusters.
  2. Select Front-end Server.
  3. Go to the ACTIONS menu.
  4. In the drop-down menu, select Edit Settings...

image.png

  1. Under Network adapter 2, select VM Network (1), Mirror (2), OK (3), and then OK (4) again.

image.png

  1. Check to see if all virtual machines to monitor have been correctly moved to 'Mirror' Port Group of the vSwitch 1.

image.png

Scenario 2 – You need to capture traffic between physical network and VMs…

This scenario is a combination of scenario 1 and captureing traffic between physical network and virtual machines. The VSS must be connected to a physical host interface.

slide 57.PNG

To capture traffic between physical network and VMs

  1. Select Hosts & Clusters.
  2. Choose 192.168.33.131.
  3. Select the Configure tab.
  4. Select Physical adapters. There is one available physical network interface.

image.png

  1. Select Hosts & Clusters (1); choose 192.168.33.131 (2); select the Configure tab (3); select Virtual switches (4), vSwitch1 (5), and then click Manage Physical Adapters... (6).

image.png

  1. In the Manage Physical Network Adapters dialog window, click the Add button (1), select the network adapter (2), click OK (3), and then click OK (4) again.

image.png

  1. Review the Active adapters configuration and click OK.

image.png

Scenario 3 – VSS segmentation with multiple Port Groups

This scenario may be utilized if you intend to monitor traffic from and to VM1 only.

slide 63.PNG

  1. Select Hosts & Clusters.
  2. Choose 192.168.33.131.
  3. Select the Configure tab.
  4. Select Virtual switches.
  5. Select vSwitch1.
  6. Click Add Networking...

image.png

  1. In the Selected connection type step, select the Virtual Machine Port Group for a Standard Switch radio button (1) and click NEXT.

image.png

  1. In the Select target device step, select an existing standard switch, vSwitch1 (1) and click NEXT.

image.png

  1. In the Connection settings step, fill in the name of the new Port Group (1) and select VLANID All (4095) (2) in order to take VLANs into account. Then click NEXT (3).

image.png

  1. In the Ready to complete step, review and click FINISH.

image.png

  • vSwitch1 has been segmented into two Port Groups. Mirror can be put in promiscious mode while VM Network 2 cannot.

image.png

Distributed Virtual Switch (DVS) Configuration

slide 71.PNG

Example of DVS already configured for the customer

image.png

  • In the above figure, both ESX Hosts are using the DVS.

image.png

  • In the above figure, all virtual machines are connected to the DVS.

Requirements

  1. DVS creation for Skylight sensor: capture VA admin port
  • Create the DVS
  • Add the Host to the DVS
  • Change DVS MTU
  1. Mirroring configuration

DVS Creation for Skylight sensor: capture VA Admin Port Procedure

  1. Create the DVS.
  • A DVS is created at the Site level, not at an ESX Host level.
    image.png

  • Fill in a name for the DVS and click NEXT.

image.png

  • Select the version corresponding to the oldest version of the ESX Hosts that will be connected to the DVS and click NEXT.

image.png

  • Select 1 as one physical NIC that will be used, choose a name for the default Port Group associated to the DVS, and click NEXT.

image.png

  • Click FINSH.

image.png

  • DVS has been created but a physical interface (NIC) has yet to be assiociated.

image.png

  1. Add the Host to the DVS.

image.png

  • Only the ESX Host that hosts the Skylight sensor: capture virtual appliance has to be part of the DVS.

image.png

image.png

  • Select the available NIC that has yet to be assigned.

image.png

  • During the DVS creation process, we have created just one uplick; select it and click OK.

image.png

  • The physical NIC (vmnic1) has been assigned to the default Port Group of the DVS.

image.png

  • Click NEXT.

image.png

  • Select the Admin interface of your Skylight sensor: capture virtual appliance. It will be connected to the DVS.

image.png

  • Click OK.

image.png

  • The Skylight sensor: capture virtual appliance Admin interface has been assigned; click NEXT.

image.png

  • Click FINISH.

image.png

  1. Change DVS MTU.

image.png

image.png

image.png

Mirroring Configuration Procedure

We'll configure a DVS mirroring to capture traffic between the Front-end and Back-end servers (in both directions).

Remember the Port ID for:

  • The virtual machines to monitor (Port ID 1 and 3)
  • The Skylight sensor: capture virtual appliance capture interface (Port ID 2)

The reason being, it will be useful in real enterprise environments.

image.png

image.png

  • In the Select session type step, select Distributed Port Mirroring as session type and click NEXT.

image.png

  • In the Edit properties step, fIll in a name, select Enabled if you want to immediately activate the mirror after creation, and click NEXT.

image.png

  • In the Select sources step, select the source ports of the port mirroring session, click OK, and then click NEXT.

image.png

  • The traffic is captured in both directions by default. Click NEXT.

image.png

  • In the Select destinations step, select the destination ports and the uplinks of the port mirroring session, click OK, and then click NEXT.

image.png

  • Click NEXT.

image.png

  • Review and click FINISH.

image.png

  • Configuration is complete.

image.png


CAUTION: The same DVS-based mirroring can be configured for separate ESX Hosts (Skylight sensor: capture VA sniffing port not on the same ESX Host as the intra-VMs traffic to monitor) installed on the same L2 network, BUT...even if VMware lets you configure it, it is NOT supported by VMware!

This setup below is configurable without any warning message but is NOT supported by VMware due to the fact that you won’t see any captured traffic on Skylight sensor: capture VA.

slide 112.PNG

ERSPAN Configuration

This includes the original traffic between virtual machine 1 and virtual machine 2.

slide 114.PNG

  • We now want to capture the traffic between two virtual machines located on separate ESX Hosts.

image.png

  • The two virtual machines we want to capture the traffic from are located on an ESX Host that is not covered by a Skylight sensor: capture virtual appliance.

image.png

image.png

  • In the Select session type step, select Encapsulated Remote Mirroring (L3) Source as port mirroring session type and click NEXT.

image.png

  • In the Edit properties step, choose a name, select an Encapsulation type, and click NEXT.
  • Skylight sensor: capture supports the three types of encapsulation; notice that ERSPAN Type III supports timestamping.

image.png

  • Review and click FINISH.

image.png

  • Configuration is complete.

image.png

vMotion

  • vMotion is the VMware’s ability to dynamically move VMs from host depending on certain criteria (failures, workloads, …)
  • Customers are allowed to let Skylight sensor: capture VA being vMotioned together with customers’ VMs as this does not change the UUID.
vMotion supportedLimitations
Virtual Standard Switch (VSS)image.pngThe VSS should be identical (same name and configuration) on every hosts that are part of the vMotion scope
Distributed Virtual Switch (DVS)image.pngAs DVS-based mirroring does not work between different hosts, Skylight sensor: capture VA must follow the VMs it is monitoring (possible via Affinity configuration)
ERSPANimage.png
  • One possibility to insure some VMs stay on the same host is to configure VM-VM affinity.
  • VMware affinity configuration requires the usage of VMware clusters. The following sections show how to create a cluster, put host in it and configure VM-VM affinity. This is provided as a reference as this kind of configuration is normally part of the customer’s whole VMware strategy and should be in place or configured by the customer themselves.

VMware Cluster Configuration

  • Create a new cluster by selecting New Cluster... in the ACTIONS drop-down menu.

image.png

  • Choose a name for the cluster and ensure to turn ON DRS, then click OK.

image.png

Adding Host to the Cluster

  • Add a host to the new cluster by selecting Move To... in the ACTIONS drop-down menu.

image.png

  • Select destination and click OK.

image.png

  • Option is to be checked with the customer as it depends on the current configuration.

image.png

VM-VM Affinity Configuration

  • In the Configure tab, select VM/Host Rules and click Add...

image.png

  • Choose a name for the rule (ensure Enable rule is checkmarked and that Type is Keep Virtual Machines Together).
  • Click Add..., and select the virtual machines that must stay together on the same ESX Host.
  • Once finished, click OK.

slide 136.PNG

  • Review the new VM/Host Rule and click OK.

image.png

  • The VM-VM Affinity configuration is complete and will appear under VM/Host Rules.

image.png

© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.