US 10,892,969 B2
Cluster wide packet tracing
Hung The Chau, Highland, CA (US)
Assigned to Cisco Technology, Inc., San Jose, CA (US)
Filed by Cisco Technology, Inc., San Jose, CA (US)
Filed on Nov. 22, 2017, as Appl. No. 15/820,545.
Prior Publication US 2019/0158377 A1, May 23, 2019
Int. Cl. G06F 15/173 (2006.01); H04L 12/26 (2006.01); H04L 12/721 (2013.01); H04L 12/24 (2006.01)
CPC H04L 43/10 (2013.01) [H04L 43/50 (2013.01); H04L 45/26 (2013.01); H04L 41/0677 (2013.01); H04L 43/0817 (2013.01); H04L 43/12 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
selecting a packet for tracing, the packet being configured to traverse through a cluster comprising a plurality of nodes;
preparing the packet for tracing by: generating a cluster-wide unique identifier (ID) for the packet, associating the cluster-wide unique ID with the packet, generating a running counter for the packet, and associating the running counter with the packet, wherein the running counter has an initial value;
generating a first record buffer that is stored on a first node of the plurality of nodes;
recording at least the cluster-wide unique ID and the initial value of the running counter for the packet in the first record buffer stored on the first node;
recording descriptions of a plurality of operations performed on the packet in the first record buffer along with a current value of the running counter, wherein the current value of the running counter is incremented by one after each one of the descriptions of the plurality of operations performed is recorded; and
transferring the packet to a second node of the plurality of nodes, wherein the cluster-wide unique ID of the packet, the current value of the running counter of the packet, and an attribute that indicates that the packet is to be traced is provided to the second node.