Announcement

Collapse
No announcement yet.

Possible to P2V a slaved drive that used to hold an operating system?

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

  • Possible to P2V a slaved drive that used to hold an operating system?

    Scenario:

    A running Linux server has crashed. The drive is unaffected.

    Goal:

    To get the server back up and running as a VM using the hard drive.

    Question:

    Is it possible to take a drive, slave it to a running PC and use vCenter Converter to turn the physical drive and all of its volumes into a fully operational virtual machine? There seems to be a vast amount of confusion about this on the webs. Furthermore, when running vCenter Converter it appears to want to only convert partitions rather than consume an entire disk.

    The only other option I can see is to use a third party imaging tool that VMware supports, make an image from the slaved drive and then consume the large image file in vCenter Converter. Why that would make a bit of difference is beyond me, but that's what evidence so far is suggesting.
    Wesley David
    LinkedIn | Careers 2.0
    -------------------------------
    Microsoft Certifications: MCSE 2003 | MCSA:Messaging 2003 | MCITP:EA, SA, EST | MCTS: a'plenty | MCDST
    Vendor Neutral Certifications: CWNA
    Blog: www.TheNubbyAdmin.com || Twitter: @Nonapeptide || GTalk, Reader and Google+: [email protected] || Skype: Wesley.Nonapeptide
    Goofy kitten avatar photo from Troy Snow: flickr.com/photos/troysnow/

  • #2
    Re: Possible to P2V a slaved drive that used to hold an operating system?

    Does this give you any help?
    http://www.petri.com/physical-to-vir...ter-bootcd.htm

    Or, maybe linux dd might come to the rescue? dd is of course used to create a copy of a disk

    http://anothersysadmin.wordpress.com...a-vmware-host/
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: Possible to P2V a slaved drive that used to hold an operating system?

      Originally posted by Dumber View Post
      Does this give you any help?
      http://www.petri.com/physical-to-vir...ter-bootcd.htm

      Or, maybe linux dd might come to the rescue? dd is of course used to create a copy of a disk

      http://anothersysadmin.wordpress.com...a-vmware-host/
      Sadly, the Petri article relies on the Enterprise Boot CD and one must be a current VirtualCenter Management Server customer or P2V Assistant customer.

      Yeah, maybe one could spin up a VM, boot the VM into damn small linux, connect the dead server's drive and mount it before dd'ing it into the VM.

      For some reason I thought this would be a simpler process. Is it so uncommon to want to revive a dead physical server as a virtual instance?
      Wesley David
      LinkedIn | Careers 2.0
      -------------------------------
      Microsoft Certifications: MCSE 2003 | MCSA:Messaging 2003 | MCITP:EA, SA, EST | MCTS: a'plenty | MCDST
      Vendor Neutral Certifications: CWNA
      Blog: www.TheNubbyAdmin.com || Twitter: @Nonapeptide || GTalk, Reader and Google+: [email protected] || Skype: Wesley.Nonapeptide
      Goofy kitten avatar photo from Troy Snow: flickr.com/photos/troysnow/

      Comment


      • #4
        Re: Possible to P2V a slaved drive that used to hold an operating system?

        You aren't using vCenter server?
        There is also a stand alone converter which copies the entire running system or just selected disks
        http://michael.requeny.com/2011/09/0...-5-0-released/

        Else dd is I think the only option... don't forget to remove the old kernel drivers and install the VMware tools.
        Marcel
        Technical Consultant
        Netherlands
        http://www.phetios.com
        http://blog.nessus.nl

        MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
        "No matter how secure, there is always the human factor."

        "Enjoy life today, tomorrow may never come."
        "If you're going through hell, keep going. ~Winston Churchill"

        Comment


        • #5
          Re: Possible to P2V a slaved drive that used to hold an operating system?

          Originally posted by Dumber View Post
          You aren't using vCenter server?
          There is also a stand alone converter which copies the entire running system or just selected disks
          http://michael.requeny.com/2011/09/0...-5-0-released/

          Else dd is I think the only option... don't forget to remove the old kernel drivers and install the VMware tools.
          No, this is just for informal disaster recovery for small clients. If they need a server up quickly, but don't have hardware yet, I might be able to virtualize it. At least, that was the theory anyway. =)
          Wesley David
          LinkedIn | Careers 2.0
          -------------------------------
          Microsoft Certifications: MCSE 2003 | MCSA:Messaging 2003 | MCITP:EA, SA, EST | MCTS: a'plenty | MCDST
          Vendor Neutral Certifications: CWNA
          Blog: www.TheNubbyAdmin.com || Twitter: @Nonapeptide || GTalk, Reader and Google+: [email protected] || Skype: Wesley.Nonapeptide
          Goofy kitten avatar photo from Troy Snow: flickr.com/photos/troysnow/

          Comment


          • #6
            Re: Possible to P2V a slaved drive that used to hold an operating system?

            This product can perform a scheduled P2V to give you a "virtual backup" of a physical box, and can also restore back to bare metal.

            http://www.novell.com/products/protect/

            Scott.
            VCP2 / VCP3 / VCP4 / VCP 5 / VCAP-DCA4 / VCI / vExpert 2010-2012

            Comment


            • #7
              Re: Possible to P2V a slaved drive that used to hold an operating system?

              This is only a theory...

              1 - Mount it as a slave drive.
              2. Use imagex to create a wim of the drive.
              3. Use the wim2vhd tool from WinPE for Windows 7 to convert the wim to a vhd file.
              4. From there you can convert it to a VMK with winimage.

              Comment


              • #8
                Re: Possible to P2V a slaved drive that used to hold an operating system?

                Originally posted by scott28tt View Post
                This product can perform a scheduled P2V to give you a "virtual backup" of a physical box, and can also restore back to bare metal.

                http://www.novell.com/products/protect/

                Scott.
                True, true. All well and good. However, I suspect it's not designed for offline P2V operations in the case of a server that can no longer boot for one reason or another.

                Originally posted by akitafan View Post
                This is only a theory...

                1 - Mount it as a slave drive.
                2. Use imagex to create a wim of the drive.
                3. Use the wim2vhd tool from WinPE for Windows 7 to convert the wim to a vhd file.
                4. From there you can convert it to a VMK with winimage.
                Well, I wouldn't be against using Hyper-V to let the server live in, actually. I deal with a lot of Microsoft customers, so that wouldn't be so bad if I needed to restore a failed computer in this manner. Veddy interestink. I hadn't considered this mostly because I wasn't familiar with the existence of wim2vhd. =)
                Wesley David
                LinkedIn | Careers 2.0
                -------------------------------
                Microsoft Certifications: MCSE 2003 | MCSA:Messaging 2003 | MCITP:EA, SA, EST | MCTS: a'plenty | MCDST
                Vendor Neutral Certifications: CWNA
                Blog: www.TheNubbyAdmin.com || Twitter: @Nonapeptide || GTalk, Reader and Google+: [email protected] || Skype: Wesley.Nonapeptide
                Goofy kitten avatar photo from Troy Snow: flickr.com/photos/troysnow/

                Comment


                • #9
                  Re: Possible to P2V a slaved drive that used to hold an operating system?

                  Originally posted by Nonapeptide View Post
                  True, true. All well and good. However, I suspect it's not designed for offline P2V operations in the case of a server that can no longer boot for one reason or another.
                  You're right, it's a X2X backup/restore tool and as such is designed as a preventative measure. It's a decent solution to provide ongoing system protection, hence why I suggested it as something for you or your customers to deploy to avoid repeats of the problem you face at the moment.

                  Scott.
                  VCP2 / VCP3 / VCP4 / VCP 5 / VCAP-DCA4 / VCI / vExpert 2010-2012

                  Comment


                  • #10
                    Re: Possible to P2V a slaved drive that used to hold an operating system?

                    Originally posted by scott28tt View Post
                    You're right, it's a X2X backup/restore tool and as such is designed as a preventative measure. It's a decent solution to provide ongoing system protection, hence why I suggested it as something for you or your customers to deploy to avoid repeats of the problem you face at the moment.

                    Scott.
                    Pre-emptive design? Preventive measures? What witchery is this you speak of?!
                    Wesley David
                    LinkedIn | Careers 2.0
                    -------------------------------
                    Microsoft Certifications: MCSE 2003 | MCSA:Messaging 2003 | MCITP:EA, SA, EST | MCTS: a'plenty | MCDST
                    Vendor Neutral Certifications: CWNA
                    Blog: www.TheNubbyAdmin.com || Twitter: @Nonapeptide || GTalk, Reader and Google+: [email protected] || Skype: Wesley.Nonapeptide
                    Goofy kitten avatar photo from Troy Snow: flickr.com/photos/troysnow/

                    Comment


                    • #11
                      Re: Possible to P2V a slaved drive that used to hold an operating system?

                      My opinion on this is that this is more of a case of recovering the disc contents to an operational state first even if it means temporarily, and then considering a p2v. Wheather it's an offline or online process you'd still need an agent in there to complete the p2v.
                      With a bit of luck http://www.mondorescue.org/ might be able to help. It also does a p2v as well.
                      Caesar's cipher - 3

                      ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

                      SFX JNRS FC U6 MNGR

                      Comment


                      • #12
                        Re: Possible to P2V a slaved drive that used to hold an operating system?

                        Originally posted by L4ndy View Post
                        Wheather it's an offline or online process you'd still need an agent in there to complete the p2v.
                        Hmm, so far in my research, offline P2V hasn't needed an agent.

                        Originally posted by L4ndy View Post
                        With a bit of luck http://www.mondorescue.org/ might be able to help. It also does a p2v as well.
                        Oooo, new tool! Thanks! I'll look into this.
                        Wesley David
                        LinkedIn | Careers 2.0
                        -------------------------------
                        Microsoft Certifications: MCSE 2003 | MCSA:Messaging 2003 | MCITP:EA, SA, EST | MCTS: a'plenty | MCDST
                        Vendor Neutral Certifications: CWNA
                        Blog: www.TheNubbyAdmin.com || Twitter: @Nonapeptide || GTalk, Reader and Google+: [email protected].com || Skype: Wesley.Nonapeptide
                        Goofy kitten avatar photo from Troy Snow: flickr.com/photos/troysnow/

                        Comment


                        • #13
                          Re: Possible to P2V a slaved drive that used to hold an operating system?

                          Originally posted by Nonapeptide View Post
                          Hmm, so far in my research, offline P2V hasn't needed an agent.
                          Quite interested to see any evidence of that..
                          Caesar's cipher - 3

                          ZKHQ BRX HYHQWXDOOB GHFLSKHU WKLV BRX ZLOO UHDOLVH LW ZDV D ZDVWH RI WLPH!

                          SFX JNRS FC U6 MNGR

                          Comment

                          Working...
                          X