You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/get_start.rst
+84-10Lines changed: 84 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,13 @@ Command interfaces
26
26
27
27
sudo infrasim-main stop
28
28
29
+
#. Start IPMI Console::
30
+
31
+
sudo ipmi-console start
32
+
33
+
#. Stop IPMI Console::
34
+
35
+
sudo ipmi-console stop
29
36
30
37
Interface to access virtual server
31
38
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -77,17 +84,84 @@ Interface to access virtual server
77
84
Current Virtual PDU implementation only supports running entire virutal infrastructure on VMWare ESXi because it only supports functionality of simulating power control chassis through VMWare SDK.
78
85
79
86
80
-
Setup a mini InfraSIM Virtual infrastructure on ESXi
Combining virtual server, virtual PDU and virtual switch, you can quickly deploy a small virtual infrastructure system. Here's a expamle to explicitly list to to setup one small virtual rack with 2 Dell R630 nodes and 1 virtual PDU on VMWare ESXi:
90
+
To setup an InfraSIM Server on ESXi, you should have an OVA with necessary environment prepared. You can consult the InfraSIM team to get the image or build one with the `packer build image <https://github.com/InfraSIM/tools/blob/master/packer/README.md>`_. Below are the steps to deploy and run InfraSIM on ESXi:
91
+
92
+
#. Get ESXi environment prepared by following `instruction <how_to.html#how-to-install-vmware-esxi-on-physical-server>`_
93
+
#. Spin up a virtual machine by choosing "Deploy OVF Template". Specify the URL of the OVA image.
94
+
#. Map the networks used in the OVA. The networking configured inside OVA is multi-bridge mode:
#. Modify YAML configuration file as you need. The default configuration for OVA is `infrasim.yml <https://github.com/InfraSIM/tools/blob/master/packer/scripts/infrasim.yml>`_. The path is::
100
+
101
+
/usr/local/infrasim/etc/infrasim.yml
102
+
103
+
#. Kick off all InfraSIM `services <get_start.html#command-interfaces>`_.
104
+
105
+
#. Done, enjoy this virtual server!
106
+
107
+
.. note:: No need to run **infrasim-init** because it's already done during image build.
108
+
109
+
Configuration for OVA can be refered on `Packer OVA Configuration <https://github.com/InfraSIM/tools/blob/master/packer/infrasim-vmware.json>`_. Below are the major parameters::
#. Get ESXi environment prepared by following `instruction <how_to.html#how-to-install-vmware-esxi-on-physical-server>`_
86
-
#. Spin up 3 virtual machines with satisfying `resrouces <installation.html#resource-requirement>`_ - 2 for hosting virtual Dell servers and the other one for virtual PDU
87
-
#. Configure virtual switch to compose desired data network topology. `Virtual server networking <configuration.html#networking>`_ only covers virtual nodes networking; for configuring "outside network", you need to refer to VMWare ESXi manual in order to properly connect these 3 virtual machines together.
88
-
#. Install InfraSIM application by following `intallation guide <installation.html#installation>`_
89
-
#. Modify YAML configuration file as specified in `Configuration file <configuration.html#virtual-server-configuration-file>`_
90
-
#. Kick off all InfraSIM `services <get_start.html#command-interfaces>`_
91
-
#. Done, enjoy this virtual stack!
134
+
Virtualbox is available on multiple platforms. To get an InfraSIM BOX image, refer to `packer build image <https://github.com/InfraSIM/tools/blob/master/packer/README.md>`_
135
+
136
+
#. Install virtualbox on the host.
137
+
#. Create a directory for the VM and move the BOX image along with `Vagrantfile <https://github.com/InfraSIM/tools/blob/master/packer/Vagrantfile>`_ under the directory.
#. Start InfraSIM `services <get_start.html#command-interfaces>`_. No **"infrasim-init"** needed.
146
+
147
+
BOX configuration can be refered on `Packer BOX Configuration <https://github.com/InfraSIM/tools/blob/master/packer/infrasim-box.json>`_ and `Vagrantfile <https://github.com/InfraSIM/tools/blob/master/packer/Vagrantfile>`_. The major parameters are::
0 commit comments