Skip to content

How to run rackhd micro kernel in your local

Bryan Fu edited this page Mar 8, 2017 · 3 revisions
  1. download all the files from bintray (https://bintray.com/rackhd/binary/on-imagebuilder#files/builds)
  2. Go into the folder that you put the binaries into, and run a simple HTTP server with python as below:

# python -m SimpleHTTPServer 8000

  1. Prepare the infrasim.yml for rackhd as below:
compute:
  cmdline: "API_CB=10.62.59.69:8000 BASEFS=base.trusty.3.16.0-25-generic.squashfs.img
    OVERLAYFS=discovery.overlay.cpio.gz BOOTIF=52-54-BF-11-22-33"
  cpu:
    quantities: 2
    type: Haswell
  initrd: /path/to/your/initrd.img-3.16.0-25-generic
  kernel: /path/to/your/vmlinuz-3.16.0-25-generic
  memory:
    size: 1024
  networks:
  - device: e1000
    mac: 00:60:16:55:2d:76
    network_mode: nat
    network_name: br0
  storage_backend:
  - controller:
      drives:
      - size: 8
      max_drive_per_controller: 8
      type: ahci
name: rackhd
type: quanta_t41
  1. Start rackhd node as below:
# sudo infrasim config add rackhd
# sudo infrasim node start