hybrid cloud
8 TopicsCan Azure Arc Simplify Infrastructure Management Across On-Premises and Multi-Cloud Environments?
Hi everyone, Cloud adoption has changed how organizations design, deploy, and manage their IT infrastructure. While many organizations have migrated significant portions of their workloads to Microsoft Azure, a completely cloud-native infrastructure model is not always practical. Several organizations continue to operate a combination of: On-premises physical servers. Virtual machines hosted in private data centers. Azure Virtual Machines. Infrastructure running in other cloud platforms. Edge and distributed computing environments. Managing these different environments independently can introduce operational complexity. For example, administrators might need to use different management platforms, monitoring solutions, security tools, and automation processes depending on where a server is hosted. This brings me to an interesting question: Can we achieve a more consistent infrastructure management experience without necessarily migrating every workload to Azure? One Microsoft technology that addresses this requirement is Azure Arc. Understanding the role of Azure Arc Azure Arc extends Azure management capabilities to resources operating outside Azure. It allows supported infrastructure and services to be represented in Azure Resource Manager, enabling organizations to manage supported resources through familiar Azure management experiences. For example, Azure Arc-enabled servers can connect supported Windows and Linux machines running outside Azure to Azure. Once connected and configured with the appropriate extensions and permissions, administrators can use Azure management capabilities for supported operations. These include: Centralized resource visibility Organizations can view supported Arc-enabled resources through Azure Resource Manager and organize them using subscriptions, resource groups, tags, and other management structures. This provides a more consistent inventory and management experience. Azure Policy and governance Azure Policy can be used to assess and enforce supported configuration requirements for Arc-enabled resources. This can help organizations establish consistent governance standards across different infrastructure locations. Monitoring and operational visibility With the appropriate configuration, Arc-enabled servers can integrate with Azure Monitor and other supported Azure management services. This allows organizations to extend selected monitoring and operational capabilities beyond Azure-hosted virtual machines. Automation and configuration management Organizations can use supported Azure automation and configuration capabilities to manage aspects of their hybrid infrastructure. This can reduce the need to operate completely separate management processes for every infrastructure location. Security management Azure Arc can help extend supported Microsoft security and governance capabilities to eligible resources outside Azure. The exact capabilities depend on the connected resource type, enabled extensions, licensing, and service configuration. A practical example Consider an organization with the following infrastructure: 50 Windows servers hosted in an on-premises data center. 30 Linux servers hosted in another private infrastructure environment. 40 Azure Virtual Machines. 20 virtual machines hosted on another cloud platform. The organization has 140 servers in total. Without a consistent management strategy, administrators might need to maintain separate processes for: Server inventory. Configuration compliance. Monitoring. Security assessment. Operational automation. Resource tagging and governance. Now imagine connecting eligible Windows and Linux servers to Azure Arc. Instead of treating every server location as an entirely separate management environment, the organization can extend selected Azure management capabilities across these environments. This does not mean Azure Arc replaces every existing infrastructure management platform. Rather, it provides a way to bring supported resources into a common Azure management framework. Does Azure Arc eliminate the complexity of hybrid cloud? Not entirely. I think it is important to distinguish between centralized management and centralized infrastructure. Azure Arc does not automatically migrate workloads to Azure, replace existing hypervisors, or make every infrastructure capability identical across different environments. There are also important operational considerations: Connectivity Arc-enabled servers require appropriate connectivity to the relevant Azure endpoints for their connected management capabilities. Agent management The Azure Connected Machine agent must be installed, maintained, and supported on eligible machines. Permissions Organizations need to establish appropriate identities, access controls, and role assignments. Cost considerations Although some Azure Arc capabilities have no additional service charge, other integrated services and management capabilities can incur costs. Operational dependencies Organizations must understand which capabilities are available for each resource type and what happens when connectivity to Azure is interrupted. These considerations are important when designing a hybrid cloud management strategy. Where could this approach be useful? I believe Azure Arc can be particularly useful for organizations that: Maintain a significant on-premises server footprint. Are gradually migrating workloads to Azure. Operate infrastructure across multiple cloud providers. Need consistent governance across distributed environments. Want to extend selected Azure management services without immediately migrating workloads. Rather than forcing organizations to move everything to the cloud, Azure Arc provides another approach: bringing supported infrastructure into Azure's management ecosystem. Questions for the community I would love to hear from Azure architects, infrastructure administrators, and cloud engineers who have worked with Azure Arc. Have you implemented Azure Arc for managing on-premises Windows and Linux servers? Do you use Azure Arc primarily for inventory and governance, or have you extended it to monitoring, security, and automation as well? What operational challenges have you encountered while deploying and maintaining the Connected Machine agent? For organizations operating across Azure, AWS, and on-premises environments, how effective has Azure Arc been in providing centralized management? Do you see Azure Arc becoming an essential component of hybrid cloud infrastructure management? Looking forward to hearing your thoughts and real-world experiences! Thanks!12Views0likes0CommentsSQL Data Sync Is Retiring: How to Choose the Right Replacement
SQL Data Sync has a retirement date. Your synchronization requirements don't. Data Sync will be retired on 30 September 2027. Most teams already know they have to move off it. What they're less sure about is which replacement will keep the behavior their application relies on. Microsoft lists several alternatives, including Azure Data Factory, Azure Functions, transactional replication, active geo-replication, read replicas and Fabric mirroring. They all move data, but they solve very different problems, so none of them is a drop-in replacement. This post walks through a requirements-first way to choose. What's changing Data Sync synchronizes the tables you select between Azure SQL Database and SQL Server databases, in both directions. Customers mostly use it for three things: Hybrid sync between SQL Server and Azure SQL Database Reporting copies, which move read workloads to another database Globally distributed reads, with copies of the data in other regions As the retirement gets closer, you may find that some operations, such as creating new sync groups, are blocked. That's expected as part of the retirement, not a provisioning fault, so start planning the move rather than troubleshooting the error. Step 1: Take inventory You can't choose a replacement until you know what you have. For each sync group, record its hub, its members, and the tables and columns it syncs. You can list sync groups in the portal or with PowerShell: Get-AzSqlSyncGroup -ResourceGroupName "<rg>" -ServerName "<server>" -DatabaseName "<hub-db>" Get-AzSqlSyncMember -ResourceGroupName "<rg>" -ServerName "<server>" -DatabaseName "<hub-db>" -SyncGroupName "<group>" Data Sync also adds tracking triggers and metadata to every database in the group. To see where it's present: SELECT OBJECT_SCHEMA_NAME(parent_id) AS schema_name, OBJECT_NAME(parent_id) AS table_name, name AS trigger_name FROM sys.triggers WHERE name LIKE '%[_]dss[_]%'; SELECT name FROM sys.tables WHERE schema_id = SCHEMA_ID('DataSync'); Next, find out who actually uses the synced data. Check the reports, jobs and applications that read from each member. That will tell you how much latency and drift you can accept. Step 2: Classify each workload Fill in this worksheet once per sync group: Question Example answer Source platform SQL Server 2019 on-premises Destination platform Azure SQL Database Direction One-way / bidirectional Is the destination written to? Read-only / writable Acceptable latency Seconds / minutes / hours Conflict handling needed? None / last-writer-wins / custom Daily change volume ~2 million rows Recovery expectation Resume from last point / full reload acceptable Your answers to direction and writable destination will rule out most of the options straight away. Step 3: Use the requirements to rule options out Requirement Rules out Still in play Bidirectional, both sides writable Geo-replication, read replicas, transactional replication (standard), Fabric mirroring Redesign to a single writer, or a custom solution (ADF / Functions) with your own conflict logic Read-only copy in the same database Everything heavier than needed Read scale-out (read replicas) Read-only copy in another region Read scale-out Active geo-replication, ADF incremental copy SQL Server → Azure SQL Database, near real time ADF batch schedules (if latency is tight) Transactional replication (Azure SQL Database as push subscriber) Azure SQL Database as the source of replication Transactional replication (Azure SQL Database can't be a publisher) ADF, Azure Functions, geo-replication Subset of tables or columns, with transformation Geo-replication, read replicas (whole database only) ADF, Azure Functions Analytics in Fabric – Fabric mirroring One point catches people out: active geo-replication and read replicas are not general-purpose sync. They give you a read-only copy of the whole database. You can't write to the secondary, and you can't pick tables. Bidirectional sync is the hardest case. No managed service replaces it directly. Before you build custom two-way sync, check whether the application really needs to write in two places. Moving to a single writer is often simpler and more reliable. Step 4: One-way incremental copy example For many reporting workloads, one-way incremental sync is all you need. Change tracking keeps it cheap. Run this on the source: ALTER DATABASE CURRENT SET CHANGE_TRACKING = ON (CHANGE_RETENTION = 7 DAYS, AUTO_CLEANUP = ON); ALTER TABLE dbo.Orders ENABLE CHANGE_TRACKING; On each run, pull only the rows that changed since the last version you stored: DECLARE @last bigint = (SELECT LastVersion FROM dbo.SyncWatermark WHERE TableName = 'dbo.Orders'); DECLARE @current bigint = CHANGE_TRACKING_CURRENT_VERSION(); IF @last < CHANGE_TRACKING_MIN_VALID_VERSION(OBJECT_ID('dbo.Orders')) THROW 50001, 'Watermark is older than retention. Full reload required.', 1; SELECT ct.SYS_CHANGE_OPERATION, ct.OrderId, o.* FROM CHANGETABLE(CHANGES dbo.Orders, @last) AS ct LEFT JOIN dbo.Orders AS o ON o.OrderId = ct.OrderId; -- After the destination applies the batch successfully: UPDATE dbo.SyncWatermark SET LastVersion = @current WHERE TableName = 'dbo.Orders'; You can run this from an ADF pipeline or an Azure Function. If a table has a reliable ModifiedDate column and you don't need to track deletes, a timestamp watermark also works. Compare that with a bidirectional requirement. There, you'd also have to detect when both sides changed the same row, choose a winner, and prevent your own writes from echoing back. That's a lot more to build and test, which is why it's worth confirming you really need it. Step 5: Pilot, run both, then validate Don't switch over in one go. Run the new pipeline alongside Data Sync for a while and compare the results. Row counts: SELECT COUNT_BIG(*) AS row_count FROM dbo.Orders; A quick content check (run it on both sides and compare). Checksums can collide, so treat a match as a strong signal rather than proof: SELECT CHECKSUM_AGG(BINARY_CHECKSUM(*)) AS table_checksum FROM dbo.Orders; Latency: SELECT DATEDIFF(SECOND, MAX(ModifiedDate), SYSUTCDATETIME()) AS seconds_behind FROM dbo.Orders; Also test recovery. Stop the pipeline for longer than your normal interval, start it again, and confirm it catches up without losing or duplicating rows. Step 6: Decommission Data Sync cleanly Once the new path has been stable through your validation period: Delete the sync group. This stops sync and removes the group's configuration. Uninstall the Data Sync agent from any on-premises SQL Server hosts. Check that the _dss_ triggers and DataSync schema objects are gone from every member. If any are left, drop them in a maintenance window, because leftover triggers add overhead to every write. Remove firewall rules and credentials that only Data Sync used. Migration checklist All sync groups and members inventoried Worksheet completed for each workload Bidirectional needs confirmed or designed out Replacement chosen using the decision table Pilot running in parallel with Data Sync Row count, checksum, latency and recovery checks passed Consumers switched to the new path Sync groups deleted, agents removed, metadata cleaned up Finished well before 30 September 2027 Final thought Turning off Data Sync is the easy part. The real work is understanding what your application expects from it today. Start with the requirements, and the right replacement usually becomes obvious. Reference: SQL Data Sync retirement migration - Azure SQL Database | Microsoft Learn185Views0likes0CommentsAt-Scale Failure Reporting for Azure Update Manager
Introduction Azure Update Manager simplifies patching across Azure virtual machines and Azure Arc-enabled servers by providing a centralized platform for patch assessment and installation. However, as environments scale, a key challenge emerges—efficiently identifying and troubleshooting patch failures across large fleets of machines. While Azure Update Manager surfaces detailed error messages in the Azure portal, this information is typically available only at an individual machine level. In enterprise environments managing hundreds or thousands of systems, drilling into each VM to find error details quickly becomes impractical. In this article, we walk through a real-world use case and demonstrate how to leverage Azure Resource Graph (ARG) to extract failed machines along with their error details for a specific maintenance run—using a single query. The Challenge: Scaling Patch Failure Visibility In a large enterprise deployment, Azure Update Manager was configured to manage patching across: Windows and Linux virtual machines Azure cloud VMs and Arc-enabled on‑premises servers Multiple regions and subscriptions While patching operations were largely successful, a subset of machines experienced failures. The key challenges faced by the operations team were: Error messages were visible only by drilling into each failed VM in the portal No built‑in way to aggregate failures across all machines Lack of a simple mechanism to export: Failed VMs Error codes Error messages The team needed a scalable, query‑driven approach to analyze failures across an entire maintenance run. Key Insight: Where Azure Update Manager Stores Data Azure Update Manager does not rely on Log Analytics to store operational results. Instead: Patch assessment and installation results are stored in Azure Resource Graph Azure Resource Graph acts as a centralized, queryable store for update operations This design enables powerful querying without requiring additional ingestion, configuration, or cost overhead. Understanding Maintenance Runs and Correlation IDs Each Azure Update Manager maintenance run generates a unique identifier: properties.correlationId represents the maintenance (schedule) run ID All machines involved in the same patch cycle share this ID This allows all machines within a single patch execution to be correlated and queried collectively. The Solution: Query Failed VMs with Error Messages Azure Resource Graph allows querying failures at scale using the maintenanceresources dataset. Core Query (Kusto Query Language) 1 maintenanceresources 2 | where type =~ "microsoft.maintenance/applyupdates" 3 | where tostring(properties.correlationId) contains "<YourMaintenanceRunID>" 4 | where tostring(properties.status) =~ "Failed" 5 | project properties.resourceId, properties.errorCode, properties.errorMessage What This Query Delivers All machines that failed in a specific maintenance run Error codes for troubleshooting Full error messages that are otherwise visible only in the Azure portal Note: Property names for error information can vary by environment. Validate available fields using Azure Resource Graph Explorer and adjust the project clause if required. Sample Output (Conceptual) Resource ID Error Code Error Message vm-01 0x80244007 Windows Update API failed vm-02 0x80072f8f Connectivity issue vm-03 1C WSUS configuration issue Advanced Scenario: Automatically Detecting the Latest Failed Maintenance Run In real-world scenarios, you may not always know the maintenance run ID. The following query dynamically identifies the most recent maintenance run that had failures, and then retrieves all failed machines from that run. 1 // Step 1: Identify the latest maintenance run ID with failures 2 let lastFailedRun = toscalar( 3 maintenanceresources 4 | extend runId = extract(@"applyupdates/(\d+)$", 1, properties.correlationId) 5 | where type =~ "microsoft.maintenance/applyupdates" 6 | where tostring(properties.status) =~ "Failed" 7 | order by tostring(properties.startDateTime) desc 8 | take 1 9 | project runId 10 ); 11 // Step 2: Query all failed VMs from that run 12 maintenanceresources 13 | where type =~ "microsoft.maintenance/applyupdates" 14 | where tostring(properties.correlationId) contains lastFailedRun 15 | where tostring(properties.status) =~ "Failed" 16 | project properties.resourceId, properties.errorCode, properties.errorMessage This approach is ideal for automation, scheduled reporting, and dashboard scenarios. Why This Approach Matters Operational Efficiency Eliminates manual portal navigation Provides consolidated failure insights in seconds Scalability Works across large, distributed environments Supports both Azure and hybrid (Arc‑enabled) machines Automation Ready Can be integrated into scripts, dashboards, and reporting pipelines Enables proactive monitoring and alerting scenarios Best Practices for Enterprise Patch Reporting To maximize the value of this approach: Capture and track maintenance run IDs Use Azure Resource Graph as the primary reporting layer Build reusable queries for different patch scenarios Export reports for compliance and auditing Correlate failures with root‑cause trends over time Conclusion As organizations scale patching operations with Azure Update Manager, visibility, speed, and automation become essential. While the Azure portal is effective for per‑machine troubleshooting, it is not optimized for fleet‑level analysis. Azure Resource Graph fills this gap by enabling a shift from manual troubleshooting to automated, query‑driven failure analysis at scale. By adopting this approach, teams can significantly improve operational efficiency, reduce mean time to resolution, and build a more mature patch management strategy. Final takeaway: Don’t rely only on the portal Leverage Azure Resource Graph to operationalize patch insights at enterprise scale References Azure Update Manager – Query resources with Azure Resource Graph https://learn.microsoft.com/azure/update-manager/query-logs Azure Update Manager – Troubleshooting guide https://learn.microsoft.com/azure/update-manager/troubleshoot Sample Azure Resource Graph queries for Azure Update Manager https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/update-manager/sample-query-logs.mdAzure Kubernetes Service on Azure Stack HCI Parity with AKS PowerShell
Azure Kubernetes Service on Azure Stack HCI's most recent release with PowerShell updates to align more with Azure Kubernetes Service (AKS), new networking options, and Active Directory integration! Azure Kubernetes Service on Azure Stack HCI (AKS-HCI) allows you to run your AKS clusters on-premises.6.7KViews1like0Comments