IP Library › Granted Patent US 12,020,019
Granted Patent B2
US 12,020,019 · App. 17/876,937 · Granted Jun 25, 2024

In-service software upgrade centralized database versioning and migration

Inventors: Francisco Jose Rojas Fonseca (San Jose, CR); Nick E. Demmon (Roseville, CA); David Corrales Lopez (San Jose, CR)
Assignee: Hewlett Packard Enterprise Development LP
G06F8/65G06F16/214G06F16/219
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,020,019
App. No.
17/876,937
Granted
Jun 25, 2024
Kind
B2
Abstract

Systems and methods are provided for in-service software upgrades using centralize database versioning and migrations. The systems and methods described herein can intercept protocol messages between a client and a network device and run a first control plane comprising an origin state database and a plurality of un-migrated services. The system can generate a target state data model, wherein an origin state data model associated with the origin state database migrates to the target state data model, and copy the origin state database. The system can migrate second control plane software to the target state database and operate un-migrated services in accordance with the first control plane software and the copied origin state database while operating migrated services in accordance with the second control plane software and the target state database.

Claims (46)

1. A method comprising:

intercepting protocol messages between a client and a network device, wherein operation of the network device is controlled in accordance with an origin state database;

running a first control plane, wherein the first control plane comprises the origin state database and a plurality of services having an un-migrated state;

generating a target state data model based on the intercepted protocol messages, and implementing the target state data model on a target state database, wherein an origin state data model associated with the origin state database migrates to the target state data model;

copying the origin state database and operating first control plane software in accordance with the copied origin state database;

migrating second control plane software to the target state database;

operating the plurality of services having the un-migrated state in accordance with the first control plane software and the copied origin state database;

operating a plurality of services having a migrated state in accordance with the second control plane software and the target state database; and

migrating the plurality of services having the un-migrated state to the target state database.

2. The method of claim 1 , wherein copying the origin state database comprises copying data-plane state information included in the origin state database.

3. The method of claim 1 , wherein the origin state database comprises a centralized database with bidirectional connections between the centralized database and the plurality of services having the un-migrated state.

4. The method of claim 3 , wherein the origin state database is part of an Open vSwitch Database (OVSDB) of a switch operating system.

5. The method of claim 1 , further comprising migrating the plurality of services having the un-migrated state to the target state database.

6. The method of claim 5 , wherein generating the target state data model based on the intercepted protocol messages comprises establishing a proxy session to translate data between the origin state database and the target state database.

7. The method of claim 6 , further comprising ending the proxy session to disconnect the target state database from the origin state database after the plurality of services having the un-migrated state migrates to the target state database.

8. The method of claim 1 , wherein the origin state database comprises state information associated with the first control plane and state information associated with a data plane of the network device.

9. A system comprising:

a hardware processor; and

a non-transitory machine-readable storage medium encoded with instructions executable by the hardware processor to:

intercept protocol messages between a client and a network device, wherein operation of the network device is controlled in accordance with an origin state database;

run a first control plane, wherein the first control plane comprises the origin state database and a plurality of services having an un-migrated state;

generate a target state data model based on the intercepted protocol messages, and implement the target state data model on a target state database, wherein an origin state data model associated with the origin state database migrates to the target state data model;

copy the origin state database and operate first control plane software in accordance with the copied origin state database;

migrate second control plane software to the target state database;

operate the plurality of services having the un-migrated state in accordance with the first control plane software and the copied origin state database;

operate a plurality of services having a migrated state in accordance with the second control plane software and the target state database; and

migrate the plurality of services having the un-migrated state to the target state database.

10. The system of claim 9 , wherein copying the origin state database comprises copying data-plane state information included in the origin state database.

11. The system of claim 9 , wherein the origin state database comprises a centralized database with bidirectional connections between the centralized database and the plurality of services having the un-migrated state.

12. The system of claim 11 , wherein the origin state database is part of an Open vSwitch Database (OVSDB) of a switch operating system.

13. The system of claim 9 , wherein generating the target state data model based on the intercepted protocol messages comprises establishing a proxy session to translate data between the origin state database and the target state database.

14. The system of claim 13 , further comprising ending the proxy session to disconnect the target state database from the origin state database after the plurality of services having the un-migrated state migrates to the target state database.

15. The system of claim 9 , wherein the origin state database comprises state information associated with the first control plane and state information associated with a data plane of the network device.

16. A non-transitory machine-readable storage medium storing a plurality of instructions executable by one or more processors, wherein the plurality of instructions, when executed by the one or more processors, cause the one or more processors to:

intercept protocol messages between a client and a network device, wherein operation of the network device is controlled in accordance with an origin state database;

run a first control plane, wherein the first control plane comprises the origin state database and a plurality of services having an un-migrated state;

generate a target state data model based on the intercepted protocol messages, and implement the target state data model on a target state database, wherein an origin state data model associated with the origin state database migrates to the target state data model;

copy the origin state database and operate first control plane software in accordance with the copied origin state database;

migrate second control plane software to the target state database;

operate the plurality of services having the un-migrated state in accordance with the first control plane software and the copied origin state database;

operate a plurality of services having a migrated state in accordance with the second control plane software and the target state database; and

migrate the plurality of services having the un-migrated state to the target state database.

17. The non-transitory machine-readable storage medium of claim 16 , wherein copying the origin state database comprises copying data-plane state information included in the origin state database.

18. The non-transitory machine-readable storage medium of claim 16 , wherein the origin state database comprises a centralized database with bidirectional connections between the centralized database and the plurality of services having the un-migrated state.

19. The non-transitory machine-readable storage medium of claim 16 , wherein generating the target state data model based on the intercepted protocol messages comprises establishing a proxy session to translate data between the origin state database and the target state database.

20. The non-transitory machine-readable storage medium of claim 19 , wherein the plurality of instructions, when executed by the one or more processors, further cause the one or more processors to end the proxy session to disconnect the target state database from the origin state database after the plurality of services having the un-migrated state migrates to the target state database.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 23, 2022
From: ROJAS FONSECA, FRANCISCO JOSE; DEMMON, NICK E.; CORRALES LOPEZ, DAVID
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 060867/0086 →
Continuity (1)
Related Publication 20240036852A1 · Feb 1, 2024
Cited By (1)
US 12,289,311