Distributing updates to VirtualBox images with bandwidth efficiency

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite












I'm currently responsible for a lab of machines that all need to run the same virtual machines. I want to automate my current setup of distributing VirtualBox virtual machines via rsync (erasing any local changes and replacing the disks/snapshots that make up the virtual machine).



I'm thinking of doing something along the lines of making a snapshot for each change, copying the snapshot to the user's machine, and deleting the snapshot on the target ("flattening" it back to the starting disk). This allows me to patch each Virtual Machine with a minimum amount of bandwidth requirements.



The current environment consists of Fedora hosts, where rsync is used to copy the new disk images. The new solution needs to work on Linux/Windows/Mac as we are moving to a "bring your own device" environment.



Are there any already existing scripts/projects that address this issue? What should I be aware of before I start developing my own system to handle update management?










share|improve this question























  • What OS on the hosts and guests?
    – Stéphane Chazelas
    May 11 '13 at 7:57






  • 2




    Have a look at bittorrent
    – Ulrich Dangel
    May 11 '13 at 10:10










  • @StephaneChazelas I've updated the question to include the details about the hosts - the guests are Linux based (currently debian).
    – AndrewX192
    May 11 '13 at 19:54














up vote
4
down vote

favorite












I'm currently responsible for a lab of machines that all need to run the same virtual machines. I want to automate my current setup of distributing VirtualBox virtual machines via rsync (erasing any local changes and replacing the disks/snapshots that make up the virtual machine).



I'm thinking of doing something along the lines of making a snapshot for each change, copying the snapshot to the user's machine, and deleting the snapshot on the target ("flattening" it back to the starting disk). This allows me to patch each Virtual Machine with a minimum amount of bandwidth requirements.



The current environment consists of Fedora hosts, where rsync is used to copy the new disk images. The new solution needs to work on Linux/Windows/Mac as we are moving to a "bring your own device" environment.



Are there any already existing scripts/projects that address this issue? What should I be aware of before I start developing my own system to handle update management?










share|improve this question























  • What OS on the hosts and guests?
    – Stéphane Chazelas
    May 11 '13 at 7:57






  • 2




    Have a look at bittorrent
    – Ulrich Dangel
    May 11 '13 at 10:10










  • @StephaneChazelas I've updated the question to include the details about the hosts - the guests are Linux based (currently debian).
    – AndrewX192
    May 11 '13 at 19:54












up vote
4
down vote

favorite









up vote
4
down vote

favorite











I'm currently responsible for a lab of machines that all need to run the same virtual machines. I want to automate my current setup of distributing VirtualBox virtual machines via rsync (erasing any local changes and replacing the disks/snapshots that make up the virtual machine).



I'm thinking of doing something along the lines of making a snapshot for each change, copying the snapshot to the user's machine, and deleting the snapshot on the target ("flattening" it back to the starting disk). This allows me to patch each Virtual Machine with a minimum amount of bandwidth requirements.



The current environment consists of Fedora hosts, where rsync is used to copy the new disk images. The new solution needs to work on Linux/Windows/Mac as we are moving to a "bring your own device" environment.



Are there any already existing scripts/projects that address this issue? What should I be aware of before I start developing my own system to handle update management?










share|improve this question















I'm currently responsible for a lab of machines that all need to run the same virtual machines. I want to automate my current setup of distributing VirtualBox virtual machines via rsync (erasing any local changes and replacing the disks/snapshots that make up the virtual machine).



I'm thinking of doing something along the lines of making a snapshot for each change, copying the snapshot to the user's machine, and deleting the snapshot on the target ("flattening" it back to the starting disk). This allows me to patch each Virtual Machine with a minimum amount of bandwidth requirements.



The current environment consists of Fedora hosts, where rsync is used to copy the new disk images. The new solution needs to work on Linux/Windows/Mac as we are moving to a "bring your own device" environment.



Are there any already existing scripts/projects that address this issue? What should I be aware of before I start developing my own system to handle update management?







networking virtualbox performance administration






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 8 at 0:54









Jeff Schaller

33.1k849111




33.1k849111










asked May 11 '13 at 3:28









AndrewX192

264




264











  • What OS on the hosts and guests?
    – Stéphane Chazelas
    May 11 '13 at 7:57






  • 2




    Have a look at bittorrent
    – Ulrich Dangel
    May 11 '13 at 10:10










  • @StephaneChazelas I've updated the question to include the details about the hosts - the guests are Linux based (currently debian).
    – AndrewX192
    May 11 '13 at 19:54
















  • What OS on the hosts and guests?
    – Stéphane Chazelas
    May 11 '13 at 7:57






  • 2




    Have a look at bittorrent
    – Ulrich Dangel
    May 11 '13 at 10:10










  • @StephaneChazelas I've updated the question to include the details about the hosts - the guests are Linux based (currently debian).
    – AndrewX192
    May 11 '13 at 19:54















What OS on the hosts and guests?
– Stéphane Chazelas
May 11 '13 at 7:57




What OS on the hosts and guests?
– Stéphane Chazelas
May 11 '13 at 7:57




2




2




Have a look at bittorrent
– Ulrich Dangel
May 11 '13 at 10:10




Have a look at bittorrent
– Ulrich Dangel
May 11 '13 at 10:10












@StephaneChazelas I've updated the question to include the details about the hosts - the guests are Linux based (currently debian).
– AndrewX192
May 11 '13 at 19:54




@StephaneChazelas I've updated the question to include the details about the hosts - the guests are Linux based (currently debian).
– AndrewX192
May 11 '13 at 19:54










1 Answer
1






active

oldest

votes

















up vote
2
down vote













You may want to check Vagrant. It is a tool that allows you to manage virtual machine setups across several computers.



From their website:




Vagrant provides easy to configure, reproducible, and portable work
environments built on top of industry-standard technology and
controlled by a single consistent workflow to help maximize the
productivity and flexibility of you and your team.




Vagrant supports VirtualBox out of the (virtual) box.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f75412%2fdistributing-updates-to-virtualbox-images-with-bandwidth-efficiency%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    You may want to check Vagrant. It is a tool that allows you to manage virtual machine setups across several computers.



    From their website:




    Vagrant provides easy to configure, reproducible, and portable work
    environments built on top of industry-standard technology and
    controlled by a single consistent workflow to help maximize the
    productivity and flexibility of you and your team.




    Vagrant supports VirtualBox out of the (virtual) box.






    share|improve this answer
























      up vote
      2
      down vote













      You may want to check Vagrant. It is a tool that allows you to manage virtual machine setups across several computers.



      From their website:




      Vagrant provides easy to configure, reproducible, and portable work
      environments built on top of industry-standard technology and
      controlled by a single consistent workflow to help maximize the
      productivity and flexibility of you and your team.




      Vagrant supports VirtualBox out of the (virtual) box.






      share|improve this answer






















        up vote
        2
        down vote










        up vote
        2
        down vote









        You may want to check Vagrant. It is a tool that allows you to manage virtual machine setups across several computers.



        From their website:




        Vagrant provides easy to configure, reproducible, and portable work
        environments built on top of industry-standard technology and
        controlled by a single consistent workflow to help maximize the
        productivity and flexibility of you and your team.




        Vagrant supports VirtualBox out of the (virtual) box.






        share|improve this answer












        You may want to check Vagrant. It is a tool that allows you to manage virtual machine setups across several computers.



        From their website:




        Vagrant provides easy to configure, reproducible, and portable work
        environments built on top of industry-standard technology and
        controlled by a single consistent workflow to help maximize the
        productivity and flexibility of you and your team.




        Vagrant supports VirtualBox out of the (virtual) box.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 11 '13 at 15:37









        Damien

        488513




        488513



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f75412%2fdistributing-updates-to-virtualbox-images-with-bandwidth-efficiency%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?