Online restoration of a switch snapshot
First Claim
1. A switch, comprising:
- one or more ports;
persistent storage circuitry configured to store current database instance in a local persistent storage, wherein the current database instance includes current configuration information of the switch; and
restoration circuitry configured to instantiate a restoration database instance in the persistent storage from an image of the persistent storage;
retrieval circuitry configured to compute a difference of an attribute value from the current database instance and a corresponding attribute value from the restoration database instance in the persistent storage; and
wherein the restoration circuitry is further configured to;
apply the computed difference one or more corresponding hardware modules of the switch; and
set the restoration database instance as the current database instance in the persistent storage.
3 Assignments
0 Petitions
Accused Products
Abstract
One embodiment of the present invention provides a switch. The switch includes one or more ports, a persistent storage module, a restoration module, and a retrieval module. The persistent storage module stores configuration information associated with the switch in a data structure, which includes one or more columns for attribute values of the configuration information, in a local persistent storage. The restoration module instantiates a restoration database instance in the persistent storage from an image of the persistent storage. The retrieval module retrieves attribute values from a data structure in a current database instance and the restoration database instance in the persistent storage. The restoration module then applies the differences between attribute values of the restoration database instance and the current database instance in the persistent storage to switch modules of the switch, and operates the restoration database instance as the current database instance in the persistent storage.
577 Citations
24 Claims
-
1. A switch, comprising:
-
one or more ports; persistent storage circuitry configured to store current database instance in a local persistent storage, wherein the current database instance includes current configuration information of the switch; and restoration circuitry configured to instantiate a restoration database instance in the persistent storage from an image of the persistent storage; retrieval circuitry configured to compute a difference of an attribute value from the current database instance and a corresponding attribute value from the restoration database instance in the persistent storage; and wherein the restoration circuitry is further configured to; apply the computed difference one or more corresponding hardware modules of the switch; and set the restoration database instance as the current database instance in the persistent storage. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A method, comprising:
-
storing a current database instance in a local persistent storage of a switch, wherein the current database instance includes current configuration information of the switch; and instantiating a restoration database instance in the persistent storage from an image of the persistent storage; computing a difference of an attribute value from the current database instance and a corresponding attribute value from the restoration database instance in the persistent storage; applying the computed difference to one or more corresponding switch modules of the switch; and setting the restoration database instance as the current database instance in the persistent storage. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification