Blogs

Author Archive

Azure Log Analytics Workspace – Ensuring Compliance, Centralizing and Streamlining Monitoring

Posted on April 18th, 2024 by Sania Afsar

In the realm of cloud computing, the ability to monitor, analyze, and respond to IT environment anomalies is crucial for maintaining system integrity and compliance with regulatory standards. Azure Log Analytics Workspace (LAW) is a powerful service that enables businesses to aggregate, analyze, and act on telemetry data from various sources across their Azure and on-premises environments. This article delves into LAW, its alignment with SOC 2 compliance, and the practicalities of Azure Monitoring and diagnostic settings, offering insights from a recent project implemented for a software development company.

Azure Log Analytics Workspace (LAW): A unique environment within Azure Monitor that allows for the collection and aggregation of data from various sources. It provides tools for analysis, visualization, and the creation of alerts based on telemetry data.

SOC 2 Compliance: A framework for managing data based on five “trust service principles”—security, availability, processing integrity, confidentiality, and privacy. It is essential for businesses that handle sensitive information.

Azure Monitoring: A comprehensive solution that provides full-stack monitoring, from infrastructure to application-level telemetry, facilitating the detection, analysis, and resolution of operational issues.

Diagnostic Settings: Configurations within Azure that direct how telemetry data is collected, processed, and stored. It includes logs and metrics for auditing and monitoring purposes.

Why LAW should be used?

LAW plays a pivotal role in operational and security monitoring, offering several benefits:

Centralized Log Management: It consolidates logs from various sources, making it easier to manage and analyze data.

Compliance and Security: Helps organizations meet regulatory standards like SOC 2 by providing tools for continuous monitoring and alerting on security and compliance issues.

Operational Efficiency: Streamlines troubleshooting and operational monitoring, reducing the time to detect and resolve issues.

Cost-Effectiveness: Offers scalable solutions for log data ingestion and storage, providing flexibility and control over costs.

Configuration Process and Technical Details

Creating and Configuring Log Analytics Workspace

1. Azure Portal:

  1. Navigate to the Azure portal.
  2. Go to “All services” > “Log Analytics workspaces”.
  3. Click “Add”, select your subscription, resource group, and specify the workspace name and region.
  4. Review and create the workspace.

Same can be achieved using Powershell cmdlet New-AzOperationalInsightsWorkspace.

New-AzOperationalInsightsWorkspace -ResourceGroupName “YourResourceGroup” -Name “YourWorkspaceName” -Location “Region”

2. Enabling Diagnostic Settings

Azure Portal:

  1. Navigate to the resource (e.g., a VM, database).
  2. Select “Diagnostic settings” > “Add diagnostic setting”.
  3. Choose the logs and metrics to send to the Log Analytics workspace.
  4. Select the workspace created earlier and save the setting.

Azure CLI:

There is no corresponding powershell cmdlet however the same can be achieved using azure cli. It is advised that this step be done using the Azure portal unless it needs to be automated, In case of large number of targets consider using a bash script and an csv file for input

az monitor diagnostic-settings create –resource /subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroup/providers/ResourceProvider/ResourceType/ResourceName –workspace /subscriptions/YourSubscriptionId/resourcegroups/YourResourceGroup/providers/microsoft.operationalinsights/workspaces/YourWorkspaceName –name “YourDiagnosticSettingName” –logs ‘[{“category”: “CategoryName”, “enabled”: true}]’ –metrics ‘[{“category”: “CategoryName”, “enabled”: true}]’

 Integrating Data Sources

To configure agents and services to send data to LAW:

1. Windows and Linux Servers:

Install the Log Analytics agent on each server.

During the agent configuration, specify the workspace ID and primary key to connect the agent to your workspace.

2. Azure Resources:

Many Azure services offer built-in integration with Log Analytics.

Use the Azure portal to enable integration by selecting the Log Analytics workspace as the target for logs and metrics.

3. Application Insights:

For application telemetry, integrate Application Insights with your application.

Configure the Application Insights SDK to send data to the Log Analytics workspace by setting the instrumentation key.

Insights on a case study from a Software Development Company Perspective

In a recent project for a software development company, LAW was leveraged to enhance operational visibility and ensure SOC 2 compliance. The focus was on automating log collection and analysis to proactively address system anomalies, secure sensitive data, and streamline the development lifecycle. By integrating LAW, the company achieved:

  • Enhanced Security Posture: Through real-time monitoring and alerting capabilities.
  • Operational Excellence: Improved system reliability and availability by quickly identifying and addressing issues.
  • Compliance Assurance: Simplified compliance reporting and auditing processes, ensuring adherence to SOC 2 requirements.

Conclusion

Azure Log Analytics Workspace is an indispensable tool for organizations looking to enhance their monitoring capabilities and ensure compliance with standards like SOC 2. Its ability to aggregate and analyze data from a multitude of sources provides a comprehensive view of an organization’s IT environment, facilitating informed decision-making and operational efficiency. The integration of LAW, coupled with Azure Monitoring and diagnostic settings, offers a robust solution for maintaining system integrity, security, and compliance.

Azure Stack HCI 3-node Cluster Configuration – Switchless Storage Network

Posted on April 17th, 2024 by Sania Afsar

Mismo Systems implemented a 3-node Azure Stack HCI cluster for one of the clients. The cluster was configured with a dual-link full mesh storage network interconnect (Switchless).

This blog provides an overview of the Azure Stack HCI design, high-level implementation steps, network connectivity of the servers, IP configurations and cluster configuration.

Azure Stack HCI Design

Below is the high-level detail of the above Design diagram:

  • 03 Nos. DELL EMC AX-740dx servers, installed with Azure Stack HCI 21H2 Operating System.
  • Azure Stack HCI cluster will be created using the three servers.
  • The cluster will be created and managed using a Windows Admin Center instance.
  • The cluster will be registered with Azure.
  • Azure storage account-based cloud witness will be used for the cluster.

High-Level Configuration Steps

Below are the high-level steps performed to complete the cluster configuration:

S. No.Task
1Server Racking and Cabling
2iDRAC Configuration on the servers
3BIOS Configuration for QLogic NIC configuration
4Initial network configuration and domain join the servers
5Azure Stack HCI cluster configuration:
– Prerequisite check, feature installation and updates installation
– Network and Virtual Switch configuration
– Cluster validation and creation – Storage validation and Enable Storage Space Direct
6Post cluster creation configuration
7Cloud Witness Quorum configuration
8Azure Stack HCI registration to Azure
9Storage volumes creation
10Virtual Machines creation

Network Interfaces

There were 3 Azure Stack Certified servers – DELL EMC AX-740dx, installed with Azure Stack HCI 21H2 Operating System. The servers had the following network interfaces:

Each of the servers has the following network interfaces:

  • 1 iDRAC network port
  • 2 QLogic FastLinQ 41262 Dual Port 10/25GbE SFP28 Adapter, PCIe Low Profile
  • 1 Intel X710 Dual Port 10GbE SFP+
  • 1 i350 Dual Port 1GbE, rNDC

Network Interface Connectivity

The diagram below describes the connectivity of network interfaces and their configuration.

Below tables provides low-level detail of the Azure Stack HCI Implementation:

Network Interface | PurposeNode | IP Address | vSwitch | Team Configuration
Azure Stack HCI – Network Configuration
iDRAC | IP AddressesIDRACNODE1 | 172.16.1.5 IDRACNODE2 | 172.16.1.6 IDRACNODE3 | 172.16.1.7
i350 Dual Port 1GbE, rNDC | Management NetworkNODE1 | 172.16.1.60/24 | MgmtSwitch | SET Team <NIC 1 and NIC 2> NODE2 | 172.16.1.61/24 | MgmtSwitch | SET Team <NIC 1 and NIC 2> NODE3 | 172.16.1.62/24 | MgmtSwitch | SET Team <NIC 1 and NIC 2> Gateway – 172.16.1.1 Subnet – 255.255.255.0
Intel X710 Dual Port 10GbE SFP | VM NetworkNODE1 – 10.170.3.111 | VMNetworkSwitch | SET Team <NIC 3 and NIC 4> NODE2 – 10.170.3.112 | VMNetworkSwitch | SET Team <NIC 3 and NIC 4> NODE3 – 10.170.3.113 | VMNetworkSwitch | SET Team <NIC 3 and NIC 4> Gateway: 10.170.3.1 Subnet – 255.255.255.0
QLogic FastLinQ 41262 Dual Port 10/25GbE SFP28 Adapter | Storage NetworkNODE1 – NIC 5 | 192.168.12.1| Storage 1 <Node 1 – Node 2>
NODE1 – NIC 6 | 192.168.13.1| Storage 2 <Node 1 – Node 3> NODE1 – NIC 7 | 192.168.21.2 | Storage 4 <Node 2 – Node 1>
NODE1 – NIC 8 | 192.168.31.2 | Storage 5 <Node 3 – Node 1>

NODE2 – NIC 5 | 192.168.12.2| Storage 1 <Node 1 – Node 2>
NODE2 – NIC 6 | 192.168.23.1| Storage 3 <Node 2 – Node 3> NODE2 – NIC 7 | 192.168.21.1| Storage 4 <Node 2 – Node 1>
NODE2 – NIC 8 | 192.168.32.2| Storage 6 <Node 3 – Node 2>   NODE3 – NIC 5 | 192.168.13.2| Storage 2 <Node 1 – Node 3>
NODE3 – NIC 6 | 192.168.23.2| Storage 3 <Node 2 – Node 3> NODE3 – NIC 7 | 192.168.31.1| Storage 5 <Node 3 – Node 1>
NODE3 – NIC 8 | 192.168.32.1| Storage 6 <Node 3 – Node 2>   Subnet – 255.255.0.0

Azure Stack HCI Cluster Detail

Configuration ItemDetail
Azure Stack HCI – Initial Configuration
Azure Stack HCI OS21H2
Servers HostnameNODE1.domain.com
NODE2.domain.com NODE3.domain.com
Time zoneCentral time (US & Canada) UTC -6:00
Joined AD DS Domain domain.com
Windows Admin Centerhttps://wac01.domain.com/
Azure Stack HCI – Cluster Configuration
Cluster TypeStandard
Cluster Name and IPCluster01 | 172.16.1.63
Cluster Quorum DetailCloud Witness | Storage Account – <storageaccountname>
Azure Stack HCI – Registration to Azure
Azure Subscription Name and ID<Azure Subscription Name and ID>
Resource Group<Resource Group Name>
Azure Region for registrationWest Europe