Skip to content

INSTALL: Create initial Symphony VMs

ste78 edited this page Nov 18, 2014 · 12 revisions

Creating the virtual machines for symphony

Configure VM Host to begin installation of Symphony Deployment Platform trio.

  • Install OZ onto temporary host - ensure oz >= v0.13

yum -y install oz

  • Clone oztemplates git repo

git clone https://github.com/alces-software/oztemplates.git

  • Modify oztemplates/etc/vars to suit requirements, mainly EXT_BRIDGE and POOL_PATH

  • Run the symphony creator script which will clone the centos 7 minimal image and create new configs for the symphony vms

oztemplates/bin/symphony.sh

TODO: Wrap up adding Networks and Drives post creation in symphony.sh script.

  • Define secondary Network for symphony-director
   virsh edit symphony-director-v1.0

    <interface type="bridge">
      <source bridge="dmz"/>
      <model type="virtio"/>
    </interface>
  • Create and add data disk for symphony-repo and define
     qemu-img create -f qcow2 /opt/vm/symphony-repo-v1.0-pulp.qcow2 80G
     qemu-img create -f qcow2 /opt/vm/symphony-repo-v1.0-mongo.qcow2 80G
     virsh edit symphony-repo-v1.0
     <disk device="disk" type="file">
      <target bus="virtio" dev="vdb"/>
      <source file="/opt/vm/symphony-repo-v1.0-pulp.qcow2"/>
      <driver type="qcow2" name="qemu"/>
     </disk>
     <disk device="disk" type="file">
      <target bus="virtio" dev="vdc"/>
      <source file="/opt/vm/symphony-repo-v1.0-mongo.qcow2"/>
      <driver type="qcow2" name="qemu"/>
     </disk>
    

TODO: Configure Reboot/Shutdown/Reset actions in XML - currently set to "Destroy" - possibly available in oz configuration?

Clone this wiki locally