Various methods and apparatuses to restart a server
First Claim
1. A non-transitory computer readable storage medium having a computer readable program embodied therein, said computer readable program for execution on a server, the non-transitory computer readable storage medium comprising:
- service program code to run resident on the server and register as a service of an operating system for the server, the service program code including instructions to control requests, to communicate with the operating system on behalf of a plurality of server applications, and to invoke a server starter program code to start particular server applications of said plurality of server applications;
the server starter program code to run resident on the server with root-level access privileges, the server starter program code including instructions scripted to start and stop the particular server applications of the plurality of server applications in a logical order according to dependencies of the particular server applications and to initiate a monitor program code before starting any of said particular server applications;
a probing program code to run resident on the server without the root-level access privileges, the probing program code containing instructions scripted to detect a failure associated with a first server application of the plurality of server applications and communicate the failure to the monitor program code; and
the monitor program code to run resident on the server with the root-level access privileges, the monitor program code including instructions scripted to communicate with the server starter program code to re-start one or more of the particular server applications based upon the detected failure associated with the first server application.
1 Assignment
0 Petitions
Accused Products
Abstract
Various methods and apparatuses are described for a server that includes at least a server starter program, a monitor program, and a service program. The server starter program runs resident on a computer readable storage medium. The server starter program contains code scripted to start and stop server applications. The monitor program also runs resident on the computer readable storage medium. The monitor program contains code scripted to detect a failure associated with a first server application and to communicate to the server starter program to re-start one or more server applications based upon the detected failure associated with the first server application. The service program registers as an operating system service with the operating system. The service program controls requests and communicates to the operating system on behalf of the first server application in the server.
-
Citations
20 Claims
-
1. A non-transitory computer readable storage medium having a computer readable program embodied therein, said computer readable program for execution on a server, the non-transitory computer readable storage medium comprising:
-
service program code to run resident on the server and register as a service of an operating system for the server, the service program code including instructions to control requests, to communicate with the operating system on behalf of a plurality of server applications, and to invoke a server starter program code to start particular server applications of said plurality of server applications; the server starter program code to run resident on the server with root-level access privileges, the server starter program code including instructions scripted to start and stop the particular server applications of the plurality of server applications in a logical order according to dependencies of the particular server applications and to initiate a monitor program code before starting any of said particular server applications; a probing program code to run resident on the server without the root-level access privileges, the probing program code containing instructions scripted to detect a failure associated with a first server application of the plurality of server applications and communicate the failure to the monitor program code; and the monitor program code to run resident on the server with the root-level access privileges, the monitor program code including instructions scripted to communicate with the server starter program code to re-start one or more of the particular server applications based upon the detected failure associated with the first server application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 19, 20)
-
-
10. A system, comprising:
-
a messaging server that includes a non-transitory computer readable storage medium having a computer readable program embodied therein for execution on the messaging server, the non-transitory computer readable storage medium having; a message store program code to store, retrieve and manipulate messages; a service program code to run resident on the messaging server and register as an operating system service for the messaging server, the service program code including instructions to control requests, to communicate with the operating system on behalf of one or more server applications, and to invoke a server starter program code to start others of said server applications; the server starter program code to run resident on the messaging server, the server starter program code including instructions scripted to start and stop the server applications in a logical order according to dependencies of the server applications and to initiate a monitor program code before starting any others of said server applications; the monitor program code to run resident on the messaging server, the monitor program code including instructions scripted to detect a failure associated with a first of the server applications and to communicate with the server starter program code to re-start one or more of the server applications based upon the detected failure associated with the first server application; and a probing program code to run resident on the messaging server, wherein the probing program code contains instructions scripted to detect a failure on a database associated with the message store program code based on remaining usable disk space and then connect to the monitor program code to communicate to the monitor program code to initiate a restart communication to the server starter program code, wherein the probing program code contains instructions scripted to connect via a protocol used by the first server application to the first server application and communicates via the protocol used by the first server application to determine if the first server application is functioning correctly, and wherein the probing program determines if the first server application is functioning correctly by measuring a response time of the first server application. - View Dependent Claims (11, 12, 18)
-
-
13. A method, comprising:
-
registering a service program as an operating system service with an operating system of a server; invoking a single instance of a server starter program code to start other server applications in the server; inhibiting invocation of additional instances of the server starter program code while the single instance of the server starter program code runs; initiating a monitor program before starting any of the server applications and then starting others of the server applications in a logical order according to dependencies of the server applications; upon detecting a failure of a first one of the server applications, communicating to the server starter program code to re-start merely the first server application; and communicating to the operating system on behalf of all of the server applications in the server. - View Dependent Claims (14)
-
-
15. A non-transitory computer readable storage medium having a computer readable program embodied therein, said computer readable program for execution on a server computer, the non-transitory computer readable storage medium comprising:
-
a service program code to run resident on a server computer and register as an operating system service with an operating system of the server computer, the service program code including instructions to control requests, to communicate with the operating system on behalf of one or more server applications; an application program code for invoking a server starter program code to start other server applications in the server computer; the server starter program code to run resident on the server computer, the server starter program code including instructions scripted to start and stop the server applications in a logical order according to dependencies of the server applications and to initiate a monitoring program code before starting any others of said server applications; the monitoring program code to run resident on the server computer for communicating to the server starter program code to re-start merely a first one of the server applications based upon a detected failure associated with the first server application; and a communication program code for communicating to the operating system on behalf of all of the server applications in the server computer, wherein the server starter program code and the monitor program code cooperate together to cumulatively contain instructions scripted to detect failures with a plurality of server applications in a single node and then restart Previously Presented instances of a failed plurality of server applications based upon detected failures of the plurality of failed server applications, wherein the monitoring program code includes instructions to determine a total number of failures of each of the server applications within a specified time period. - View Dependent Claims (16, 17)
-
Specification