• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Tossing a VM between machines

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    I've always thought this is a bit of a flaw with Virtual Box and others. It would be dead easy (and make little difference to the file size) to write the details of the VM to the Virtual Hard disk file. In that way you could easily just start up any VM by browsing to its VHD.

    But no, it treats the hard disk as a seperate thing to the VM, which obviously has its uses but most the time you probably want a single machine with a single hard disk.

    However there's no reason why you can't just set up identical VMs on two different machines, and then just copy the hard disk over. You'd have to be careful to keep all the settings the same, and I don't think it would preserve any snapshots or saved state.

    BTW .vbox files hosted on Windows aren't compatible with Linux, and vice-versa. I found this out the hard way whilst trying to dual boot a machine with both. I thought I'd just be able to run the same VMs regardless of the host OS, but no I had to set them up seperately.
    Will work inside IR35. Or for food.

    Comment


      #12
      Originally posted by VectraMan View Post
      I've always thought this is a bit of a flaw with Virtual Box and others. It would be dead easy (and make little difference to the file size) to write the details of the VM to the Virtual Hard disk file. In that way you could easily just start up any VM by browsing to its VHD.


      BTW .vbox files hosted on Windows aren't compatible with Linux, and vice-versa. I found this out the hard way whilst trying to dual boot a machine with both. I thought I'd just be able to run the same VMs regardless of the host OS, but no I had to set them up seperately.
      Doesn't your second point emphasis why your first suggestion is impracticable. By having the hard disk separate you can mount it everywhere and change the hardware specifications at will (and I do frequently when moving machines around).
      merely at clientco for the entertainment

      Comment


        #13
        Blimey...how many machines do you use / burn through / buy?

        But yes, I've switched VMs between hosts before, it works fairly well - and you've already identified that deliverables are going into a repository.

        Comment


          #14
          Originally posted by rob s View Post
          Blimey...how many machines do you use / burn through / buy?

          But yes, I've switched VMs between hosts before, it works fairly well - and you've already identified that deliverables are going into a repository.
          In my case I meant the virtual machine settings (CPUs, cores, memory).

          Oh and on aws I can change machines fairly frequently.
          merely at clientco for the entertainment

          Comment


            #15
            Originally posted by doodab View Post
            Completely practical, especially if you have an SSD in there. I actually bought my first SSD for exactly this purpose, though I also bought an eSATA express card the VMs ran fine over USB2. The only minor annoyance is that you won't have TRIM support.
            Yep. It's a good idea to keep your VMs off the system disk anyway. Even USB2 speeds are better than having everything thrashing the system disk, especially if you are doing I/O intensive stuff in either the host or the VM, or both.
            Behold the warranty -- the bold print giveth and the fine print taketh away.

            Comment


              #16
              Originally posted by eek View Post
              Doesn't your second point emphasis why your first suggestion is impracticable. By having the hard disk separate you can mount it everywhere and change the hardware specifications at will (and I do frequently when moving machines around).
              No reason why it couldn't work both ways. I'd suggest changing the virtual hardware is rare; I can't really think of why you'd do that frequently, whereas being able to move the virtual machine to different physical hardware is part of the raison d'être of VMs. That's a lot easier if it's based on a single file.

              It'd be even better if the single file was an executable. Then you'd never even have to worry about installing VirtualBox or whatever. Just copy the file, and run it, et voila: a VM.
              Will work inside IR35. Or for food.

              Comment


                #17
                How about a DaaS from someone like Desktone?

                Comment


                  #18
                  If you have an MSDN licence you can do something with Azure if you really want to go down that route
                  Originally posted by Stevie Wonder Boy
                  I can't see any way to do it can you please advise?

                  I want my account deleted and all of my information removed, I want to invoke my right to be forgotten.

                  Comment


                    #19
                    Tossing a VM between machines

                    How about clustering? One node on dev-pc, tother on Lappy, shared disks fail over as required?

                    Comment


                      #20
                      Originally posted by rob s View Post
                      How about a DaaS from someone like Desktone?
                      If that was aimed at me, no good because the point of a laptop is you can work on the move, and wi-fi good enough for RDP cannot be relied on even where wi-fi is provided.
                      Originally posted by MaryPoppins
                      I'd still not breastfeed a nazi
                      Originally posted by vetran
                      Urine is quite nourishing

                      Comment

                      Working...
                      X