Coder Social home page Coder Social logo

setup-oob's Introduction

Setup OOB

Lint DCO Check

This is a utility for configuring out-of-band management systems from within the running (Linux) OS.

It is built to be highly modular and easy to add support for new types of OOB devices.

As of current writing it supports SuperMicro's SMC systems and Dell's iDRAC systems.

It is specifically designed to be easy to run from a Configuration Management system such as Chef, and thus has a 'check' mode to enable idempotent behavior.

Setup OOB attempts to do as much as possible with the generic ipmitool, and falls back to vendor-specific tools only where necessary. In fact, great lengths were taken to determine the underlying IPMI commands in order to not rely on vendor tools.

General Use

Note that the --help message is always the best place to find all the current options. This section instead attempts to provide and overview of usage, not an exhaustive list of all options.

You must tell Setup OOB what type of device it needs to configure with the --type option. As of now it takes either smc or drac. Let's say you want to configure an iDRAC system, you might check to see if it's configured properly with:

setup_oob --type drac --check --name server001-oob --network-mode shared \
  --network-src dhcp

This would return 0 if these were all configured this way or non-zero if something didn't match. If it was not correct, you could converge it to the desired settings by re-running without --check:

setup_oob --type drac --name server001-oob --network-mode shared \
  --network-src dhcp

If configuring a local system, IPMI does not need a password, however for some devices, when vendor-specific tooling is required, it may fail without specifying the password via --old-password (unless it's still the device default).

Installing

The easiest way to install is with gem:

gem install setup_oob

You can, alternatively simply run this from the repo:

./bin/setup-oob <options>

SMC Licensing

Setup OOB can "activate" SMC systems for you. Automating this can be a bit difficult without having to store every single license in code or have your Configuration Management system reach out to an external database.

However, license keys can be derived from the host MAC address and a private key. IF YOU HAVE PURCHASED LICENSES (and if your legal team approves), you can find the key on the internet and pass it into --key-file. If you do this, then Setup OOB can generate the license key and activate the license for you.

To be clear: DO NOT DO THIS IF YOU HAVE NOT PURCHASED A LICENSE FOR THE MACHINES IN QUESTION. Doing so is certainly a violation of your agreement with SMC.

The authors of this software are not responsible for illegal use of this option.

External tools

Setup OOB requires ipmitool at a minimum. For SMC hosts, that is the only requirement. For DRAC hosts, it also requires racadm.

History

This is a fork of viariousinc/setup-oob which is defunct. This is now the official respository, feel free to send PRs or issues here.

setup-oob's People

Contributors

jaymzh avatar davide125 avatar

Watchers

James Cloos avatar

Forkers

davide125

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.