我正在寻找一种方法来验证我的softlayer裸机服务器中的raid卡和驱动器数量。我可以得到卡的类型,但我想知道是否有办法拉动Raid级别和Raid中的驱动器(如果不止一次raid)。这是存储在我可以提取的初始顺序中的东西吗?我目前打电话来获取适配器详细信息:
[
{
"hardwareComponentModel": {
"capacity": "16",
"description": "71605 RAID Card",
"hardwareGenericComponentModel": {
"capacity": "16",
"description": "RAID CARD",
"hardwareComponentType": {
"id": 5,
"keyName": "DRIVE_CONTROLLER",
"type": "Drive Controller",
"typeParentId": 3
},
"hardwareComponentTypeId": 5,
"id": 283,
"units": "Drives",
"upgradePriority": 7
},
"hardwareGenericComponentModelId": 283,
"id": 777,
"longDescription": "Adaptec / 71605 / SATA/SAS RAID",
"manufacturer": "Adaptec",
"name": "71605",
"version": "SATA/SAS RAID"
},
"hardwareComponentModelId": 777,
"hardwareId": 296328,
"id": 2612500,
"modifyDate": "2016-02-23T21:22:38-06:00",
"name": "0",
"serialNumber": "4b061355adb",
"serviceProviderId": 1
}
]
答案 0 :(得分:0)
此请求可能会对您有所帮助:
https://[username]:[apikey]@api.softlayer.com/rest/v3/SoftLayer_Configuration_Storage_Group_Array_Type/getAllObjects
Method: GET
<强>参考:强>
http://www.evopdf.com/pdf-to-image-converter.aspx
此致
答案 1 :(得分:0)
不能通过API检索信息。您需要登录到计算机并查看计算机的当前raid配置。信息按初始顺序存储,但不能通过API获得。