1. Field of the Invention
The present invention relates generally to a computer implemented method, a data processing system, and a computer program product for enabling and disabling network hardware. More specifically, the present invention relates to a computer implemented method, a data processing system, and a computer program product for remotely enabling and disabling network hardware based on a hardware reservation process a usage history of the network hardware.
2. Description of the Related Art
In a large computing environment, electrical power is consumed in great quantities. Systems are left on and unused, sometimes for extended time periods. Electricity is used to keep the computers powered on, and to power the heat pumps and air conditioning units that must constantly run to compensate for the huge amount of heat that is put out by the abundance of computers. This results in a huge cost to the organization operating the computing environment.
While manually powering-off systems may be a practical solution to this problem, often times it is not the most optimal or cost-effective solution. With the popularity of working from remote locations, systems often need to be made available for remote access from anywhere by a person at any time of day. Thus, in many computer laboratories, thousands of physical systems and virtual systems stay powered on for use a variable times, even though the systems may be idle for extended time periods. An effective management of system power usage that still allows for remote access to the computer systems would result in monetary savings that would otherwise not be possible.
Computer implemented methods, computer program products, and data processing systems are provided for managing power in a network environment. A checkout request is received by a server. Responsive to receiving the request, the server identifies a set of systems as a free system. A user selects a selected system from the list of free systems. The selected system is then assigned to the user. The selected system is then powered-on.
After the system is checked out by the user, and responsive to powering-on the selected system, the selected system is monitored to identify a check-in state. Should the checked out system be found in a check-in state, the selected system is unassigned from the user, and is powered down.
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 and in particular with reference to
In the depicted example, server 104 and server 106 connect to network 102 along with storage unit 108. In addition, clients 110, 112, and 114 connect to network 102. Clients 110, 112, and 114 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 110, 112, and 114. Clients 110, 112, and 114 are clients to server 104 in this example. 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, governmental, 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).
With reference now to
Turning now to
Processor unit 204 serves to execute instructions for software that may be loaded into memory 206. Processor unit 204 may be a set of one or more processors or may be a multi-processor core, depending on the particular implementation. Further, processor unit 204 may be implemented using one or more heterogeneous processor systems in which a main processor is present with secondary processors on a single chip. As another illustrative example, processor unit 204 may be a symmetric multi-processor system containing multiple processors of the same type.
Memory 206, in these examples, may be, for example, a random access memory. Persistent storage 208 may take various forms depending on the particular implementation. For example, persistent storage 208 may contain one or more components or devices. For example, persistent storage 208 may be a hard drive, a flash memory, a rewritable optical disk, a rewritable magnetic tape, or some combination of the above. The media used by persistent storage 208 also may be removable. For example, a removable hard drive may be used for persistent storage 208.
Communications unit 210, in these examples, provides for communications with other data processing systems or devices. In these examples, communications unit 210 is a network interface card. Communications unit 210 may provide communications through the use of either or both physical and wireless communications links.
Input/output unit 212 allows for input and output of data with other devices that may be connected to data processing system 200. For example, input/output unit 212 may provide a connection for user input through a keyboard and mouse. Further, input/output unit 212 may send output to a printer. Display 214 provides a mechanism to display information to a user.
Instructions for the operating system and applications or programs are located on persistent storage 208. These instructions may be loaded into memory 206 for execution by processor unit 204. The processes of the different embodiments may be performed by processor unit 204 using computer implemented instructions, which may be located in a memory, such as memory 206. These instructions are referred to as, program code, computer usable program code, or computer readable program code that may be read and executed by a processor in processor unit 204. The program code in the different embodiments may be embodied on different physical or tangible computer readable media, such as memory 206 or persistent storage 208.
Program code 216 is located in a functional form on computer readable media 218 and may be loaded onto or transferred to data processing system 200 for execution by processor unit 204. Program code 216 and computer readable media 218 form computer program product 220 in these examples. In one example, computer readable media 218 may be in a tangible form, such as, for example, an optical or magnetic disc that is inserted or placed into a drive or other device that is part of persistent storage 208 for transfer onto a storage device, such as a hard drive that is part of persistent storage 208. In a tangible form, computer readable media 218 also may take the form of a persistent storage, such as a hard drive or a flash memory that is connected to data processing system 200.
Alternatively, program code 216 may be transferred to data processing system 200 from computer readable media 218 through a communications link to communications unit 210 and/or through a connection to input/output unit 212. The communications link and/or the connection may be physical or wireless in the illustrative examples. The computer readable media also may take the form of non-tangible media, such as communications links or wireless transmissions containing the program code.
The different components illustrated for data processing system 200 are not meant to provide architectural limitations to the manner in which different embodiments may be implemented. The different illustrative embodiments may be implemented in a data processing system including components in addition to or in place of those illustrated for data processing system 200. Other components shown in
For example, a bus system may be used to implement communications fabric 202 and may be comprised of one or more buses, such as a system bus or an input/output bus. Of course, the bus system may be implemented using any suitable type of architecture that provides for a transfer of data between different components or devices attached to the bus system. Additionally, a communications unit may include one or more devices used to transmit and receive data, such as a modem or a network adapter. Further, a memory may be, for example, memory 206 or a cache such as found in an interface and memory controller hub that may be present in communications fabric 202.
In accordance with the illustrative embodiments, a network system checkout system is accessed by another program that powers off unused systems. When a user checks out a system, it is powered on. The checkout system keeps track of the usage of various systems on a network so that only the systems that need to remain on for productivity will consume power, with systems in a check-in state being powered off. A check-in state can be a user defined action, such as a lease expiration for the checked out system. The check-in state may also be a detection of an idle state. Records of system usage are stored in an associated database.
When a user checks out a system in the inventory, a message is sent to the power server, and a “power-on” command is issued, powering the system on. The “power-on” command can be a “wake on local area network” command. The system is active as long as the user has the system checked out, and will remain powered on so long as the system remains unflagged as not idle and unexpired.
At predetermined time intervals, the database is checked by the inventory system for network systems that have “expired” and are no longer in use. Expired systems are marked as being in a “check-in” state. The inventory system sends a list of systems that are not being used to the power image server. The power image server then powers the systems off through an imaged power-off program. Networked systems are powered down and will be powered on when they are subsequently checked out.
Referring now to
Client 310 is a client such as clients 110-114 of
System checkout process 314 is a software process that monitors and tracks assigned systems on network 339. System checkout process 314 maintains database 318 listing each system 320A-320D capable of being checked out, and the corresponding checkout status 322A-322D for each of those systems. Checkout status 322A-322D is an indication of whether a particular system 320A-320D is currently assigned to a particular client, i.e., busy, or is available for assignment to a new client, i.e., available. Database 318 may also contain system parameters 324A-324D. System parameters 324A-324D can include, but are not limited to, physical characteristics for each system 320A-320D, such as processor speeds, available memory, etc. System parameters 324A-324D can also likewise include, but are not limited to, network connectivity information, such as ping rates and network access speeds. System parameters 324A-324D can also likewise include, but are not limited to, installed software information, such as a listing of available software programs that are installed on a given system.
Software process 312 sends a checkout request 328 to system checkout process 314. Upon receiving checkout request 328, system checkout process 314 polls database 318 to identify a set of systems, such as systems 320A-320D, having a checkout status 322A-322D marked as available. A set of systems is one or more systems, such as systems 320A-320D. System checkout process 314 then returns a listing of those systems 320C-320D having a checkout status 322A-322D marked as available to client 310. Systems 320C-320D having a checkout status 322C-322D marked as available, i.e. “available systems” 320C-320D, are a subset of systems 320A-320D. Systems 320A-320B having a checkout status 322A-322B marked as busy, i.e. “busy systems” 320A-320B, are a subset of systems 320A-320D. System checkout process 314 may also return to client 318, the system parameters 324C-324D for available systems 320C-320D.
Software process 312 can then present client 310 with a listing 330 of available systems 320C-320D, as well as system parameters 324C-324D of each available system 320C-320D. From this information, client 310 is able to select a system to access based on the needs of client 310 and the system parameters 324C-324D for each available system 320C-320D.
Client 310 inputs selection 332, chosen from the listing 330 of available systems 320C-320D, into software process 312 for a selected system 320D to be reserved. Selected system 320D is a subset of available systems 320C-320D. Software process 312 then forwards selection 332 to system checkout process 314.
Upon receiving selection 332, system checkout process 314 marks the checkout status 322D for the selected system 320D as busy. System checkout process 314 then provides notification to image power process 334 on image power server 333 that selection 332 has been received for selected system 320D.
Image power process 334 is a software process running on image power server 336. Image power process 334 includes power-on routines 336A-336D and power-off routines 338A-338D for each system 320A-320D connected to the network. One or more of power-on routines 336A-336D can be a single routine that is operable on multiple systems; similarly, one or more of power-on routines 336A-336D can be system specific, such that a unique power-on routine is required for a certain system. One or more of power-off routines 338A-338D can be a single routine that is operable on multiple systems; similarly, one or more of power-off routines 338A-338D can be system specific, such that a unique power-off routine is required for a certain system.
Upon receiving notification from system checkout process 314 that selection 332 has been received for selected system 320D, image power process 334 forwards the corresponding power-on routine 336D to the selected system 320D. Selected system 320D is initially in a powered-off or power reduced state. In response to receiving power-on routine 336D, selected system 320D is powered on. A connection between selected system 320D and client 310 is implemented through network 339, such that client 310 can now access selected system 320D and the resources, programs, and data thereon.
When client 310 is finished utilizing selected system 320D, client 310 can send check-in signal 340. Client 310 enters check-in signal 340 into software process 312. Software process 312 forwards the check-in signal 340 to system checkout process 314. System checkout process 314 marks the checkout status 322D for the selected system 320D as available. System checkout process 314 then provides notification to image power process 334 that check-in signal 340 has been received for selected system 320D. In an alternative illustrative embodiment, system checkout process 314 assigns a lease expiration time to selected system 320D at the time of checkout. At the conclusion of the lease expiration time, checkout process 314 may spontaneously provide notification to image power process 334 that selected system 320D should be powered off.
Upon receiving notification from system checkout process 314 that check-in signal 340 has been received for selected system 320D, image power process 334 forwards the corresponding power-off routine 338D to selected system 320D. In response to receiving power-off routine 338D, selected system 320D is powered off. The connection between selected system 320D and client 310 through network 339 is terminated, such that client 310 can no longer access selected system 320D and the resources, programs, and data thereon, without again going through the checkout process.
As an additional power saving measure, each system 320A-320D is provided with idle-time counters 341A-341D. Idle-time counters 341A-341D are software processes executing on each of systems 320A-320D. Idle-time counters 341A-341D count times that systems 320A-320D remains idle, and compares the idle time to a time threshold 342A-342D. Time thresholds 342A-342D can be universal threshold that is applied to each of systems 320A-320D; contrarily, one or more of time thresholds 342A-342D can be system specific, such that a unique time threshold 342A-342D is applied to each system 320A-320D. If selected system 320D is utilized prior to idle-time counter 341D reaching time threshold 342D, i.e., if client 310 accesses resources, programs, or data on selected system 320D prior to idle-time counter 341D reaching time threshold 342D, idle-time counter 341D is reset. Idle-time counter 341D then begins again to count the time that selected system 320D remains idle.
Referring now to
In response to flag 343D being set, system checkout process 314 marks the checkout status 322D for the selected system 320D as available. System checkout process 314 then provides notification to image power process 334 that flag 343D was set for selected system 320D.
Upon receiving notification from system checkout process 314 that flag 343D was set for selected system 320D such that selected system 320D has “expired” and therefore is in a “check-in” state, image power process 334 forwards the corresponding power-off routine 338D to the selected system 320D. In response to receiving power-off routine 338D, selected system 320D is powered off. The connection between selected system 320D and client 310 through network 339 is terminated, such that client 310 can no longer access selected system 320D and the resources, programs, and data thereon, without again going through the checkout procedure.
Referring now to
Responsive to receiving check-in signal 344, system checkout process 314 marks the checkout status 322D for the selected system 320D as available. System checkout process 314 then provides notification to image power process 334 that check-in signal 344 has been received for selected system 320D.
Upon receiving notification from system checkout process 314 that check-in signal 344 has been received for selected system 320D, image power process 334 forwards the corresponding power-off routine 338D to the selected system 320D. In response to receiving power-off routine 338D, selected system 320D is powered off. The connection between selected system 320D and client 310 through network 339 is terminated, such that client 310 can no longer access selected system 320D and the resources, programs, and data thereon, without again going through the checkout process.
Referring now to
Process 400 begins by sending a checkout request to a system checkout process located on a usage tracking server (step 410), and begins polling for a response (step 420). Upon receiving the checkout request, the system checkout process polls a database to identify each system having a checkout status marked as available. System checkout process then returns a listing of those systems having a checkout status marked as available to the client.
Process 400 receives the list of available systems from the system checkout process (step 430). Process 400 then presents the client with the list of available systems, as well as system parameters of each available system (step 440), and polls for a system selection by the user (step 450). From this information, the client is able to select a system to access based on the needs of the client and the system parameters for each available system.
Process 400 receives the system selection for a selected system, chosen from the listing of available systems, which the user would like to reserve (step 460). Process 400 then forwards the system selection to the system checkout process on the usage tracking server (step 470), with the process terminating thereafter. The system checkout process marks the checkout status for the selected system as busy. The system checkout process then provides notification to the image power process that a selection has been received for selected system. The image power process forwards a corresponding power-on routine to the selected system. In response to receiving power-on routine, the selected system is powered on. A connection between the selected system and the client is implemented through a network, such that the client can now access the selected system and the resources, programs, and data thereon.
Referring now to
When a client is finished utilizing a selected system, the client can send a check-in signal. Process 500 begins by receiving a check-in signal from the client (step 510). Software process 500 forwards the check-in signal to the system checkout process running on the usage tracking server (step 520), with process 500 terminating thereafter.
The system checkout process marks the checkout status of the selected system as available. The system checkout process then provides notification to an image power process that a check-in signal has been received for selected system. The image power process the forwards a corresponding power-off routine to the selected system. In response to receiving the power-off routine, the selected system is powered off. The connection between the selected system and the client through a network is terminated, such that the client can no longer access the selected system and the resources, programs, and data thereon, without again going through the checkout process.
Referring now to
Process 600 begins by receiving a checkout request from a client (step 610). Responsive to receiving the checkout request, process 600 parses a database to identify each system having a checkout status marked as available (step 620). Process 600 then returns a listing of those systems having a checkout status marked as available to the client (step 630). Process 600 may also return to the client 318 system parameters for the available systems. Process 600 then polls for a response from the client (step 640).
The client inputs a selection for a selected system, chosen from the listing of available systems, which the client would like to reserve. Process 600 receives the selection from the client (step 650).
Responsive to receiving the selection, process 600 marks the checkout status for the selected system as busy in the database. Process 600 then provides notification to an image power process that a selection has been received for the selected system (step 660), with process 600 terminating thereafter. The image power process forwards a corresponding power-on routine to the selected system. In response to receiving the power-on routine, the selected system is powered on. A connection between the selected system and the client is implemented through a network, such that the client can now access the selected system and the resources, programs, and data thereon.
Referring now to
Process 700 further maintains a database listing each system capable of being checked out to a client, and a corresponding checkout status for each of those systems.
Process 700 begins by receiving a check-in signal from a client (step 710). Responsive to receiving the check-in signal, process 700 marks the checkout status in the database for the selected system as available (step 720). Process 700 then provides notification to image power process that a check-in signal has been received for the selected system (step 730), with process 700 terminating thereafter.
The image power process then forwards a corresponding power-off routine to the selected system. In response to receiving the power-off routine, the selected system is powered off. The connection between the selected system and the client through a network is terminated, such that client can no longer access selected system and the resources, programs, and data thereon, without again going through the checkout process.
Referring now to
Process 800 begins by receiving a notification from a system checkout process that a selection has been received for the selected system (step 810). Process 800 includes power-on routines for each networked system connected to a network.
Responsive to receiving notification from the system checkout process that a selection has been received for the selected system, process 800 forwards the corresponding power-on routine to the selected system (step 820), with the process terminating thereafter.
In response to receiving the power-on routine, the selected system is powered on. A connection between the selected system and the client is implemented through a network, such that the client can now access the selected system and the resources, programs, and data thereon.
Referring now to
Process 900 begins by receiving a notification from the system checkout process that a check-in signal has been generated for the selected system (step 910). Process 900 includes power-off routines for each networked system connected to a network.
Responsive to receiving notification from the system checkout process that a selection has been received for the selected system, process 900 forwards the corresponding power-off routine to the selected system (step 920). Process 900 terminates thereafter.
In response to receiving the power-off routine, the selected system is powered off. The connection between the selected system and the client through a network and a network is terminated, such that the client can no longer access the selected system and the resources, programs, and data thereon, without again going through the checkout process.
Referring now to
Responsive to the system being powered-on, process 1000 begins by resetting an idle-time counter to an initial value (step 1010). Process 1000 next identifies whether the system is in an idle state (step 1020). The system is in an idle state when the client is not accessing or utilizing resources, programs, or data on the selected system. If the system is not in an idle state (“no” at step 1020), process 1000 returns to step 1010, and the idle-time counter is reset to its initial value.
If the system is in an idle state (“yes” at step 1020), process 1000 increments the idle-time counter (step 1030). Process 1000 then identifies whether the idle-time counter has exceeded a time threshold (step 1040). If the idle-time counter has not exceeded the time threshold (“no” at step 1040), process 1000 returns to step 1020.
If the idle-time counter has exceeded the time threshold (“yes” at step 1040), process 1000 sets a flag for the system (step 1050). Process 1000 terminates thereafter.
A server process, such as system checkout process 314 of
Responsive to determining that process 1000 has flagged the associated system, the server process marks the checkout status in the database for the selected system as available. The server process then provides notification to image power process that the selected system has been flagged. The image power process then forwards a corresponding power-off routine to the selected system. In response to receiving the power-off routine, the selected system is powered off. The connection between the selected system and the client through the network is terminated, such that the client can no longer access the selected system and the resources, programs, and data thereon, without again going through the checkout process.
Referring now to
Responsive to the system being powered-on, process 1100 begins by resetting an idle-time counter to an initial value (step 1110). Process 1100 next identifies whether the system is in an idle state (step 1120). The system is in an idle state when the client is not accessing or utilizing resources, programs, or data on the selected system. If the system is not in an idle state (“no” at step 1120), process 1100 returns to step 1110, and the idle-time counter is reset to its initial value.
If the system is in an idle state (“yes” at step 1120), process 1100 increments the idle-time counter (step 1030). Process 1100 then identifies whether the idle-time counter has exceeded a time threshold (step 1140). If the idle-time counter has not exceeded the time threshold (“no” at step 1140), process 1100 returns to step 1120.
If the idle-time counter has exceeded the time threshold (“yes” at step 1140), process 1100 sends a check-in signal (step 1150) to a server process, such as system checkout process 314 of
Responsive to receiving a check-in signal from process 1100, the server process marks the checkout status in the database for the selected system as available. The server process then provides notification to the image power process that the selected system has been flagged. The image power process then forwards a corresponding power-off routine to the selected system. In response to receiving the power-off routine, the selected system is powered off. The connection between the selected system and the client through a network is terminated, such that the client can no longer access the selected system and the resources, programs, and data thereon, without again going through the checkout process.
Thus the present invention provides a data processing system, a computer implemented method, and a computer program product for effectively managing power to a number of systems in a network. A network system checkout system is accessed by another program that powers off unused systems. When a user checks out a system, it is powered on. The checkout system keeps track of the usage of various systems on a network so that only the systems that need to remain on for productivity will consume power, with idle systems being powered off. Records of system usage are stored in an associated database.
When a user checks out a system in the inventory, a message is sent to the power server, and a “power-on” command is issued, powering the system on. The “power-on” command can be a “wake on local area network” command for a physical system. For virtual systems, including logical partitions, the “power-on” command can be a transmission control protocol/internet protocol command issued from a hardware management console. The system is active as long as the user has the system checked out, and will remain powered on so long as the system remains unflagged as idle.
At predetermined time intervals, the database is checked by the inventory system for network systems that have “expired” and are no longer in use. The inventory system sends a list of systems that are not being used to the power image server. The power image server then powers the systems off through a program that resides on all systems that was imaged to the power image server. Networked systems are powered down and will be powered on when they are subsequently checked out.
The presently described embodiments therefore provide a user with a method to remotely access and reserve networked systems. By providing the checkout system with an expired or idle-state, an enterprise can monitor which of the networked systems are in use, and power-off those systems that are not currently in use.
The invention can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment containing both hardware and software elements. In a preferred embodiment, the invention is implemented in software, which includes but is not limited to firmware, resident software, microcode, etc.
Furthermore, the invention can take the form of a computer program product accessible from a computer-usable or computer-readable medium providing program code for use by or in connection with a computer or any instruction execution system. For the purposes of this description, a computer-usable or computer readable medium can be any tangible apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device) or a propagation medium. Examples of a computer-readable medium include a semiconductor or solid state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk and an optical disk. Current examples of optical disks include compact disk-read only memory (CD-ROM), compact disk-read/write (CD-R/W) and DVD.
A data processing system suitable for storing and/or executing program code will include at least one processor coupled directly or indirectly to memory elements through a system bus. The memory elements can include local memory employed during actual execution of the program code, bulk storage, and cache memories which provide temporary storage of at least some program code in order to reduce the number of times code must be retrieved from bulk storage during execution.
Input/output or I/O devices (including but not limited to keyboards, displays, pointing devices, etc.) can be coupled to the system either directly or through intervening I/O controllers.
Network adapters may also be coupled to the system to enable the data processing system to become coupled to other data processing systems or remote printers or storage devices through intervening private or public networks. Modems, cable modem and Ethernet cards are just a few of the currently available types of network adapters.
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.