Giter Club home page Giter Club logo

static-ipmitool's Introduction

static-ipmitool

Static ipmitool binary for ESXi execution

Purpose

I realize it's pretty shady to download and execute a stranger compiled file, but I promise it's a clean, functioning standalone version of ipmitool. My iDRACs locked me out on my ESXi hosts so I needed a way to send them a cold reset. Hopefully this saves you time/hassle.

You could also build it yourself quickly with Docker https://github.com/ewen-naos-nz/docker-build-static-ipmitool

ipmitool to the rescue...

I ended up creating a CentOS 4.8 VM to create this and overall it took me a couple hours to fully complete after all was said and done. I'm uploading to save someone else the time/hassle of doing it yourself.

The process was taken from : http://ewen.mcneill.gen.nz/blog/entry/2015-07-09-static-ipmitool-on-vmware-esxi/

Please note that a couple functions won't work:

: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../lib/.libs/libipmitool.a(ipmi_tsol.o)(.text+0xe34): In function `ipmi_tsol_main':
: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

Usage

To reset the iDRAC, first copy the ipmitool.static to your ESXI host. Note that a warm reset won't work.

Then:

~ # ipmitool.static mc reset cold

static-ipmitool's People

Contributors

hobbsh avatar

Watchers

James Cloos avatar Bill avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.