Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

devanshjainms
Copy link
Contributor

This pull request introduces improvements to SAP HANA configuration checks and storage data collection, with a focus on enhanced NFS/AFS/ANF detection and reporting, as well as more precise sysctl parameter validation for different storage types. It also improves the formatting of LVM size outputs and expands the scope of configuration checks to include networking.

Storage & Filesystem Data Collection:

  • Added detection and reporting of NFS mounts, including identification of Azure NetApp Files (ANF) IP addresses and Azure Files Storage (AFS) account names, enabling targeted collection of ANF/AFS metadata only when relevant mounts are present. [1] [2]
  • Improved formatting of LVM group and volume sizes in filesystem_collector.py to use GiB and TiB units, making outputs more readable and standardized. [1] [2]

SAP HANA Configuration Checks:

  • Refactored sysctl checks for HANA to be specific to storage types (premium_storage and anf), with updated expected values and references for each scenario. Added new checks for net.core.rmem_max, net.core.wmem_max, net.ipv4.tcp_rmem, and net.ipv4.tcp_wmem tailored to storage type. [1] [2] [3] [4] [5]

Playbook Enhancements:

  • Added a dedicated networking configuration check and results collection to the main configuration checks playbook, ensuring networking is validated alongside other SAP infrastructure components. [1] [2]

These changes improve the accuracy and relevance of configuration validation and storage metadata collection for SAP HANA workloads on Azure, supporting both operational and compliance requirements.

@devanshjainms devanshjainms requested a review from a team as a code owner October 16, 2025 05:10
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request enhances SAP HANA configuration checks and storage data collection with improved NFS/AFS/ANF detection, more precise sysctl parameter validation for different storage types, and better formatting of LVM outputs.

Key changes include:

  • Enhanced NFS mount detection and storage-type-specific ANF/AFS metadata collection
  • Refactored sysctl checks to differentiate between premium storage and ANF storage requirements
  • Added networking configuration checks and data collection
  • Improved LVM size formatting using GiB/TiB units

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/module_utils/collector_test.py Comprehensive test suite for collector module functionality
src/templates/config_checks_report.html Enhanced report rendering with empty data handling and check sorting
src/roles/configuration_checks/tasks/main.yml Added subscription ID context variable
src/roles/configuration_checks/tasks/files/virtual_machine.yml Reorganized check IDs and improved PPG VM listing
src/roles/configuration_checks/tasks/files/network.yml New networking configuration checks
src/roles/configuration_checks/tasks/files/hana.yml Storage-type-specific sysctl parameter validation
src/roles/configuration_checks/tasks/disks.yml Enhanced NFS detection and storage metadata collection
src/playbook_00_configuration_checks.yml Added networking check integration
src/module_utils/filesystem_collector.py Improved LVM size formatting with proper units

Copy link
Member

@hdamecharla hdamecharla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@hdamecharla hdamecharla self-assigned this Oct 16, 2025
@devanshjainms devanshjainms merged commit 686b826 into Azure:development-oct-2025 Oct 16, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.