Onboard a Linux server
The Linux onboarding script includes the Azure cloud, connectivity, resource, and authentication settings you selected in the Azure portal. It doesn't require Log Analytics workspace credentials.
To connect a Linux server:
Copy
OnboardingScript.shto the target server.Sign in to the server with an account that has root access.
Change to the folder that contains the script, and then run it:
chmod +x ./OnboardingScript.sh ./OnboardingScript.shComplete the interactive Azure sign-in when the script prompts you.
Run the following command and confirm that Agent Status is Connected:
azcmagent show
Alternatively, verify the connection on the Machines - Azure Arc page in the Azure portal. If onboarding fails, review the logs in /var/opt/azcmagent/log.