Comments (4)
Hi,
404 usually means Redfish support is not enabled on the iDRAC. Can you check from either RACADM or iDRAC GUI, see if Redfish is enabled on the iDRAC?
Example to check Redfish setting:
C:>racadm -r 192.168.0.120 -u root -p calvin get idrac.redfish
Security Alert: Certificate is invalid - Certificate is not signed by Trusted Third Party
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
[Key=idrac.Embedded.1#Redfish.1]
Enable=Enabled
If Redfish is enabled, can you give me the message details for the POST command? Add this line to the script to print the message details.
print(response.__dict__)
from idrac-redfish-scripting.
racadm -r *** -u 'root' -p '*****' get idrac.redfish
Security Alert: Certificate is invalid - self signed certificate
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
ERROR: Invalid subcommand specified.
FYI idrac is : Integrated Dell Remote Access Controller 6 Version 3.65
from idrac-redfish-scripting.
iDRAC 6 does not have Redfish support. You must have either have iDRAC 7/8 which is supported on 12G /13G servers or iDRAC 9 which is supported on 14G servers.
Since you can't use Redfish with your current iDRAC, i would recommend using RACADM to script the power operation. You can use "racadm serveraction" command for server power operations.
_C:>racadm -r 192.168.0.120 -u root -p calvin help serveraction
Security Alert: Certificate is invalid - Certificate is not signed by Trusted Third Party
Continuing execution. Use -S option for racadm to stop execution on certificate-related errors.
serveraction -- perform system power management operations
Usage:
racadm serveraction
racadm serveraction -f
Valid Options:
-f : Force the server power management operation.
This option is applicable only for the POWEREDGE-VRTX platform.
This option can be used with powerdown, powercycle and hardreset.
: server power management operation to perform. Must be one of:
graceshutdown : perform a graceful shutdown of server
powerdown : power server off
powerup : power server on
powercycle : perform server power cycle
hardreset : force hard server power reset
powerstatus : display current power status of server
nmi : Genarate Non-Masking Interrupt to halt system operation
Usage Examples:
-
Power down server.
racadm serveraction powerdown -
Get power status.
racadm serveraction powerstatus
For help on viewing the properties of a group, run the command - racadm help get
For help on configuring the properties of a group, run the command - racadm help set
C:>_
from idrac-redfish-scripting.
Thanks for help.
I was expecting version issue.
I will go with ipmitool or racadm serveraction both are working fine.
from idrac-redfish-scripting.
Related Issues (20)
- GetIdracLcLogsREDFISH.py error with --get-all option HOT 7
- Which is most appropriate Redfish/OEM call to check the current boot stage of the server HOT 2
- pxe boot job id no long working HOT 1
- ComponentID zero HOT 6
- DELL/iDRAC -Redfish HOT 5
- MetricReports PowerMetrics HOT 3
- Redfish Query for Host OS Network Interfaces HOT 7
- Can add an example for querying from iDrac KeyVault by Redfish API? HOT 2
- Switching the storage controller from PERC to HBA and vice-versa HOT 3
- InsertEjectVirtualMediaREDFISH.py unable to insert ISO file residing on CIFS share; works from iDRAC GUI HOT 15
- Importing CA certificate to iDRAC via Redfish HOT 6
- Traceback error running ExportSystemConfigurationLocalREDFISH.py HOT 2
- Delete portion of CreateDeleteIdracUsersREDFISH.py only disables the account; it doesn't delete it. HOT 2
- Redfish Resource not found - Export Configuration HOT 1
- Can't insert CD and RemovableMedia virtual media simultaneously HOT 5
- iDRAC Version 7.00.00.171 Traceback Errors HOT 14
- Export/import certificates HOT 1
- Account Services Question HOT 6
- Set-IdracLcSystemAttributesREDFISH does not work on iDRAC8 HOT 3
- Invoke-ChangeIdracUserPasswordREDFISH - New-Object : Exception calling ".ctor" with .... HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idrac-redfish-scripting.