The following is an example <baseline-profile>.yaml file.
This example YAML file shows the editable attributes that you need to define before you can use it to decommission a server. The profileName selector is used to target servers to be decommissioned. The server must have a matching profileName label configured.
You can edit every field in this YAML file, but you cannot delete fields.
apiVersion: mw.dell.com/v4
kind: HardwareProfile
metadata:
finalizers:
- baseline-profile
name: baseline-profile
labels:
site: gc
namespace: metalweaver
spec:
apply: false
preview: true
selectors:
#Please update the vendor label value
vendor: "<REPLACE_THIS>"
profileName: "<REPLACE_THIS>"
server:
decommission:
secureEraseDrives: true
bmc:
- attributes:
topologyLLDP: Disabled
ipmiLanEnable: Disabled
osBmcPassThroughState: Disabled
timeZone: CST6CDT
vlanEnable: Disabled
vlanID: 1
snmpAgentEnable: Enabled
snmpDiscoveryPortNumber: 161
snmpAgentCommunityName: public
snmpProtocol: All
virtualConsolePluginType: eHTML5
serialRedirectEnable: Enabled
rfsIgnoreCertWarning: "Yes"
bmcUsers:
bmcDeleteUsers:
- userName: "<REPLACE_THIS>"
bmcCreateUsers:
- userName: "<REPLACE_THIS>"
password: "<REPLACE_THIS>"
roleId: "Operator"
enabled: True
bmcUpdateUsers:
- userName: "<REPLACE_THIS>"
password: "<REPLACE_THIS>"
roleId: "Administrator"
bios:
attributes:
procVirtualization: Enabled
bootMode: Uefi
serialPortAddress: Com2
logicalProc: Enabled
setBootOrderFqdd1: "*.*.*"
setBootOrderFqdd2: "NIC.*.*"
setBootOrderFqdd3: "Optical.*.*"
setBootOrderFqdd4: "Floppy.*.*"
procAdjCacheLine: Enabled
procHwPrefetcher: Enabled
procSwPrefetcher: Enabled
dcuStreamerPrefetcher: Enabled
dcuIpPrefetcher: Enabled
subNumaCluster: Disabled
upiPrefetch: Enabled
dynamicCoreAllocation: Disabled
procX2Apic: Enabled
procCores: All # can be 1
memTest: Disabled
memOpMode: OptimizerMode # can be FaultResilientMode
procPwrPerf: SysDbpm
memFrequency: MaxPerf
procTurboMode: Enabled
procC1E: Enabled
nodeInterleave: Disabled
corrEccSmi: Enabled
oppSrefEn: Disabled
monitorMwait: Enabled
cpuInterconnectBusLinkPower: Enabled
pcieAspmL1: Enabled
uncoreFrequency: DynamicUFS
energyPerformanceBias: BalancedPerformance
proc1TurboCoreNum: All
proc2TurboCoreNum: All
memRefreshRate: 1x
memPatrolScrub: Standard
procCStates: Enabled #Can be Autonomous
writeDataCrc: Disabled
sriovGlobalEnable: Disabled
conTermType: Vt100Vt220
extSerialConnector: Serial1
redirAfterBoot: Enabled
serialComm: OnConRedirAuto
failSafeBaud : "115200"