Azure / App-Service-Migration-Assistant

Azure Websites Migration Assistant for Windows is a tool that allows customers to move their existing sites hosted on IIS servers into the cloud on Azure App Service. For more information check out https://appmigration.microsoft.com .
https://appmigration.microsoft.com
MIT License
74 stars 60 forks source link

Azure App Migration Assistant tool installation on Linux server #57

Closed krishna16101991 closed 2 years ago

krishna16101991 commented 2 years ago

Hi All,

I am stuck at below stage when trying to download and install azure-appService-migrationAssistant-1.0.9 on Linux instance. I have tried some ways to enable display on Linux but its still not working. Any solution to proceed from here is most welcome.

error

Regards Krishna

krolson commented 2 years ago

Hi @krishna16101991 - can you describe the way you're launching the migration assistant in a little more detail? For example, how are you connected to the linux machine? Are you on a GUI-enabled system? Are you able to run other electron apps (like VS Code)? What are the commands you're running that result in this message?

Also, is your goal to migrate a TOMCAT application or a docker container? If a docker container, you have the option to do this with shell only and AzureCLI, as noted in this sample: https://github.com/Azure/App-Service-Migration-Assistant/wiki/Using-Azure-CLI If a TOMCAT application, you also have the option of using an alternate migration tool for migrating to a container in Azure: https://azure.microsoft.com/en-us/blog/accelerate-application-modernization-with-azure-migrate-app-containerization/

krishna16101991 commented 2 years ago

Hi @krolson - I am just following the procedure given on https://github.com/Azure/App-Service-Migration-Assistant/wiki/Linux-Notes to launch migration assistant tool. I am connecting with Linux box through ssh via putty, not using any other app like VS Code on this machine.

As of now we are just trying with simple Java application migration which is running on the same Linux machine, we are just looking for simple lift and shift kind of migration.

fernandoturner commented 2 years ago

Hi Krolson, I have the same problem and would like to know what is the solution - Microsoft referred me to github for assistance. I am trying to test the migration tool on a static web-site running on CentOS 7 and Tomcat also running on the same server obviously testing one at a time. I get the same error after installing the migration assistant. All the servers do not have a GUI, trying to do it through the CLI - followed the same link https://github.com/Azure/App-Service-Migration-Assistant/wiki/Linux-Notes - I have been busy with this for almost a month now and can't seem to get it resolved?

krolson commented 2 years ago

Unfortunately the current Migration Assistant tool is a UI based option that relies on a local GUI interface - so it will not work for Linux installations without a GUI or over putty SSH connection.

As noted earlier, there is the option to migrate-through-containerization either to App Service or AKS - it involves installing tooling on a Windows-OS machine and pointing it to either a Windows or Linux server running TOMCAT (https://docs.microsoft.com/en-us/azure/migrate/tutorial-app-containerization-java-app-service), so this option will work for Linux systems that do not have an associated GUI.

fernandoturner commented 2 years ago

Hi Krolson

Azure App Migration Assistant tool, however we ran into permissions issues with tomcat, see the screenshot below and advise? [image: image.png] [image: image.png]

How would we test to see a static website on a Linux server?

Regards Fernando

On Tue, Oct 19, 2021 at 7:46 PM krolson @.***> wrote:

Closed #57 https://github.com/Azure/App-Service-Migration-Assistant/issues/57.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Azure/App-Service-Migration-Assistant/issues/57#event-5486974857, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWD3LPOYHZJT4A4YJ7O36R3UHWVIHANCNFSM5FERFUBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

krolson commented 2 years ago

Hi @fernandoturner, I'm afraid the images didn't come through, so not clear on what kind of error is happening. Based on your previous comments it sounds like the Linux servers don't have a GUI - the stand-alone Migration Assistant tool on Linux is GUI based and won't work without that layer.

There are other options that don't require a local Linux GUI, including

fernandoturner commented 2 years ago

Hi Kroslon

Azure App Migration Assistant tool, however we ran into permissions issues with tomcat, see the screenshot below and advise? See screenshots attached. How would we test to see a static website on a Linux server?

Regards Fernando

On Fri, Oct 22, 2021 at 9:20 PM krolson @.***> wrote:

Hi @fernandoturner https://github.com/fernandoturner, I'm afraid the images didn't come through, so not clear on what kind of error is happening. Based on your previous comments it sounds like the Linux servers don't have a GUI - the stand-alone Migration Assistant tool on Linux is GUI based and won't work without that layer.

There are other options that don't require a local Linux GUI, including

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Azure/App-Service-Migration-Assistant/issues/57#issuecomment-949902598, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWD3LPOAARXDE4UJ4LJC32DUIG2Q7ANCNFSM5FERFUBA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

krolson commented 2 years ago

Hi @fernandoturner - I'm afraid I still am not seeing an attached image - could you try posting it directly in github if you did an email reply and/or posting the image and including a link to where the image is located? In general I can tell you that the tooling requires root/administrator access, like launching with sudo if that was not how it was run already.