Saturday, November 21, 2015

Getting Up with Operation Management Suite in less than 30 min on Linux (CentOS/Ubuntu) and Windows

Operations Management Suite overview:

Quick guide to get up and running with OMS with basic features (Works in both V1(ASM) and V2(ARM)):
·         Create an OMS workspace (onetime setup)
·         Browse the OMS workspaces, setup the workspace, and install agents (Windows and Linux)
(Please note that OMS also has discoverabilities. You can also install the agent while provisioning the VMs.)
·         Check the LogAnalytics backed by superfast search which leverages Azure Machine Learning.
Step 1:
Go to https://manage.windowsazure.com à + New (from bottom left of the page) à App Services à Operational Insights à Quick Create à fill in the form…(start with “Free”)

Step 2:
Go to https://manage.windowsazure.com à Operational Insights à Select your workspace à Select manage à You can skip the email confirmation page à Go through the setting wizard à Select all the default solutions à On the connected sources, install the agents on the Linux/Windows (see below links for supported versions,) please note that this pane will also lists the servers those are being currently monitored à Select the performance counters under data tab à (optional) check from upgrade and account management under account tab.

Step 3:
Play with OMS. (Please note that OMS also provides REST APIs which returns JSON for advanced needs.)

References
·         OMS search reference: https://technet.microsoft.com/en-us/library/mt450427.aspx
·         https://technet.microsoft.com/en-us/library/mt484118.aspx --- Get Started with OMS
Advance:
1.       Automate log searches with the Log Search API: https://technet.microsoft.com/library/mt484116.aspx
2.       Leveraging the OMS Search API in an Azure Automation Runbook: https://azure.microsoft.com/en-us/blog/leveraging-the-oms-search-api-in-an-azure-automation-runbook/
4.       Azure / Azure Stack – IaaS VM ARM MMA & Operational Insights Template Integration: http://www.danielstechblog.de/azure-azure-stack-iaas-vm-arm-mma-operational-insights-template-integration/
5.       Connect computers directly to OMS: https://technet.microsoft.com/library/mt484108.aspx

---
I have tried today OMS with V1 VMs (windows 2012 R2 DC  + centos 7.1; picked from gallery) and V2 VMs (Windows + Ubuntu; picked from gallery) and worked like a charm.
From history of my centos:
uname -a
cd /tmp/
chmod +x omsagent-1.0.0-47.universal.x64.sh
./omsagent-1.0.0-47.universal.x64.sh --install -w <workspaceid> -s  <key>

ps -ef | grep oms

No comments:

Post a Comment