On Jun 9, 2014, at 10:20 PM, Ian Duffy <i...@ianduffy.ie> wrote:

> Hi All,
> 
> Started making some fast progress on this.
> 
> I uploaded the xenserver box[1] to vagrant cloud. This means people can
> easily get a xenserver VM by executing vagrant init duffy/xenserver &&
> vagrant up.

great, tested the packer-server and this works nicely.

> 
> I adjusted the configuration on the box to allow for multiple xenserver
> boxes to be brought up by one vagrant file. In order to allow this I had to
> remove the host-only network configuration from the packaged box into an
> external script [2]. It can be used as follows:
> 
>  config.vm.define "xenserver" do |xenserver|
>    xenserver.vm.box = "duffy/xenserver"
> 
>    xenserver.vm.provision "shell" do |s|
>      s.path = "xenserver/reset-network.sh"
>      s.args = ["eth1", "192.168.56.10", "255.255.255.0"]
>    end
>  end
> 
> 
> I created a skeleton for the chef cookbook [3]. At the moment it include
> calls to the MySQL, NFS and IPTables gateway recipes with default
> attributes specified for the included devcloud.cfg. Along with this I wrote
> a systemvm downloading recipe which reads an array of systemvms from the
> cookbooks attributes file and downloads/installed them accordingly. It uses
> the -t switch to on the cloud-install-sys-tmplt script to avoid querying
> the MySQL db for information.
> 
> I added some brief usage documentation too [4]
> 

After I sorted my own mistakes, this seems to work well.

I had issues with the ip forwarding on the mgt server (as I mentioned to you 
off list),
Otherwise it worked fine. NFS setup, template seeding, download of ttylinux and 
start of VM.

I did find the VMs to be a bit slow to start...maybe some configuration issues.

The docs in your "rough read me" need a bit of work, but I guess you know that 
:)

And it would be good to get to a point where we can just 'vagrant up' and we 
get a working setup (1 mgt VM, 1 xenserver VM).
While we can run the mgt server on localhost from source, I'd suggest doing 
recipes to install binaries in the mgt VM, this would be a more user friendly 
setup.

Good work,

> 
> [1] https://github.com/imduffy15/packer-xenserver
> [2]
> https://github.com/imduffy15/GSoC-2014/blob/master/MySql_NFS_XenServer/xenserver/reset-network.sh
> [3] https://github.com/imduffy15/cookbook_cloudstack
> [4] https://github.com/imduffy15/GSoC-2014/blob/master/README.md

Reply via email to