1. Technical Field
The present invention relates generally to an improved data processing system and in particular to a method and apparatus for updating or maintaining software in a network data processing system. Still more particularly, the present invention relates to a method, apparatus, and computer instructions for automatically updating software in a network data processing system.
2. Description of Related Art
The Internet, also referred to as an “internetwork”, is a set of computer networks, possibly dissimilar, joined together by means of gateways that handle data transfer and the conversion of messages from a protocol of the sending network to a protocol used by the receiving network. When capitalized, the term “Internet” refers to the collection of networks and gateways that use the TCP/IP suite of protocols.
The Internet has become a cultural fixture as a source of both information and entertainment. Many businesses are creating Internet sites as an integral part of their marketing efforts, informing consumers of the products or services offered by the business or providing other information seeking to engender brand loyalty. Many federal, state, and local government agencies are also employing Internet sites for informational purposes, particularly agencies which must interact with virtually all segments of society such as the Internal Revenue Service and secretaries of state. Providing informational guides and/or searchable databases of online public records may reduce operating costs. Further, the Internet is becoming increasingly popular as a medium for commercial transactions.
Currently, the most commonly employed method of transferring data over the Internet is to employ the World Wide Web environment, also called simply “the Web”. Other Internet resources exist for transferring information, such as File Transfer Protocol (FTP) and Gopher, but have not achieved the popularity of the Web. In the Web environment, servers and clients effect data transaction using the Hypertext Transfer Protocol (HTTP), a known protocol for handling the transfer of various data files (e.g., text, still graphic images, audio, motion video, etc.). The information in various data files is formatted for presentation to a user by a standard page description language, the Hypertext Markup Language (HTML). In addition to basic presentation formatting, HTML allows developers to specify “links” to other Web resources identified by a Uniform Resource Locator (URL). A URL is a special syntax identifier defining a communications path to specific information. Each logical block of information accessible to a client, called a “page” or a “Web page”, is identified by a URL. The URL provides a universal, consistent method for finding and accessing this information, not necessarily for the user, but mostly for the user's Web “browser”. A browser is a program capable of submitting a request for information identified by an identifier, such as, for example, a URL. A user may enter a domain name through a graphical user interface (GUI) for the browser to access a source of content. The domain name is automatically converted to the Internet Protocol (IP) address by a domain name system (DNS), which is a service that translates the symbolic name entered by the user into an IP address by looking up the domain name in a database.
The Internet also is widely used to transfer applications to users using browsers. With respect to commerce on the Web, individual consumers and business use the Web to purchase various goods and services. In offering goods and services, some companies offer goods and services solely on the Web while others use the Web to extend their reach. In particular, many businesses and organizations have begun relying on the Internet to distribute software as well as software updates to customers.
With the current system, managers and administrators of network data processing systems must initiate contact with a supplier site to identify new updates to existing products. For example, the administrator or manager of a customer network data processing system must check a supplier Web site to see if new patches exist for each one of the products that the customer currently uses. Then, the customer is required to read the install notes to see if any prerequisites or dependencies are present for the patch prior to installation. Once the customer has verified this information, the patch is then downloaded to the desired machine and installed. This process leaves no trace of when the patch was downloaded and installed. Further, the procedure also is error prone. For example, patches may be easily installed in the wrong order causing the product to be inoperable or unusable.
Therefore, it would be advantageous to have an improved method, apparatus, and computer instructions for automatically updating software in a network data processing system.
The present invention provides a method, apparatus, and computer instructions for managing software updates in a network data processing system. An update for an application is identified for distribution to customers from a supplier. The update is distributed through a supplier controlled process to a customer network based on customer access information for a customer owning the customer network.
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.
Communications links to clients 108-112 in
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
As another example, data processing system 300 may be a stand-alone system configured to be bootable without relying on some type of network communication interfaces. As a further example, data processing system 300 may be a personal digital assistant (PDA) device, which is configured with ROM and/or flash ROM in order to provide non-volatile memory for storing operating system files and/or user-generated data.
The depicted example in
The present invention provides an improved method, apparatus, and computer instructions for installing and updating software on a customer network. In the depicted examples, a live update server controlled by a supplier is used in conjunction with a live update client on a customer network to seamlessly deliver software updates. These software updates include, for example, patches, efixes, and new applications. The mechanism of the present invention provides a communications process between the supplier and customers to facilitate the automatic detection of needed patches and fixes in a customer network environment.
The mechanism of the present invention also is able to control the updating of software such that a customer only receives updates that are authorized based on customer access information. The distribution of updates may occur either in a push or pull mechanism. In these examples, a push mechanism involves the supplier sending updates to a customer based on a schedule or set of events defined by the supplier. The pull mechanism involves the customer requesting updates from the supplier. In particular, the mechanism of the present invention may be implemented in Websphere applications, which are available from International Business Machines Corporation. A deployment manager is already present in which this deployment manager obtains and stores configuration information for different servers within the network. If the node is considered to be trusted, then the deployment manager may automatically update the Web server's version in addition to the configuration information. The scheduling of updates is controlled from a live update client process located at the client. This process controls the updating of data processing systems, such as trusted nodes. These nodes are ones that trust the live update client process to execute commands on behalf of the node to perform updates.
Turning now to
In this example, live update server 404 includes internal Web site server process 408, rules engine 410, Web services interface 412, and product repository 414. Internal Web site server process 408 is employed to receive updates for distribution. In these examples, updates include the software and prerequisite data needed to install the software. This software may take various forms, such as a new application, a patch, or an efix. Product repository 414 is used to store the software as well as prerequisite information.
Customer access information 418 is used to determine what products are accessible by a customer. In the illustrative examples, this customer access information includes an inventory of the customer network, client network 402 in these examples, as well as licensing information used to determine what software is authorized for a customer. Web services interface 412 provides an interface to distribute software to clients as well as receive requests from clients. In distributing updates, live update server 404 will send update list to clients through web server interface 412. This update list also may include prerequisite information to allow clients to determine what additional software may be needed to update a particular application for which an update request is made. This interface may work in either or both a push mechanism and a pull mechanism for distributing software.
Live update client 406 includes internal Web site 420, Web services interface 422, product repository 424, rules engine 420, and adapter 426. Internal Web site 414 is employed to initiate and schedule updates. For example, update schedule 424 may be sent by an administrator or manager of client network 402 to schedule updates for software received from a supplier or alternatively to request updates on some scheduled basis. This schedule may be based on some period of time set by the administrator or in response to some event depending on the particular implementation. Initially, a list of updates with prerequisite information is received at the client site. From this information, updates may be identified and requested by the client.
Web services interface 422 provides an interface from client network 402 to live update server 404 in supplier environment 400. Product repository 424 is used to store updates received from live update server 404 until those updates are to be sent for distribution to nodes within client network 402. Rules engine 428 is employed to analyze the environment within client network 402. For example, rules engine 428 may initiate the gathering of inventories from various nodes, such as nodes 430, 432, and 434 within client network 402. These nodes may be implemented using a client computer or data processing system, such as data processing system 300. In these examples, trusted nodes include nodes 430, 432, and 434. A trusted node in the illustrative examples is a node for which the update process has authentication information, such as a user name and password. In these examples, trusted node trusts the update process, such as adapter 442 in region 443 to execute commands on behalf of the node. Live update client 406 is a process executing on a server, such as data processing system 200 in
In this example, supplier site 436 includes a product database 438. This product database contains software, patches, and efixes as well as prerequisites created by a party other than the customer who owns client network 402. When a software update is generated, this software update may be sent to live update server 404 for distribution to customers. The interface is through internal Web site server process 408 in the illustrative examples. As can be seen, software and prerequisite data 440 are sent from supplier site 436 to internal Web site server process 408. When this update is received, internal Web site server process 408 stores the update within product repository 414.
In these examples, software updates are performed by first sending a list of updates with prerequisite information regarding the updates. This prerequisite information includes, for example, patches, modules, or other requirements needed to install the update. Based on this list, client's request updates from live update server 404. Software and prerequisite data 440 may be distributed to customers through a push or pull mechanism. In the event that a pull mechanism is employed, a request is received from live update client 406 in response to some event that is scheduled, such as through update schedule 426. Upon receiving this request at Web services interface 412, rules engine 410 determines whether the customer is to receive this requested update.
An additional benefit of the mechanism of the present invention is an ability to control the distribution of updates, especially those updates that contain patches or efixes. Currently, customers may obtain patches or efixes even for unlicensed products. The mechanism of the present invention provides an added benefit in which requests are examined to determine whether the updates are authorized. Rules engine 410 checks customer access information 418 to determine whether the customer should receive the update. In these examples, customer access information 418 includes an inventory of the customer environment as well as licensing and product authorization information. As a result, rules engine 410 may determine whether the software should be returned in response to the request.
If the customer is authorized to receive the update, then the update is retrieved from product repository 414 by Web services interface 412. This update is then returned to live update client 406 through Web services interface 422. In response to receiving the update at Web services interface 422, the update is stored in product repository 424 for distribution within client network 402. This distribution is based on a schedule, such as update schedule 426. When an update is to be made, the update is sent to an adapter, such as adapter 442 in region 443.
In these examples, region 443 includes adapter 442, agent 444, software distribution 446, and inventory 448. Region 443 may be for example Tivoli Management Region (TMR), which is Tivoli software product available from International Business Machines Corporation (IBM) that controls a set of trusted nodes. Applications can be controlled and monitored via the TMR. TMR has authorization and the ability to execute commands on the nodes. Inventory 448 may be implemented using Tivoli Inventory, which is a software product from IBM that runs in the TMR on any of its trusted nodes. This component can examine the file system of a trusted node to determine what applications and patch levels are to be installed on a particular node. In these examples, software distribution 446 may be implemented using Software Distribution, which a software product from IBM that runs in the TMR and can push software updates to any trusted node. This component can then execute that software update so that the software update becomes installed on that trusted node.
In these examples, agent 444 is a Java based agent that resides in region 443 to allow for live updates. Agent 444 is an interface used to receive the updates from product repository 424 in live update client 406 and provides an interface to allow communications between live update client 406 and region 443.
If a push mechanism is used, rules engine 410 identifies clients from customer access information 418. Authorized customers are identified for a particular update. Rules engine 410 then causes initiation of the distribution of this update to the customers from product repository 414 through Web services interface 412 in these illustrative examples.
Additionally, the mechanism of the present invention also involves obtaining inventories from the different nodes in client network 402. In these examples, the inventories include an identification of the hardware and software on each of the nodes. The identification of hardware and software are used with the prerequisites to determine what patches and the order in which patches are to be installed.
Turning next to
This process begins by the server sending an update list to client with prerequisite (step 500). These prerequisites include information needed for the updates on the list. These prerequisites may include for example, installation of selected patches, a presence of particular dynamic link library files, or other modules related to the software being updated. In response to this update list, a list of updates required is received from the client (step 502). The process then authenticates the client for the requested update (step 504). A determination is made as to whether the client hast been authenticate for this particular update (step 506).
If the client has been authenticated, the update is sent to the client along with the prerequisite (step 508). Then, determination is made as to whether additional updates have been requested from the client (step 510). If additional updates have been requested, the process returns to (step 504). Other wise the process terminates. The process also terminates if the client is not authenticated in (step 506).
In this manner, the server may push or send update lists to clients using the process in
Turning now to
A process begins by receiving an update list (step 600). A request for an update of the software inventory is made (step 602). This inventory may be requested from the different nodes in a client network. Based on this product list and the inventory, updates are selected and requested (step 604). Step 604 may be implemented by using a rules engine, such as rules engine 428 in
Next, a determination is made as to whether updates are required (step 606). If updates are required, a request for a product of update is made based on the pre information (step 608). For example, a particular update may require installation of a particular patch before the update may be installed. This case, both the patch and the update are requested.
Then, the software update is received (step 610). The update is then applied (step 612). Step 612 may be implemented using a software distribution mechanism as described with respect to region 443 in
The process illustrated in
With reference now to
The process begins by requesting an inventory update from nodes in the network (step 700), and waits to receive an inventory (step 702). When a report is received, this report is added to an inventory database (step 704). This inventory database may be located in a database, such as product repository 404 in live update client 406 in
With reference now to
The process begins by receiving an update (step 800). In these examples, the update includes the software, such as a patch or efix as well as prerequisites needed to install the software. The update is then stored in a product repository on the client network (step 802). A determination is then made as to whether the update is scheduled for initiation at the present time (step 804). If the update is scheduled, then the update is sent to the adapter for distribution and installation (step 806) with the process terminating thereafter.
With reference again to step 804, if the update is not scheduled for implementation at this time, then the process waits for a period of time (step 808) and then returns to step 804.
Turning now to
Thus, the present invention provides an improved method, apparatus, and computer instructions for automatic software updates of nodes in a network data processing system. The mechanism of the present invention involves using a live update server as well as a live update client to distribute updates from a supplier to a customer. The mechanism of the present invention allows for the supplier to control the distribution of software to customers. In these examples, all the steps may be logged for review at a later time. The mechanism of the present invention allows for increased control over which customers receive patches, efixes, or beta versions of products.
Additionally, the live update server of the present invention may easily gather product information for different nodes or computers running the software of the supplier. Further, by analyzing the customer environment and receiving an inventory of the environment, an up-to-date snapshot of the infrastructure may be used to provide additional solutions for the customer. For example, verification of the correct number of software licenses may be identified. Further, a prediction of future needs may be identified in a manner to allow the supplier to offer custom solutions to meet those needs.
Further, with customer privacy being a concern, live update client 406 in
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.