Detecting a type of storage adapter connected and miscabling of a microbay housing the storage adapter
Abstract
Provided are techniques for detecting a type of storage adapter connected to an Input/Output (I/O) bay and miscabling of a microbay housing the storage adapter. Under control of an Input/Ouput (I/O) bay, cable sidebands are driven high for a predetermined period of time. It is determined whether a cable sidebands response has been detected that indicates that the cable sidebands have been driven low. In response to determining that the cable sidebands response has been detected, it is determined that the I/O bay is connected to a first storage adapter supporting a first protocol for the cable sidebands. In response to determining that the cable sidebands response has not been detected, it is determined that the I/O bay is connected to a second storage adapter supporting a second protocol for the cable sidebands. Moreover, I/O bay and port numbers stored by the microbay are used to determine miscabling.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A computer program product, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform:
under control of an Input/Output (I/O) bay,
driving cable sidebands of a cable high for a first predetermined period of time;
waiting for a second predetermined period of time;
determining whether a cable sidebands response has been detected that indicates that the cable sidebands have been driven low;
in response to determining that the cable sidebands response has been detected that indicates that the cable sidebands have been driven low,
determining that the I/O bay is connected to a first storage adapter housed in a microbay; and
communicating, through the cable, with the first storage adapter using a first protocol for the cable sidebands; and
in response to determining that the cable sidebands response has not been detected,
determining that the I/O bay is connected to a second storage adapter; and
communicating, through the cable, with the second storage adapter using a second protocol for the cable sidebands.
2. The computer program product of claim 1 , wherein the I/O bay is coupled to the microbay, and wherein the microbay drives the cable sidebands low.
3. The computer program product of claim 1 , wherein the program code is executable by at least one processor to perform:
writing an I/O bay number and an I/O bay port number to a microbay.
4. The computer program product of claim 3 , wherein the I/O bay number and the I/O bay port number are stored in Virtual Product Data (VPD) of the microbay.
5. The computer program product of claim 3 , wherein the program code is executable by at least one processor to perform:
comparing an I/O bay number and an I/O bay port number of the I/O bay against the I/O bay number and the I/O bay port number written to the microbay to determine whether there is a match;
in response to determining that there is a match, determining that the I/O bay is correctly cabled with the microbay; and
in response to determining that there is no match, determining that the I/O bay is not correctly cabled with the microbay.
6. The computer program product of claim 1 , wherein the I/O bay is coupled to a storage controller that comprises a node in a cloud infrastructure.
7. A computer system, comprising:
one or more processors, one or more computer-readable memories and one or more computer-readable, tangible storage devices; and
program instructions, stored on at least one of the one or more computer-readable, tangible storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to perform operations comprising:
under control of an Input/Output (I/O) bay,
driving cable sidebands of a cable high for a first predetermined period of time;
waiting for a second predetermined period of time;
determining whether a cable sidebands response has been detected that indicates that the cable sidebands have been driven low;
in response to determining that the cable sidebands response has been detected that indicates that the cable sidebands have been driven low,
determining that the I/O bay is connected to a first storage adapter housed in a microbay; and
communicating, through the cable, with the first storage adapter using a first protocol for the cable sidebands; and
in response to determining that the cable sidebands response has not been detected,
determining that the I/O bay is connected to a second storage adapter; and
communicating, through the cable, with the second storage adapter using a second protocol for the cable sidebands.
8. The computer system of claim 7 , wherein the I/O bay is coupled to the microbay, and wherein the microbay drives the cable sidebands low.
9. The computer system of claim 7 , wherein the operations further comprise:
writing an I/O bay number and an I/O bay port number to a microbay.
10. The computer system of claim 9 , wherein the I/O bay number and the I/O bay port number are stored in Virtual Product Data (VPD) of the microbay.
11. The computer system of claim 9 , wherein the operations further comprise:
comparing an I/O bay number and an I/O bay port number of the I/O bay against the I/O bay number and the I/O bay port number written to the microbay to determine whether there is a match;
in response to determining that there is a match, determining that the I/O bay is correctly cabled with the microbay; and
in response to determining that there is no match, determining that the I/O bay is not correctly cabled with the microbay.
12. The computer system of claim 7 , wherein the I/O bay is coupled to a storage controller that comprises a node in a cloud infrastructure.
13. A method, comprising:
under control of an Input/Output (I/O) bay,
driving cable sidebands of a cable high for a first predetermined period of time;
waiting for a second predetermined period of time;
determining whether a cable sidebands response has been detected that indicates that the cable sidebands have been driven low;
in response to determining that the cable sidebands response has been detected that indicates that the cable sidebands have been driven low,
determining that the I/O bay is connected to a first storage adapter housed in a microbay; and
communicating, through the cable, with the first storage adapter using a first protocol for the cable sidebands; and
in response to determining that the cable sidebands response has not been detected,
determining that the I/O bay is connected to a second storage adapter; and
communicating, through the cable, with the second storage adapter using a second protocol for the cable sidebands.
14. The method of claim 13 , wherein the I/O bay is coupled to the microbay, and wherein the microbay drives the cable sidebands low.
15. The method of claim 13 , further comprising:
writing an I/O bay number and an I/O bay port number to a microbay.
16. The method of claim 15 , wherein the I/O bay number and the I/O bay port number are stored in Virtual Product Data (VPD) of the microbay.
17. The method of claim 15 , further comprising:
comparing an I/O bay number and an I/O bay port number of the I/O bay against the I/O bay number and the I/O bay port number written to the microbay to determine whether there is a match;
in response to determining that there is a match, determining that the I/O bay is correctly cabled with the microbay; and
in response to determining that there is no match, determining that the I/O bay is not correctly cabled with the microbay.
18. The method of claim 13 , wherein the I/O bay is coupled to a storage controller that comprises a node in a cloud infrastructure.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.