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:
⚠️
windows_first
⚠️
powershell_heavy
⚠️
windows_tools
⚠️
missing_linux_example
Summary:
The documentation is heavily biased towards Windows environments. All examples, scripts, and procedures are specific to Windows Server Failover Clustering, Scale-Out File Server, and PowerShell. There are no Linux equivalents, nor is there any mention of Linux-based clustering or file sharing solutions. Windows tools and patterns are referenced exclusively, with no cross-platform guidance.
Recommendations:
- Provide equivalent instructions for Linux-based SAP high availability setups, such as using Pacemaker/Corosync clusters and NFS file shares.
- Include Linux shell script examples alongside PowerShell scripts for all relevant steps.
- Reference Linux-native tools (e.g., crm, pcs, systemd, NFS) where appropriate.
- Add a section or links to documentation for SAP NetWeaver high availability on Linux clusters in Azure.
- Clarify in the introduction that this guide is Windows-specific, and direct Linux users to appropriate resources.
Create pull request
Flagged Code Snippets
New-Volume -StoragePoolFriendlyName S2D* -FriendlyName SAPPR1 -FileSystem CSVFS_ReFS -Size 5GB -ResiliencySettingName Mirror
# Create SAPMNT on file share
$SAPSID = "PR1"
$DomainName = "SAPCLUSTER"
$SAPSIDGlobalAdminGroupName = "$DomainName\SAP_" + $SAPSID + "_GlobalAdmin"
# SAP ASCS/SCS cluster nodes
$ASCSClusterNode1 = "ascs-1"
$ASCSClusterNode2 = "ascs-2"
# Define SAP ASCS/SCS cluster node computer objects
$ASCSClusterObjectNode1 = "$DomainName\$ASCSClusterNode1$"
$ASCSClusterObjectNode2 = "$DomainName\$ASCSClusterNode2$"
# Create usr\sap\.. folders on CSV
$SAPGlobalFolder = "C:\ClusterStorage\SAP$SAPSID\usr\sap\$SAPSID\SYS"
New-Item -Path $SAPGlobalFOlder -ItemType Directory
$UsrSAPFolder = "C:\ClusterStorage\SAP$SAPSID\usr\sap\"
# Create a SAPMNT file share and set share security
New-SmbShare -Name sapmnt -Path $UsrSAPFolder -FullAccess "BUILTIN\Administrators", $ASCSClusterObjectNode1, $ASCSClusterObjectNode2 -ContinuouslyAvailable $true -CachingMode None -Verbose
# Get SAPMNT file share security settings
Get-SmbShareAccess sapmnt
# Set file and folder security
$Acl = Get-Acl $UsrSAPFolder
# Add a security object of the clusternode1$ computer object
$Ar = New-Object system.security.accesscontrol.filesystemaccessrule($ASCSClusterObjectNode1,"FullControl",'ContainerInherit,ObjectInherit', 'None', 'Allow')
$Acl.SetAccessRule($Ar)
# Add a security object of the clusternode2$ computer object
$Ar = New-Object system.security.accesscontrol.filesystemaccessrule($ASCSClusterObjectNode2,"FullControl",'ContainerInherit,ObjectInherit', 'None', 'Allow')
$Acl.SetAccessRule($Ar)
# Set security
Set-Acl $UsrSAPFolder $Acl -Verbose