locked
Without Connection after Migrate CENTOS 5.11 VM to Azure RRS feed

  • Question

  • Hello Guys,

    We are trying to migrate a CENTOS 5.11 Vm to Azure using Azure migrate.

    The migration was sucessfull but when we try to connect into CENTOS using SSH, Console, Serial Console etc..

    Does anywone know any procedure that I have to do to connect to the VM?


    Daniel

    Wednesday, November 13, 2019 7:24 PM

Answers

All replies

  • Are you getting any error message? If yes, please share the screenshot.

    What is the method of migration? VMware to Azure, Hyper-V to Azure or On-premise Physical Servers to Azure?

    Thursday, November 14, 2019 7:18 AM
  • Are you getting any error message? If yes, please share the screenshot.

    What is the method of migration? VMware to Azure, Hyper-V to Azure or On-premise Physical Servers to Azure?

    Hello,

    No. We are not having any error message.

    The login freezes in the Serial Console after pressing ENTER. Nothing happens.

    The migration was Vmware to Azure.

    We tryied connecting using Public IP vvia SSH and the IP is not working. We can not ping the IP as well.

    All the inbound and outbound ports are released in the firewall.

    Thank you


    Daniel

    Thursday, November 14, 2019 1:07 PM
  • Can you share the screenshot?
    Thursday, November 14, 2019 1:10 PM
  • Can you share the screenshot?


    Daniel



    network

    • Edited by Daniel Zaitz Thursday, November 14, 2019 1:41 PM
    Thursday, November 14, 2019 1:22 PM
  • Was this migration completed using Azure Migrate or Azure Site Recovery?

    Thursday, November 14, 2019 1:25 PM
  • Was this migration completed using Azure Migrate or Azure Site Recovery?

    Yes! No problems with the migration!

    When we follow the Start of the VM using Boot Diagnostics, all the Linux services go up and the linux login shows, but I can´t do anything to access.


    Daniel

    Thursday, November 14, 2019 1:29 PM
  • Was this migration completed using Azure Migrate or Azure Site Recovery?

    I attached the prints!

    Daniel

    Thursday, November 14, 2019 1:42 PM
  • We are actively investigating and will get back to you soon.
    Thursday, November 14, 2019 2:07 PM
  • We are actively investigating and will get back to you soon.
    Thank you!

    Daniel

    Thursday, November 14, 2019 2:11 PM
  • Hi Daniel,

    As per your screenshots, everything looks good. 

    Please give a try to trouble shoot by using this link -

    https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-ssh-connection


    -Malleswar

    Thursday, November 14, 2019 2:11 PM
  • Hi Daniel,

    As per your screenshots, everything looks good. 

    Please give a try to trouble shoot by using this link -

    https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-ssh-connection


    -Malleswar

    Hello,

    I tried yet!


    Daniel

    Thursday, November 14, 2019 2:30 PM
  • @Daniel,  You need to prepare this VMWare VM for Azure before doing the migration.
    1. Install LIS Drivers and rebuild the kernel image with Hyper-V drivers.
    2. Add the serial console options in grub command line (/boot/grub/menu.lst). This is requirement for Serial console to work.
    3. Configure DHCP for eth0, and remove NetworkManaged if installed.
    4. Replace fstab entries with corresponding UUID if the device names are not persistent names. 

    Below links may be useful for you.

    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic#linux-kernel-requirements

    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-centos#centos-6x

    Monday, November 18, 2019 9:48 AM
  • @Daniel,  You need to prepare this VMWare VM for Azure before doing the migration.
    1. Install LIS Drivers and rebuild the kernel image with Hyper-V drivers.
    2. Add the serial console options in grub command line (/boot/grub/menu.lst). This is requirement for Serial console to work.
    3. Configure DHCP for eth0, and remove NetworkManaged if installed.
    4. Replace fstab entries with corresponding UUID if the device names are not persistent names. 

    Below links may be useful for you.

    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic#linux-kernel-requirements

    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-centos#centos-6x

    Hello @Sadiqh Ahmed,

    I will try this steps before the migration and let you know if it works.

    I am thinking in try this in a small VM(same S.O), because this one is like 1TB of disk space. 

    Thank You.

    I will send a feedback after try this. 


    Daniel

    Monday, November 18, 2019 11:04 AM
  • @Daniel,  You need to prepare this VMWare VM for Azure before doing the migration.
    1. Install LIS Drivers and rebuild the kernel image with Hyper-V drivers.
    2. Add the serial console options in grub command line (/boot/grub/menu.lst). This is requirement for Serial console to work.
    3. Configure DHCP for eth0, and remove NetworkManaged if installed.
    4. Replace fstab entries with corresponding UUID if the device names are not persistent names. 

    Below links may be useful for you.

    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic#linux-kernel-requirements

    https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-centos#centos-6x

    Hello @Sadiqh Ahmed,

    We still trying to reproduce your checklist.

    Do you know a way to force the Azure Migrate Resyncronization?

    We are waiting a lot of time to the Vm sincronize after any alteration (about 5 hours).

    The Resynchronize button is always off and we can´t manually force a syncronization after alterations in the Vm.

    Thank You.

    Daniel

    Tuesday, November 19, 2019 3:24 PM
  • Not sure why resync is taking a longer time than expected. We may have to investigate this issue if problem persist. Let me know how it goes after following the steps I provided in the previous post.

    Wednesday, November 20, 2019 7:34 AM
  • Hello Daniel,

    Checking to see if your issue is still unresolved. If yes, please send mail to AzCommunity@microsoft.com, include your subscription ID and a link to this post (for context) and we will gladly connect you with our Azure technical support channel for deeper investigation. 

    Alternatively, if you have a support plan, please raise a service request using these steps and one of our escalation engineers will be able to help.

    We look forward to hearing from you.

    Cheers,

    Femsulu


    • Edited by Femisulu-MSFT Saturday, November 30, 2019 4:22 AM edits
    Saturday, November 30, 2019 4:10 AM
  • Hello Femsulu,

    The problem persist.

    Finaly, on friday we was able to connect into the Vm using Azure Console after futher investigating from the Microsoft Enginners team.

    This week, we pretend to solve the SSH problem.

    I will let you know when the problem is solved.

    Thank You


    Daniel

    Monday, December 2, 2019 1:02 PM
  • Hello Guys,

    Sorry for the delay.

    Finally we solved the problem.

    We are using a wrong console parameter:

    console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300

    We didn´t put the n8 in the first parameter (I think that older links don´t have this). After we discover the n8, the Azure Console worked like a charm.

    Thank you all for the help!


    Daniel

    Monday, December 16, 2019 5:56 PM