Method for hot swapping a programmable storage adapter using a programmable processor for selectively enabling or disabling power to adapter slot in response to respective request signals
First Claim
Patent Images
1. A method of hot swapping a standard programmable mass storage adapter connected to an operational computer, comprising:
- providing a hot plug hardware in the operational computer, the hot plug hardware being configured to enable and disable power to the standard programmable mass storage adapter, wherein the operational computer has at least one programmable data processor for receiving requests from a central processing unit and for controlling the power to an adapter slot in response to requests from the central processing unit, and determining whether a received request is to disable or enable power;
receiving a hot swap request from a user interface program for the hot swap of the standard programmable mass storage adapter, wherein the hot swap request causes suspension of communications and power disablement to the standard programmable mass storage adapter;
receiving a request for the suspension of all input/output (I/O) communications to the standard programmable mass storage adapter;
requesting the operating system to suspend all communications to the standard programmable mass storage adapter;
waiting for the completion of any pending I/O communications to the standard programmable mass storage adapter;
notifying the requester that all I/O is suspended;
disabling power to the standard programmable mass storage adapter, wherein the disabling occurs under the control of the hot plug hardware and wherein the programmable data processor determines whether the received request is to disable power;
removing the standard programmable mass storage adapter;
inserting a new standard programmable mass storage adapter into the operational computer;
enabling power to the standard programmable mass storage adapter, wherein the enabling occurs under the control of the hot plug hardware and wherein the programmable data processor determines whether the received request is to enable power;
programming the new standard programmable mass storage adapter to have at least a portion of the configuration information associated with the configuration information as the removed standard programmable mass storage adapter; and
restarting communications between the operational computer and the new standard programmable mass storage adapter.
4 Assignments
0 Petitions
Accused Products
Abstract
A software architecture for the hot add and swap of adapters. The software architecture allows users to replace failed components, upgrade outdated components, and add new functionality, such as new network interfaces, disk interface adapters and storage, without impacting existing users. The software architecture supports the hot add and swap of off-the-shelf adapters, including those adapters that are programmable.
334 Citations
18 Claims
-
1. A method of hot swapping a standard programmable mass storage adapter connected to an operational computer, comprising:
-
providing a hot plug hardware in the operational computer, the hot plug hardware being configured to enable and disable power to the standard programmable mass storage adapter, wherein the operational computer has at least one programmable data processor for receiving requests from a central processing unit and for controlling the power to an adapter slot in response to requests from the central processing unit, and determining whether a received request is to disable or enable power;
receiving a hot swap request from a user interface program for the hot swap of the standard programmable mass storage adapter, wherein the hot swap request causes suspension of communications and power disablement to the standard programmable mass storage adapter;
receiving a request for the suspension of all input/output (I/O) communications to the standard programmable mass storage adapter;
requesting the operating system to suspend all communications to the standard programmable mass storage adapter;
waiting for the completion of any pending I/O communications to the standard programmable mass storage adapter;
notifying the requester that all I/O is suspended;
disabling power to the standard programmable mass storage adapter, wherein the disabling occurs under the control of the hot plug hardware and wherein the programmable data processor determines whether the received request is to disable power;
removing the standard programmable mass storage adapter;
inserting a new standard programmable mass storage adapter into the operational computer;
enabling power to the standard programmable mass storage adapter, wherein the enabling occurs under the control of the hot plug hardware and wherein the programmable data processor determines whether the received request is to enable power;
programming the new standard programmable mass storage adapter to have at least a portion of the configuration information associated with the configuration information as the removed standard programmable mass storage adapter; and
restarting communications between the operational computer and the new standard programmable mass storage adapter. - View Dependent Claims (2, 3, 4, 5, 6)
(i) using a counter to define a waiting period;
(ii) requesting the number of the pending I/O communications from an operating system; and
(iii) decrementing the counter, responsive to the requesting.
-
-
4. The method of claim 3, wherein waiting for the completion of any pending I/O communications to the standard programmable mass storage adapter additionally includes:
-
receiving the number of pending I/O communications from the operating system; and
ending the waiting period when the number of pending I/O communications is equal to zero.
-
-
5. The method of claim 3, wherein waiting for the completion of any pending I/O communications to the standard programmable mass storage adapter additionally includes:
-
receiving from the operating system the number of pending I/O communications; and
repeating steps (i), (ii), and (iii) if the number of pending I/O communications is greater than zero.
-
-
6. The method of claim 1, wherein restarting communications includes sending an input/output packet to a filter custom device module that is associated with the new programmable mass storage adapter.
-
7. A method of hot swapping a standard mass storage adapter connected to an operational computer, comprising:
-
providing a hot plug hardware in the operational computer, the hot plug hardware being configured to enable and disable power to the standard mass storage adapter, wherein the operational computer has at least one programmable data processor for receiving requests from a central processing unit and for controlling the power to the adapter in response to requests from the central processing unit, and determining whether a received request is to disable or enable power;
receiving a hot swap request from a user interface program for the hot swap of the standard mass storage adapter, wherein the hot swap request causes suspension of communications and power disablement to the standard mass storage adapter;
receiving a request for the suspension of all I/O communications to the standard mass storage adapter;
requesting the operating system to suspend all communications to the standard mass storage adapter;
waiting for the completion of any pending I/O communications to the standard mass storage adapter;
notifying the requester that all I/O is suspended;
disabling power to the standard mass storage adapter, wherein the disabling occurs under the control of the hot plug hardware and wherein the programmable data processor determines whether the received request is to disable power;
removing the standard mass storage adapter from the operational computer;
inserting a new standard mass storage adapter into the operational computer at the same location formerly occupied by the mass storage adapter;
enabling power to the new standard mass storage adapter, wherein the enabling occurs under the control of and within the operational computer and wherein the programmable data processor determines whether the received request is to enable power;
programming the new standard mass storage adapter to have at least a portion of the configuration information associated with the configuration information as the removed standard mass storage adapter; and
restarting communications between the operational computer and the new standard mass storage adapter. - View Dependent Claims (8, 9, 10, 11, 12)
(i) using a counter to define a waiting period;
(ii) requesting the number of the pending I/O communications from an operating system; and
(iii) decrementing the counter, responsive to the requesting.
-
-
10. The method of claim 9, wherein waiting for the completion of any pending I/O communications to the standard mass storage adapter additionally includes:
-
receiving the number of pending I/O communications from the operating system; and
ending the waiting period when the number of pending I/O communications is equal to zero.
-
-
11. The method of claim 9, wherein waiting for the completion of any pending I/O communications to the standard mass storage adapter additionally includes:
-
receiving the number of pending I/O communications from the operating system; and
repeating steps (i), (ii), and (iii) if the number of pending I/O communications is greater than zero.
-
-
12. The method of claim 7, wherein restarting communications includes sending an input/output packet to a filter custom device module that is associated with the new mass storage adapter.
-
13. A method of hot swapping a standard mass storage adapter connected to an operational computer including at least one canister, wherein the canister connects to one or more existing adapters, comprising:
-
providing a hot plug hardware in the operational computer, the hot plug hardware being configured to enable and disable power to the standard mass storage adapter, wherein the operational computer has at least one programmable data processor for receiving requests from a central processing unit and for controlling the power to the adapter in response to requests from the central processing unit, and determining whether a received request is to disable or enable power;
receiving a hot swap request from a user interface program for the hot swap of the standard mass storage adapter, wherein the hot swap request causes suspension of communications and power disablement to the standard mass storage adapter;
receiving a request for the suspension of all input/output (I/O) communications to one or more adapters that are connected to one of the canisters that contains the standard mass storage adapter;
requesting the operating system to suspend all communications to the adapters;
waiting for the completion of any pending I/O communications to the adapters;
notifying the requester that all I/O is suspended;
disabling power to the selected canister with the standard adapters, while maintaining power to the computer and other adapters, wherein the disabling occurs under the control of the hot plug hardware and wherein the programmable data processor determines whether the received request is to disable power;
disconnecting the selected canister from the operational computer;
removing a selected one of the standard mass storage adapters from the canister;
adding a new standard mass storage adapter in the canister at the same location formerly occupied by the selected mass storage adapter;
connecting the selected canister to the operational computer;
enabling power to the adapters in the canister, wherein the enabling occurs under the control of and within the operational computer and wherein the programmable data processor determines whether the received request is to enable power;
restarting communications to the adapters; and
restarting communications between the operable computer and the new standard mass storage adapter. - View Dependent Claims (14, 15, 16, 17, 18)
(i) using a counter to defile a waiting period;
(ii) requesting the number of the pending I/O communications from an operating system; and
(iii) decrementing the counter, responsive to the requesting.
-
-
16. The method of claim 15, wherein waiting for the completion of any pending I/O communications to the adapters additionally includes:
-
receiving the number of pending I/O communications from the operating system; and
ending the waiting period when the number of pending I/O communications is equal to zero.
-
-
17. The method of claim 15, wherein waiting for the completion of any pending I/O communications to the adapters additionally includes:
-
receiving the number of pending I/O communications from the operating system; and
repeating steps (i), (ii), and (iii) if the number of pending I/O communications is greater than zero.
-
-
18. The method of claim 13, wherein restarting communications includes sending an input/output packet to a filter custom device module that is associated with the new programmable mass storage adapter.
Specification