Warning Livedoc is no longer being updated and will be deprecated shortly. Please refer to https://documentation.tjhsst.edu.

Difference between revisions of "Virtual machine host"

From Livedoc - The Documentation Repository
Jump to: navigation, search
Line 3: Line 3:
  
 
== Setting up a virtual machine host ==
 
== Setting up a virtual machine host ==
Follow the [[Gentoo Server Install|Gentoo installation guide]], then [[Salt/Setup|install Salt]]. Specify the host role in
+
=== Initial setup ===
 +
Follow the [[Gentoo Server Install|Gentoo installation guide]], then [[Salt/Setup|install Salt]]. Specify the host role in <code>/etc/salt/grains</code>:
 +
 
 +
<pre>
 +
role: vmserver
 +
</pre>
 +
 
 +
Restart the <code>salt-minion</code> service, then run <code>salt-call state.highstate</code> to pull in VM server packages and initial configuration.
 +
=== Access to the storage array ===
 +
Start the <code>iscsid</code> service (it is not automatically started by Salt). After this, you may need to restart the <code>multipath</code> service and the <code>libvirt</code> service. You should then be able to use the <code>virsh</code> tool and create virtual machines.

Revision as of 14:07, 30 March 2016

This page is a stub. Please consider expanding the article so it is complete.

Machines which provide this service

{{#ask:

 Page describes type::Machine
 Service provided::Virtual machine host
 |?Machine type
 |?Hardware type
 |?Contact person

}}

Setting up a virtual machine host

Initial setup

Follow the Gentoo installation guide, then install Salt. Specify the host role in /etc/salt/grains:

role: vmserver

Restart the salt-minion service, then run salt-call state.highstate to pull in VM server packages and initial configuration.

Access to the storage array

Start the iscsid service (it is not automatically started by Salt). After this, you may need to restart the multipath service and the libvirt service. You should then be able to use the virsh tool and create virtual machines.