System and methods for software distribution and management
A method and system for controlling and obtaining service from a pull-based management server is presented. A BIOS of a client indicates whether a previous boot up of the client was to the pull-based management server. An indicator in the BIOS is checked by a checking mechanism. A changing mechanism will change a boot sequence of the client if the indicator signifies that the previous boot up was to the pull-based management server. The changing mechanism orders the boot sequence of the client to boot to a local computer-readable medium before booting to a remote management server. Additionally, a boot sequence setting mechanism on a remote computer will have the client boot to a remote management server before booting to a local computer-readable medium.
Latest Intel Patents:
- Multi-access management service frameworks for cloud and edge networks
- 3D memory device with top wordline contact located in protected region during planarization
- Electromagnetic interference shielding enclosure with thermal conductivity
- Apparatus, system and method of communicating audio traffic over a Bluetooth link
- Technology to use video source context information in post-processing operations
1. Field
This invention relates in general to software distribution and management over a network. More specifically, this invention relates to software distribution to a client and management of a client over a network.
2. General Background and Related Art
Management systems facilitate the distribution of software to target devices and the maintenance of such devices. For example, an operating system (OS) may be distributed over a network to one or more client machines from a remote server, which may be termed a management server. The management server may also maintain the client machines, such as by monitoring client operability or modifying client configurations. Some systems may perform only software distribution or maintenance functions, while others may perform both functions.
In a typical management environment, a client may include a network card that is configured to communicate with a remote server. At a boot-up, but before loading an operating system into main memory, a client may contact a management server and request instructions therefrom. Such instructions may cause the client to boot to disk, reformat a disk or disks of the client, or install a predetermined OS on the client. Software may be downloaded from a remote location over the network, such as from the management server or another network device accessible to the client. Specifically, Intel Corporation offers an OS distribution system known as a Preboot Execution Environment (PXE) system. PXE-enabled clients may be managed by remote PXE servers.
Network protocols enable communications between a client and a management server. For instance, the Dynamic Host Configuration Protocol (DHCP), RFC 1541, and the Bootstrap Protocol (BOOTP), RFC 951, allow a booting host, such as a client, to configure itself dynamically and without user intervention. As such, DHCP or BOOTP may assign a host an IP address and convey to the host a file from which to download a boot program from some management server, the management server's address, and the address of an Internet gateway (where present).
In a management system, a database may store information relating to managed machines, and management software may maintain the machines represented in the database. Maintenance functions associated with the management software may include application distribution, backup and recovery, performance monitoring, and preemptive or responsive problem diagnostic tools.
Client 101 may be managed by management server 110. Management database 120 may store information associated with various clients, such as client 101, within VLAN 140. Management server 130 is separated from client 101, management server 110, and management database 120 by network nodes, such as switch 150, router 160, router 180, and switch 190.
Many client computers, such as client 101, may be included in VLAN 140. A boot sequence on client 101 may be set such that client 101, at boot-up, first attempts to boot from a local computer-readable medium, such as a local hard drive, a floppy disk, or a CD-ROM, and then attempts to boot to a remote server, such as management server 110. By changing the boot sequence such that the network is ordered before a local computer-readable medium, client 101 may initiate contact with management server 110. Management server 110 may then manage client 101.
A user who is present at client 101 may change the boot sequence on client 101. After boot-up to management server 110 occurs and client 101 is successfully managed, client 101 should boot to a local computer-readable medium at the next boot-up. In existing systems, however, client 101 continues to boot to management server 110 at each boot-up absent user intervention at client 101. This problem is especially acute in networks comprising multiple clients. A user must manually change the boot sequence at each client subsequent to management functions being performed by management server 110.
Another problem in system 100 occurs when client 101 requires services that are not supported by a management server within VLAN 140. Communication protocols such as DHCP and BOOTP are typically filtered on switches and routers, such as switch 150, router 160, router 180, and switch 190 in system 100. Therefore, a DHCP or BOOTP request by client 101 to management server 130, which is located outside of VLAN 140, will fail. Moreover, in a data center such as that shown in system 100, wherein VLAN 140 controls the type and amount of traffic that can occur, the problem is further exacerbated. In a large network, hundreds of VLANs such as VLAN 140 may be encountered. One management server is required for each VLAN that includes clients to be managed.
Client 101 may be managed according to information stored within management database 120. For instance, a user may input into management database 120 an operating system type to be installed on client 101. Management software on management database 120 may propagate this information to management server 110. At a boot-up, client 101 may request operating system installation information, and management server 110 may respond with such information. Thereafter, a user may manually update management database 120 to record that the operating system is now installed on client 101. In this system, copies of information are stored in both management database 120 and management server 110. Consistency of data on management server 110 and on management database 120 may be compromised, and unnecessary exchanges of data may occur.
Therefore, what is needed are methods and systems for software distribution to a client and management of a client.
BRIEF DESCRIPTION OF THE DRAWINGS
The following detailed description refers to the accompanying drawings that illustrate exemplary embodiments of the present inventions. Other embodiments are possible and modifications may be made to the embodiments without departing from the spirit and scope of the invention. Therefore, the following detailed description is not meant to limit the invention. Rather, the scope of the invention is defined by the appended claims.
It will be apparent to one of ordinary skill in the art that the embodiments as described below may be implemented in many different embodiments of software, firmware, and hardware in the entities illustrated in the figures. The actual software code or specialized control hardware used to implement the present invention is not limiting of the present invention. Thus, the operation and behavior of the embodiments will be described without specific reference to the actual software code or specialized hardware components. The absence of such specific references is feasible because it is clearly understood that artisans of ordinary skill would be able to design software and control hardware to implement the embodiments of the present invention based on the description herein with only a reasonable effort and without undue experimentation.
Moreover, the processes associated with the presented embodiments may be stored in any storage device, such as, for example, a computer system (non-volatile) memory, an optical disk, magnetic tape, or magnetic disk. Furthermore, the processes may be programmed when the computer system is manufactured or via a computer-readable medium at a later date. Such a medium may include any of the forms listed above with respect to storage devices and may further include, for example, a carrier wave modulated, or otherwise manipulated, to convey instructions that can be read, demodulated/decoded and executed by a computer.
1. Controlling the Obtaining of Service from a Management Server
A method and system for controlling the obtaining of service from a management server, as presented herein, involves an indicator on a client. The indicator on the client signifies whether a previous boot-up of the client was to a management server. The indicator is checked at a boot-up of the client. A boot sequence on the client is changed if the indicator signifies that the previous boot-up of the client was to a management server. Accordingly, the client may, without user intervention, boot to a local computer-readable medium after being administered by a management server.
Client 201 may include a network adapter card, such as a PXE-enabled card, or network circuitry integrated within client 201. Client 201 may include a basic input/output system (BIOS) 220. BIOS 220 is distinct from an operating system that client 201 may boot to during boot-up. BIOS 220 may be implemented in a volatile or non-volatile memory such as FLASH memory. BIOS 220 may comprise an indicator 230, a checking mechanism 240, a changing mechanism 250, and a boot sequence 260. The components of BIOS 220 may be implemented in hardware or software, or a combination thereof.
Indicator 230 signifies whether a previous boot-up of client 201 was to a management server. Indicator 230 may comprise a counter or a flag of one or more bits. Indicator 230 may initially be set to zero. In an exemplary implementation, zero may signify that a previous boot-up was a local boot-up. Indicator 230 may be set to a value of one to signify that a previous boot-up was to a management server.
Checking mechanism 240 checks the value or status of indicator 230 at boot-up. Changing mechanism 250 may change boot sequence 260 if indicator 230 signifies that the previous boot-up of the client was to a management server. As a result of the change, a local computer-readable medium may be ordered before a remote management server in the boot sequence. That is, boot sequence 260 may be ordered such that client 201 first attempts to boot to a local computer-readable medium and then attempts to boot to network 270.
Accordingly, after management server 210 manages client 201, client 201 at boot-up may, without user intervention, boot locally instead of again booting to management server 210. When changing mechanism 250 changes boot sequence 260, changing mechanism 250 may also set indicator 230 to specify that a previous boot-up of client 201 was not to a management server. Therefore, not only will client 201 boot locally on the present boot-up, but also client 20i will boot locally on subsequent boot-up cycles. In an exemplary implementation, a remote computer, such as management server 210, may remotely change boot sequence 260, wherein boot sequence 260 is ordered such that a remote management server (the network) appears before a local computer-readable medium. Thus, network administrators may remotely earmark one or more clients, such as client 201, to be managed. In other embodiments, a user or a local software program of client 201 may change boot sequence 260 to cause client 201 to boot to a remote management server, such as management server 210.
2. Obtaining Service from a Management Server in a Network Including Intervening Network Nodes
A method and system for obtaining service from a management server, as described herein, involves a client, a management agent, and a management server. A client sends a request for service to the management agent. The management agent forwards the request for service to the management server via Hypertext Transfer Protocol (HTTP). The management server sends service information via HTTP to the management agent. The management agent then forwards the service information to the client.
Client 501 sends a request for service to a management agent 520. That is, client 501 pulls locally. The request for service may relate to a service supported by management server 530, such as installing an operating system or an application program, or providing diagnostic, upgrade, or system recovery service or services. The request for service sent by client 501 may be sent using any network protocol, such as DHCP, RFC 1541, or BOOTP, RFC 951, which uniquely identifies a client to a server and specifies a location of boot code to a client.
Management agent 520, which may also be termed a management representative, may comprise firmware of a network device or a software agent that runs transparently on a client or server. Following a handshake with client 501, a translation agent (not shown) executing on management agent 520 or a system accessible thereby may convert the received request for service to HTTP. Management agent 520 may then forward to management server 530 the request for service via HTTP. The request is forwarded across VLAN 540, switch 550, router 560, Internet 570, router 580, and switch 590. It is to be appreciated that Internet 570 may contain many intervening nodes between management agent 520 and management server 530. More generally, management agent 520 may open an HTTP session to a subnet, VLAN, or LAN associated with a management server to retrieve service information, such as bootstrap instructions.
Following a handshake with management agent 520, management server 530 sends to management agent 520 service information via HTTP. Management agent 520 may include a translation agent (not shown) that converts the received service information from HTTP to another protocol. Management agent 520 forwards the service information to client 501 via DHCP, BOOTP, or another protocol supported by client 501 for loading and execution. Accordingly, client 501 may be managed.
Like management server 530, various clients and servers (not shown) may be coupled to switch 590. If such devices require service from a management server outside of network 585, then a management agent similar to management agent 520 may be coupled to switch 590. Such a management agent may act as an intermediary between devices coupled to switch 590 and a management server outside of network 585.
According to embodiments of the present invention, one management server may effectively manage a network or enterprise. In a remote Intemet-based provisioning implementation, operating systems or prepackaged operating systems and applications may be stored on an Internet server or a modular server on a website. For instance, the preconfigured operating system and associated applications for a mail server may be stored on a management server accessible to a website. A user may purchase a server for use as a mail server. The user may visit the website to purchase the operating system and applications. When powered on, the mail server may send a request for service to a management agent. The management agent may forward the request to the management server via HTTP and, in response, receive a software image with the bootstrap instructions via HTTP. The management agent may then serve the software image and bootstrap instructions to the mail server.
3. Dynamically Managing Software on a Client
A method for dynamically managing software on a client, as presented herein, involves a client and a management server. The client sends a request for service to the management server. The management server receives the request for service. The management server queries a management database about the client. The management server sends service information to the client based at least in part on the querying.
Client 701 sends a request for service to management server 710. Where management server 710 is a Preboot Execution Environment (PXE) server, client 701 may include a PXE-enabled adapter card to enable communications with management server 710.
Client 701 may be associated with two or more states. In one state, client 701 may require the services of management server 710, such as the installation of an operating system. In this state, client 701 should boot to the network. Alternatively, client 701 may boot to a custom application program stored on a floppy or another computer-readable medium. On booting from the floppy, the application program may contact a server on the network. In another state, client 701 should not boot to a remote server, but should boot locally to a computer-readable medium, such as a hard drive of client 701.
Client 701 may take various actions based on service information sent by management server 710. For instance, client 701 may boot to a local storage medium of client 701. Alternatively, an operating system or application program specified by management server 710 may be installed on client 701. In another embodiment, client 701 may boot to an operating system retrieved from the network, and the retrieved operating system may manage client 701. Specifically, the retrieved operating system may be configured to, for example, back up the system of client 701, recover the system of client 701, evaluate system information on client 701, or wait for a request from client 701 or a user thereof.
Management server 710 receives pre-boot requests from any of a number of client machines, such as client 701, that execute in a network environment. Management server 710 may formulate and send commands to convey service information to a client. For instance, the service information may include instructions that may cause a client to boot to its local hard drive or other such medium, install a specific operating system or application program on the client, or take other action.
Management database 720 contains information about various client machines, such as client 701. Management database 720 may reside on management server 720 or another computer. Management database 720 may include information about hardware and software configurations of a client, multiple clients, or all clients in a network. In particular, management database 720 may indicate what operating system and application programs are installed on a client or what software needs to be installed on the client in the future. Management database 720 may be updated automatically or manually when management server 710 manages client 701. For instance, management database 720 may be updated to reflect that a particular operating system is installed on client 701. In an exemplary implementation, management database 720 and management software of management server 710 may be integrated in one software package.
Management server 710 may query management database 720 directly in order to determine how client 701 should be managed. The query may, for example, enable management server 710 to determine whether an operating system should be installed on client 701, determine whether client 701 should boot from its own local storage medium, and select, if management database 720 does not provide information about the client, a set of default information. Default information may include any of a number of default options, such as booting to a local disk of client 701 or booting to a network-retrieved system that allows for temporary management of client 701.
In another embodiment, management server 710 may compare information recorded in management database 720 with a given client's current configuration. As such, management server 710 may recognize changes to the hardware and software configuration of the client.
Returning to item 940, if the default option is to boot locally, then in item 960, the management server formulates a command to boot locally. In item 985, the management server sends a command to the client. In item 990, the client boots to an operating system on a local medium of the client.
Returning to item 930, if the database does contain information about the client of interest, then in item 950, the method tests whether the operating system should be installed on the client. If not, then the method proceeds to item 960, as described above. If item 950 evaluates to yes, then in item 995, the management server queries the management database for the operating system type. The management server formulates an operating system installation command in item 997, and in item 999, the client installs the operating system on the local medium of the client.
The foregoing description of the preferred embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments are possible, and the generic principles presented herein may be applied to other embodiments as well. For example, a management agent may be employed in conjunction with a management server that queries a management database.
Further, the invention may be implemented in part or in whole as a hard-wired circuit, as a circuit configuration fabricated into an application-specific integrated circuit, or as a firmware program loaded into non-volatile storage or a software program loaded from or into a data storage medium as machine-readable code, such code being instructions executable by an array of logic elements such as a microprocessor or other digital signal processing unit.
As such, the present invention is not intended to be limited to the embodiments shown above but rather is to be accorded the widest scope consistent with the principles and novel features disclosed in any fashion herein.
Claims
1. A method for controlling an obtaining of service from a pull-based management server over a network, the method comprising:
- providing an indicator in a basic input/output system (BIOS) of a client, the indicator signifying whether a previous boot up of the client was to the pull-based management server;
- checking, by a first mechanism, the indicator at a boot up of the client; and
- changing, by a second mechanism, a boot sequence in the BIOS of the client if the indicator signifies that the previous boot up of the client was to the pull-based management server.
2. The method of claim 1, wherein the pull-based management server comprises a preboot execution environment (PXE) server.
3. The method of claim 1, wherein the indicator comprises a flag in the BIOS of the client.
4. The method of claim 3, wherein the flag comprises a counter.
5. The method of claim 1, wherein the checking and the changing are performed by the BIOS.
6. The method of claim 1, wherein the changing of the boot sequence includes ordering a local computer-readable medium before a remote management server in the boot sequence.
7. The method of claim 1, further including setting, in accordance with the changing of the boot sequence, the indicator to specify that the previous boot up of the client was not to the pull-based management server.
8. The method of claim 1, further including setting, by a remote computer, the boot sequence on the client, the setting of the boot sequence including ordering a remote management server before a local computer-readable medium in the boot sequence.
9. A system for controlling an obtaining of service, comprising:
- a pull-based management server to control an obtaining of a service over a network; and
- a client, coupled to the pull-based management server, the client including: an indicator configured to signify whether a previous boot up of a client was to the pull-based management server, a checking mechanism configured to check the indicator at a boot up of the client, and a changing mechanism configured to change a boot sequence on the client if the indicator signifies that the previous boot up of the client was to the pull-based management server.
10. The system of claim 9, wherein the pull-based management server includes a preboot execution environment (PXE) server.
11. The system of claim 9, wherein the client includes a preboot execution environment (PXE) server.
12. The system of claim 9, wherein the indicator comprises a flag in a basic input/output system (BIOS) of the client.
13. The system of claim 12, wherein the flag comprises a counter.
14. The system of claim 9, wherein the checking mechanism and the changing mechanism are implemented in a basic input/output system (BIOS) of the client.
15. The system of claim 9, wherein the changing mechanism is configured to order a local computer-readable medium before a remote management server in the boot sequence.
16. The system of claim 9, further includes a setting mechanism configured to set, in accordance with a changing by the changing mechanism, the indicator to specify that the previous boot up of the client was not to the pull-based management server.
17. The system of claim 9, further includes a remote computer, coupled to the management server and the client over the network, the remote computer including a boot sequence setting mechanism configured to order a remote management server before a local computer-readable medium in the boot sequence on the client.
18. A computer-readable medium encoded with a plurality of instructions, which when executed cause a client to:
- provide an indicator, the indicator signifying whether a previous boot up of the client was to a pull-based management server;
- check, by a first mechanism, the indicator at a boot up of the client; and
- change, by a second mechanism, a boot sequence on the client if the indicator signifies that the previous boot up of the client was to the pull-based management server.
19. The computer-readable medium of claim 18, wherein the indicator comprises a flag in a basic input/output system (BIOS) of the client.
20. The computer-readable medium of claim 18, wherein the changing of the boot sequence includes ordering a local computer-readable medium before the pull-based management server in the boot sequence.
Type: Application
Filed: Jul 11, 2006
Publication Date: Nov 9, 2006
Applicant: INTEL CORPORATION (Santa Clara, CA)
Inventors: Matthew Doherty (Newport Beach, CA), Paul Savage (Beaverton, OR), Kathleen Sillonis (Portland, OR), Andrew Ruse (Riverton, UT), Peter Johnson (Lehi, UT), Ryan Erickson (Lehi, UT)
Application Number: 11/484,522
International Classification: G06F 15/173 (20060101);