1. Field of the Invention
The present invention relates to methods for providing expansion card settings, and more specifically to influencing expansion card behavior based on the operating environment.
2. Background of the Related Art
An expansion card is a printed circuit board that can be inserted into an expansion slot of a computer motherboard to add additional functionality to a computer system. One edge of the expansion card includes an edge connector that fits exactly into the slot. The edge connector and slot establish the electrical contact between the electronic components on the card and the electronic components on the motherboard.
Expansion cards may be installed in many different operating environments, including blade servers. A blade server is a server computer having a modular design optimized to minimize the use of physical space. Whereas a standard rack mount server can function with a power cord and network cable, blade servers have many components removed for the purpose of saving space, minimizing power consumption and other considerations, while still having all the functional components to be considered a computer. A multi-slot chassis can hold multiple blade servers and provide services such as power, cooling, networking, various interconnects and management.
Although a blade server can be given new functions or increased capabilities by the installation of an expansion card on the blade server, the chassis hardware may then become the limiting factor in overall performance of the blade server. For example, newer and faster network interfaces, such as 8-bit Fibre Channel technology, may be introduced in a blade server by installing a corresponding expansion card. However, the individual slot or entire chassis in which the expansion card is installed may not support the faster network speeds, leading to various communication errors. One option for eliminating these errors is to provide updated hardware to the chassis or at least the chassis midplane that communicates the blade server I/O with a network switch. Another option is to restrict the placement of a blade server having high speed I/O to only those slots that are known to support the new expansion card capabilities. These options are taken only at the expense of a greater capital investment or the loss of flexibility in installing and relocating the server blades as desired.
One embodiment of the present invention provides a method for determining settings to be used by an expansion card in a multi-slot server chassis. The method comprises a chassis management controller in a multi-slot server chassis providing a parameter of an operating environment to a server management controller in a server that is installed in one of the slots of the multi-slot server chassis. The method further comprises the server management controller providing the parameter to a port expander of an expansion card installed on the server, wherein the parameter is written to the port expander prior to expansion card power up.
In one optional embodiment, the method further comprises the expansion card storing vital product data including a capability bit, wherein the capability bit indicates that the server management controller can provide a parameter to the expansion card port expander. The server management controller reads the capability bit and then, in response to the capability bit having a value indicating to the server management controller that the expansion card includes the port expander, the server management controller provides a parameter of the operating environment to a port expander of the expansion card. In yet another optional embodiment, the method further comprises, upon power up of the expansion card, the expansion card using the parameter to derive a SERDES value and programming an ASIC chip comprising a SERDES converter to use the derived SERDES value.
One embodiment of the present invention provides a method for determining settings to be used by an expansion card in a multi-slot server chassis. The method comprises a chassis management controller in a multi-slot server chassis providing a parameter of an operating environment to a server management controller in a server that is installed in one of the slots of the multi-slot server chassis. The method further comprises the server management controller providing the parameter to a port expander of an expansion card installed on the server, wherein the parameter is written to the port expander prior to expansion card power up. Optionally, the port expander is an 8-bit port expander connected to an I2C bus on the expansion card.
In another optional embodiment, the method further comprises, upon power up of the expansion card, the expansion card using the parameter to derive a SERDES value and programming an ASIC chip comprising a SERDES converter to use the derived SERDES value. For example, the parameter of the operating environment may include identification of the chassis and slot in which the expansion card is installed. In another example, the parameter may include one or more communication parameters supported by the slot in the chassis, such as parameters determined by the capabilities of a chassis midplane at the slot where the compute node is installed. Accordingly, the expansion card may be an interface card for a storage network, such as a Fibre Channel card, or an interface card for a local area network, such as an Ethernet card. In further embodiments, the parameter may include one or more software keys contained in the chassis management controller to enable or disable features, encryption information used for secure communications, or instructions for the expansion card to enter a power savings mode.
In yet another optional embodiment, the method further comprises the expansion card storing vital product data including a capability bit, wherein the capability bit indicates that the server management controller can provide or write a parameter to the expansion card port expander. The server management controller reads the capability bit and then, in response to the capability bit having a value indicating to the server management controller that the expansion card includes the port expander, the server management controller provides the parameter to a port expander of the expansion card.
One or more of the servers may further include an expansion card 24A-24N secured to a motherboard (not shown) within the server that includes the server management controller 22A-22N. Accordingly, each server management controller 22A-22N can communicate with the expansion card 24A-24N, respectively, for example by communicating over a serial computer bus 26A-26N, such as an inter-integrated circuit (I2C) bus. As shown, the serial computer bus 26A-26N provides communication with a non-volatile data storage device including vital product data (VPD) 28A-28N and a port expander 30A-30N for the storage of an operating environment parameter in accordance with one of more embodiments of the present invention.
The methods of the present invention may be performed in various systems, including the system described in reference to
In other optional embodiments, the parameters provided to the expansion card may also include any software keys contained in the chassis management controller to enable/disable features, as well as encryption information. Any information that could influence, lock or unlock behaviors in the expansion card could be transferred using the present methods. These methods may allow a more centralized management of features and behavior, if desired. The expansion card can also use the information to independently determine how to behave, if unique behavior based on operating environment is needed. The present methods may also be used to notify the expansion card to enter a power savings mode or “throttle” in order to save power for the system. The power management for the system may be initiated by the chassis management module, while some power management functions are pushed down to the server, and then to the daughter card using these methods.
If the expansion card capability bit indicates that the expansion card is able to receive an operating parameter from the server management controller, then in step 70 an operating parameter is provided from the chassis management controller to a server management controller on the server. In step 72, the operating parameter is written from the server management controller to a port expander of an expansion card installed on the server. Accordingly, at some subsequent point in time, the expansion card is provided with full power in step 74. The expansion card then uses the operating parameter to derive a SERDES value in step 76 and programs an ASIC chip to use the derived SERDES value in a SERDES converter in step 78.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, components and/or groups, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The terms “preferably,” “preferred,” “prefer,” “optionally,” “may,” and similar terms are used to indicate that an item, condition or step being referred to is an optional (not required) feature of the invention.
The corresponding structures, materials, acts, and equivalents of all means or steps plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but it 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 without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and 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.