METHOD FOR MINIMAL SERVICE IMPACT DURING SOFTWARE UPGRADE IN NETWORK ELEMENTS (NES)
First Claim
1. A method in a first network device for performing a software upgrade, the method comprising:
- receiving, by a first init process executing on a first root file system, an indication to perform an in-service software upgrade (ISSU);
releasing, by the first init process in response to receiving the indication to perform the ISSU, the first root file system by;
setting an indication that the ISSU is in progress, andterminating processes executing on the first root file system;
switching, by the first init process in response to receiving the indication to perform the ISSU, from the first root file system to a second root file system by;
moving a root from the first root file system to the second root file system, wherein the second root file system includes an upgraded software,moving critical system files from the first root file system to the second root file system,unmounting the first root file system, andexecuting a second init process on the second root file system; and
initializing, by the second init process executing on the second root file system, the second root file system by;
starting processes on the second root file system.
1 Assignment
0 Petitions
Accused Products
Abstract
Exemplary methods include in response to receiving an indication to perform an in-service software upgrade (ISSU), an init process executing on a current root file system is configured to perform operations comprising: 1) releasing the current root file system by setting an indication that the ISSU is in progress, and terminating processes executing on the current root file system, and 2) switching from the current root file system to a new root file system by moving a root from the current root file system to the new root file system, moving critical system files from the current root file system to the new root file system, unmounting the current root file system, and executing an init process on the new root file system. The init process executing on the new root file system is configured to perform operations comprising starting processes on the new root file system.
73 Citations
33 Claims
-
1. A method in a first network device for performing a software upgrade, the method comprising:
-
receiving, by a first init process executing on a first root file system, an indication to perform an in-service software upgrade (ISSU); releasing, by the first init process in response to receiving the indication to perform the ISSU, the first root file system by; setting an indication that the ISSU is in progress, and terminating processes executing on the first root file system; switching, by the first init process in response to receiving the indication to perform the ISSU, from the first root file system to a second root file system by; moving a root from the first root file system to the second root file system, wherein the second root file system includes an upgraded software, moving critical system files from the first root file system to the second root file system, unmounting the first root file system, and executing a second init process on the second root file system; and initializing, by the second init process executing on the second root file system, the second root file system by; starting processes on the second root file system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A first network device for performing a software upgrade, the first network device comprising:
-
a set of one or more processors; and a non-transitory machine-readable storage medium containing code, which when executed by the set of one or more processors, causes the first network device to; receive, by a first init process executing on a first root file system, an indication to perform an in-service software upgrade (ISSU); release, by the first init process in response to receiving the indication to perform the ISSU, the first root file system by; setting an indication that the ISSU is in progress, and terminating processes executing on the first root file system; switch, by the first init process in response to receiving the indication to perform the ISSU, from the first root file system to a second root file system by; moving a root from the first root file system to the second root file system, wherein the second root file system includes an upgraded software, moving critical system files from the first root file system to the second root file system, unmounting the first root file system, and executing a second init process on the second root file system; and initialize, by the second init process executing on the second root file system, the second root file system by; starting processes on the second root file system. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A non-transitory machine-readable storage medium having computer code stored therein, which when executed by a set of one or more processors of a first network device for performing a software upgrade, causes the first network device to perform operations comprising:
-
receiving, by a first init process executing on a first root file system, an indication to perform an in-service software upgrade (ISSU); releasing, by the first init process in response to receiving the indication to perform the ISSU, the first root file system by; setting an indication that the ISSU is in progress, and terminating processes executing on the first root file system; switching, by the first init process in response to receiving the indication to perform the ISSU, from the first root file system to a second root file system by; moving a root from the first root file system to the second root file system, wherein the second root file system includes an upgraded software, moving critical system files from the first root file system to the second root file system, unmounting the first root file system, and executing a second init process on the second root file system; and initializing, by the second init process executing on the second root file system, the second root file system by; starting processes on the second root file system. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification