Can I configure network cards with iDRAC?

72

Solution 1

You ought to be able to get console access through your iDRAC, if memory serves. Do that, log in as if you were seated in front of the machine, and configure the NICs accordingly (edit /etc/sysconfig/ifcfg-eth0 or as appropriate, service network restart).

Solution 2

I work for Dell. Yes you can use the iDRAC to configure network interface settings. How you do that depends on which settings you need to configure. For pre-OS or Hardware settings (ones that you would set through F2 at boot like iSCSI, FCoE, partitioning) you can use the iDRAC WSMAN interface or you can also use the virtual console (via iDRAC web interface) for remote KVM then reboot the system and press the appropriate keys at boot to access configuration tools.

Linux shell scripts to configure NIC using WSMan.
http://media.community.dell.com/en/dtc/attach/nic.zip

For additional information and other scripts see http://en.community.dell.com/techcenter/systems-management/w/wiki/1981.scripting-the-dell-lifecycle-controller.aspx

For OS level network settings (IP, DNS, routing) you need to use the virtual console (via iDRAC web interface) for KVM access to the server. Then use the OS tools to configure these settings.

Share:
72

Related videos on Youtube

rainbringer
Author by

rainbringer

Updated on September 18, 2022

Comments

  • rainbringer
    rainbringer almost 2 years

    I compile and link my code on Ubuntu 16.04 with GCC 5.4.0.

    In my large project there is an interface file, that describes the structures in program interface. Many classes include that file and declare members from the interface structures.

    At first, all the interface structures were without members initialization. For example:

    Interface.hpp
    
    struct Vertex {
      double lon;
      double lat;
      int alt;
    }
    
    struct Debug{
      int debugBuffer[5][3];
    }
    

    and a compilation of some specific class file resulted in an object file about 553KB size. My compilation line is:

    **release**
    g++ -std=c++1y -I<all include folder> -m64 -c -fmessage-length=0 -Wno-reorder -Wno-unknown-pragmas -O3 -fPIC myfile.cpp
    
    **debug**
    g++ -std=c++1y -I<all include folder> -m64 -c -fmessage-length=0 -Wno-reorder -Wno-unknown-pragmas -O0 -g3 -fPIC myfile.cpp
    

    Afterwards, I've changed all the structure to be with initialized members, like that:

    Interface.hpp
    
    struct Vertex {
      double lon = {33.0};
      double lat = {35.3};
      int alt = {0};
    }
    
    struct Debug{
      int debugBuffer[5][3] = {{0}};
    }
    

    After that change, the object myfyle.o compiles to debug 3 time longer and takes 6.5MB in size. In release it won't compile at all - no errors, just stucks after a couple of seconds. The process runs, but it's like it enters an endless loop - just no output in the terminal.

    And now the questions:

    1. I don't understand why the initialization increases the size so much and why does the compilation takes longer.
    2. Why does the compilation of a release stuck?
    3. What do I do wrong? I wan't to use the initialization to interface default values, so how do I do that to avoid such problems?

    Thanks.

    P.S. I can't publish the real code, since it's in out intranet and it's sensitive.

    • joeqwerty
      joeqwerty about 10 years
      I don't see any option in my iDRAC for configuring the NIC for the OS running on the server. You can configure the iDRAC NIC settings but I don't see how you can configure the OS NIC settings from the iDRAC.
    • ewwhite
      ewwhite about 10 years
      Can you explain why/how you're in this situation?