System and method for scripting tool for server configuration
First Claim
1. A system to provide a scripting framework for server configuration, comprising:
- a server associated with an existing configuration file that contains configuration data of the server, wherein the server is capable of maintaining a plurality of configuration management objects organized in a traversable hierarchy, wherein each of the plurality of configuration management objects is capable of maintaining a portion of the configuration data of the server; and
a scripting tool, running on one or more processors, operable toconvert the existing configuration file into an executable script file with a plurality of scripting instructions in a scripting language;
interpret the plurality of scripting instructions from the executable script file;
establish a connection to the server;
perform a plurality of operations on the server using the plurality of scripting instructions via said connection;
maintain the connection until all of the plurality of operations are completed;
wherein the scripting tool is further operable to receive scripting instructions directly from a user, display results of the scripting instructions to the user, and record the scripting instructions received from the user into a script file which can be later executed by the scripting tool; and
wherein the scripting tool enables the user to navigate, interrogate, and/or update the configuration data of the server by invoking methods on the plurality of configuration management objects once the scripting tool is connected to the server when the server is running.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a scripting tool through which a user can interact with and execute scripting instructions of a scripting language on a server to perform administrative tasks. It interprets scripting instructions either interactively, supplied one-at-a-time from a command prompt on a scripting interface, or in batches via a script file, and it can be used either online or offline. The scripting tool enables a user to interact with the server in a session-like manner by establishing a persistent connection with the server. Once the connection is established, each instruction that the user enters to configure the server may use the same connection that has already been established. Such “session-permanent-connection” approach eliminates the need for the user to establish and re-authenticate a connection for each instruction. The scripting tool is also capable of converting an existing configuration file into a reusable script that can be used to create duplicate configurations. This description is not intended to be a complete description of, or limit the scope of, the invention. Other features, aspects, and objects of the invention can be obtained from a review of the specification, the figures, and the claims.
-
Citations
31 Claims
-
1. A system to provide a scripting framework for server configuration, comprising:
-
a server associated with an existing configuration file that contains configuration data of the server, wherein the server is capable of maintaining a plurality of configuration management objects organized in a traversable hierarchy, wherein each of the plurality of configuration management objects is capable of maintaining a portion of the configuration data of the server; and a scripting tool, running on one or more processors, operable to convert the existing configuration file into an executable script file with a plurality of scripting instructions in a scripting language; interpret the plurality of scripting instructions from the executable script file; establish a connection to the server; perform a plurality of operations on the server using the plurality of scripting instructions via said connection; maintain the connection until all of the plurality of operations are completed; wherein the scripting tool is further operable to receive scripting instructions directly from a user, display results of the scripting instructions to the user, and record the scripting instructions received from the user into a script file which can be later executed by the scripting tool; and wherein the scripting tool enables the user to navigate, interrogate, and/or update the configuration data of the server by invoking methods on the plurality of configuration management objects once the scripting tool is connected to the server when the server is running. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method to provide a scripting framework for server configuration, comprising:
-
associating an existing configuration file with a server, wherein the existing configuration file contains configuration data of the server; maintaining on the server a plurality of configuration management objects organized in a traversable hierarchy, wherein each of the plurality of configuration management objects is capable of maintaining a portion of the configuration data of the server; converting, by a scripting tool, the existing configuration file into an executable script file with a plurality of scripting instructions in a scripting language; interpreting the plurality of scripting instructions from the executable script file; establishing a connection to the server; enabling a user to navigate, interrogate, and/or update the configuration data of the server by invoking methods on the plurality of configuration management objects once the scripting tool is connected to the server when the server is running; performing a plurality of operations on the server using the plurality of scripting instructions via said connection; maintaining the connection until all of the one or more operations are performed, receiving scripting instructions directly from a user; displaying results of the scripting instructions to the user; and recording the scripting instructions received from the user into a script file which can be later executed by the scripting tool. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
-
25. A machine readable medium having instructions stored thereon that when executed cause a system to:
-
associate an existing configuration file with a server, wherein the existing configuration file contains configuration data of the server; maintain on the server a plurality of configuration management objects organized in a traversable hierarchy, wherein each of the plurality of configuration management objects is capable of maintaining a portion of the configuration data of the server; convert, by a scripting tool, the existing configuration file into an executable script file with a plurality of scripting instructions in a scripting language; interpret the plurality of scripting instructions from the executable script file; establish a connection to the server; enable a user to navigate, interrogate, and/or update the configuration data of the server by invoking methods on the plurality of configuration management objects once the scripting tool is connected to the server when the server is running; perform a plurality of operations on the server using the plurality of scripting instructions of a scripting language via said connection; maintain the connection until all of the plurality of operations are performed; receive scripting instructions directly from a user; display results of the scripting instructions to the user; and record the scripting instructions received from the user into a script file which can be later executed by the scripting tool. - View Dependent Claims (26, 27, 28, 29, 30, 31)
-
Specification