Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. With this setup we kick off the driver script with the following cmd line arguments

    $ python configure.py -v $hypervisor -d $distro -p $profile -l $LOG_LVL

    The $distro argument chooses the hostOS of the mgmt server - this can be ubuntu / rhel. LOG_LVL can be set to INFO/DEBUG/WARN for troubleshooting and more verbose log output.

...

  1. The configure script does various operations to prepare the environment:
  • clears up any dirty cobbler systems from previous runs
  • cleans up Puppet certificates of these systems. Puppet recipes will fail if puppetmaster finds an invalid certificate
  • starts up a new xenserver VM that will act as the mgmt server. we chose to keep things simple by launching the vm on a xenserver. one could employ jclouds via jenkins to deploy the mgmt server VM on a dogfooded cloudstack.
  • in parallel the deployment config of marvin is parsed through to find the hypervisors that need to be cleaned up, pxe booted and prepared for the CloudStack deployment.
  • all the hosts in the marvin config are pxe booted via ipmi and cobbler takes over to reimage them with the profile chosen by the jenkins job run.
  • while this is happening we also seed the secondary storage with the systemvm template reqd for the hypervisor.
  • all the primary stores in the marvin config are then cleaned for the next run.

...