Skip to content

Interfaces of Dell Server

Bryan Fu edited this page Dec 2, 2016 · 1 revision

iDrac web GUI

https://192.168.131.183/

iDrac IPMI over Lan

Make sure support has been enabled beforehand

racadm set iDRAC.IPMILan.Enable Enabled

RACADM

ssh, telnet to iDRAC

$ ssh 192.168.131.183

Connecting to 192.168.131.183:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

/admin1-> racadm
racadm>>hwinventory 

racadm hwinventory  

local RACADM

running RACADM commands from the managed server’s operating system; Requires OpenManage software

Lifecycle

  • Through UEFI to support many things
  • Press F10 when booting POST and enter into Lifecycle controller GUI
  • Lifecycle Controller 192.168.131.221
  • iDRAC 192.168.131.183

WS-MAN

winrm e cimv2/root/dcim/DCIM_ComputerSystem -u:root -p:calvin -r:https://10.210.112.54/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic 
DCIM_ComputerSystem
    CreationClassName = DCIM_ComputerSystem
    Dedicated = 0
    ElementName = MINWINPC
    EnabledState = 2
    HealthState = 25
    IdentifyingDescriptions = CIM:GUID, CIM:Tag, DCIM:ServiceTag
    Name = srv:system
    OperationalStatus = 6
    OtherIdentifyingInfo = 4c4c4544-0057-4c10-8036-c6c04f534432, mainsystemchass
is, FWL6SD2
    PrimaryStatus = 3
    RequestedState = 0


C:\Windows\system32>winrm id -u:root -p:abc123 -r:https://192.168.131.183/wsman
-SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
IdentifyResponse
    ProtocolVersion = http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd
    ProductVendor = Dell, Inc.
    ProductVersion = iDRAC : System Type = 13G Monolithic : LC Version = 2.40.40
.40 : Version = 2.40.40.40
    SMASHVersion = 2.0.0
    ProductName = iDRAC
    SystemGeneration = 13G Monolithic
    FirmwareVersion = 2.40.40.40
    LifecycleControllerVersion = 2.40.40.40
    SecurityProfiles
        SecurityProfileName = HTTP_TLS_1, HTTP_TLS_2

iDrac8 Redfish

  • supports only HTTPs protocol.

  • Basic Authentication: ``` curl "https:///redfish/v1/Chassis" -k -u root:calvin

  • Session Based Authentication: curl -k -X POST -d '{"UserName":"root","Password":"calvin"}' https://<iDRAC IP>/redfish/v1/Sessions -v curl -k https://<iDRAC IP>/redfish/v1/Chassis -v --header "X-Auth-Token: <X-Auth-Value>" curl -k -X DELETE https://<iDRAC IP>/redfish/v1/Sessions/6 -v --header "X-Auth-Token: <X-Auth-Value>"

  • Other commands:

================================================================================
infrasim@infrasim:~$ curl -k https://192.168.131.183/redfish/v1 | python -mjson.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   790  100   790    0     0    523      0  0:00:01  0:00:01 --:--:--   522
{
    "@odata.context": "/redfish/v1/$metadata#ServiceRoot.ServiceRoot",
    "@odata.id": "/redfish/v1",
    "@odata.type": "#ServiceRoot.v1_0_2.ServiceRoot",
    "AccountService": {
        "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1/AccountService"
    },
    "Chassis": {
        "@odata.id": "/redfish/v1/Chassis"
    },
    "Description": "Root Service",
    "EventService": {
        "@odata.id": "/redfish/v1/EventService"
    },
    "Id": "RootService",
    "JsonSchemas": {
        "@odata.id": "/redfish/v1/JSONSchemas"
    },
    "Links": {
        "Sessions": {
            "@odata.id": "/redfish/v1/Sessions"
        }
    },
    "Managers": {
        "@odata.id": "/redfish/v1/Managers"
    },
    "Name": "Root Service",
    "RedfishVersion": "1.0.2",
    "Registries": {
        "@odata.id": "/redfish/v1/Registries"
    },
    "SessionService": {
        "@odata.id": "/redfish/v1/SessionService"
    },
    "Systems": {
        "@odata.id": "/redfish/v1/Systems"
    },
    "Tasks": {
        "@odata.id": "/redfish/v1/TaskService"
    }
}

infrasim@infrasim:~$ curl -k -X GET https://192.168.131.183/redfish/v1/Managers/iDRAC.Embedded.1/SerialInterfaces -u root:abc123 | python -mjson.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   469  100   469    0     0    123      0  0:00:03  0:00:03 --:--:--   123
{
    "@odata.context": "/redfish/v1/$metadata#SerialInterfaceCollection.SerialInterfaceCollection",
    "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1/SerialInterfaces",
    "@odata.type": "#SerialInterfaceCollection.SerialInterfaceCollection",
    "Description": "Collection of Serial Interfaces for this System",
    "Members": [
        {
            "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1/SerialInterfaces/iDRAC.Embedded.1%23Serial.1"
        }
    ],
    "[email protected]": 1,
    "Name": "Serial Interface Collection"
}
================================================================================
infrasim@infrasim:~$ curl -k -X GET https://192.168.131.183/redfish/v1/Chassis/System.Embedded.1 -u root:abc123 | python -mjson.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2101  100  2101    0     0    447      0  0:00:04  0:00:04 --:--:--   447
{
    "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis",
    "@odata.id": "/redfish/v1/Chassis/System.Embedded.1",
    "@odata.type": "#Chassis.v1_0_2.Chassis",
    "Actions": {
        "#Chassis.Reset": {
            "[email protected]": [
                "On",
                "ForceOff"
            ],
            "Target": "/redfish/v1/Chassis/System.Embedded.1/Actions/Chassis.Reset"
        }
    },
    "AssetTag": "",
    "ChassisType": "Enclosure",
    "Description": "It represents the properties for physical components for any system.It represent racks, rackmount servers, blades, standalone, modular systems,enclosures, and all other containers.The non-cpu/device centric parts of the schema are all accessed either directly or indirectly through this resource.",
    "Id": "System.Embedded.1",
    "IndicatorLED": "Off",
    "Links": {
        "ComputerSystems": [
            {
                "@odata.id": "/redfish/v1/Systems/System.Embedded.1"
            }
        ],
        "[email protected]": 1,
        "Contains": [],
        "[email protected]": 0,
        "CooledBy": [
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.1"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.2"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.3"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.4"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.5"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.6"
            }
        ],
        "[email protected]": 6,
        "ManagedBy": [
            {
                "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
            }
        ],
        "[email protected]": 1,
        "PoweredBy": [
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.1"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.2"
            }
        ],
        "[email protected]": 2
    },
    "Manufacturer": " ",
    "Model": " ",
    "Name": "Computer System Chassis",
    "PartNumber": "04N3DFA09",
    "Power": {
        "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power"
    },
    "PowerState": "On",
    "SKU": "FWL6SD2",
    "SerialNumber": "CN7792168600CN",
    "Status": {
        "Health": "Critical",
        "HealthRollUp": "Critical",
        "State": "Enabled"
    },
    "Thermal": {
        "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal"
    }
}

================================================================
infrasim@infrasim:~$ curl -k -X GET https://192.168.131.183/redfish/v1/Systems/System.Embedded.1 -u root:abc123 | python -mjson.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2693  100  2693    0     0    505      0  0:00:05  0:00:05 --:--:--   683
{
    "@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
    "@odata.id": "/redfish/v1/Systems/System.Embedded.1",
    "@odata.type": "#ComputerSystem.v1_0_2.ComputerSystem",
    "Actions": {
        "#ComputerSystem.Reset": {
            "[email protected]": [
                "On",
                "ForceOff",
                "GracefulRestart",
                "PushPowerButton",
                "Nmi"
            ],
            "target": "/redfish/v1/Systems/System.Embedded.1/Actions/ComputerSystem.Reset"
        }
    },
    "AssetTag": "",
    "BiosVersion": "2.2.5",
    "Boot": {
        "BootSourceOverrideEnabled": "Once",
        "BootSourceOverrideTarget": "None",
        "[email protected]": [
            "None",
            "Pxe",
            "Cd",
            "Floppy",
            "Hdd",
            "BiosSetup",
            "Utilities",
            "UefiTarget",
            "SDCard"
        ],
        "UefiTargetBootSourceOverride": ""
    },
    "Description": "Computer System which represents a machine (physical or virtual) and the local resources such as memory, cpu and other devices that can be accessed from that machine.",
    "EthernetInterfaces": {
        "@odata.id": "/redfish/v1/Systems/System.Embedded.1/EthernetInterfaces"
    },
    "HostName": "MINWINPC",
    "Id": "System.Embedded.1",
    "IndicatorLED": "Off",
    "Links": {
        "Chassis": [
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
            }
        ],
        "[email protected]": 1,
        "CooledBy": [
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.1"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.2"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.3"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.4"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.5"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Sensors/Fans/0x17||Fan.Embedded.6"
            }
        ],
        "[email protected]": 6,
        "ManagedBy": [
            {
                "@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
            }
        ],
        "[email protected]": 1,
        "PoweredBy": [
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.1"
            },
            {
                "@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Power/PowerSupplies/PSU.Slot.2"
            }
        ],
        "[email protected]": 2
    },
    "Manufacturer": " ",
    "MemorySummary": {
        "Status": {
            "Health": "OK",
            "HealthRollUp": "OK",
            "State": "Enabled"
        },
        "TotalSystemMemoryGiB": 512.0
    },
    "Model": " ",
    "Name": "System",
    "PartNumber": "04N3DFA09",
    "PowerState": "On",
    "ProcessorSummary": {
        "Count": 2,
        "Model": "Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz",
        "Status": {
            "Health": "OK",
            "HealthRollUp": "OK",
            "State": "Enabled"
        }
    },
    "Processors": {
        "@odata.id": "/redfish/v1/Systems/System.Embedded.1/Processors"
    },
    "SKU": "FWL6SD2",
    "SerialNumber": "CN7792168600CN",
    "SimpleStorage": {
        "@odata.id": "/redfish/v1/Systems/System.Embedded.1/Storage/Controllers"
    },
    "Status": {
        "Health": "Critical",
        "HealthRollUp": "Critical",
        "State": "Enabled"
    },
    "SystemType": "Physical",
    "UUID": "4c4c4544-0057-4c10-8036-c6c04f534432"
}