Bare-metal server simulator
Project description
Infrasim-compute: bare-metal server simulator
System Basic Requirements
Infrasim package can be installed in any physical machine or virtual machines hosted by Virtualbox, ESXi, Parallel Desktop or cloud provider like AWS, Linode and etc.
The basic installation system requirements are:
Ubuntu Linux 64bit OS (14.04/15.04/16.04)
at least 4GB memory
at least 16GB disk size
Installation
Ensure sources.list integrity then install dependency:
sudo apt-get update sudo apt-get install python-pip libpython-dev libssl-dev libaio-dev
Upgrade pip and install setuptools:
sudo pip install --upgrade pip sudo pip install setuptools
Two ways to install infrasim:
install infrasim from source code:
git clone https://github.com/InfraSIM/infrasim-compute.git cd infrasim-compute sudo pip install -r requirements.txt sudo python setup.py install
install infrasim from python library:
sudo pip install infrasim-compute
Start Infrasim Service
Initialization (you need do it once)
sudo infrasim init
Optional arguments:
-s, –skip-installation Ignore qemu/openipmi package installation
-f, –force Destroy existing Nodes
-c [CONFIG_FILE], –config-file [CONFIG_FILE] Use customized yaml file for the default node
-t [TYPE], –type [TYPE] Render specified node type for the default node
Infrasim Service Version:
sudo infrasim version
Infrasim Node Configuration Management:
Add configuration mapping to a node
sudo infrasim config add <node name> <config path>
Delete configuration mapping of a node
sudo infrasim config delete <node name>
Update configuration mapping of a node
sudo infrasim config update <node name> <config path>
Edit configuration mapping with environment editor
sudo infrasim config edit
List all configuration mappings
sudo infrasim config list
Infrasim Service Node Commands
Start a node
sudo infrasim node start [node name]
Check node status
sudo infrasim node status [node name]
Stop a node
sudo infrasim node stop [node name]
Restart a node
sudo infrasim node restart [node name]
Stop a node and detroy its runtime workspace
sudo infrasim node destroy [node name]
The default node configuration is already added to configuration mapping during infrasim init. In node commands, argument [node name] is optional. If it’s not specified, it’s treated as node “default”.
Notice: You can use VNC to access the emulated legacy hardware, the default VNC port is 5901
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file infrasim-compute-3.5.1.tar.gz
.
File metadata
- Download URL: infrasim-compute-3.5.1.tar.gz
- Upload date:
- Size: 239.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1b3883b8c0c93cd2faddef5d11d2ffb861736d23e202d973e0bfd77ead86455 |
|
MD5 | 62ea32666f29c133a401481b109b4b21 |
|
BLAKE2b-256 | d118ea3bb40e6d672e8fa8a5108fe1ed0b5b6193b9618b06296b1f212cac3e68 |
File details
Details for the file infrasim_compute-3.5.1-py2-none-any.whl
.
File metadata
- Download URL: infrasim_compute-3.5.1-py2-none-any.whl
- Upload date:
- Size: 236.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a5289f4f7c87e2b97e868bee93550c03be6b546a41e7c24cc05b4458680652c |
|
MD5 | cc35a0828dc4e43960b46683bb07bb21 |
|
BLAKE2b-256 | 137b9904a1df9e157b36943bdf006af5dc4b34be8b6d7100fd16eed3cf5295bc |