Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Bronagh Sorota
ManageIQ Engineering
@bronaghs
June 6th 2016
ManageIQ for Azure
Agenda
● Feature Use Case
● Feature Architecture
● Feature Considerations
● Feature Usage
● Debugging
● Video Demonstratio...
Azure Use Cases
Provisioning
● Private Image
● Service Catalogue
Events
● Event Switchboard
Metrics
● Instance CPU
Provisi...
Azure Architecture (1)
Provisioning
● Private image provisioning
● Same provisioning workflow as other cloud providers, in...
Azure Architecture (2)
Events
● Visibility into changes happening inside Azure
● Existing Event Switchboard capability ext...
Azure Considerations (1)
Provisioning
● Automation Engine Server role must be enabled
● Private images must be created bef...
Azure Considerations (2)
SmartState Analysis
● Enable SmartState Analysis and SmartProxy roles
● Appliance overhead, insta...
Azure Considerations (3)
Events
● Enable ‘Event Monitor’ role
● Must review evm.log for the supported events
● At startup,...
Azure Considerations (4)
Metrics
● Enable three C&U roles roles
● Enable Region C&U Collection
● In Azure, enable Monitori...
Azure Usage | Provisioning
● Standard process, navigate to
◎ Compute > Clouds > Instances, Lifecycle > Provision Instances...
Azure Usage | Retirement
● Standard process, navigate to
◎ Compute > Clouds > Instances
◎ Select the desired instance
◎ Li...
Azure Usage | SmartState Analysis
● Initiated
◎ On demand - Compute > Clouds > (Instances|Images)
◎ By schedule
◎ Event sw...
Azure Usage | Events
● Supported Azure provider events exposed in Automate
◎ Automate > Explorer / ManageIQ / System / Eve...
Azure Usage | Metrics
● Instance utilization metrics available UI (CPU % Guest OS)
● Compute > Clouds > Instance > Monitor...
Azure Debugging | Provisioning / Retirement
● Usual debugging & troubleshooting
◎ Enable debug level logging
◎ Request sta...
Azure Debugging | SmartState Analysis
● Check ‘SmartState Analysis’ and ‘SmartProxy’ roles are
enabled
● Tasks appear in t...
Azure Debugging | Events
● Check ‘Event Monitor’ role is enabled
● Review evm.log for captured events
◎ Grep "Following.*S...
Azure Debugging | Metrics
● Check 3 C&U roles are enabled
● Check C&U is enabled for the region
● Enable debug log level
●...
Azure Video Demonstration
● Provisioning
● Retirement
● SmartState Analysis
● Events
Azure Support
Ruby GEM YES
Binding YES
Authentication YES
Models YES
Inventory YES
Metrics YES
*
Events YES
*
Power Operat...
Further Information
● Managing private images on Azure
https://azure.microsoft.com/en-us/documentation/articles/virtual-ma...
Further Information
Pull Requests
● Provisioning
https://github.com/ManageIQ/manageiq/pull/6128
● Retirement
https://githu...
Questions?
Upcoming SlideShare
Loading in …5
×

Azure - Bronagh Sorota - ManageIQ Design Summit 2016

482 views

Published on

ManageIQ for Azure by Bronagh Sorota at ManageIQ Design Summit 2016

Provisioning demo: https://youtu.be/e8GSQ2JX0NM
Retirement demo: https://youtu.be/7c84VwVBjn4
SmartState Analysis demo: https://youtu.be/QqUEXQNtZiM
Events demo: https://youtu.be/8HKFYFF-pCE

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Azure - Bronagh Sorota - ManageIQ Design Summit 2016

  1. 1. Bronagh Sorota ManageIQ Engineering @bronaghs June 6th 2016 ManageIQ for Azure
  2. 2. Agenda ● Feature Use Case ● Feature Architecture ● Feature Considerations ● Feature Usage ● Debugging ● Video Demonstrations ● Support and Further Information ● Q&A
  3. 3. Azure Use Cases Provisioning ● Private Image ● Service Catalogue Events ● Event Switchboard Metrics ● Instance CPU Provisioning ● Private Image ● Service Catalogue Events ● Event Switchboard Metrics ● Instance CPU Retirement ● Instances SmartState Analysis ● Instances ● Images Appliance ● Azure hosted appliance
  4. 4. Azure Architecture (1) Provisioning ● Private image provisioning ● Same provisioning workflow as other cloud providers, includes approvals, quotas, autoplacement, statemachines ● Provisioning through services Retirement ● Lifecycle operations to support ondemand or scheduled retirement. SmartState Analysis ● Agentless, read BlobStorage via Azure API (Azure-ArmRest) ● Otherwise, SmartState processing the same across providers ● No impact on running Azure instances
  5. 5. Azure Architecture (2) Events ● Visibility into changes happening inside Azure ● Existing Event Switchboard capability extended to Azure provider ● Events exposed in Automate Metrics ● Azure provider extended to support instance utilization ● Currently gather CPU utilization, working adding more counters
  6. 6. Azure Considerations (1) Provisioning ● Automation Engine Server role must be enabled ● Private images must be created beforehand ● Microsoft tools required ● User credentials passed to Azure API ● Cloud subnet used to create NIC via Azure API ● Customization template support Retirement ● Automation Engine Server role must be enabled ● Only instance is removed ● Other resources remain, e.g. IPs, network interfaces
  7. 7. Azure Considerations (2) SmartState Analysis ● Enable SmartState Analysis and SmartProxy roles ● Appliance overhead, instances per VM ● Consider zones and roles ● Scheduled / on demand / triggered analysis ● Data transfer cost if ManageIQ appliance external to Azure ● No impact on running instances ● Two concurrent processes per role by default
  8. 8. Azure Considerations (3) Events ● Enable ‘Event Monitor’ role ● Must review evm.log for the supported events ● At startup, poll 1 minute from the current time ● Events can be missed if appliance offline ● Polls every 15 secs for new events ○ Configured via :event_catcher_azure: ● Azure limitations, some events are not captured in Audit Logs
  9. 9. Azure Considerations (4) Metrics ● Enable three C&U roles roles ● Enable Region C&U Collection ● In Azure, enable Monitoring > Diagnostics on Instances ● Cost associated with Azure Diagnostics ● Appliance overhead, instances per VM ● Consider zones and roles
  10. 10. Azure Usage | Provisioning ● Standard process, navigate to ◎ Compute > Clouds > Instances, Lifecycle > Provision Instances ◎ Select the desired image ◎ Complete provisioning dialogs ● Request launched ◎ Invokes Approval, Quota, Placement etc ◎ Shown in Compute > Services > Requests
  11. 11. Azure Usage | Retirement ● Standard process, navigate to ◎ Compute > Clouds > Instances ◎ Select the desired instance ◎ Lifecycle > Retire this instance ● Retirement launched ◎ Invokes Retirement statemachine / Cloud / VM / Retirement / StateMachines / VMRetirement / Default
  12. 12. Azure Usage | SmartState Analysis ● Initiated ◎ On demand - Compute > Clouds > (Instances|Images) ◎ By schedule ◎ Event switchboard (with automate customization) ● Results ◎ Tasks appear in Settings > Tasks queue ◎ Results shown in Instance|Image view
  13. 13. Azure Usage | Events ● Supported Azure provider events exposed in Automate ◎ Automate > Explorer / ManageIQ / System / Event / EmsEvent / Azure ● Useful additions: ● - virtualMachines_capture_EndRequest ● - networkSecurityGroups_write_EndRequest ● - subscriptions_resourceGroups_EndRequest
  14. 14. Azure Usage | Metrics ● Instance utilization metrics available UI (CPU % Guest OS) ● Compute > Clouds > Instance > Monitoring > Utilization
  15. 15. Azure Debugging | Provisioning / Retirement ● Usual debugging & troubleshooting ◎ Enable debug level logging ◎ Request status in service queue ◎ Review evm/automation.log, grep for: ◎ ManageIQ::Providers::Azure::CloudManager::Provision ◎ log_clone_options ● Azure portal https://portal.azure.com/#blade/Microsoft_Azure_Insights/AzureDiagnosticsBlade
  16. 16. Azure Debugging | SmartState Analysis ● Check ‘SmartState Analysis’ and ‘SmartProxy’ roles are enabled ● Tasks appear in the Analysis Tasks queue ● Enable debug log level ● Grab the job GUID from evm.log ◎ INFO -- : MIQ(ManageIQ::Providers::Azure::CloudManager::V m#scan) NAME [Scan from Vm MyVM] SCAN¦ ◎ INFO -- : Job created: guid: [a988f52c-15ef-11e6- 9b1b-000c29744b9c], userid: [admin], name: [Scan from Vm MyVM],... ● Grep ◎ The above GUID ◎ ManageIQ::Providers::Azure::CloudManager::Vm# ◎ MiqVm, MiqAzureVm, MiqDisk
  17. 17. Azure Debugging | Events ● Check ‘Event Monitor’ role is enabled ● Review evm.log for captured events ◎ Grep "Following.*System/Event/EmsEvent/AZURE" log/evm.log ● Check events are being created in Azure ◎ Azure Portal https://portal.azure.com/#blade/Microsoft_Azure_Insights/AzureDiagnostic sBlade
  18. 18. Azure Debugging | Metrics ● Check 3 C&U roles are enabled ● Check C&U is enabled for the region ● Enable debug log level ● Review evm.log grep -E "(|ERROR|perf_capture|<your_VM>)" log/evm.log ● Azure Portal ◎ Check Monitoring > Diagnostics is enabled at the instance level
  19. 19. Azure Video Demonstration ● Provisioning ● Retirement ● SmartState Analysis ● Events
  20. 20. Azure Support Ruby GEM YES Binding YES Authentication YES Models YES Inventory YES Metrics YES * Events YES * Power Operations YES Marketplace Public Provision NO Ships Native Appliance YES * VM Private Provision YES * VM ReConfiguration NO Stack Provision YES VM Retirement YES * Event Timelines YES Smart State Analysis YES * Drift Comparison YES * Right Size Recommendations NO Remote Console NO Remote Control NO
  21. 21. Further Information ● Managing private images on Azure https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-capture-image/ https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-capture-image/ https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/ ● Managing Azure https://portal.azure.com/ https://resources.azure.com/ ● Azure-ArmRest Wiki https://github.com/ManageIQ/azure-armrest/wiki
  22. 22. Further Information Pull Requests ● Provisioning https://github.com/ManageIQ/manageiq/pull/6128 ● Retirement https://github.com/ManageIQ/manageiq/pull/5717 ● SmartState Analysis https://github.com/ManageIQ/manageiq/commit/7e5d94c2237ca0f1f3ec57aae51b53ad650ad763 https://github.com/ManageIQ/manageiq/commit/3a7e03541d203c6bab4cad9c68194cf5cb62eaf6 https://github.com/ManageIQ/manageiq/commit/96f7c02866976b9700884f6a010795f6a1ea2d67 ● Events https://github.com/ManageIQ/manageiq/pull/7439 ● Metrics https://github.com/ManageIQ/manageiq/pull/8565
  23. 23. Questions?

×