Method and system for scripting for system management information
First Claim
1. A method for providing access to system information via a centralized manager of the system information, comprising:
- receiving information corresponding to at least one script instruction from a client process, the information directed to an object and property corresponding to a managed system device;
locating an object identifier in response to the received information;
generating a property identifier in response to the information, including adding information to the property identifier indicative of a dynamic property;
returning the object identifier and the property identifier;
receiving a request for accessing system information, the request corresponding to the script and including the object identifier and the property identifier;
recognizing from the information added to the property identifier that the request is directed to accessing a dynamic property of a managed system device, translating the request into at least one call for accessing the system information, and via the at least one call, calling an interface of the centralized manager to access the system information;
in response to each call, the centralized manager determining at least one provider associated with the managed system device and communicating with each provider to access the system information; and
returning data to the client process indicative of the result of the call.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system that simplify the management of enterprise network devices and information through the use of scripts and a scripting object model. An API is provided that transforms scripts passed from a scripting engine into the existing “low-level” COM syntax required for accessing system management object information. A scripting engine interprets a script and works with the API to translate script instructions into the COM method calls needed to directly access properties and methods of CIMOM objects from a script. Other aspects related to scripting are handled, including collections, events, monikers and security. Collections enable a set of objects to be serviced iteratively, for example, to manipulate or retrieve properties for a set of resources in simple loop. Events enable queries to be made asynchronously, such that calls return immediately and complete via event notifications. Monikers enable the simplification of strings in the script, by providing for shorthand definitions to represent a sequence of instructions in a single string. Security is provided, by emulating the ability to set security.
110 Citations
46 Claims
-
1. A method for providing access to system information via a centralized manager of the system information, comprising:
-
receiving information corresponding to at least one script instruction from a client process, the information directed to an object and property corresponding to a managed system device;
locating an object identifier in response to the received information;
generating a property identifier in response to the information, including adding information to the property identifier indicative of a dynamic property;
returning the object identifier and the property identifier;
receiving a request for accessing system information, the request corresponding to the script and including the object identifier and the property identifier;
recognizing from the information added to the property identifier that the request is directed to accessing a dynamic property of a managed system device, translating the request into at least one call for accessing the system information, and via the at least one call, calling an interface of the centralized manager to access the system information;
in response to each call, the centralized manager determining at least one provider associated with the managed system device and communicating with each provider to access the system information; and
returning data to the client process indicative of the result of the call. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-readable medium including computer-readable instructions, comprising:
-
receiving at least one call from a scripting engine that is interpreting a script, the at least one call providing a first identifier corresponding to a managed object that represents a managed system device and a second identifier corresponding to a dynamic property of the managed object;
determining a managed object identifier based on the first identifier;
determining a property identifier based on the second identifier;
associating the property identifier with information that indicates that the property of the managed object is dynamic;
returning the object identifier and the property identifier to the scripting engine;
receiving an invoke call from the scripting engine, the invoke call including the object identifier and property identifier;
recognizing that the property is dynamic from the information associated with the property identifier;
accessing system information from the managed system device by providing translated data corresponding to the object identifier and property identifier to a centralized manager, the centralized manager determining at least one provider of data for the dynamic property based on the translated data and communicating with each provider to access the system information; and
returning an access result to the scripting engine. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A system for accessing system information managed by a centralized manager of the system information, the centralized manager arranged for communication via a se t of object interfaces, comprising:
-
a scripting engine configured to interpret a script;
an interface component connected to the scripting engine, the scripting engine providing at least one request to the interface component to obtain a property identifier of a property of a managed system object that represents a managed system device corresponding to the system information, the request originating in the script;
a mechanism in the interface component that returns an object identifier and the property identifier corresponding to the at least one request to the scripting engine; and
the interface component accessing the system information including;
1) receiving the object identifier and the property identifier from the scripting engine in an access request from the scripting engine that originated in the script, 2) recognizing that the access request is directed to a dynamic property of the managed system object, and 3) accessing the property of the managed system object based on the object identifier and the property identifier by providing a translated request to an object interface of the centralized manager, the centralized manager determining a provider therefrom that is associated with the system device corresponding to the managed system object and communicating with the provider to access the system information. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. In a computing environment, a method comprising:
-
receiving a script instruction set corresponding to at least one script instruction from a client process, the script instruction set including a first request for an object identifier of a managed system object, and a second request for a value of a property of the managed system object; and
processing the script instruction set to satisfy the first and second requests, including;
1) determining that the first request for an object identifier is a request for static data, 2) obtaining the object identifier, 3) determining that the second request is a request for dynamic property data of an object, and 4) accessing the dynamic property data via a centralized manager of a managed system device corresponding to the dynamic property data, including translating the second request into a format understood by the centralized manager. - View Dependent Claims (35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46)
-
Specification