1. Technical Field
The present invention relates generally to an improved data processing system and in particular to a method and apparatus for distributing software. Still more particularly, the present invention relates to a method, apparatus, and computer instructions for performing autonomic event triggered auto-configuration or install based on previously installed products.
2. Description of Related Art
As the size of an enterprise or business continues to grow, the number of workstations within the enterprise or business continues to increase. The task of managing configuration of these workstations becomes more complex for administrators, since configuration of mission-critical applications has to be under close control as the vendor updates versions of software. In addition, safe and efficient deployment of applications without disrupting productivity and security of deployment becomes very important. Inventory reports on assets of workstations also are needed in order to maintain accurate license information.
Conventionally, installation of software products is performed by a user of the workstation. The installation is performed by a user who manually pulls the software product from a central server on a local area network or from the Internet. Local client installer software normally triggers the installation upon user's request to install a particular software package or application. When the user requests a particular software package or application, authentication and authorization is performed on the user workstation before the installation to verify the identity of the user. However, the local installer software does not save away the settings of the previous installs in any form for future installation on the same client.
Furthermore, installation information answered by the user that is not specific to the user, for example server hostname and port number, is not recorded in any way to be reused for future installation. To the contrary, most existing installation utility discards the information entered by the user once the installation is complete. When a successful installation is completed, the existing installation utility does not register the newly installed product to allow discovery of the product in future installations of other products. This discovery helps to control the inventory of the software products distributed among the workstations.
During normal business operations, when a new employee joins a department of the organization, new software products are needed for the new employee. An administrator manually gathers a profile to determine what type of software products are necessary for the new employee to perform the job. The installation information is often not included in the profile. As a result, the underlying details of the installation, such as software version of the installed product, may be overlooked. In addition, if multiple deployments are required to install products on multiple machines. This task becomes even more cumbersome for administrator to perform.
Therefore, it would be advantageous to have an improved method, apparatus, and computer instructions for performing autonomic event triggered auto-configuration or install based on previously installed products by detecting an event that indicates a software module is to be installed on the client workstations so that a push may be scheduled on the client workstation to later pull the software module from the installation server.
The present invention provides a method, apparatus, and computer instructions for installing software in a network data processing system. An event is detected in the network data processing system in which the event indicates that a software module is to be installed in a set of data processing systems in the network data processing system. A configuration of each data processing system in the set of data processing systems is discovered, and a set of instructions is created using a knowledge base of prior installations. The set of instructions is tailored for each data processing system in the set of data processing systems based on the configuration for the each data processing system in the set of data processing systems. The set of instructions for the software module to be installed is sent to the set of data processing systems.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
With reference now to the figures,
In the depicted example, server 104 is connected to network 102 along with storage unit 106. In addition, clients 108, 110, and 112 are connected to network 102. These clients 108, 110, and 112 may be, for example, personal computers or network computers. In the depicted example, server 104 provides data, such as boot files, operating system images, and applications to clients 108-112. Clients 108, 110, and 112 are clients to server 104. Network data processing system 100 may include additional servers, clients, and other devices not shown.
In the depicted example, network data processing system 100 is the Internet with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol/Internet Protocol (TCP/IP) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, government, educational and other computer systems that route data and messages. Of course, network data processing system 100 also may be implemented as a number of different types of networks, such as for example, an intranet, a local area network (LAN), or a wide area network (WAN).
Referring to
Peripheral component interconnect (PCI) bus bridge 214 connected to I/O bus 212 provides an interface to PCI local bus 216. A number of modems may be connected to PCI local bus 216. Typical PCI bus implementations will support four PCI expansion slots or add-in connectors. Communication links to clients 108-112 in
Additional PCI bus bridges 222 and 224 provide interfaces for additional PCI local buses 226 and 228, from which additional modems or network adapters may be supported. In this manner, data processing system 200 allows connections to multiple network computers. A memory-mapped graphics adapter 230 and hard disk 232 may also be connected to I/O bus 212 as depicted, either directly or indirectly.
Those of ordinary skill in the art will appreciate that the hardware depicted in
The data processing system depicted in
With reference now to
An operating system runs on processor 302 and is used to coordinate and provide control of various components within data processing system 300 in
Those of ordinary skill in the art will appreciate that the hardware in
The depicted example in
The present invention provides a method, apparatus, and computer instructions for performing autonomic auto-configuration or install using detected relationships with prior product installation configuration information from client workstations. The mechanism of the present invention allows for detecting an event that requires a software installation on client workstations by using an autonomic event engine. The autonomic event engine consists of a repository or knowledge base also referred to as an installed product registry (IPR). The IPR contains installation information such as network configuration for connectivity and associated database table and host name.
The installation information is gathered by the IPR upon a successful prior installation at a customer's site. IPR also may store installation information that a client or user may have entered during installation, for example, server name and location. IPR repository may be interfaced with other backend implementation such as DB2 Universal Database, which is a product available from International Business Machines Corporation, to improve scalability of data storage.
The mechanism of the present invention utilizes an installation tool, such as the Install Assistant in the IBM Tivoli Configuration Manager 4.2, a product from International Business Machines Corporation. The installation tool is configured to enable previously installed application information such as database name and port number to be shared by the same or different workstations. When a future install occurs, the new application may reuse the installation information from the previously installed application by searching the IPR.
In an illustrative embodiment of the present invention, the installation tool also may be configured to remember answers to previously asked questions during a prior installation. Particularly, installation information that is relevant to future installs, such as, for example, Web server host and port number may be reused for installation on a different machine. Moreover, the installation tool may be configured in an illustrative example to register newly installed product by storing relevant application information to the IPR. This information is used in future installs to allow the newly installed product to be discovered. This registration helps to better maintain inventory of the software installed on client workstations.
Turning now to
Installation tool 402 resides on client workstation 400 and may be used in an illustrative embodiment of the present invention to facilitate installation of software product from the client. An example of the installation tool is the Install Assistant in the IBM Tivoli Configuration Manager 4.2, a product of IBM Corporation. Installation tool 402 includes information locator module 404, which is used by installation tool 402 to locate installation information from previously installed application on client workstation 400.
Information locator module 404 uses IPR module 406 to gather relevant information for the in-progress install. The relevant information is gathered in the illustrative examples by utilizing an Install Shield Multi Platform (ISMP) string resolver methods and helper classes application program interface (API) to provide default responses to install entry fields, to retrieve connectivity information such as database name, host and port; and to retrieve values from previous answered questions by the user.
The IPR module 406 is a client-server bridge layer in the examples of the present invention that provides a client interface to the IPR and a Java™ naming and directory interface (JNDI) provider implementing a subset of directory functionality (Java is a trademark of Sun Microsystems, Inc.). JNDI, a product of Sun Microsystems, Inc., is an API specified in Java that provides naming and directory functionality to applications written in Java. JNDI provides methods for performing standard directory operations, such as associating attributes with objects and searching for objects using their attributes. The mechanism of the present invention uses IPR module 406 to discover and communicate with a local or remote IPR, such as IPR 410.
Also shown in
In a preferred embodiment of the present invention, IPR 410 is a repository or knowledge base of information gathered from previous installs to assist in future software installation on client workstation 400. As described above, IPR 410 may be implemented using a more scalable data store, such as DB2 Universal database. After a product is successfully installed, IPR 410 contains product instance information such as, for example, global unique instance identifier, product identifier, answers to previous installation questions, and connectivity information. Lastly, admin tool 416 may be implemented in server layer 408 using command line utilities for the administrator to manually modify the registry of IPR 410 through IPR module 418.
Turning next to
Turning next to
Once installation information of software products needed is located in the IPR, installation parameters that are specific to the new employee on the new employee's workstation are queried (step 606), such as network connectivity information. The scheduler of the autonomic event engine then schedules a push of the required software products to the new employee's workstation (step 608). When the scheduled time arrives and an install event occurs (step 610), a software pull is initiated by the IPR from the workstation to retrieve software products to be installed on the new employee's workstation (step 612). The software pull may involve Web software downloads required by other software.
Next, a response file is created by the IPR, which includes a combination of installation information of the new employee and the other employee whose installation information is stored by the IPR for future installs (step 614). Relationships are detected between the target user identity, who will use the software product, and prior user installation configuration data. A set of attributes not limited to be similar to the ones in
Finally, the install panel of the ISMP is pre-filled with the attributes given in the response file (step 616) and the IPR then drives the silent ISMP install on the new employee's workstation (step 618). Upon successful completion of the install, the newly installed product information is registered in the IPR so that the product may be discovered in the future installs (step 620), and the process terminates thereafter.
Turning next to
The next layer is the client server bridge layer, which contains JNDI client 704 and SOAP client proxy 706. JNDI client 704 is a JNDI standard-compliant interface used mainly by the helper API methods, such as string resolver 702. However, if helper methods provided by the helper API are insufficient, a subset of the JNDI API is supported. SOAP client proxy 706 is a private API that translates the JNDI client calls into appropriate SOAP XML messages to a SOAP server. The calls are sent over HTTP.
Below the client server bridge layer is the server layer, which contains the Web server, in this case Tomcat Web server 708, and a SOAP server impl 710. The Web server is HTTP server 412 that is described in
Turning next to
Turning next to
As depicted in
If the location is invalid, an error is presented to the user (step 912), and a determination is then made as whether the user wants the local machine to become a shared IPR (step 914). If the user agrees to allow the local machine to become a shared IPR, a shared IPR is installed on the local machine (step 916). If the user does not agree to allow the local machine to become a shared IPR, a local-only IPR is installed on the local machine instead (step 918).
From either step 916 or step 918, the installation process attempts to place the IPR files or binaries in the $D(lib) directory, a determination is made as to whether the $D(lib) directory exists on the local machine (step 920). If $D(lib) directory exists on the local machine, the local environment variable IPR_LOCATION is set with the local machine name (step 922) and the installation continues as described in step 910.
If $D(lib) does not exist on the local machine, a determination is made further as to whether $(home) directory exists on the local machine (step 924). If the $(home) directory exists on the local machine, the local environment variable IPR_LOCATION is set as described in 922 and the process continues to step 910. If the $(home) directory fails to exist on the local machine, the IPR files and binaries are unable to be installed and the user may not use the features of the IPR. The process terminates thereafter.
However, if the user chooses not to use the features of the IPR from step 902, a local-only IPR is installed on the local machine and process 920 follows as described above. Once the installation is completed in step 910, the process terminates thereafter.
Therefore, the mechanism of the present invention allows the administrator to minimize the effort of deploying software products among multiple client workstations by saving away installation information that is not specific to a client and answers questions asked by the user during prior installations. In addition, by using the innovative features of the present invention, events are detected in a predictive manner to install and schedule software push to client workstations. Hence, the existing solution of writing administrative scripts to perform batch software installs is eliminated.
Furthermore, the mechanism of the present invention may not be limited to initiating software pull at a later time from the user workstation using ISMP. A command line utility may be used to replace the existing graphical user interface for retrieving text values from the IPR in order to pre-fill the parameters of a software installation executable file. The mechanism of the present invention provides flexibility to use the features of the IPR temporarily by installing a local-only IPR, which may be uninstalled after the testing is completed.
The present invention also provides a secure and efficient method in the client server bridge layer that uses HTTP and SOAP API for accessing specific objects from a remote shared IPR. This method is enabled by using a generic HTTP port, for example port 80, so that any client workstations, even from behind a firewall, is able to access the registry within the IPR.
It is important to note that while the present invention has been described in the context of a fully functioning data processing system, those of ordinary skill in the art will appreciate that the processes of the present invention are capable of being distributed in the form of a computer readable medium of instructions and a variety of forms and that the present invention applies equally regardless of the particular type of signal bearing media actually used to carry out the distribution. Examples of computer readable media include recordable-type media, such as a floppy disk, a hard disk drive, a RAM, CD-ROMs, DVD-ROMs, and transmission-type media, such as digital and analog communications links, wired or wireless communications links using transmission forms, such as, for example, radio frequency and light wave transmissions. The computer readable media may take the form of coded formats that are decoded for actual use in a particular data processing system.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
This application is a continuation of application Ser. No. 10/697,866, filed Oct. 30, 2003 now U.S. Pat. No. 7,334,226.
Number | Name | Date | Kind |
---|---|---|---|
5247683 | Holmes et al. | Sep 1993 | A |
5835911 | Nakagawa et al. | Nov 1998 | A |
5919247 | Van Hoff et al. | Jul 1999 | A |
5978594 | Bonnell et al. | Nov 1999 | A |
6119153 | Dujari et al. | Sep 2000 | A |
6138153 | Collins, III et al. | Oct 2000 | A |
6298378 | Angal et al. | Oct 2001 | B1 |
6327617 | Faweett | Dec 2001 | B1 |
6351467 | Dillon | Feb 2002 | B1 |
6405362 | Shih et al. | Jun 2002 | B1 |
6501995 | Kinney et al. | Dec 2002 | B1 |
6532392 | Eryurek et al. | Mar 2003 | B1 |
6751794 | McCaleb et al. | Jun 2004 | B1 |
6769118 | Garrison et al. | Jul 2004 | B2 |
6802061 | Parthasarathy et al. | Oct 2004 | B1 |
6990660 | Moshir et al. | Jan 2006 | B2 |
7100158 | Nakane et al. | Aug 2006 | B2 |
7143337 | Landsman et al. | Nov 2006 | B2 |
7219344 | Chenelle et al. | May 2007 | B2 |
7334226 | Ramachandran et al. | Feb 2008 | B2 |
7552432 | Aiba | Jun 2009 | B2 |
7770166 | Oh | Aug 2010 | B2 |
20030066065 | Larkin | Apr 2003 | A1 |
20040003266 | Moshir et al. | Jan 2004 | A1 |
20050257215 | Denby et al. | Nov 2005 | A1 |
Number | Date | Country | |
---|---|---|---|
20080148255 A1 | Jun 2008 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 10697866 | Oct 2003 | US |
Child | 11967362 | US |