Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bwesterb/xennigan

Shell for your xen dom0 to allow domu admins to issue some xl commands
https://github.com/bwesterb/xennigan

shell xen

Last synced: 21 days ago
JSON representation

Shell for your xen dom0 to allow domu admins to issue some xl commands

Awesome Lists containing this project

README

        

xennigan
========

`xennigan` is a shell to run on a xen dom0 to give domu admins the ability
to issue some `xl` commands for their domu.

Example

ssh xennigan@dom0
nameofdomu> help
Available commands:
status shows status of domu
shutdown sends shutdown signal to domu
reboot sends reboot signal to domu
console opens console to domu
destroy immediate shutdown of domu
create starts domu if not running
exit exits shell
nameofdomu> status
Name ID Mem VCPUs State Time(s)
nameofdomu 37 2048 8 -b---- 497606.7
nameofdomu> reboot

Installation
------------

First build and install.

apt-get install cmake build-essential libboost-regex-dev \
libboost-filesystem-dev libboost-program-options-dev \
libboost-system-dev libreadline-dev python3
mkdir build && cd build
cmake ..
make
sudo make install

By default, `xennigan` assumes your xen domu configuration files are stored
as

/etc/xen/nameofdomu.cfg

Put the SSH public keys allowed to control the domu `nameofdomu` in

/etc/xen/nameofdomu.keys

Then run

update-xennigan

This will check the environment and willl fill the `authorized_keys` file
of the `xennigan` user appropriately.

An admin can now control their domu by SSHing as the `xennigan`
user to the dom0.

TODO
----

- Write man page.
- Packaging.