Information
-
Patent Application
-
20010020251
-
Publication Number
20010020251
-
Date Filed
March 23, 200123 years ago
-
Date Published
September 06, 200123 years ago
-
CPC
-
US Classifications
-
International Classifications
Abstract
A fault tolerant system by which individual components of a server are monitored and controlled through independent, programmable microcontrollers interconnected through a microcontroller network. An external agent can control and monitor the microcontrollers by extending the interconnection network beyond the physical server. The extension to the interconnection network converts protocols between media, and directs the microcontrollers and the state managed by the microcontrollers. Intervention of the server operating system software is not required and is not utilized for the access and control operations. A remote interface board provides the interface between the microcontroller network and an external modem that communicates with a remote client computer. The remote interface board also provides for connection to a local client computer.
Description
BACKGROUND OF THE INVENTION
[0001] 1. Field of the Invention
[0002] The invention relates to fault tolerant computer systems. More specifically, the invention is directed to a system for providing remote access and control of server environmental management.
[0003] 2. Description of the Related Technology
[0004] As enterprise-class servers become more powerful and more capable, they are also becoming increasingly sophisticated and complex. For many companies, these changes lead to concerns over server reliability and manageability, particularly in light of the increasingly critical role of server-based applications. While in the past many systems administrators were comfortable with all of the various components that made up a standards-based network server, today's generation of servers can appear as an incomprehensible, unmanageable black box. Without visibility into the underlying behavior of the system, the administrator must “fly blind.” Too often the only indicators the network manager has on the relative health of a particular server is whether or not it is running.
[0005] It is well-acknowledged that there is a lack of reliability and availability of most standards-based servers. Server downtime, resulting either from hardware or software faults or from regular maintenance, continues to be a significant problem. By one estimate, the cost of downtime in mission critical environments has risen to an annual total of $4.0 billion for U.S. businesses, with the average downtime event resulting in a $140 thousand loss in the retail industry and a $450 thousand loss in the securities industry. It has been reported that companies lose as much as $250 thousand in employee productivity for every 1% of computer downtime. With emerging Internet, intranet and collaborative applications taking on more essential business roles every day, the cost of network server downtime will continue to spiral upward.
[0006] While hardware fault tolerance is an important element of an overall high availability architecture, it is only one piece of the puzzle. Studies show that a significant percentage of network server downtime is caused by transient faults in the I/O subsystem. These faults may be due, for example, to the device driver, the adapter card firmware, or hardware which does not properly handle concurrent errors, and often causes servers to crash or hang. The result is hours of downtime per failure, while a system administrator discovers the failure takes some action, and manually reboots the server. In many cases, data volumes on hard disk drives become corrupt and must be repaired when the volume is mounted. A dismount-and-mount cycle may result from the lack of Ahot pluggability≅ in current standards-based servers. Diagnosing intermittent errors can be a frustrating and time-consuming process. For a system to deliver consistently high availability, it must be resilient to these types of faults. Accurate and available information about such faults is central to diagnosing the underlying problems and taking corrective action.
[0007] Modern fault tolerant systems have the functionality to provide the ambient temperature of a storage device enclosure and the operational status of other components such as the cooling fans and power supply. However, a limitation of these server systems is that they do not contain self-managing processes to correct malfunctions. Also, if a malfunction occurs in a typical server, it relies on the operating system software to report, record and manage recovery of the fault. However, many types of faults will prevent such software from carrying out these tasks. For example, a disk drive failure can prevent recording of the fault in a log file on that disk drive. If the system error caused the system to power down, then the system administrator would never know the source of the error.
[0008] Traditional systems are lacking in detail and sophistication when notifying system administrators of system malfunctions. System administrators are in need of a graphical user interface for monitoring the health of a network of servers. Administrators need a simple point-and-click interface to evaluate the health of each server in the network. In addition, existing fault tolerant servers rely upon operating system maintained logs for error recording. These systems are not capable of maintaining information when the operating system is inoperable due to a system malfunction. Existing systems do not have a system log for maintaining information when the main computational processors are inoperable.
[0009] Another limitation of the typical fault tolerant system is that the control logic for the diagnostic system is associated with a particular processor. Thus, if the environmental control processor malfunctioned, then all diagnostic activity on the computer would cease. In traditional systems, if a controller dedicated to the fan system failed, then all fan activity could cease resulting in overheating and ultimate failure of the server. What is desired is a way to obtain diagnostic information when the server OS is not operational or even when main power to the server is down.
[0010] Existing fault tolerant systems also lack the power to remotely control a particular server, such as powering up and down, resetting, retrieving or updating system status, displaying flight recorder and so forth. Such control of the server is desired even when the server power is down. For example, if the operating system on the remote machine failed, then a system administrator would have to physically go to the remote machine to re-boot the malfunctioning machine before any system information could be obtained or diagnostics could be started.
[0011] Therefore, a need exists for improvements in server management which will result in greater reliability and dependability of operation. Server users are in need of a management system by which the users can accurately gauge the health of their system. Users need a high availability system that must not only be resilient to faults, but must allow for maintenance, modification, and growth-without downtime. System users must be able to replace failed components, and add new functionality, such as new network interfaces, disk interface cards and storage, without impacting existing users. As system demands grow, organizations must frequently expand, or scale, their computing infrastructure, adding new processing power, memory, storage and I/O capacity. With demand for 24-hour access to critical, server-based information resources, planned system downtime for system service or expansion has become unacceptable.
SUMMARY OF THE INVENTION
[0012] Embodiments of the inventive remote access system provides system administrators with new levels of client/server system availability and management. It gives system administrators and network managers a comprehensive view into the underlying health of the server-in real time, whether on-site or off-site. In the event of a failure, the invention enables the administrator to learn why the system failed, why the system was unable to boot, and to control certain functions of the server from a remote station.
[0013] One embodiment of the present invention is a system for external management of a server environment, the system comprising a first computer having a plurality of components, a second computer connected to the first computer, a plurality of microcontrollers that monitor components of the first computer, a bus that interconnects the microcontrollers, and a remote interface circuit-that interfaces the microcontrollers with the second computer thereby facilitating the external management of the first computer components.
[0014] Another embodiment of the present invention is a system for external management of a computer environment, the system comprising a first computer having a plurality of components, a second computer connected to the first computer, means for monitoring components of the first computer, and means for interfacing the monitoring means with the second computer to facilitate the external management of the first computer components.
BRIEF DESCRIPTION OF THE DRAWINGS
[0015]
FIG. 1 is a top level block diagram of microcontroller network components utilized by an embodiment of the present invention.
[0016]
FIG. 2 is a block diagram of the server portion of the microcontroller network shown in FIG. 1.
[0017]
FIG. 3 is a block diagram of a remote interface board (RIB) that is part of the microcontroller network shown in FIGS. 1 and 2.
[0018]
FIG. 4 is a diagram of serial protocol message formats utilized by the RIB shown in FIG. 3.
[0019]
FIGS. 5
a
and 5b are a flowchart of a RIB microcontroller that is a part of the microcontroller network shown in FIGS. 1 and 2.
[0020]
FIG. 6 is a diagram of a modem dialing and answering state machine defined in FIG. 5a.
DETAILED DESCRIPTION OF THE INVENTION
[0021] The following detailed description presents a description of certain specific embodiments of the present invention. In this description, reference is made to the drawings wherein like parts are designated with like numerals throughout.
[0022] For convenience, the discussion of the invention is organized into the following principal sections: Introduction, Server System, Microcontroller Network, Remote Interface Board, Remote Interface Serial Protocol, and RIB Microcontroller Operation.
I. INTRODUCTION
[0023] The inventive computer server system and client computer includes a distributed hardware environment management system that is built as a small self-contained network of microcontrollers. Operating independently of the system processor and operating system software, embodiments of present invention uses separate processors for providing information and managing the hardware environment including fans, power supplies and temperature.
[0024] Initialization, modification and retrieval of system conditions are performed through utilization of a remote interface by issuing commands to the environmental processors. The system conditions may include system log size, presence of faults in the system log, serial number for each of the environmental processors, serial numbers for each power supply of the system, system identification, system log count, power settings and presence, canister presence, temperature, BUS/CORE speed ratio, fan speeds, settings for fan faults, LCD display, Non-Maskable Interrupt (NMI) request bits, CPU fault summary, FRU status, JTAG enable bit, system log information, remote access password, over-temperature fault, CPU error bits, CPU presence, CPU thermal fault bits, and remote port modem. The aforementioned list of capabilities provided by the present environmental system is not all-inclusive.
[0025] The server system and client computer provides mechanisms for the evaluation of the data that the system collects and methods for the diagnosis and repair of server problems in a manner that system errors can be effectively and efficiently managed. The time to evaluate and repair problems is minimized. The server system ensures that the system will not go down, so long as sufficient system resources are available to continue operation, but rather degrade gracefully until the faulty components can be replaced.
II. SERVER SYSTEM
[0026] Referring to FIG. 1, a server system 100 with a remote client computer will be described. In a one embodiment, the server system hardware environment 100 may be built around a self-contained network of microcontrollers, such as, for example, a remote interface microcontroller on the remote interface board or circuit 104, a system interface microcontroller 106 and a system recorder microcontroller 110. This distributed service processor network 102 may operate as a fully self-contained subsystem within the server system 100, continuously monitoring and managing the physical environment of the machine (e.g., temperature, voltages, fan status). The microcontroller network 102 continues to operate and provides a system administrator with critical system information, regardless of the operational status of the server 100.
[0027] Information collected and analyzed by the microcontroller network 102 can be presented to a system administrator using either SNMP-based system management software (not shown), or using microcontroller network Recovery Manager software 130 through a local connection 121 or a dial-in connection 123. The system management software, which interfaces with the operating system (OS) 108 such as Microsoft Windows NT Version 4.0 or Novell Netware Version 4.11, for example, provides the ability to manage the specific characteristics of the server system, including Hot Plug Peripheral Component Interconnect (PCI), power and cooling status, as well as the ability to handle alerts associated with these features.
[0028] The microcontroller network Recovery Manager software 130 allows the system administrator to query the status of the server system 100 through the microcontroller network 102, even when the server is down. Using the microcontroller network remote management capability, a system administrator can use the Recovery Manager 130 to re-start a failed system through a modem connection 123. First, the administrator can remotely view the microcontroller network Flight Recorder, a feature that stores all system messages, status and error reports in a circular Non-Volatile Random Access Memory buffer (NVRAM) 112. Then, after determining the cause of the system problem, the administrator can use microcontroller network “fly by wire” capability to reset the system, as well as to power the system off or on. “Fly by wire” denotes that no switch, indicator or other control is directly connected to the function it monitors or controls, but instead, all the control and monitoring connections are made by the microcontroller network 102.
[0029] The remote interface board (RIB) 104 interfaces the server system 100 to an external client computer. The RIB 104 may be internal or external to an enclosure of the server 100. Furthermore, the RIB may be incorporated onto another circuit of the server, such as a system board 150 (FIG. 2) or a backplane 152 of the server. The RIB 104 connects to either a local client computer 122 at the same location as the server 100 or to a remote client computer 124 through an optional switch 120. The client computer 122/124 may in one embodiment run either Microsoft Windows 95 or Windows NT Workstation version 4.0 operating system (OS) 132.
[0030] The client computer 122/124 could be another server, such as, for example, a backup server. The client computer 122/124 could also be a handheld computer such as, for example, a personal digital assistant (PDA). It is not necessary that Operating System software be running on the client computer 122/124. For example, the client computer 122/124 could be hard-wired for specific tasks, or could have special purpose embedded software.
[0031] The processor and RAM requirements of the client computer 122/124 are such as necessary by the OS 132. The serial port of the client computer 122/124 may utilize a type 16550A Universal Asynchronous Receiver Transmitter (IART). The switch 120 facilitates either the local connection 121 or the modem connection 123 at any one time, but allows both types of connections to be connected to the switch. In an another embodiment, either the local connection 121 or the modem connection 123 is connected directly to the RIB 104. The local connection 121 utilizes a readily available null-modem serial cable to connect to the local client computer. The modem connection may utilize a Hayes-compatible server modem 126 and a Hayes-compatible client modem 128. In one embodiment, a model V.34X 33.6K data/fax modem available from Zoom is utilized as the client modem and the server modem. In another embodiment, a Sportster 33.6K data/fax modem available from US Robotics is utilized as the client modem.
[0032] The steps of connecting the remote client computer 124 to the server 100 will now be briefly described. The remote interface 104 has a serial port connector 204 (FIG. 3) that directly connects with a counterpart serial port connector of the external server modem 126 without the use of a cable. If desired, a serial cable could be used to interconnect the remote interface 104 and the server modem 126. The cable end of an AC to DC power adapter (not shown, for example a 120 Volt AC to 7.5 Volt DC, or a 220V, European or Japanese adapter) is then connected to the DC power connector J2 (220, FIG. 3) of the remote interface, while the double-prong end is plugged into a 120 Volt AC wall outlet. One end of an RJ-45 parallel-wire data cable 103 is then plugged into an RJ-45 jack (226, FIG. 3) on the remote interface 104, while the other end is plugged into a RJ-45 Recovery Manager jack on the server 100. The RJ-45 jack on the server then connects to the microcontroller network 102. The server modem 126 is then connected to a communications network 127 using an appropriate connector. The communications network 127 may be a public switched telephone network, although other modem types and communication networks are envisioned. For example, if cable modems are used for the server modem 126 and client modem 128, the communications network can be a cable television network. As another example, satellite modulator/demodulators can be used in conjunction with a satellite network.
[0033] In another embodiment, the server modem to client modem connection may be implemented by an Internet connection utilizing the well known TCP/IP protocol. Any of several Internet access devices, such as modems or network interface cards, may be utilized. Thus, the communications network 127 may utilize either circuit or packet switching.
[0034] At the remote client computer 124, a serial cable (25-pin D-shell) 129 is used to interconnect the client modem 128 and the client computer 124. The client modem 128 is then connected to the communications network 127 using an appropriate connector. Each modem is then plugged into an appropriate power source for the modem, such as an AC outlet. At this time, the Recovery Manager software 130 is loaded into the client computer 124, if not already present, and activated.
[0035] The steps of connecting the local client computer 122 to the server 100 are similar, but modems are not necessary. The main difference is that the serial port connector of the remote interface 104 connects to a serial port of the local client computer 122 by the null-modem serial cable 121.
III. MICROCONTROLLER NETWORK
[0036] In one embodiment, the invention is implemented by a network of microcontrollers 102 (FIG. 1). The microcontrollers may provide functionality for system control, diagnostic routines, self-maintenance control, and event logging processors. A further description of the microcontrollers and microcontroller network is provided in U.S. Patent application Ser. No. ______, entitled “Diagnostic and Managing Distributed Processor System”.
[0037] Referring to FIG. 2, in one embodiment of the invention, the network of microcontrollers 102 includes ten processors. One of the purposes of the microcontroller network 102 is to transfer messages to the other components of the server system 100. The processors may include: a System Interface controller 106, a CPU A controller 166, a CPU B controller 168, a System Recorder 110, a Chassis controller 170, a Canister A controller 172, a Canister B controller 174, a Canister C controller 176, a Canister D controller 178 and a Remote Interface controller 200. The Remote Interface controller 200 is located on the RIB 104 (FIG. 1) which is part of the server system 100, but may preferably be external to the server enclosure. The System Interface controller 106, the CPU A controller 166 and the CPU B controller 168 are located on the system board 150 in the server 100. Also located on the system board are one or more central processing units (CPUs) or microprocessors 164 and an Industry Standard Architecture (ISA) bus 162 that connects to the System Interface Controller 106. Of course, other buses such as PCI, EISA and Microchannel may be used. The CPU 164 may be any conventional general purpose single-chip or multi-chip microprocessor such as a Pentium7, Pentium7 Pro or Pentium7 II processor available from Intel Corporation, a SPARC processor available from Sun Microsystems, a MIPS7 processor available from Silicon Graphics, Inc., a Power PC7 processor available from Motorola, or an ALPHA7 processor available from Digital Equipment Corporation. In addition, the CPU 164 may be any conventional special purpose microprocessor such as a digital signal processor or a graphics processor.
[0038] The System Recorder 110 and Chassis controller 170, along with the NVRAM 112 that connects to the System Recorder 110, may be located on the backplane 152 of the server 100. The System Recorder 110 and Chassis controller 170 are typically the first microcontrollers to power up when server power is applied. The System Recorder 110, the Chassis controller 170 and the Remote Interface microcontroller 200 are the three microcontrollers that have a bias 5 volt power supplied to them. If main server power is off, an independent power supply source for the bias 5 volt power is provided by the RIB 104 (FIG. 1). The Canister controllers 172-178 are not considered to be part of the backplane 152 because they are located on separate cards and are removable.
[0039] Each of the microcontrollers has a unique system identifier or address. The addresses are as follows in Table 1:
1TABLE 1
|
|
MicrocontrollerAddress
|
System Interface controller 10610
CPU A controller 16603
CPU B controller 16804
System Recorder 11001
Chassis controller 17002
Canister A controller 17220
Canister B controller 17421
Canister C controller 17622
Canister D controller 17823
Remote Interface controller 20011
|
[0040] The microcontrollers may be Microchip Technologies, Inc. PIC processors in one embodiment, although other microcontrollers, such as an 8051 available from Intel, an 8751 available from Atmel, and a P80CL580 microprocessor available from Philips, could be utilized. The PIC 16C74 (Chassis controller 170) and PIC 16C65 (the other controllers) are members of the PIC16CXX family of CMOS, fully-static, EPROM-based 8-bit microcontrollers. The PIC controllers have 192 bytes of RAM, in addition to program memory, three timer/counters, two capture/compare/Pulse Width Modulation modules and two serial ports. The synchronous serial port is configured as a two-wire Inter-Integrated Circuit (I2C) bus in one embodiment of the invention. The PIC controllers use a Harvard architecture in which program and data are accessed from separate memories. This improves bandwidth over traditional von Neumann architecture processors where program and data are fetched from the same memory. Separating program and data memory further allows instructions to be sized differently than the 8-bit wide data word. Instruction opcodes are 14-bit wide making it possible to have all single word instructions. A 14-bit wide program memory access bus fetches a 14-bit instruction in a single cycle.
[0041] In one embodiment of the invention, the microcontrollers communicate through an I2C serial bus, also referred to as a microcontroller bus 160. The document “The I2C Bus and How to Use It” (Philips Semiconductor, 1992) is hereby incorporated by reference. The I2C bus is a bidirectional two-wire bus that may operate at a 400 kbps. However, other bus structures and protocols could be employed in connection with this invention.
[0042] For example, Apple Computer ADB, Universal Serial Bus, IEEE-1394 (Firewire), IEEE-488 (GPIB), RS-485, or Controller Area Network (CAN) could be utilized as the microcontroller bus. Control on the microcontroller bus is distributed. Each microcontroller can be a sender (a master) or a receiver (a slave) and each is interconnected by this bus. A microcontroller directly controls its own resources, and indirectly controls resources of other microcontrollers on the bus.
[0043] Here are some of the features of the I2C-bus:
[0044] Two bus lines are utilized: a serial data line (SDA) and a serial clock line (SCL).
[0045] Each device connected to the bus is software addressable by a unique address and simple master/slave relationships exist at all times; masters can operate as master-transmitters or as master-receivers.
[0046] The bus is a true multi-master bus including collision detection and arbitration to prevent data corruption if two or more masters simultaneously initiate data transfer.
[0047] Serial, 8-bit oriented, bidirectional data transfers can be made at up to 400 kbit/second in the fast mode.
[0048] Two wires, serial data (SDA) and serial clock (SCL), carry information between the devices connected to the I2C bus. Each device is recognized by a unique address and can operate as either a transmitter or receiver, depending on the function of the device. For example, a memory device connected to the I2C bus could both receive and transmit data. In addition to transmitters and receivers, devices can also be considered as masters or slaves when performing data transfers (see Table 2). A master is the device which initiates a data transfer on the bus and generates the clock signals to permit that transfer. At that time, any device addressed is considered a slave.
2TABLE 2
|
|
Definition of I2C-bus terminology
TermDescription
|
TransmitterThe device which sends the data to the bus
ReceiverThe device which receives the data from the bus
MasterThe device which initiates a transfer, generates clock
signals and terminates a transfer
SlaveThe device addressed by a master
Multi-masterMore than one master can attempt to control the bus
at the same time without corrupting the message
ArbitrationProcedure to ensure that, if more than one master
simultaneously tries to control the bus, only one is
allowed to do so and the message is not corrupted
SynchronizationProcedure to synchronize the clock signal of two or
more devices
|
[0049] The I2C-bus is a multi-master bus. This means that more than one device capable of controlling the bus can be connected to it. As masters are usually microcontrollers, consider the case of a data transfer between two microcontrollers connected to the I2C-bus. This highlights the master-slave and receiver-transmitter relationships to be found on the I2C-bus. It should be noted that these relationships are not permanent, but depend on the direction of data transfer at that time. The transfer of data would proceed as follows:
[0050] 1) Suppose microcontroller A wants to send information to microcontroller B:
[0051] microcontroller A (master), addresses microcontroller B (slave);
[0052] microcontroller A (master-transmitter), sends data to microcontroller B (slave-receiver);
[0053] microcontroller A terminates the transfer.
[0054] 2) If microcontroller A wants to receive information from microcontroller B:
[0055] microcontroller A (master addresses microcontroller B (slave);
[0056] microcontroller A (master-receiver) receives data from microcontroller B (slave-transmitter);
[0057] microcontroller A terminates the transfer.
[0058] Even in this situation, the master (microcontroller A) generates the timing and terminates the transfer.
[0059] The possibility of connecting more than one microcontroller to the I2C-bus means that more than one master could try to initiate a data transfer at the same time. To avoid the chaos that might ensue from such an event, an arbitration procedure has been developed. This procedure relies on the wired-AND connection of all I2C interfaces to the I2C-bus.
[0060] If two or more masters try to put information onto the bus, the first to produce a ‘one’ when the other produces a ‘zero’ will lose the arbitration. The clock signals during arbitration are a synchronized combination of the clocks generated by the masters using the wired-AND connection to the SCL line.
[0061] Generation of clock signal on the I2C-bus is the responsibility of master devices. Each master microcontroller generates its own clock signals when transferring data on the bus.
[0062] The command, diagnostic, monitoring and history functions of the microcontroller network 102 are accessed using a global network memory model in one embodiment. That is, any function may be queried simply by generating a network “read” request targeted at the function's known global network address. In the same fashion, a function may be exercised simply by “writing” to its global network address. Any microcontroller may initiate read/write activity by sending a message on the I2C bus to the microcontroller responsible for the function (which can be determined from the known global address of the function). The network memory model includes typing information as part of the memory addressing information.
[0063] Using a network global memory model in one embodiment places relatively modest requirements for the I2C message protocol.
[0064] All messages conform to the I2C message format including addressing and read/write indication.
[0065] All I2C messages use seven bit addressing.
[0066] Any controller can originate (be a Master) or respond (be a Slave).
[0067] All message transactions consist of I2C “Combined format” messages. This is made up of two back-to-back I2C simple messages with a repeated START condition between (which does not allow for re-arbitrating the bus). The first message is a Write (Master to Slave) and the second message is a Read (Slave to Master).
[0068] Two types of transactions are used: Memory-Read and Memory-Write.
[0069] Sub-Addressing formats vary depending on data type being used.
IV. REMOTE INTERFACE BOARD
[0070] Referring to FIG. 3, the remote interface board (RIB) 104, previously shown in FIG. 1, will now be described. The RIB is an interface between the microcontroller network 102 (FIG. 1) of the server system 100 and an external client computer 122/124. The server system status and commands are passed through the RS232 connector port 204 at the client side of the RIB to the microcontroller network 102 on the server 100, controlled through the on-board PIC16C65 microcontroller 200. Signals in the microcontroller network 102 are transported by the microcontroller bus 160 (FIG. 2). In one embodiment, the microcontroller bus 160 utilizes the I2C bus protocol, previously described. The signals on the microcontroller bus 160 are received from the server 100 by the RIB 104 on the RJ-45 cable 103 and are translated by the PIC16C65 microcontroller 200 into an eight signal RS232 protocol. These RS232 signals are passed through a RS232 line transceiver 202, such as a LT1133A chip available from Linear Technology, with a baud rate capable of reaching the speed of 120 kbaud. A 25 pin D-Sub connector 204 connects to the other side of the line transceiver 202 and provides the point at which either the local client computer 122 or the server modem 126 makes a connection.
[0071] The two wire microcontroller bus 160 is brought in from the server 100 and passed to the microcontroller 200 using the RJ-45 cable 103 and RJ-45 connector 226. A switch 228, such as a QS3126 switch available from Quick Logic, connects to the RJ-45 connector 226 and provides isolation for the data and clock bus signals internal and external to the RIB 104. If the RIB 104 and switch 228 have power, the switch 228 feeds the bus signals through to a microcontroller bus extender 230. Otherwise, if the switch 228 does not have power, the microcontroller bus 160 is isolated from the RIB 104. The bus extender 230 connects between the switch 228 and the microcontroller 200. The bus extender 230 is a buffer providing drive capability for the clock and data signals. In one embodiment, the bus extender 230 is a 82B715 chip available from Philips Semiconductor. Microcontroller 200 Port C, bit 3 is the clocking bit and Port C, bit 4 is the data line.
[0072] Communication with the server modem 126 is based on the RS232 protocol. The microcontroller 200 generates the receive and the transmit signals, where the signal levels are transposed to the RS232 levels by the LT1133A line transceiver 202. There are three transmit signals, RTS, SOUT and DTR, which are from Port A, bits 2, 3 and 4 of the microcontroller 200, whereas the five receive signals are from two ports, DCD, DSR from Port C, bits 1 and 0 and SIN, CTS and RI from Port A, bits 5, 0 and 1.
[0073] In one embodiment, the 25 pin RS232 pin connector 204 is used instead a 9 pin connector, since this type of connector is more common. All the extra pins are not connected except the pins 1 and 7, where pin 1 is chassis ground and pin 7 is a signal ground.
[0074] A static random access memory (SRAM) 208 connects to the microcontroller 200. In one embodiment, the SRAM 208 is a 32k×8 MT5LC2568 that is available from Micron Technology. The SRAM 208 is also available from other memory manufacturers. An external address register 206, such as an ABT374, available from Texas Instruments is used for latching the higher addressing bits (A8-A14) of the address for the SRAM 208 so as to expand the address to fifteen bits. The SRAM 208 is used to store system status data, system log data from the NVRAM 112 (FIG. 1), and other message data for transfer to the external interface port 204 or to a microcontroller on the microcontroller bus 160 (FIG. 2).
[0075] Port D of the microcontroller 200 is the address port. Port B is the data bus for the bi-directional data interconnect. Port E is for the SRAM enable, output tristate and write control signals. The microcontroller 200 operates at a frequency of 12 MHz.
[0076] An Erasable Programmable Read Only Memory (EPROM) 212 is used for storing board serial number identification information for the RIB 104. The serial number memory 212 is signal powered, retaining the charge into a capacitor sourced through the data line. In one embodiment, the serial number memory 212 stores eight sixteen-byte serial/revision numbers (for maintaining the rework/revision history) and is a DS2502 chip available from Dallas Semiconductor. The programming of memory 212 is handled using a jumper applied through an external connector J1210. The serial number memory 212 connects to the microcontroller 200 at Port C, bit 6 and to the external connector J1210.
[0077] The RIB 104 may be powered through a 7.5 Volt/800 mA supply unit that plugs into a connector J2220. In one embodiment, the supply unit is 120 Volt AC to DC wall adapter. Connector J2220 feeds a LT1376 high frequency switching regulator 222, available from Linear Technology, which regulates the power source. The regulated power output is used locally by the components on the RIB 104, and 300 mA are sourced to the microcontroller network 102 through a 300 mA fuse 224 and the RJ-45 connector 226. Thus, the output of the regulator 222 provides an alternative source for a bias-powered partition of the microcontroller network 102. The bias-powered partition includes the system recorder 110 (FIG. 1), the NVRAM 112 and the Chassis controller 170 (FIG. 2) which are resident on the server backplane 152.
V. REMOTE INTERFACE SERIAL PROTOCOL
[0078] The microcontroller network remote interface serial protocol communicates microcontroller network messages across a point-to-point serial link. This link is between the RIB controller 200 that is in communication with the Recovery Manager 130 at the remote client 122/124. This protocol encapsulates microcontroller network messages in a transmission packet to provide error-free communication and link security.
[0079] In one embodiment, the remote interface serial protocol uses the concept of byte stuffing. This means that certain byte values in the data stream have a particular meaning. If that byte value is transmitted by the underlying application as data, it must be transmitted as a two-byte sequence.
[0080] The bytes that have a special meaning in this protocol are:
3|
|
SOM 306Start of a message
EOM 316End of a message
SUBThe next byte in the data stream must be substituted
before processing.
INT 320Event Interrupt
Data 312An entire microcontroller network message
|
[0081] As stated above, if any of these byte values occur as data in a message, a two-byte sequence must be substituted for that byte. The sequence is a byte with the value of SUB, followed by a type with the value of the original byte, which is incremented by one. For example, if a SUB byte occurs in a message, it is transmitted as a SUB followed by a byte that has a value of SUB+1.
[0082] Referring to FIG. 4, the two types of messages 300 used by the remote interface serial protocol will be described.
[0083] 1. Requests 302, which are sent by remote management (client) computers 122/124 (FIG. 1) to the remote interface 104.
[0084] 2. Responses 304, which are returned to the requester 122/124 by the remote interface 104.
[0085] The fields of the messages are defined as follows:
4|
|
SOM 306A special data byte value marking the start of a message.
EOM 316A special data byte value marking the end of a message.
Seq. #308A one-byte sequence number, which is incremented on
each request. It is stored in the response.
TYPE 310One of the following types of requests:
IDENTIFYRequests the remote interface to send back identification
information about the system to which it is connected. It
also resets the next expected sequence number. Security
authorization does not need to be established before the
request is issued.
SECUREEstablishes secure authorization on the serial link by
checking password security data provided in the message
with the microcontroller network password.
UNSECUREClears security authorization on the link and attempts to
disconnect it. This requires security authorization to have
been previously established.
MESSAGEPasses the data portions of the message to the
microcontroller network for execution. The response
from the microcontroller network is sent back in the
data portion of the response. This requires security
authorization to have been previously established.
POLLQueries the status of the remote interface. This request is
generally used to determine if an event is pending in the
remote interface.
|
[0086] STATUS 318 One of the following response status values:
5|
|
OKEverything relating to communication with the remote
interface is successful.
OK_EVENTEverything relating to communication with the remote
interface is successful. In addition, there is one or more
events pending in the remote interface.
SEQUENCEThe sequence number of the request is neither the current
sequence number or retransmission request, nor the next
expected sequence number or new request. Sequence
numbers may be reset by an IDENTIFY request.
CHECKThe check byte in the request message is received
incorrectly.
FORMATSomething about the format of the message is incorrect.
Most likely, the type field contains an invalid value.
SECUREThe message requires that security authorization be in
effect, or, if the message has a TYPE value of SECURE,
the security check failed.
Check 314Indicates a message integrity check byte. Currently the
value is 256 minus the sum of previous bytes in the
message. For example, adding all bytes in the
message up to and including the check byte should
produce a result of zero (0).
INT 320A special one-byte message sent by the remote interface
when it detects the transition from no events pending to
one or more events pending. This message can be used to
trigger reading events from the remote interface. Events
should be read until the return status changes form
OK_EVENT to OK.
|
VI. RIB MICROCONTROLLER OPERATION
[0087] The remote interface is the bridge to link the microcontroller bus to the outside world via a RS232 serial port through which a client computer can be connected. A message from the remote client side via RS232 usually starts with the “Identify” command which identifies the system name. See the message format associated with FIG. 4, above. The “Identify” command should be followed by the “Security” command with a password that is checked against the password stored in the NVRAM 112 (FIG. 1). If the passwords match, the remote RS232 link is put in “secure mode” and the remote interface 104 (FIG. 1) will now pass any “message” commands on to the microcontroller network bus 160 (FIG. 2). Before the remote application program disconnects the link, it should send the “Unsecure” command to take the RS232 link out of “secure mode”.
[0088] Referring to FIGS. 5a and 5b, embodiments of the RIB microcontroller process 400 will be described. The process 400 is implemented as a computer program, termed firmware, written in PIC assembly language. The assembled machine code is stored in the microcontroller EPROM where each instruction is fetched for execution by the processor. The EPROM provides 4K×14 program memory space, all on-chip. Program execution is using the internal memory. Of course, any of a variety of general purpose and special purpose processors could be used and the programming of the process 400 could be in high level code such as C or Java.
[0089] Beginning at an initialize PIC state 402, process 400 initializes the variables, stack pointer, and other structures of the RIB microcontroller 200 (FIG. 3). Moving to state 404, a return point called “main” is identified in process 400. Proceeding to a decision state 406, process 400 determines if the RS232 port is transmitting data. If so, process 400 moves to state 408 to send a character (one byte) if there is data in the SRAM 208 to be sent out on the RS232 port 204. A process of receiving data via the RS232 port 204 is not shown herein. Receiving data via the port 204 is initiated by the use of an interrupt.
[0090] At the completion of state 408, or if decision state 406 evaluates to a false condition, process 400 proceeds to a Check Modem Status function 410 that is implemented as a modem dialing and answering state machine. Function 410 checks the status of the modem 126 for any possible activity. Function 410 will be further described in conjunction with FIG. 6. Advancing to a decision state 412, process 400 determines if any server event is pending. Event types include, for example, CPU status change, power status change, canister status change, fan status change, temperature, and operating system timeout. If an event is pending, process 400 proceeds to state 414 and sends an event message to the client computer 122/124 via the RS232 port. If no event is pending, as determined at decision state 412, process 400 continues at a decision state 416. At decision state 416, process 400 checks to see if a RS232 remote message has been received from the client computer 122/124. If not, process 400 moves back to the “main” loop 404, as described above. One reason that a message has not been received yet is that the modem is not yet transmitting.
[0091] If a message has been received, as determined at decision state 416, process moves to the appropriate state 420-426 to handle one of four command types: Identify, Secure, Unsecure, and Message. At state 420, process 400 performs the Identify command and identifies the system by responding with the system name retrieved from the System Recorder memory 112 (FIG. 1).
[0092] At state 422, process 400 performs the Secure command and gets the password with the command and checks it against the password from the NVRAM 112 (FIG. 1). If the passwords match, the access right is granted (opens secure mode), otherwise, reject the intent.
[0093] At state 424, process 400 performs the Unsecure command and releases the remote access right, i.e., closes secure mode. At the completion of states 420, 422 or 424, process 400 proceeds through off-page connector E 430 to state 438 (FIG. 5b).
[0094] At state 426 on FIG. 5b (through off-page connector D 418), process 400 performs the Message command and gets remote message data from the RIB SRAM 208 (FIG. 3). Proceeding to a decision state 432, process 400 determines if this message command is for the remote interface 104. If it is, process 400 executes the internal remote interface function command, such as a Read Revision of the RIB command. If the message command is not for the remote interface, as determined by decision state 432, process 400 moves to state 436 and passes the message command to its destination (external to the remote interface) via the microcontroller bus. This facilitates communication with another microcontroller for a command to read or write information, for example.
[0095] At the completion of states 420, 422, 424, 434 or 436, process 400 advances to state 438 and stores the response data for the command into the SRAM 208 (FIG. 3) to be sent back to the client computer 122/124. Moving to state 440, process 400 transmit the first byte of data back on the RS232 port 204 to the client computer 122/124. After the byte of data has been transmitted at state 440, process 400 moves back to the “main” loop 404 (on FIG. 5a), as described above.
[0096] Referring to FIG. 6, embodiments of the Check Modem Status function 410 will now be described. Function 410 is implemented as a modem dialing and answering state machine. Several terms useful for understanding of the modem dialing and answering state machine are listed in Table 3 below.
6TABLE 3
|
|
Modem TermMeaning
|
CTSclear to send
DCDdata carrier detect
DSRdata set ready
DTRdata transfer ready
RTSrequest to send
EOSend of string
Protocolindicates whether RS232 serial data uses the
messaging protocol or whether the data is a string
of bytes
Ringmodem is detecting an incoming ring signal from
another modem
Locala connection to a local client computer (no modem
used)
Modem Modemodem to modem connection
Modem Already Setmodem initialization string has already been sent
and completed
|
[0097] State machine 410 includes nine states, states 470-486. State 470 denotes that the modem is disconnected, DTR and RTS are clear and the protocol is clear. Protocol is clear indicates that no message protocol processing is to occur for bytes on the RS232 link (because it would affect transmitting and receiving of modem control string bytes). The state machine 410 remains at the Modem Disconnect state 470 while CTS is clear OR there have been “n” dialing retries already OR there is no Ring OR DSR is clear. If DSR is set (active), the state machine 410 proceeds to a Local Modem state 486, wherein RTS and DTR are set. The state machine 410 remains at state 486 while DSR is set. Is DSR clears or if Local AND Modem Mode are both set, the state machine 410 returns to Modem Disconnect state 470.
[0098] The state machine 410 proceeds to Modem Soft Reset state 472 if a Call Out condition OR a Setup condition is achieved. Call Out is achieved if Modem Mode is set AND Modem Already Set is set AND CTS is set AND there have not been “n” dialing retries already. Setup is achieved if Modem Mode is set AND Modem Already Set is clear AND CTS is set. At Modem Soft Reset state 472, DTR is set and RTS is set. The state machine 410 remains at state 472 while Send String Done is clear, i.e., the modem command string is still being sent to the modem.
[0099] The state machine 410 proceeds to Modem Test state 474 when Send String Done is set. The state machine 410 remains at state 474 while Send String Done is clear. The state machine 410 proceeds to Modem Result Code state 476 when Send String Done is set. The state machine 410 remains at state 476 while Modem Result Status Done is clear, i.e., the results status of the modem test at state 474 is not yet available.
[0100] The state machine 410 returns to Modem Disconnect state 470 from state 476 if Results Status OK is clear, i.e., the results status is not OK. However, if Results Status OK is set, i.e., the results status is correct, the state machine 410 proceeds to a Modem Setup state 478, wherein Modem Already Set is set. The state machine 410 returns to Modem Disconnect state 470 from state 478 if there have been “n” dialing retries already. However, if there have not been “n” dialing retries already, the state machine 410 proceeds to a Modem Dialing state 480, wherein the modem is dialed.
[0101] The state machine 410 remains at state 480 while the previous EOS has not been reached AND two seconds have not passed. The state machine 410 returns to Modem Disconnect state 470 from state 480 if Dial OK is clear, i.e., dialing the modem was not successful. However, if Dial OK is set, i.e., dialing the modem was successful, the state machine 410 proceeds to a Modem Answering state 482. Another path to the Modem Answering state 482 is from the Modem Disconnect state 470 when a Ringing mode is achieved. Ringing mode is achieved if Modem Mode is set AND Modem Already Set is set AND CTS is set AND Ring is set. The state machine 410 remains at state 482 while DSR is clear OR DCD is clear. The state machine 410 returns to Modem Disconnect State 470 from state 482 if DCD is clear and a timeout occurs, i.e., no DCD is set within a timeout period (nobody answers). The state machine 410 proceeds to Remote Modem state 484 when DSR is set AND DCD is set. The modem transfers message data while at this state. When DCD clears, the state machine 410 returns to Modem Disconnect state 470 from state 484 or otherwise remains at state 484.
[0102] While the above detailed description has shown, described, and pointed out the fundamental novel features of the invention as applied to various embodiments, it will be understood that various omissions and substitutions and changes in the form and details of the system illustrated may be made by those skilled in the art, without departing from the intent of the invention.
Appendix A
[0103] Incorporation by Reference of Commonly Owned Applications
[0104] The following patent applications, commonly owned and filed Oct. 1, 1997, are hereby incorporated herein in their entirety by reference thereto:
7|
|
ApplicationAttorney Docket
TitleNo.No.
|
“Method of Remote Access and08/942,215MNFRAME.002A2
Control of Environmental
Management”
“System for Independent Powering08/942,410MNFRAME.002A3
of Diagnostic Processes on a
Computer System”
“Method of Independent Powering08/942,320MNFRAME.002A4
of Diagnostic Processes on a
Computer System”
“Diagnostic and Managing08/942,402MNFRAME.005A1
Distributed Processor System”
“Method for Managing a08/942,448MNFRAME.005A2
Distributed Processor System”
“System for Mapping08/942,222MNFRAME.005A3
Environmental Resources to
Memory for Program Access”
“Method for Mapping08/942,214MNFRAME.005A4
Environmental Resources to
Memory for Program Access”
“Hot Add of Devices Software08/942,309MNFRAME.006A1
Architecture”
“Method for The Hot Add of08/942,306MNFRAME.006A2
Devices”
“Hot Swap of Devices Software08/942,311MNFRAME.006A3
Architecture”
“Method for The Hot Swap of08/942,457MNFRAME.006A4
Devices”
“Method for the Hot Add of a08/943,072MNFRAME.006A5
Network Adapter on a System
Including a Dynamically Loaded
Adapter Driver”
“Method for the Hot Add of a08/942,069MNFRAME.006A6
Mass Storage Adapter on a System
Including a Statically Loaded
Adapter Driver”
“Method for the Hot Add of a08/942,465MNFRAME.006A7
Network Adapter on a System
Including a Statically Loaded
Adapter Driver”
“Method for the Hot Add of a08/962,963MNFRAME.006A8
Mass Storage Adapter on a System
Including a Dynamically Loaded
Adapter Driver”
“Method for the Hot Swap of a08/943,078MNFRAME.006A9
Network Adapter on a System
Including a Dynamically Loaded
Adapter Driver”
“Method for the Hot Swap of a08/942,336MNFRAME.006A10
Mass Storage Adapter on a System
Including a Statically Loaded
Adapter Driver”
“Method for the Hot Swap of a08/942,459MNFRAME.006A11
Network Adapter on a System
Including a Statically Loaded
Adapter Driver”
“Method for the Hot Swap of a08/942,458MNFRAME.006A12
Mass Storage Adapter on a System
Including a Dynamically Loaded
Adapter Driver”
“Method of Performing an08/942,463MNFRAME.008A
Extensive Diagnostic Test in
Conjunction with a BIOS Test
Routine”
“Apparatus for Performing an08/942,163MNFRAME.009A
Extensive Diagnostic Test in
Conjunction with a BIOS Test
Routine”
“Configuration Management08/941,268MNFRAME.010A
Method for Hot Adding and Hot
Replacing Devices”
“Configuration Management08/942,408MNFRAME.011A
System for Hot Adding and Hot
Replacing Devices”
“Apparatus for Interfacing Buses”08/942,382MNFRAME.012A
“Method for Interfacing Buses”08/942,413MNFRAME.013A
“Computer Fan Speed Control08/942,447MNFRAME.016A
Device”
“Computer Fan Speed Control08/942,216MNFRAME.017A
Method”
“System for Powering Up and08/943,076MNFRAME.018A
Powering Down a Server”
“Method of Powering Up and08/943,077MNFRAME.019A
Powering Down a Server”
“System for Resetting a Server”08/942,333MNFRAME.020A
“Method of Resetting a Server”08/942,405MNFRAME.021A
“System for Displaying Flight08/942,070MNFRAME.022A
Recorder”
“Method of Displaying Flight08/942,068MNFRAME.023A
Recorder”
“Synchronous Communication08/943,355MNFRAME.024A
Interface”
“Synchronous Communication08/942,004MNFRAME.025A
Emulation”
“Software System Facilitating the08/942,317MNFRAME.026A
Replacement or Insertion of
Devices in a Computer System”
“Method for Facilitating the08/942,316MNFRAME.027A
Replacement or Insertion of
Devices in a Computer System”
“System Management Graphical08/943,357MNFRAME.028A
User Interface”
“Display of System Information”08/942,195MNFRAME.029A
“Data Management System08/942,129MNFRAME.030A
Supporting Hot Plug Operations on
a Computer”
“Data Management Method08/942,124MNFRAME.031A
Supporting Hot Plug Operations on
a Computer”
“Alert Configurator and Manager”08/942,005MNFRAME.032A
“Managing Computer System08/943,356MNFRAME.033A
Alerts”
“Computer Fan Speed Control08/940,301MNFRAME.034A
System”
“Computer Fan Speed Control08/941,267MNFRAME.035A
System Method”
“Black Box Recorder for08/942,381MNFRAME.036A
Information System Events”
“Method of Recording Information08/942,164MNFRAME.037A
System Events”
“Method for Automatically08/942,168MNFRAME.040A
Reporting a System Failure in a
Server”
“System for Automatically08/942,384MNFRAME.041A
Reporting a System Failure in a
Server”
“Expansion of PCI Bus Loading08/942,404MNFRAME.042A
Capacity”
“Method for Expanding PCI Bus08/942,223MNFRAME.043A
Loading Capacity”
“System for Displaying System08/942,347MNFRAME.044A
Status”
“Method of Displaying System08/942,071MNFRAME.045A
Status”
“Fault Tolerant Computer System”08/942,194MNFRAME.046A
“Method for Hot Swapping of08/943,044MNFRAME.047A
Network Components”
“A Method for Communicating a08/942,221MNFRAME.048A
Software Generated Pulse
Waveform Between Two Servers
in a Network”
“A System for Communicating a08/942,409MNFRAME.049A
Software Generated Pulse
Waveform Between Two Servers
in a Network”
“Method for Clustering Software08/942,318MNFRAME.050A
Applications”
“System for Clustering Software08/942,411MNFRAME.051A
Applications”
“Method for Automatically08/942,319MNFRAME.052A
Configuring a Server after Hot
Add of a Device”
“System for Automatically08/942,331MNFRAME.053A
Configuring a Server after Hot
Add of a Device”
“Method of Automatically08/942,412MNFRAME.054A
Configuring and Formatting a
Computer System and Installing
Software”
“System for Automatically08/941,955MNFRAME.055A
Configuring and Formatting a
Computer System and Installing
Software”
“Determining Slot Numbers in a08/942,462MNFRAME.056A
Computer”
“System for Detecting Errors in a08/942,169MNFRAME.058A
Network”
“Method of Detecting Errors in a08/940,302MNFRAME.059A
Network”
“System for Detecting Network08/942,407MNFRAME.060A
Errors”
“Method of Detecting Network08/942,573MNFRAME.061A
Errors”
|
Claims
- 1. A system for external management of a computer environment, the system comprising:
a first computer having a plurality of components; a second computer connected to the first computer; a plurality of microcontrollers that monitor components of the first computer; a bus that interconnects the microcontrollers; and a remote interface circuit that interfaces the microcontrollers with the second computer thereby facilitating the external management of the first computer components.
- 2. The system defined in claim 1, wherein the remote interface circuit includes an external port for connection to the second computer.
- 3. The system defined in claim 1, wherein the second computer is at the same location as the first computer.
- 4. The system defined in claim 1, wherein the second computer is at a location remote to the first computer.
- 5. The system defined in claim 4, additionally comprising a pair of modems, wherein a first modem connects to the first computer and a second modem connects to the second computer.
- 6. The system defined in claim 5, wherein each modem further connects to the public switched telephone network.
- 7. The system defined in claim 5, wherein each modem further connects to a cable network.
- 8. The system defined in claim 1, wherein the remote interface circuit includes a remote interface microcontroller that connects via the bus to the microcontrollers.
- 9. The system defined in claim 1, wherein the remote interface circuit includes a memory for storing results of monitoring the first computer components.
- 10. The system defined in claim 1, wherein the remote interface circuit includes a power source independent of the first computer.
- 11. The system defined in claim 10, wherein the independent power source includes an AC to DC adapter.
- 12. The system defined in claim 1, wherein the second computer is a handheld computer.
- 13. A system for external management of a computer environment, the system comprising:
a first computer having a plurality of components; a second computer connected to the first computer; means for monitoring components of the first computer; and means for interfacing the monitoring means with the second computer to facilitate the external management of the first computer components.
- 14. The system defined in claim 13, wherein the second computer is at a location remote to the first computer.
- 15. The system defined in claim 14, additionally comprising a pair of modems, wherein a first modem connects to the first computer and a second modem connects to the second computer.
- 16. The system defined in claim 13, wherein the second computer is a handheld computer.
- 17. The system defined in claim 13, wherein the means for interfacing includes a circuit having an external port for connection to the second computer.
- 18. The system defined in claim 13, wherein the means for interfacing includes a microcontroller that connects via a bus to the means for monitoring components.
- 19. The system defined in claim 13, wherein the means for interfacing includes a memory for storing results of monitoring the components of the first computer.
- 20. The system defined in claim 13, wherein the means for interfacing includes a power source independent of the first computer.
Provisional Applications (3)
|
Number |
Date |
Country |
|
60046397 |
May 1997 |
US |
|
60047016 |
May 1997 |
US |
|
60046416 |
May 1997 |
US |
Divisions (1)
|
Number |
Date |
Country |
Parent |
08942160 |
Oct 1997 |
US |
Child |
09815596 |
Mar 2001 |
US |