背景
BMC的客户配置恢复操作步骤多,方式不统一,繁琐且容易遗漏,需要支持现网场景BMC更换后的配置一键恢复能力。补齐部分仅装备定制化可配置的能力,提供配置导入导出能力。
关联ISSUE
评审点
1、新增配置导入导出项CustomLeakagePowerPolicy支持液冷服务器漏液后的电源控制策略和CustomLeakageValvePolicy支持液冷服务器漏液后的关断阀控制策略;
2、新增配置导入导出项CustomFanInitDefaultLevel支持AC上电通电开机场景风扇默认速率比;
3、新增配置导入导出项ExpectedPSUCount支持设置预期的电源模块数量和ExpectedPSUSupplySource支持机柜服务器设置预期的供电模式;
详细描述
1、新增配置导入导出项CustomLeakagePowerPolicy和CustomLeakageValvePolicy
| 配置项名称 | 配置项类别 | 配置项 | 归属组件 | 取值类型 | 取值说明 | 导入导出类型 | 说明 |
|---|---|---|---|---|---|---|---|
| 液冷服务器漏液后的电源控制策略 | Cooling | CustomLeakagePowerPolicy | cooling | string | 取值范围: “noaction”:漏液后不操作 “poweroff”:漏液后自动下电服务器 默认:“noaction” |
ImportAndExport | 液冷服务器漏液后的电源控制策略 |
| 液冷服务器漏液后的关断阀控制策略 | Cooling | CustomLeakageValvePolicy | cooling | string | 取值范围: “noaction”:漏液后不操作 “shutoff”:漏液后关断阀自动关断 默认:“noaction” |
ImportAndExport | 液冷服务器漏液后的关断阀控制策略 |
配置项详情:
{
"ConfigData": {
"type": "object",
"properties": {
"Cooling": {
"type": "object",
"properties": {
"CustomLeakagePowerPolicy": {
"type": "string",
"AttributeType": "ImportAndExport",
"enum": ["noaction", "poweroff"],
"CustomDefault": "noaction",
"description": "液冷服务器漏液后的电源控制策略"
},
"CustomLeakageValvePolicy": {
"type": "string",
"AttributeType": "ImportAndExport",
"enum": ["noaction", "shutoff"],
"CustomDefault": "noaction",
"description": "液冷服务器漏液后的关断阀控制策略"
}
......(其它用户配置)
}
}
}
}
}
2、新增配置导入导出项CustomFanInitDefaultLevel
| 配置项名称 | 配置项类别 | 配置项 | 归属组件 | 取值类型 | 取值说明 | 导入导出类型 | 说明 |
|---|---|---|---|---|---|---|---|
| AC上电通电开机场景风扇默认速率比 | Cooling | CustomFanInitDefaultLevel | thermal_mgmt | U8 | 取值范围: 50-100 默认值:100 |
ImportAndExport | AC上电通电开机场景风扇默认速率比 |
配置项详情:
{
"ConfigData": {
"type": "object",
"properties": {
"Cooling": {
"type": "object",
"properties": {
"CustomFanInitDefaultLevel": {
"type": "integer",
"AttributeType": "ImportAndExport",
"minimum": 50,
"maximum": 100,
"CustomDefault": 100
}
......(其它用户配置)
}
}
}
}
}
3、新增配置导入导出项ExpectedPSUCount和ExpectedPSUSupplySource
| 配置项名称 | 配置项类别 | 配置项 | 归属组件 | 取值类型 | 取值说明 | 导入导出类型 | 说明 |
|---|---|---|---|---|---|---|---|
| 设置预期的电源模块数量 | PowerSubsystem | ExpectedPSUCount | power_strategy | U8 | 取值范围: 0-255 默认值:0 |
ImportAndExport | 设置预期的电源模块数量 |
| 机柜服务器设置预期的供电模式 | PowerSubsystem | ExpectedPSUSupplySource | power_strategy | string | 取值范围: MainCircuit:主电路供电 BackupCircuit:备电路供电 HalfCrossRedundant:半交叉冗余供电 QuarterCrossRedundant: 四分之一交叉冗余供电 ParityCrossRedundant:奇偶交叉冗余供电 AutoBalance:自动均衡供电 默认值:MainCircuit |
ImportAndExport | 机柜服务器设置预期的供电模式 |
配置项详情:
{
"ConfigData": {
"type": "object",
"properties": {
"PowerSubsystem": {
"type": "object",
"properties": {
"ExpectedPSUCount": {
"type": "integer",
"AttributeType": "ImportAndExport",
"minimum": 0,
"maximum": 255,
"CustomDefault": 0
},
"ExpectedPSUSupplySource": {
"type": "string",
"AttributeType": "ImportAndExport",
"enum": [
"MainCircuit",
"BackupCircuit",
"HalfCrossRedundant",
"QuarterCrossRedundant",
"ParityCrossRedundant",
"AutoBalance"
],
"CustomDefault": "MainCircuit"
}
......(其它用户配置)
}
}
}
}
}