
MoltenIron is a tool to manage a pool of baremetal nodes that are to be used as test targets in a baremetal CI environment, instead of VM guests. MoltenIron allows you to add, allocate, and release nodes from it's pool using the following methods: add - Add a node to the pool allocate - checkout a baremetal node from the pool, returning the required info in json format to the requester. It then marks the node as in use so that no other VM will check it out. release - return the baremetal node to the pool, allowing another VM to eventually allocate it. Change-Id: I8d276d677d9b09bc34032f46c825320d5d83e756
36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
MoltenIron maintains a pool of bare metal nodes.
|
|
|
|
==============================================================================
|
|
|
|
Before starting the server for the first time, the createDB.py
|
|
script must be run.
|
|
|
|
To start or restart the server, run moltenIronD.py.
|
|
|
|
==============================================================================
|
|
|
|
Use the molteniron client (molteniron.py) to communicate with the server. For
|
|
usage information type './molteniron.py -h'. For usage of a specific command
|
|
use ./molteniron.py [command] -h (ie - molteniron.py add -h)
|
|
|
|
==============================================================================
|
|
|
|
Configuration of MoltenIron is specified in the file conf.yaml.
|
|
|
|
"B)" means that this configuration option is required for both the client and
|
|
the server. "C)" means that it is required only for the client. "S)" means
|
|
it is only required for the server.
|
|
|
|
B) mi_port: - the port that the server uses to respond to
|
|
commands.
|
|
C) serverIP: - The IP address of the server. This is only used by
|
|
clients.
|
|
S) maxTime: - The maximum amount of time, in seconds, that a node
|
|
is allowed to be allocated to a particular BM node.
|
|
S) logdir: - The path to the directory where the logs should be
|
|
stored.
|
|
S) maxLogDays: - The amount of time, in days, to keep old logs.
|
|
S) sqlUser: - The username to use for the MI server. This user
|
|
will automatically be generated when createDB.py is run.
|
|
S) sqlPass: - The password of sqlUser
|