NFS agent upgrade
First Claim
1. A system for updating software, the system comprising:
- a master agent computer, the master agent computer comprising a binary file stored at a shared location;
a state agent computer of a plurality of state agent computers in communication with the master agent computer, wherein the state agent computer is at a remote location and wherein the state agent computer is operable to use the binary file from the shared location for execution, wherein the plurality of state agent computers are running at different physical locations;
wherein the master agent computer is operable to receive a new binary file to update the binary file at the shared location, and in response to receiving the new binary file the master agent computer creates a marker file;
wherein the state agent computer comprises a watchdog configured to monitor the master agent computer for the presence of the marker file;
wherein, in response to the marker file being present at the master agent computer, execution of the state agent computer is stopped;
wherein the master agent computer is operable to install the new binary file and in response to installing the new binary file, the master agent computer deletes the marker file;
wherein the watchdog waits for a predetermined period of time, and then checks for the marker file, and in response to the marker file being deleted, restarts the state agent computer;
wherein, upon restarting, the state agent computer installs instantiates the new binary file at the state agent computer;
wherein only one copy of the new binary file is allowed to be upgraded, whereas separate configurations of the new binary file are allowed for each of the plurality of state agent computers;
wherein each of the plurality of state agent computers and the master agent computer are provided with an auto-upgrade even when the plurality of state agent computers are running on different physical locations;
a second state agent computer;
wherein the state agent computer comprises a first configuration file;
wherein the second state agent computer comprises a second configuration file;
wherein the first configuration file is different from the second configuration file; and
wherein the master agent computer comprises a script file, wherein, upon restart of the state agent computer and the second state agent computer, the script file modifies the first configuration file and the second configuration file.
1 Assignment
0 Petitions
Accused Products
Abstract
A networked system includes a master agent and at least one state agent. When upgrading the software of the master agent and the state agents, only the binary files at a shared location at the master agent are changed. To accomplish the change, a watchdog process at the state agent watches for the presence of a marker file at the master agent. The master agent produces the marker file if the master agent will accomplish a software upgrade. When the marker file is present, the state agent stops execution. The watchdog continues to monitor the presence of the marker file until the marker file is deleted at the end of the installation process. When the marker file is deleted, the state agent installs the new binary files associated with the software upgrade and resumes execution.
-
Citations
14 Claims
-
1. A system for updating software, the system comprising:
-
a master agent computer, the master agent computer comprising a binary file stored at a shared location; a state agent computer of a plurality of state agent computers in communication with the master agent computer, wherein the state agent computer is at a remote location and wherein the state agent computer is operable to use the binary file from the shared location for execution, wherein the plurality of state agent computers are running at different physical locations; wherein the master agent computer is operable to receive a new binary file to update the binary file at the shared location, and in response to receiving the new binary file the master agent computer creates a marker file; wherein the state agent computer comprises a watchdog configured to monitor the master agent computer for the presence of the marker file; wherein, in response to the marker file being present at the master agent computer, execution of the state agent computer is stopped; wherein the master agent computer is operable to install the new binary file and in response to installing the new binary file, the master agent computer deletes the marker file; wherein the watchdog waits for a predetermined period of time, and then checks for the marker file, and in response to the marker file being deleted, restarts the state agent computer; wherein, upon restarting, the state agent computer installs instantiates the new binary file at the state agent computer; wherein only one copy of the new binary file is allowed to be upgraded, whereas separate configurations of the new binary file are allowed for each of the plurality of state agent computers; wherein each of the plurality of state agent computers and the master agent computer are provided with an auto-upgrade even when the plurality of state agent computers are running on different physical locations; a second state agent computer; wherein the state agent computer comprises a first configuration file; wherein the second state agent computer comprises a second configuration file; wherein the first configuration file is different from the second configuration file; and wherein the master agent computer comprises a script file, wherein, upon restart of the state agent computer and the second state agent computer, the script file modifies the first configuration file and the second configuration file. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for modifying a state agent of multiple state agents, the method comprising:
-
storing, at a shared location, a master agent computer comprising a binary file; a state agent computer of a plurality of state agent computers, communicating with the master agent computer, wherein the state agent computer is at a remote location and wherein the state agent computer is operable to use the binary file from the shared location for execution, wherein the plurality of state agent computers are running at different physical locations; receiving, by the master agent computer, a new binary file to update the binary file at the shared location; in response to receiving the new binary file, creating a marker file by the master agent computer; monitoring, by a watchdog comprised on the state agent computer, the master agent computer for the presence of the marker file; in response to the marker file being present at the master agent computer, stopping execution of the state agent computer; installing, by the master agent computer, the new binary file; in response to installing the new binary file, deleting, by the master agent computer, the marker file; the watchdog waiting for a predetermined period of time, and then checking for the marker file; in response to the marker file being deleted, restarting the state agent computer; upon restarting, instantiating by the state agent computer the new binary file at the state agent computer, wherein only one copy of the new binary file is allowed to be upgraded, whereas separate configurations of the new binary file are allowed for each of the plurality of state agent computers, and wherein each of the plurality of state agent computers and the master agent computer are provided with an auto-upgrade even when the plurality of state agent computers are running on different physical locations; providing a second state agent computer, wherein the state agent computer comprises a first configuration file, the second state agent computer comprises a second configuration file, wherein the first configuration file is different from the second configuration file, and wherein the master agent computer comprises a script file; and upon restart of the state agent computer and the second state agent computer, modifying, by the script file, the first configuration file and the second configuration file. - View Dependent Claims (7, 8, 9)
-
-
10. A non-transitory computer-readable medium having sets of computer-executable instructions stored thereon which, when executed by a computer, cause the computer to execute a method to install a software upgrade from a master agent to two or more state agents remotely located to and in communication with the master agent, the sets of instructions comprising:
-
instruction to store, at a shared location, a master agent computer comprising a binary file; a state agent computer of a plurality of state agent computers, instruction to communicate with the master agent computer, wherein the state agent computer is at a remote location and wherein the state agent computer is operable to use the binary file from the shared location for execution, wherein the plurality of state agent computers are running at different physical locations; instruction to receive, by the master agent computer, a new binary file to update the binary file at the shared location; in response to receiving the new binary file, instruction to create a marker file by the master agent computer; instruction to monitor, by a watchdog comprised on the state agent computer, the master agent computer for the presence of the marker file; in response to the marker file being present at the master agent computer, instruction to stop execution of the state agent computer; instruction to install, by the master agent computer, the new binary file; in response to installing the new binary file, instruction to delete, by the master agent computer, the marker file; the watchdog waiting for a predetermined period of time, and then instruction to check for the marker file; in response to the marker file being deleted, instruction to restart the state agent computer; upon restarting, instruction to instantiate by the state agent computer the new binary file at the state agent computer, wherein only one copy of the new binary file is allowed to be upgraded, whereas separate configurations of the new binary file are allowed for each of the plurality of state went computers, and wherein each of the plurality of state went computers and the master agent computer are provided with an auto-upgrade even when the plurality of state agent computers are running on different physical locations; instruction to provide a second state agent computer, wherein the state agent computer comprises a first configuration file, the second state agent computer comprises a second configuration file, wherein the first configuration file is different from the second configuration file, and wherein the master agent computer comprises a script file; and upon restart of the state agent computer and the second state agent computer, instruction to modify, by the script file, the first configuration file and the second configuration file. - View Dependent Claims (11, 12, 13, 14)
-
Specification