Giter Site home page Giter Site logo

docker-virtualbmc's Introduction

VirtualBMC

Docker Automated build Docker Pulls Docker Stars

About

This is a Docker image for the OpenStack VirtualBMC project

Building

To build the project:

make

To list the images:

make list

To run any tests:

make test

To push image to remote docker repository:

REPO_PASSWORD='MyPassword!$' make push

To update README on remote docker repository (docker hub):

REPO_PASSWORD='MyPassword!$' make push-readme

To cleanup and remove built images:

make clean

Usage

The below example shows how to use this container by mounting an ssh key into the virtualbmc user's directory. This will start the VirtualBMC Daemon (vbmcd) and attach to your host's network.

To run the container:

docker run -d -v /home/someuser/.ssh/id_rsa:/virtualbmc/.ssh/id_rsa:ro --name virtualbmc --network host solidcommand/virtualbmc

Once you have started the daemon you can add hosts on a remote box by using something like the following:

docker exec -i -t virtualbmc vbmc add node01 --port 6230 --libvirt-uri 'qemu+ssh://[email protected]/system' --no-daemon
docker exec -i -t virtualbmc vbmc add node02 --port 6231 --libvirt-uri 'qemu+ssh://[email protected]/system' --no-daemon
docker exec -i -t virtualbmc vbmc start 'node01' --no-daemon
docker exec -i -t virtualbmc vbmc start 'node02' --no-daemon
docker exec -i -t virtualbmc vbmc list

On your host machine you should be able to run IPMI commands:

ipmitool -I lanplus -U admin -P password -H 127.0.0.1 -p 6230 power status

docker-virtualbmc's People

Contributors

jamesbrink avatar

Watchers

 avatar  avatar  avatar

Forkers

stolsma

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.