This article describes how to capture a target-side network trace from a Provisioned Services (PVS) machine.
Hypervisors:
XenServer 5.x
XenServer 6.x
VMware ESX 4.x
VMware ESXi 5.x
Hyper-V 2012
Or
Physical Environment (including but not limited to HP/IBM/Dell/Cisco target devices)
Choose a PVS target device Virtual Machine that exhibits the behavior you want to capture (boot, performance, etc.).
Follow the instructions for capturing a trace using the TCPDump utility described in the following Knowledge Center article:
CTX120869 - How to Capture a Network Trace from a XenServer Physical Interface, Virtual Bridge, and VM Virtual Interface
Choose a PVS target device virtual machine that exhibits the behavior you want to capture (boot, performance, etc.).
Enable Promiscuous Mode on the VMware vSwitch where the target Virtual Machine is located as described in the following link: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004099
Create a new Windows Virtual Machine or use an existing one that is located on the same vSwitch and the same VMWare host as the provisioned device to install the latest version of WireShark www.wireshark.org.
Note: This second Virtual Machine is not required to be provisioned through Provisioning Services.After reproducing the issue, stop the trace and save it in its native format (pcap, ncap, etc.).
Choose a PVS target device Virtual Machine that exhibits the behavior you want to capture (boot, performance, etc.).
Follow the instructions for capturing a trace using Port Mirroring described in: https://blogs.technet.microsoft.com/mspfe/2012/11/28/virtual-machine-network-monitoring-the-easy-way-with-hyper-v-in-windows-server-2012/
Choose a PVS target device that exhibits the behavior you want to capture (boot, performance, etc.).
Enable Port Mirroring on your physical switch to mirror packets between switch ports. Each third party vendor has specific instructions on how to configure this feature. Contact your vendor to get more information on the procedure applying to your networking deployment.
In an example scenario, Port Mirroring will be enabled to mirror packets from Port A to Port B where PVS target device is plugged into Port A and a laptop with WireShark installed is plugged into Port B.
Start a WireShark trace on the laptop (or another device with a packet sniffer installed) from Port B and start the PVS target device occupying Port A.
After reproducing the issue, stop the trace and save it in its native format (pcap, ncap, etc.).