Skip to main content

Bare-metal server simulator

Project description

Infrasim-compute: bare-metal server simulator

Version Downloads

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:

  1. Ubuntu Linux 64bit OS (14.04/15.04/16.04)

  2. at least 4GB memory

  3. at least 16GB disk size

Installation

  1. Ensure sources.list integrity then install dependency:

    sudo apt-get update
    sudo apt-get install python-pip libpython-dev libssl-dev libaio-dev
  2. Upgrade pip and install setuptools:

    sudo pip install --upgrade pip
    sudo pip install setuptools
  3. 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

  1. 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

  2. Infrasim Service Version:

    sudo infrasim version
  3. 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
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infrasim-compute-3.5.1.0rc1.tar.gz (239.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

infrasim_compute-3.5.1.0rc1-py2-none-any.whl (237.2 kB view details)

Uploaded Python 2

File details

Details for the file infrasim-compute-3.5.1.0rc1.tar.gz.

File metadata

File hashes

Hashes for infrasim-compute-3.5.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 7fd4b0f28da243efb874badb1fd49866956a6659acd2b5dda5b662807cf4129c
MD5 064560464b66d818281bd38123f81fce
BLAKE2b-256 c3aad643be7bb3b9bad1ffb12ebf9d84114685ffc72416c313f441e93daece85

See more details on using hashes here.

File details

Details for the file infrasim_compute-3.5.1.0rc1-py2-none-any.whl.

File metadata

File hashes

Hashes for infrasim_compute-3.5.1.0rc1-py2-none-any.whl
Algorithm Hash digest
SHA256 c01be8dc72217527f522569a5cea69269bd84e5642d8906799b933323301416d
MD5 b30581f586ca9b333c4a85cd1794eb91
BLAKE2b-256 9a3b3c04424f89902d0385fa5034ac2e60ef385ed4483320b03c454d5b477c46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page