The present invention relates to computer systems, and more particularly to a method and system for correlating location information of a server.
In server blade systems, the blade position or slot number in a BladeCenter chassis is typically known only to the management module of a given blade chassis. Slot numbers are used extensively by the management module for identifying particular server blades in order to perform management functions (e.g., upgrading software at a given server blade). A problem with conventional server blade systems is that remote clients accessing a server blade resident in a BladeCenter typically have only limited location information of the server blade. For example a remote client may have only the internet protocol (IP) address but may not know the blade position that the IP address represents. Unfortunately, the management module typically cannot provide the blade position for a given IP address, because the management module typically does not store the IP address. Furthermore, the management module typically does not communicate with the operating system (OS) running on the server blade and typically communicates only with the service processor of a given server blade. Still further, the OS is unaware of the management module. Consequently, a remote client cannot perform management functions on a given server blade, since the client does not have the IP address of the server blade.
Accordingly, what is needed is a method and system for correlating location information of a server. The present invention addresses such a need.
A method and system for obtaining location information of a server is disclosed. More particularly, embodiments of the present invention provide a method that includes causing a node to obtain correlation of a first address of at least one target server with a second address of the at least one target server based on the second address of the at least one target server and a plurality of addresses similar in type to the first address. The method further includes retrieving the correlation from the node. As a result, a client may access the correlated location information and communicate directly with the target server.
The present invention relates to computer systems, and more particularly to a method and system for obtaining location information of a server. The following description is presented to enable one of ordinary skill in the art to make and use the invention, and is provided in the context of a patent application and its requirements. Various modifications to the preferred embodiment and the generic principles and features described herein will be readily apparent to those skilled in the art. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features described herein.
A method and system in accordance with the present invention for correlating location information of a server are disclosed. In accordance with the present invention, a management module transmits a command to a switch. The command causes the switch to issue an address resolution protocol (ARP) request to one or more blade servers. Each ARP request includes one IP address of the range of possible IP addresses such that the server that is associated with the one IP address transmits an ARP response to the switch. The ARP response includes the one IP address and the MAC address of the server, which may be stored in both the switch and management module for access by a remote client. As a result, the remote client may access the correlated location information and communicate directly with the server. To more particularly describe the features of the present invention, refer now to the following description in conjunction with the accompanying figures.
To describe further the features of the present invention, please refer to the following discussion and figures, which describe a computer system, such as the BladeCenter.
A midplane circuit board 106 is positioned approximately in the middle of chassis 102 and includes two rows of connectors 108, 108′. Each one of the 14 slots includes one pair of midplane connectors, e.g., 108a, 108a′, located one above the other, and each pair of midplane connectors, e.g., 108a, 108a′ mates to a pair of connectors (not shown) at the rear edge of each server blade 104a.
As is shown in
The management modules 208 communicate with all of the key components of the system 100 including the switch 210, power 206, and blower 204 modules as well as the blade servers 104 themselves. The management modules 208 detect the presence, absence, and condition of each of these components. When two management modules are installed, a first module, e.g., MM1 (208a), will assume the active management role, while the second module MM2 (208b) will serve as a standby module.
The second chassis 202 also houses up to four switching modules SM1 through SM4 (210a-210d). The primary purpose of the switch module is to provide interconnectivity between the server blades (104a-104n), management modules (208a, 208b) and the outside network infrastructure (not shown). Depending on the application, the external interfaces may be configured to meet a variety of requirements for bandwidth and function.
Referring again to
In general, the management module (208) can detect the presence, quantity, type, and revision level of each blade 104, power module 206, blower 204, and midplane 106 in the system, and can detect invalid or unsupported configurations. The management module (208) will retrieve and monitor critical information about the chassis 102 and blade servers (104a-104n), such as temperature, voltages, power supply, memory, fan and HDD status. If a problem is detected, the management module 208 can transmit a warning to a system administrator via the port 402 coupled to the management server 404. If the warning is related to a failing blade, e.g., 104a, the system administrator must replace the failed blade 104a. In order to preserve the information on the failed blade's 104a hard drive, the administrator must manually remove the hard drive and remount it into a replacement blade. This process is labor intensive and economically costly. The present invention resolves this problem.
After obtaining the correlation, the node may then store the correlation in a memory location (e.g., in a cache table). The memory location contains entries of the IP address and associated MAC address of each server. Next, in a step 504, the management module 210 retrieves the correlation from the node (e.g., from the cache table of the node). Next, in a step 506, the management module 208 stores the correlation. In one embodiment, the management module 208 then correlates the IP address and MAC address of the target server with a server position (also referred to as a blade position or slot number) of the target server. The management module 208 then stores the location information (i.e., the IP address, MAC address, and server position) in a memory location (e.g., a table cache). As described in more detail below, a remote client may access the location information to enable the remote client to communicate directly with the node.
In one embodiment, the management module 208 may perform the above-described process for one target server and then may repeat the process to obtain correlated location information (i.e., respective IP address, MAC address, and server position) for all of the servers. At the end of this process, a client would have a complete table uniquely mapping the IP address to a server position for each server. In another embodiment, the management module 208 may transmit a command to the switch 210 that may cause the switch 210 to transmit multiple ARP requests, where each ARP request contains a different IP address from a set of possible IP addresses in order to eventually obtain ARP responses from all of the servers. Accordingly, the switch 210 obtains correlated location information (i.e., IP address and MAC address) for each of the servers. As such, the management module 208 may retrieve all of the correlations from the switch 210 and then correlate the IP addresses and MAC addresses from those correlations with respective server positions (i.e., blade position/slot numbers). In one embodiment, the management module 208 stores the correlated location information in any suitable memory location such as a cache table. In one embodiment, the management module 208 may generate an internal table by reading vital product data (VPD) from the servers through an RS486 network.
According to the system and method disclosed herein, the present invention provides numerous benefits. For example, embodiments of the present invention enable a client to access the correlated location information and communicate directly with the target server. Embodiments of the present invention also provide a remote client with a consistent and reliable means to access the IP address and/or blade number/position of a given blade in a chassis.
A method and system for obtaining location information of a server has been disclosed. In accordance with the present invention, a management module transmits a command to a switch. The command causes the switch to issue an address resolution protocol (ARP) request to one or more blade servers. Each ARP request includes one IP address of the range of possible IP addresses such that the server that is associated with the one IP address transmits an ARP response to the switch. The ARP response includes the one IP address and the MAC address of the server, which may be stored in both the switch and management module for access by a remote client. As a result, the remote client may access the correlated location information and communicate directly with the server.
The present invention has been described in accordance with the embodiments shown. One of ordinary skill in the art will readily recognize that there could be variations to the embodiments, and that any variations would be within the spirit and scope of the present invention. For example, the present invention can be implemented using hardware, software, a computer readable medium containing program instructions, or a combination thereof. Software written according to the present invention is to be either stored in some form of computer-readable medium such as memory or CD-ROM, or is to be transmitted over a network, and is to be executed by a processor. Consequently, a computer-readable medium is intended to include a computer readable signal, which may be, for example, transmitted over a network. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims.
Under 35 USC §120, this application is a continuation application and claims the benefit of priority to U.S. patent application Ser. No. 11/407,566, filed Apr. 19, 2006, entitled “Method for Obtaining Location Information of a Server,” which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 11407566 | Apr 2006 | US |
Child | 12140518 | US |