Closed kirthi2468 closed 3 years ago
Hi @kirthi2468
Scripts "GetIdracLcSystemAttributesREDFISH.py" and "SetIdracLcSystemAttributesREDFISH.py" can be leveraged to Enable / Disable Lifecycle Controller.
Example:
C:\Python39>GetIdracLcSystemAttributesREDFISH.py -ip 192.168.0.120 -u root -p calvin -g lc -an LCAttributes.1.LifecycleControllerState
Attribute Name: LCAttributes.1.LifecycleControllerState, Current Value: Enabled
C:\Python39>SetIdracLcSystemAttributesREDFISH.py -ip 192.168.0.120 -u root -p calvin -s lc -an LCAttributes.1.LifecycleControllerState -av Disabled
- INFO, configuring "LC" attributes
Attribute Name: LCAttributes.1.LifecycleControllerState, setting new value to: Disabled
- PASS, PATCH command passed to successfully set "LC" attribute(s), status code 200 returned
- INFO, getting new attribute current values
Attribute Name: LCAttributes.1.LifecycleControllerState, Attribute Value: Disabled
C:\Python39>GetIdracLcSystemAttributesREDFISH.py -ip 192.168.0.120 -u root -p calvin -g lc -an LCAttributes.1.LifecycleControllerState
Attribute Name: LCAttributes.1.LifecycleControllerState, Current Value: Disabled
Hi,
I was wondering if you could add a python script for setting the lifecycle controller job to disabled in iDRAC
Boot to BIOS setup, select iDRAC settings -> Lifecycle Controller -> (option to toggle between enabled and disabled for lifecycle controller)