< Back
Set-iBMCRAIDController
Post
NAME Set-iBMCRAIDController
SYNOPSIS
Modify properties of the specified RAID controller of a server.
SYNTAX
Set-iBMCRAIDController [-Session] <RedfishSession[]> [-StorageId] <String[]> [[-CopyBackEnabled] <Boolean[]>]
[[-SmarterCopyBackEnabled] <Boolean[]>] [[-JBODEnabled] <Boolean[]>] [<CommonParameters>]
DESCRIPTION
Modify properties of the specified RAID controller of a server.
This cmdlet works only after BIOS boot is complete when the RAID controller card supports out-of-band management
or after iBMA 2.0 has been installed and started.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-StorageId <String[]>
Indicates the identifier of the storage to modify.
The Id properties of "Get-iBMCRAIDControllers" cmdlet's return value represents Storage ID.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-CopyBackEnabled <Boolean[]>
Indicates Whether copyback is enabled.
Support values are powershell boolean value: $true(1), $false(0).
Required? false
Position? 3
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-SmarterCopyBackEnabled <Boolean[]>
Indicates Whether SMART error copyback is enable.
Before enabling this function, enable CopyBack first.
Support values are powershell boolean value: $true(1), $false(0).
Required? false
Position? 4
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-JBODEnabled <Boolean[]>
Indicates Whether JBOD is enable.
Support values are powershell boolean value: $true(1), $false(0).
Required? false
Position? 5
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Null
Returns null if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $Session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Set-iBMCRAIDController -Session $session -StorageId RAIDStorage0 `
-CopyBackEnabled $true -SmarterCopyBackEnabled $true -JBODEnabled $true
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCRAIDControllers
Get-iBMCRAIDControllersHealth
Restore-iBMCRAIDController
Connect-iBMC
Disconnect-iBMC
SYNOPSIS
Modify properties of the specified RAID controller of a server.
SYNTAX
Set-iBMCRAIDController [-Session] <RedfishSession[]> [-StorageId] <String[]> [[-CopyBackEnabled] <Boolean[]>]
[[-SmarterCopyBackEnabled] <Boolean[]>] [[-JBODEnabled] <Boolean[]>] [<CommonParameters>]
DESCRIPTION
Modify properties of the specified RAID controller of a server.
This cmdlet works only after BIOS boot is complete when the RAID controller card supports out-of-band management
or after iBMA 2.0 has been installed and started.
PARAMETERS
-Session <RedfishSession[]>
iBMC redfish session object which is created by Connect-iBMC cmdlet.
A session object identifies an iBMC server to which this cmdlet will be executed.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-StorageId <String[]>
Indicates the identifier of the storage to modify.
The Id properties of "Get-iBMCRAIDControllers" cmdlet's return value represents Storage ID.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-CopyBackEnabled <Boolean[]>
Indicates Whether copyback is enabled.
Support values are powershell boolean value: $true(1), $false(0).
Required? false
Position? 3
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-SmarterCopyBackEnabled <Boolean[]>
Indicates Whether SMART error copyback is enable.
Before enabling this function, enable CopyBack first.
Support values are powershell boolean value: $true(1), $false(0).
Required? false
Position? 4
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-JBODEnabled <Boolean[]>
Indicates Whether JBOD is enable.
Support values are powershell boolean value: $true(1), $false(0).
Required? false
Position? 5
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Null
Returns null if cmdlet executes successfully.
In case of an error or warning, exception will be returned.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$credential = Get-Credential
PS C:\\> $Session = Connect-iBMC -Address 10.1.1.2 -Credential $credential -TrustCert
PS C:\\> Set-iBMCRAIDController -Session $session -StorageId RAIDStorage0 `
-CopyBackEnabled $true -SmarterCopyBackEnabled $true -JBODEnabled $true
RELATED LINKS
https://github.com/Huawei/Huawei-iBMC-Cmdlets
Get-iBMCRAIDControllers
Get-iBMCRAIDControllersHealth
Restore-iBMCRAIDController
Connect-iBMC
Disconnect-iBMC