Closed vivekanand553 closed 2 years ago
Hi @vivekanand553
All iDRAC attributes can be found in the attribute registry doc linked below. For number 4 the only NIC MTU iDRAC attribute is for setting maximum transmission units. Did you mean disable iDRAC Ipv6 network?
racadm get system.serverpwr.PowerCapSetting racadm set system.serverpwr.PowerCapSetting Disabled
racadm get idrac.serverboot.FirstBootDevice racadm set idrac.serverboot.FirstBootDevice Normal
racadm get idrac.VirtualMedia.BootOnce racadm set idrac.VirtualMedia.BootOnce Enabled
Need clarification
racadm get idrac.virtualconsole.enable racadm set idrac.virtualconsole.enable Enabled
racadm get idrac.virtualconsole.AttachState racadm set idrac.virtualconsole.AttachState Auto-attach
racadm get idrac.virtualconsole.PluginType racadm set idrac.virtualconsole.PluginType 0
racadm get system.lcd.Configuration racadm set system.lcd.Configuration 1
Thanks Tex
Hello Texromer,
Thank you so much for your kind reply.
For #4: yes the requirement was to set the maximum transmission units for the Idrac Nic.
For the ipv6 the request was to disable the ipv6 network.
Apart from this request I have an another request in the Local user settings section to rename the existing root credentials to svsadmin and set the standard password as @.***
Is there any ansible module which can be leveraged for the above request?
Thanks and Regards. Vivekanand
On Thu, 3 Feb 2022, 21:37 texroemer, @.***> wrote:
Hi @vivekanand553 https://github.com/vivekanand553
All iDRAC attributes can be found in the attribute registry doc linked below. For #4 https://github.com/dell/iDRAC-Redfish-Scripting/issues/4 the only NIC MTU iDRAC attribute is for setting maximum transmission units. Do you mean disable Ipv6 network?
1.
racadm get system.serverpwr.PowerCapSetting racadm set system.serverpwr.PowerCapSetting Disabled 2.
racadm get idrac.serverboot.FirstBootDevice racadm set idrac.serverboot.FirstBootDevice Normal 3.
racadm get idrac.VirtualMedia.BootOnce racadm set idrac.VirtualMedia.BootOnce Enabled 4.
Need clarification 5.
racadm get idrac.virtualconsole.enable racadm set idrac.virtualconsole.enable Enabled 6.
racadm get idrac.virtualconsole.AttachState racadm set idrac.virtualconsole.AttachState Auto-attach 7.
racadm get idrac.virtualconsole.PluginType racadm set idrac.virtualconsole.PluginType 0 8.
racadm get system.lcd.Configuration racadm set system.lcd.Configuration 1
Thanks Tex
— Reply to this email directly, view it on GitHub https://github.com/dell/iDRAC-Redfish-Scripting/issues/204#issuecomment-1029145861, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASEUSAMEIH5Z3VKR3WGJGHTUZKR3ZANCNFSM5NOIWPQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>
racadm get idrac.ipv6.enable racadm set idrac.ipv6.enable Disabled
racadm get idrac.nic.mtu
racadm set idrac.nic.mtu
racadm get idrac.users.3.UserName
racadm set idrac.users.3.UserName
racadm get idrac.users.3.Password
racadm set idrac.users.3.Password
3 is the user account ID in the example so change this value to the user account you want to change.
For Ansible, this is owned by another team within Dell which i don't work on. Can you post your question on their GitHub site.
https://github.com/dell/dellemc-openmanage-ansible-modules
Based off the model name you are setting for LCD you are using iDRAC 7/8 firmware. For Redfish support on iDRAC 7/8, the only way to configure these attributes is to leverage Server Configuration Profile (SCP) feature. See example below to configure these settings using Redfish with SCP feature.
C:\Python39>ExportSystemConfigurationLocalREDFISH.py -ip 192.168.0.120 -u root -p calvin -t IDRAC,System
Job ID "JID_443320297943" successfully created for ExportSystemConfiguration method
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "5"
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "10"
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "10"
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "10"
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "10"
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "10"
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "10"
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "10"
INFO, JobStatus not completed, current status: "Exporting Server Configuration Profile.", percent complete: "10"
Export locally job ID JID_443320297943 successfully completed
PASS, final detailed job status results for job ID JID_443320297943 -
@odata.context: /redfish/v1/$metadata#DellJob.DellJob @odata.id: /redfish/v1/Managers/iDRAC.Embedded.1/Jobs/JID_443320297943 @odata.type: #DellJob.v1_0_1.DellJob CompletionTime: 2022-02-08T08:54:38 Description: Job Instance EndTime: None Id: JID_443320297943 JobState: Completed JobType: ExportConfiguration Message: Successfully exported Server Configuration Profile MessageArgs: [] MessageId: SYS043 Name: Export Configuration PercentComplete: 100 StartTime: TIME_NOW TargetSettingsURI: None
<SystemConfiguration>
<Component FQDD="System.Embedded.1">
<Attribute Name="LCD.1#Configuration">Model Name</Attribute>
<Attribute Name="ServerPwr.1#PowerCapSetting">Disabled</Attribute>
</Component>
<Component FQDD="iDRAC.Embedded.1">
<Attribute Name="Users.3#UserName">user3</Attribute>
<Attribute Name="Users.3#Password">P@ssw0rd</Attribute>
<Attribute Name="VirtualConsole.1#Enable">Enabled</Attribute>
<Attribute Name="VirtualConsole.1#PluginType">Active X</Attribute>
<Attribute Name="VirtualConsole.1#AttachState">Auto-Attach</Attribute>
<Attribute Name="VirtualMedia.1#BootOnce">Enabled</Attribute>
<Attribute Name="NIC.1#MTU">1500</Attribute>
<Attribute Name="IPv6.1#Enable">Disabled</Attribute>
<Attribute Name="ServerBoot.1#FirstBootDevice">Normal</Attribute>
</Component>
</SystemConfiguration>
C:\Python39>ImportSystemConfigurationLocalFilenameREDFISH.py -ip 192.168.0.120 -u root -p calvin -t IDRAC,System -f 2022-2-8_9725_export.xml
Message: Successfully imported and applied Server Configuration Profile. MessageArgs: [] MessageArgs@odata.count: 0 MessageId: SYS053
Thanks Tex
Hello Team,
I need the Racadm commands and attributes which can be used in a playbook for the following components
Thanks for all your help in advance.
Regards Vivekanand