ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Physical server to Azure migration

    IT Discussion
    azure migration vhd
    4
    6
    4.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AmbarishrhA
      Ambarishrh
      last edited by

      Bear with me for the long story, but thought of sharing with you all! 🙂

      I've been working on a server migration from a physical server to Azure.

      The physical server has Sharepoint running (testing/development-single server), and to save cost, we wanted to migrate to Azure. Plan was to convert the physical servers disk to vhd using microsoft Disk2vhd for both c and d drives, create the Azure account, use powershell to import the vhd files to Azure, create vm using these disks

      The disk size was huge and this server was hosted on a different location, and the only access to that was rdp and ftp and the ftp was really not that good on transferring this huge file. Used Disk2vhd converted the drives to vhdx, I had to use hjsplit to split the vhdx files with 3.5GB each and then download, combine back with hjsplit. After few days of downloading, got all the split files locally, combined it back using hjsplit and then used Azure powershell and tried to import it. Then I learned that Azure doesnt work with vhdx file! (as per my experience and research), wasted almost a week for this! 😞

      Redid the vhd creation, (this time as "VHD"), hjsplit-download-combine-Import- success! 🙂

      So i thought, that was it, followed the MS document, and then created image with the VHD, tried creating the VM, it got stuck on provisioning the VM for around 4 hours and then failed! More google search and found out that the server has to be sysprep'd before you convert to vhd! 😞 But in my case I can't sysprep as the server was already up and running with SP. (Hope this is correct with Sysprep!)

      Almost lost hope, but tried one more time.

      From Azure- Virtual Machines- Disks- I created 2 disks using the VHD url for the imported VHD files, and then created virtual machine with that- From Gallery-My Disks- selected the c drive disk- and also added the d drive disk as additional- removed the "Install the VM agent" option (enabling this failed the VM creation again), and created the machine, after few minutes, the VM created successfully. Connected to the server via RDP and seems like all working fine! 😄

      I've given the server access to the dev to make sure the sp site is working fine, and I really hope all good and ignoring sysprep wont harm! 🙂

      1 Reply Last reply Reply Quote 2
      • AmbarishrhA
        Ambarishrh
        last edited by

        Ok, so the dev quickly checked and the SQL was not working, only because the IP was changed due to the server change. Updated sql with the current IP and restarted sql services, all working fine! 🙂

        1 Reply Last reply Reply Quote 0
        • StrongBadS
          StrongBad
          last edited by

          Awesome. Great to hear that it worked. How are you enjoying Azure?

          AmbarishrhA 1 Reply Last reply Reply Quote 0
          • AmbarishrhA
            Ambarishrh @StrongBad
            last edited by

            @StrongBad I like it, but I am still a fan of Amazon web services! 🙂

            scottalanmillerS alexntgA 2 Replies Last reply Reply Quote 1
            • scottalanmillerS
              scottalanmiller @Ambarishrh
              last edited by

              @ambarishrh said:

              @StrongBad I like it, but I am still a fan of Amazon web services! 🙂

              Have you tried Rackspace? We use all three but prefer Rackspace generally.

              1 Reply Last reply Reply Quote 0
              • alexntgA
                alexntg @Ambarishrh
                last edited by

                @ambarishrh said:

                @StrongBad I like it, but I am still a fan of Amazon web services! 🙂

                Glad to hear from another AWS fan!

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post