question

BrendanDHayes avatar image
0 Votes"
BrendanDHayes asked vipullag-MSFT edited

Network Packet Capture from vm scale set on service fabric cluster

I am trying to work out how to capture specific network packets from vm's in scale set deployed to service fabric cluster (no NSG's).
I can use AzNetworkWatcherPacketCapture for single vm's but am unsure of best approach with scale set.
My first thought (using powershell) is to grab each vm's scale set instance ID and to pipe into a foreach that starts new packet capture on each vm.
Is this feasible? is there a simple / best practice way to capture scale set network packets and identify packet source?

azure-virtual-machines-scale-setazure-service-fabric
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

BrendanDHayes avatar image
0 Votes"
BrendanDHayes answered

Resolved issue

used
$vmss = Get-AzVmss
$VM =$vmss.Id
and looped through filters by scale set vm's private IP

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.