This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Bias Types:
⚠️ powershell_heavy
⚠️ windows_tools
⚠️ windows_first
Summary:
The documentation is focused on setting up Pacemaker on RHEL in Azure and is generally Linux-centric, with extensive Bash and Linux-native tooling examples. However, there is a notable bias in the section on configuring Azure shared disks, where only PowerShell examples are provided for disk creation and attachment, with no Azure CLI or portal equivalents shown first or in detail. Additionally, references to Azure role assignment and identity management link to Windows VM documentation or PowerShell-based guides before mentioning Linux/CLI alternatives. This can create friction for Linux users who may not use PowerShell or Windows tools.
Recommendations:
  • Provide Azure CLI examples alongside or before PowerShell for all Azure resource provisioning steps, especially for disk creation and attachment.
  • Include instructions for performing key Azure operations (e.g., managed identity assignment, custom role creation) using the Azure portal and Azure CLI, not just PowerShell or Windows-centric documentation.
  • Where links are provided for identity or role assignment, ensure Linux/CLI/portal documentation is referenced first or equally, not just Windows VM or PowerShell guides.
  • Explicitly state that all Azure resource management steps can be performed from Linux environments, and provide parity in example commands.
  • Consider adding a table or section comparing PowerShell, Azure CLI, and portal methods for common tasks to help Linux users choose their preferred workflow.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-11 00:00 #108 completed ✅ Clean
2025-08-20 00:01 #86 completed ✅ Clean
2025-08-19 00:01 #85 completed ✅ Clean
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-08-11 00:00 #77 completed ✅ Clean
2025-08-10 00:00 #76 completed ✅ Clean
2025-08-09 00:00 #75 completed ✅ Clean
2025-08-08 00:00 #74 completed ✅ Clean
2025-08-07 00:00 #73 completed ✅ Clean
2025-08-06 00:00 #72 completed ✅ Clean
2025-08-05 00:00 #71 completed ✅ Clean
2025-08-03 00:00 #69 completed ✅ Clean
2025-07-22 00:01 #57 completed ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

$ResourceGroup = "MyResourceGroup" $Location = "MyAzureRegion" $DiskSizeInGB = 4 $DiskName = "SBD-disk1" $ShareNodes = 2 $LRSSkuName = "Premium_LRS" $ZRSSkuName = "Premium_ZRS" $vmNames = @("prod-cl1-0", "prod-cl1-1") # VMs to attach the disk # ZRS Azure shared disk: Configure an Azure shared disk with ZRS for a premium shared disk $zrsDiskConfig = New-AzDiskConfig -Location $Location -SkuName $ZRSSkuName -CreateOption Empty -DiskSizeGB $DiskSizeInGB -MaxSharesCount $ShareNodes $zrsDataDisk = New-AzDisk -ResourceGroupName $ResourceGroup -DiskName $DiskName -Disk $zrsDiskConfig # Attach ZRS disk to cluster VMs foreach ($vmName in $vmNames) { $vm = Get-AzVM -ResourceGroupName $resourceGroup -Name $vmName Add-AzVMDataDisk -VM $vm -Name $diskName -CreateOption Attach -ManagedDiskId $zrsDataDisk.Id -Lun 0 Update-AzVM -VM $vm -ResourceGroupName $resourceGroup -Verbose } # LRS Azure shared disk: Configure an Azure shared disk with LRS for a premium shared disk $lrsDiskConfig = New-AzDiskConfig -Location $Location -SkuName $LRSSkuName -CreateOption Empty -DiskSizeGB $DiskSizeInGB -MaxSharesCount $ShareNodes $lrsDataDisk = New-AzDisk -ResourceGroupName $ResourceGroup -DiskName $DiskName -Disk $lrsDiskConfig # Attach LRS disk to cluster VMs foreach ($vmName in $vmNames) { $vm = Get-AzVM -ResourceGroupName $resourceGroup -Name $vmName Add-AzVMDataDisk -VM $vm -Name $diskName -CreateOption Attach -ManagedDiskId $lrsDataDisk.Id -Lun 0 Update-AzVM -VM $vm -ResourceGroupName $resourceGroup -Verbose }