diff --git a/sap/sap-hana-v2/adds-forest.ps1 b/sap/sap-hana-v2/adds-forest.ps1 deleted file mode 100644 index f0d57a2e7..000000000 --- a/sap/sap-hana-v2/adds-forest.ps1 +++ /dev/null @@ -1,130 +0,0 @@ -# $DomainName - FQDN for the Active Directory Domain to create -# $AdminCreds - a PSCredentials object that contains username and password -# that will be assigned to the Domain Administrator account -# $SafeModeAdminCreds - a PSCredentials object that contains the password that will -# be assigned to the Safe Mode Administrator account -# $RetryCount - defines how many retries should be performed while waiting -# for the domain to be provisioned -# $RetryIntervalSec - defines the seconds between each retry to check if the -# domain has been provisioned -Configuration CreateForest { - param - ( - [Parameter(Mandatory)] - [System.Management.Automation.PSCredential]$AdminCreds, - - [Parameter(Mandatory)] - [System.Management.Automation.PSCredential]$SafeModeAdminCreds, - - [Parameter(Mandatory)] - [string]$DomainName, - - [Parameter(Mandatory)] - [string]$DomainNetbiosName, - - [Int]$RetryCount=20, - [Int]$RetryIntervalSec=30 - ) - - Import-DscResource -ModuleName xStorage, xActiveDirectory, xNetworking, xPendingReboot - - [System.Management.Automation.PSCredential ]$DomainCreds = New-Object System.Management.Automation.PSCredential ("${DomainName}\$($AdminCreds.UserName)", $AdminCreds.Password) - [System.Management.Automation.PSCredential ]$SafeDomainCreds = New-Object System.Management.Automation.PSCredential ("${DomainName}\$($SafeModeAdminCreds.UserName)", $SafeModeAdminCreds.Password) - - $Interface = Get-NetAdapter|Where-Object Name -Like "Ethernet*"|Select-Object -First 1 - $InterfaceAlias = $($Interface.Name) - - Node localhost - { - LocalConfigurationManager - { - ActionAfterReboot = 'ContinueConfiguration' - ConfigurationMode = 'ApplyOnly' - RebootNodeIfNeeded = $true - } - - xWaitforDisk Disk2 - { - DiskId = 2 - RetryIntervalSec = 60 - RetryCount = 20 - } - - xDisk FVolume - { - DiskId = 2 - DriveLetter = 'F' - FSLabel = 'Data' - FSFormat = 'NTFS' - DependsOn = '[xWaitForDisk]Disk2' - } - - WindowsFeature DNS - { - Ensure = "Present" - Name = "DNS" - IncludeAllSubFeature = $true - } - - WindowsFeature RSAT - { - Ensure = "Present" - Name = "RSAT" - IncludeAllSubFeature = $true - } - - WindowsFeature ADDSInstall - { - Ensure = "Present" - Name = "AD-Domain-Services" - IncludeAllSubFeature = $true - } - - xDnsServerAddress DnsServerAddress - { - Address = '127.0.0.1' - InterfaceAlias = $InterfaceAlias - AddressFamily = 'IPv4' - DependsOn = "[WindowsFeature]DNS" - } - - xADDomain AddDomain - { - DomainName = $DomainName - DomainNetbiosName = $DomainNetbiosName - DomainAdministratorCredential = $DomainCreds - SafemodeAdministratorPassword = $SafeDomainCreds - DatabasePath = "F:\Adds\NTDS" - LogPath = "F:\Adds\NTDS" - SysvolPath = "F:\Adds\SYSVOL" - DependsOn = "[xWaitForDisk]Disk2","[WindowsFeature]ADDSInstall","[xDnsServerAddress]DnsServerAddress" - } - - xWaitForADDomain DomainWait - { - DomainName = $DomainName - DomainUserCredential = $DomainCreds - RetryCount = $RetryCount - RetryIntervalSec = $RetryIntervalSec - RebootRetryCount = 5 - DependsOn = "[xADDomain]AddDomain" - } - - xADDomainController PrimaryDC - { - DomainName = $DomainName - DomainAdministratorCredential = $DomainCreds - SafemodeAdministratorPassword = $SafeDomainCreds - DatabasePath = "F:\Adds\NTDS" - LogPath = "F:\Adds\NTDS" - SysvolPath = "F:\Adds\SYSVOL" - DependsOn = "[xWaitForADDomain]DomainWait" - } - - xPendingReboot Reboot1 - { - Name = "RebootServer" - DependsOn = "[xADDomainController]PrimaryDC" - } - } -} \ No newline at end of file diff --git a/sap/sap-hana-v2/adds.ps1 b/sap/sap-hana-v2/adds.ps1 deleted file mode 100644 index 05496fe97..000000000 --- a/sap/sap-hana-v2/adds.ps1 +++ /dev/null @@ -1,133 +0,0 @@ -# $DomainName - FQDN for the Active Directory Domain to create -# $AdminCreds - a PSCredentials object that contains username and password -# that will be assigned to the Domain Administrator account -# $SafeModeAdminCreds - a PSCredentials object that contains the password that will -# be assigned to the Safe Mode Administrator account -# $RetryCount - defines how many retries should be performed while waiting -# for the domain to be provisioned -# $RetryIntervalSec - defines the seconds between each retry to check if the -# domain has been provisioned -Configuration CreateDomainController { - param - #v1.4 - ( - [Parameter(Mandatory)] - [string]$DomainName, - - [Parameter(Mandatory)] - [System.Management.Automation.PSCredential]$AdminCreds, - - [Parameter(Mandatory)] - [System.Management.Automation.PSCredential]$SafeModeAdminCreds, - - [Parameter(Mandatory)] - [string]$PrimaryDcIpAddress, - - [Parameter(Mandatory)] - [string]$SiteName, - - [Int]$RetryCount=20, - [Int]$RetryIntervalSec=30 - ) - - Import-DscResource -ModuleName xStorage, xActiveDirectory, xNetworking, xPendingReboot - - [System.Management.Automation.PSCredential ]$DomainCreds = New-Object System.Management.Automation.PSCredential ("${DomainName}\$($AdminCreds.UserName)", $AdminCreds.Password) - [System.Management.Automation.PSCredential ]$SafeDomainCreds = New-Object System.Management.Automation.PSCredential ("${DomainName}\$($SafeModeAdminCreds.UserName)", $SafeModeAdminCreds.Password) - - $Interface = Get-NetAdapter|Where-Object Name -Like "Ethernet*"|Select-Object -First 1 - $InterfaceAlias = $($Interface.Name) - - Node localhost - { - LocalConfigurationManager - { - ActionAfterReboot = 'ContinueConfiguration' - ConfigurationMode = 'ApplyOnly' - RebootNodeIfNeeded = $true - } - - # Allow this machine to find the PDC and its DNS server - Script SetDnsServerAddressToFindPDC - { - GetScript = {return @{}} - TestScript = {return $false} # Always run the SetScript for this. - SetScript = { Set-DnsClientServerAddress -InterfaceAlias $using:InterfaceAlias -ServerAddresses $using:PrimaryDcIpAddress } - } - - xWaitforDisk Disk2 - { - DiskId = 2 - RetryIntervalSec = 60 - RetryCount = 60 - } - - xDisk FVolume - { - DiskId = 2 - DriveLetter = 'F' - FSLabel = 'Data' - FSFormat = 'NTFS' - DependsOn = '[xWaitForDisk]Disk2' - } - - WindowsFeature DNS - { - Ensure = "Present" - Name = "DNS" - IncludeAllSubFeature = $true - } - - WindowsFeature RSAT - { - Ensure = "Present" - Name = "RSAT" - IncludeAllSubFeature = $true - } - - WindowsFeature ADDSInstall - { - Ensure = "Present" - Name = "AD-Domain-Services" - IncludeAllSubFeature = $true - } - - xWaitForADDomain WaitForPrimaryDC - { - DomainName = $DomainName - DomainUserCredential = $DomainAdministratorCredentials - RetryCount = 30 - RetryIntervalSec = 30 - RebootRetryCount = 10 - DependsOn = @("[Script]SetDnsServerAddressToFindPDC") - } - - xADDomainController SecondaryDC - { - DomainName = $DomainName - DomainAdministratorCredential = $DomainCreds - SafemodeAdministratorPassword = $SafeDomainCreds - SiteName = $SiteName - DatabasePath = "F:\Adds\NTDS" - LogPath = "F:\Adds\NTDS" - SysvolPath = "F:\Adds\SYSVOL" - DependsOn = "[xWaitForADDomain]WaitForPrimaryDC","[xWaitForDisk]Disk2","[WindowsFeature]ADDSInstall" - } - - # Now make sure this computer uses itself as a DNS source - xDnsServerAddress DnsServerAddress - { - Address = @('127.0.0.1', $PrimaryDcIpAddress) - InterfaceAlias = $InterfaceAlias - AddressFamily = 'IPv4' - DependsOn = "[xADDomainController]SecondaryDC" - } - - xPendingReboot Reboot1 - { - Name = "RebootServer" - DependsOn = "[xDnsServerAddress]DnsServerAddress" - } - - } -} \ No newline at end of file diff --git a/sap/sap-hana-v2/adds.zip b/sap/sap-hana-v2/adds.zip deleted file mode 100644 index 000bacc34..000000000 Binary files a/sap/sap-hana-v2/adds.zip and /dev/null differ diff --git a/sap/sap-hana-v2/sap-hana-v2.json b/sap/sap-hana-v2/sap-hana-v2.json deleted file mode 100644 index 1552a6189..000000000 --- a/sap/sap-hana-v2/sap-hana-v2.json +++ /dev/null @@ -1,196 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/schemas/buildingBlocks.json", - "contentVersion": "1.0.0.0", - "parameters": { - "buildingBlocks": { - "value": [ - { - "type": "VirtualNetwork", - "settings": [ - { - "name": "ra-sap-hana-vnet", - "addressPrefixes": [ - "10.0.0.0/16" - ], - "subnets": [ - { - "name": "GatewaySubnet", - "addressPrefix": "10.0.255.224/27" - }, - { - "name": "SAPAppsSubnet", - "addressPrefix": "10.0.1.0/24" - }, - { - "name": "SAPDataSubnet", - "addressPrefix": "10.0.2.0/24" - }, - { - "name": "MgmtSubnet", - "addressPrefix": "10.0.3.0/24" - }, - { - "name": "ADSubnet", - "addressPrefix": "10.0.4.0/27" - } - ], - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ] - }, - { - "type": "VirtualMachine", - "settings":[ - { - "namePrefix": "ra-sap-jumpbox", - "computerNamePrefix": "jumpbox", - "size": "Standard_DS1_v2", - "adminUsername": "testuser", - "adminPassword": "", - "osType": "windows", - "nics": [ - { - "isPublic": true, - "isPrimary": true, - "subnetName": "MgmtSubnet", - "privateIPAllocationMethod": "Dynamic", - "publicIPAllocationMethod": "Static", - "enableIPForwarding": false, - "dnsServers": [ - "10.0.4.4", - "10.0.4.5", - "168.63.129.16" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter", - "version": "latest" - }, - "virtualNetwork": { - "name": "ra-sap-hana-vnet" - } - }, - { - "vmCount": 2, - "namePrefix": "ra-sap-ad", - "computerNamePrefix": "ad", - "size": "Standard_DS1_v2", - "osType": "windows", - "adminUsername": "testuser", - "adminPassword": "", - "nics": [ - { - "isPublic": true, - "isPrimary": true, - "subnetName": "ADSubnet", - "privateIPAllocationMethod": "Static", - "startingIPAddress": "10.0.4.4", - "enableIPForwarding": false, - "dnsServers": [ - "168.63.129.16" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter", - "version": "latest" - }, - "dataDisks": { - "count": 1 - }, - "virtualNetwork": { - "name": "ra-sap-hana-vnet" - } - } - ] - }, - { - "type": "VirtualMachineExtension", - "settings":[ - { - "vms": [ - "ra-sap-ad-vm1" - ], - "extensions": [ - { - "name": "addsc", - "publisher": "Microsoft.Powershell", - "type": "DSC", - "typeHandlerVersion": "2.1", - "autoUpgradeMinorVersion": true, - "settings": { - "ModulesUrl": "https://github.com/mspnp/reference-architectures/blob/master/sap/sap-hana-v2/adds.zip?raw=true", - "ConfigurationFunction":"adds-forest.ps1\\CreateForest", - "Properties": { - "DomainName": "contoso.com", - "DomainNetbiosName": "contoso", - "AdminCreds": { - "UserName": "testuser", - "Password": "PrivateSettingsRef:AdminPassword" - }, - "SafeModeAdminCreds": { - "UserName": "testsafeuser", - "Password": "PrivateSettingsRef:SafeModeAdminPassword" - } - } - }, - "protectedSettings": { - "Items": { - "AdminPassword": "", - "SafeModeAdminPassword": "Saf3M0de@PW" - } - } - } - ] - }, - { - "vms": [ - "ra-sap-ad-vm2" - ], - "extensions": [ - { - "name": "addsc", - "publisher": "Microsoft.Powershell", - "type": "DSC", - "typeHandlerVersion": "2.1", - "autoUpgradeMinorVersion": true, - "settings": { - "ModulesUrl": "https://github.com/mspnp/reference-architectures/blob/master/sap/sap-hana-v2/adds.zip?raw=true", - "ConfigurationFunction":"adds.ps1\\CreateDomainController", - "Properties": { - "DomainName": "contoso.com", - "SiteName": "Default-First-Site-Name", - "PrimaryDcIpAddress": "10.0.4.4", - "AdminCreds": { - "UserName": "testuser", - "Password": "PrivateSettingsRef:AdminPassword" - }, - "SafeModeAdminCreds": { - "UserName": "testsafeuser", - "Password": "PrivateSettingsRef:SafeModeAdminPassword" - } - } - }, - "protectedSettings": { - "Items": { - "AdminPassword": "", - "SafeModeAdminPassword": "Saf3M0de@PW" - } - } - } - ] - } - ] - } - ] - } - } -} \ No newline at end of file diff --git a/sap/sap-hana-v2/sap-hana-workload-v2.json b/sap/sap-hana-v2/sap-hana-workload-v2.json deleted file mode 100644 index 79c8b81e1..000000000 --- a/sap/sap-hana-v2/sap-hana-workload-v2.json +++ /dev/null @@ -1,490 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/mspnp/template-building-blocks/master/schemas/buildingBlocks.json", - "contentVersion": "1.0.0.0", - "parameters": { - "buildingBlocks": { - "value": [ - { - "type": "VirtualMachine", - "settings":[ - { - "vmCount": 2, - "namePrefix": "sap-wdp", - "computerNamePrefix": "sap-wdp", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "", - "osType": "windows", - "virtualNetwork": { - "name": "ra-sap-hana-vnet" - }, - "nics": [ - { - "isPublic": true, - "isPrimary": true, - "subnetName": "SAPAppsSubnet", - "privateIPAllocationMethod": "Static", - "startingIPAddress": "10.0.1.25", - "enableIPForwarding": false, - "backendPoolNames": [ - "backend-pool" - ], - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter", - "version": "latest" - }, - "loadBalancerSettings": { - "frontendIPConfigurations": [ - { - "name": "sap-wdp-lb-fe-config", - "loadBalancerType": "Internal", - "internalLoadBalancerSettings": { - "privateIPAddress": "10.0.1.250", - "subnetName": "SAPAppsSubnet" - } - } - ], - "loadBalancingRules": [ - { - "name": "wdpRule", - "frontendPort": 44300, - "backendPort": 44300, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-wdp-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - } - ], - "probes": [ - { - "name": "healthProbe", - "port": 44300, - "protocol": "Tcp", - "requestPath": null - } - ], - "backendPools": [ - { - "name": "backend-pool", - "nicIndex": 0 - } - ] - }, - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settings": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettings": { - "Password": "" - } - } - ] - } - ] - }, - { - "type": "VirtualMachine", - "settings":[ - { - "vmCount": 3, - "namePrefix": "sap-app", - "computerNamePrefix": "sap-app", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "", - "osType": "windows", - "virtualNetwork": { - "name": "ra-sap-hana-vnet" - }, - "nics": [ - { - "isPublic": true, - "isPrimary": true, - "subnetName": "SAPAppsSubnet", - "privateIPAllocationMethod": "Static", - "startingIPAddress": "10.0.1.30", - "enableIPForwarding": false, - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter", - "version": "latest" - }, - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settings": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettings": { - "Password": "" - } - } - ] - } - ] - }, - { - "type": "VirtualMachine", - "settings":[ - { - "vmCount": 2, - "namePrefix": "sap-scs", - "computerNamePrefix": "sap-scs", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "", - "osType": "windows", - "virtualNetwork": { - "name": "ra-sap-hana-vnet" - }, - "nics": [ - { - "isPublic": true, - "isPrimary": true, - "subnetName": "SAPAppsSubnet", - "privateIPAllocationMethod": "Static", - "startingIPAddress": "10.0.1.5", - "enableIPForwarding": false, - "backendPoolNames": [ - "backend-pool" - ], - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter", - "version": "latest" - }, - "dataDisks": { - "count": 1, - "diskSizeGB": 1423 - }, - "loadBalancerSettings": { - "frontendIPConfigurations": [ - { - "name": "sap-scs-lb-fe-config", - "loadBalancerType": "Internal", - "internalLoadBalancerSettings": { - "privateIPAddress": "10.0.1.249", - "subnetName": "SAPAppsSubnet" - } - } - ], - "loadBalancingRules": [ - { - "name": "abapMsgServer", - "frontendPort": 3600, - "backendPort": 3600, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "enqueuRepl", - "frontendPort": 50016, - "backendPort": 50016, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "enqueueServer", - "frontendPort": 3200, - "backendPort": 3200, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "fileShare", - "frontendPort": 445, - "backendPort": 445, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "internalAbapMsg", - "frontendPort": 3900, - "backendPort": 3900, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpMsgServer", - "frontendPort": 8100, - "backendPort": 8100, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpSapStartAscs", - "frontendPort": 50013, - "backendPort": 50013, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpsSaptartAscs", - "frontendPort": 50014, - "backendPort": 50014, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpSapStarter", - "frontendPort": 51013, - "backendPort": 51013, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpsSapStarter", - "frontendPort": 51014, - "backendPort": 51014, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "winRm", - "frontendPort": 5985, - "backendPort": 5985, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - } - ], - "probes": [ - { - "name": "healthProbe", - "port": 59999, - "protocol": "Tcp", - "requestPath": null - } - ], - "backendPools": [ - { - "name": "backend-pool", - "nicIndex": 0 - } - ] - }, - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settings": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettings": { - "Password": "" - } - }, - { - "name": "PrepareWSFC", - "publisher": "Microsoft.Powershell", - "type": "DSC", - "typeHandlerVersion": "2.16", - "autoUpgradeMinorVersion": false, - "settings": { - "modulesURL": "https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/extensions/PrepareWSFC.ps1.zip", - "configurationFunction": "PrepareWSFC.ps1\\PrepareWSFC", - "properties": {} - }, - "protectedSettings": { - "items": { - "adminPassword": "" - } - } - } - ] - } - ] - }, - { - "type": "VirtualMachine", - "settings":[ - { - "namePrefix": "sap-wit", - "computerNamePrefix": "sap-wit", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "", - "osType": "windows", - "virtualNetwork": { - "name": "ra-sap-hana-vnet" - }, - "nics": [ - { - "isPublic": true, - "isPrimary": true, - "subnetName": "SAPAppsSubnet", - "privateIPAllocationMethod": "Static", - "startingIPAddress": "10.0.1.10", - "publicIPAllocationMethod": "Static", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2016-Datacenter", - "version": "latest" - }, - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settings": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettings": { - "Password": "" - } - } - ] - }, - { - "namePrefix": "sap-han", - "computerNamePrefix": "sap-han", - "size": "Standard_DS2", - "adminUsername": "testuser", - "adminPassword": "", - "osType": "linux", - "osAuthenticationType": "password", - "virtualNetwork": { - "name": "ra-sap-hana-vnet" - }, - "nics": [ - { - "isPublic": true, - "isPrimary": true, - "subnetName": "SAPDataSubnet", - "privateIPAllocationMethod": "Static", - "startingIPAddress": "10.0.2.15", - "publicIPAllocationMethod": "Static", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - }, - { - "isPublic": true, - "isPrimary": false, - "subnetName": "MgmtSubnet", - "privateIPAllocationMethod": "Static", - "startingIPAddress": "10.0.3.15", - "publicIPAllocationMethod": "Static", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "SUSE", - "offer": "SLES-Priority", - "sku": "12-SP2", - "version": "latest" - }, - "dataDisks": { - "count": 2, - "diskSizeGB": 1023 - } - } - ] - } - ] - } - } -} \ No newline at end of file diff --git a/sap/sap-hana/Deploy-ReferenceArchitecture.ps1 b/sap/sap-hana/Deploy-ReferenceArchitecture.ps1 deleted file mode 100644 index d7b3fa327..000000000 --- a/sap/sap-hana/Deploy-ReferenceArchitecture.ps1 +++ /dev/null @@ -1,121 +0,0 @@ -# -# Deploy_ReferenceArchitecture.ps1 -# -param( - [Parameter(Mandatory = $true)] - $SubscriptionId, - [Parameter(Mandatory = $true)] - $Location, - [Parameter(Mandatory = $true)] - [ValidateSet("All","Infrastructure", "Workload")] - $Mode -) - -$ErrorActionPreference = "Stop" - -$templateRootUriString = $env:TEMPLATE_ROOT_URI -if ($templateRootUriString -eq $null) { - $templateRootUriString = "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/" -} - -if (![System.Uri]::IsWellFormedUriString($templateRootUriString, [System.UriKind]::Absolute)) { - throw "Invalid value for TEMPLATE_ROOT_URI: $env:TEMPLATE_ROOT_URI" -} - -Write-Host -Write-Host "Using $templateRootUriString to locate templates" -Write-Host - -# Deployer templates for respective resources -$templateRootUri = New-Object System.Uri -ArgumentList @($templateRootUriString) - -$virtualNetworkTemplateUri = New-Object System.Uri -ArgumentList @($templateRootUri, "templates/buildingBlocks/vnet-n-subnet/azuredeploy.json") -$virtualNetworkGatewayTemplateUri = New-Object System.Uri -ArgumentList @($templateRootUri, "templates/buildingBlocks/vpn-gateway-vpn-connection/azuredeploy.json") -$virtualMachineTemplate = New-Object System.Uri -ArgumentList @($templateRootUri, 'templates/buildingBlocks/multi-vm-n-nic-m-storage/azuredeploy.json') -$loadBalancedVmSetTemplate = New-Object System.Uri -ArgumentList @($templateRootUri, 'templates/buildingBlocks/loadBalancer-backend-n-vm/azuredeploy.json') -$virtualMachineExtensionsTemplate = New-Object System.Uri -ArgumentList @($templateRootUri, "templates/buildingBlocks/virtualMachine-extensions/azuredeploy.json") - -# Template parameters for respective deployments -$virtualNetworkParametersPath = [System.IO.Path]::Combine($PSScriptRoot, 'parameters', 'virtualNetwork.parameters.json') -$virtualNetworkGatewayParametersPath = [System.IO.Path]::Combine($PSScriptRoot, 'parameters', 'virtualNetworkGateway.parameters.json') -$jumpboxParametersFile = [System.IO.Path]::Combine($PSScriptRoot, 'parameters', 'jumpbox.parameters.json') -$wdpParametersFile = [System.IO.Path]::Combine($PSScriptRoot, 'parameters', 'sapWdp.parameters.json') -$appsParametersFile = [System.IO.Path]::Combine($PSScriptRoot, 'parameters', 'sapApps.parameters.json') -$scsParametersFile = [System.IO.Path]::Combine($PSScriptRoot, 'parameters', 'sapScs.parameters.json') -$hanaParametersFile = [System.IO.Path]::Combine($PSScriptRoot, 'parameters', 'sapHana.parameters.json') -$fsWitnessParametersFile = [System.IO.Path]::Combine($PSScriptRoot, 'parameters', 'sapFsWitness.parameters.json') - -# Azure ADDS Parameter Files -$domainControllersParametersFile = [System.IO.Path]::Combine($PSScriptRoot, "parameters\adds\ad.parameters.json") -$virtualNetworkDNSParametersFile = [System.IO.Path]::Combine($PSScriptRoot, "parameters\adds\virtualNetwork-adds-dns.parameters.json") -$addAddsDomainControllerExtensionParametersFile = [System.IO.Path]::Combine($PSScriptRoot, "parameters\adds\add-adds-domain-controller.parameters.json") -$createAddsDomainControllerForestExtensionParametersFile = [System.IO.Path]::Combine($PSScriptRoot, "parameters\adds\create-adds-forest-extension.parameters.json") - -$infrastructureResourceGroupName = "sap-hana-infrastructure" -$workloadResourceGroupName = "sap-hana-workload" - -$adVM1Name = "RA-SAP-AD-VM1" -$adVM2Name = "RA-SAP-AD-VM2" - -# Login to Azure and select the subscription -Login-AzureRmAccount -SubscriptionId $SubscriptionId | Out-Null - -if ($Mode -eq "Infrastructure" -or $Mode -eq "All") { - Write-Host "Creating infrastructure resource group..." - $infrastructureResourceGroup = New-AzureRmResourceGroup -Name $infrastructureResourceGroupName -Location $Location - - Write-Host "Deploying virtual network..." - New-AzureRmResourceGroupDeployment -Name "vnet-deployment" -ResourceGroupName $infrastructureResourceGroup.ResourceGroupName ` - -TemplateUri $virtualNetworkTemplateUri.AbsoluteUri -TemplateParameterFile $virtualNetworkParametersPath - - Write-Host "Deploying jumpbox server..." - New-AzureRmResourceGroupDeployment -Name "jumpbox-deployment" -ResourceGroupName $infrastructureResourceGroup.ResourceGroupName ` - -TemplateUri $virtualMachineTemplate.AbsoluteUri -TemplateParameterFile $jumpboxParametersFile - - Write-Host "Deploying ADDS servers..." - New-AzureRmResourceGroupDeployment -Name "ad-deployment" -ResourceGroupName $infrastructureResourceGroup.ResourceGroupName ` - -TemplateUri $virtualMachineTemplate.AbsoluteUri -TemplateParameterFile $domainControllersParametersFile - - Write-Host "Updating virtual network DNS servers..." - New-AzureRmResourceGroupDeployment -Name "update-dns" -ResourceGroupName $infrastructureResourceGroup.ResourceGroupName ` - -TemplateUri $virtualNetworkTemplateUri.AbsoluteUri -TemplateParameterFile $virtualNetworkDNSParametersFile - - Write-Host "Creating ADDS forest..." - New-AzureRmResourceGroupDeployment -Name "primary-ad-ext" -ResourceGroupName $infrastructureResourceGroup.ResourceGroupName ` - -TemplateUri $virtualMachineExtensionsTemplate.AbsoluteUri -TemplateParameterFile $createAddsDomainControllerForestExtensionParametersFile - - Write-Host "Restarting primary and secondary Active Directory servers..." - Restart-AzureRmVM -ResourceGroupName $infrastructureResourceGroup.ResourceGroupName -Name $adVM1Name - Restart-AzureRmVM -ResourceGroupName $infrastructureResourceGroup.ResourceGroupName -Name $adVM2Name - - Write-Host "Creating ADDS domain controller..." - New-AzureRmResourceGroupDeployment -Name "secondary-ad-ext" -ResourceGroupName $infrastructureResourceGroup.ResourceGroupName ` - -TemplateUri $virtualMachineExtensionsTemplate.AbsoluteUri -TemplateParameterFile $addAddsDomainControllerExtensionParametersFile -} - -if ($Mode -eq "Workload" -or $Mode -eq "All") { - Write-Host "Creating workload resource group..." - $workloadResourceGroup = New-AzureRmResourceGroup -Name $workloadResourceGroupName -Location $Location - - Write-Host "Deploying SAP Web Dispatcher cluster..." - New-AzureRmResourceGroupDeployment -Name "sap-wdp-deployment" -ResourceGroupName $workloadResourceGroup.ResourceGroupName ` - -TemplateUri $loadBalancedVmSetTemplate.AbsoluteUri -TemplateParameterFile $wdpParametersFile - - Write-Host "Deploying SAP Application cluster..." - New-AzureRmResourceGroupDeployment -Name "sap-app-server-deployment" -ResourceGroupName $workloadResourceGroup.ResourceGroupName ` - -TemplateUri $virtualMachineTemplate.AbsoluteUri -TemplateParameterFile $appsParametersFile - - Write-Host "Deploying SAP Central Service cluster..." - New-AzureRmResourceGroupDeployment -Name "sap-scs-deployment" -ResourceGroupName $workloadResourceGroup.ResourceGroupName ` - -TemplateUri $loadBalancedVmSetTemplate.AbsoluteUri -TemplateParameterFile $scsParametersFile - - Write-Host "Deploying SAP Central Service cluster file share witness..." - New-AzureRmResourceGroupDeployment -Name "sap-fs-witness-deployment" -ResourceGroupName $workloadResourceGroup.ResourceGroupName ` - -TemplateUri $virtualMachineTemplate.AbsoluteUri -TemplateParameterFile $fsWitnessParametersFile - - Write-Host "Deploying SAP HANA Server..." - New-AzureRmResourceGroupDeployment -Name "sap-hana-deployment" -ResourceGroupName $workloadResourceGroup.ResourceGroupName ` - -TemplateUri $virtualMachineTemplate.AbsoluteUri -TemplateParameterFile $hanaParametersFile -} - - diff --git a/sap/sap-hana/extensions/CreateADBDC.ps1.zip b/sap/sap-hana/extensions/CreateADBDC.ps1.zip deleted file mode 100644 index 4e72570b9..000000000 Binary files a/sap/sap-hana/extensions/CreateADBDC.ps1.zip and /dev/null differ diff --git a/sap/sap-hana/extensions/CreateADPDC.ps1.zip b/sap/sap-hana/extensions/CreateADPDC.ps1.zip deleted file mode 100644 index a1fc8f2cd..000000000 Binary files a/sap/sap-hana/extensions/CreateADPDC.ps1.zip and /dev/null differ diff --git a/sap/sap-hana/extensions/PrepareWSFC.ps1.zip b/sap/sap-hana/extensions/PrepareWSFC.ps1.zip deleted file mode 100644 index 424d975cd..000000000 Binary files a/sap/sap-hana/extensions/PrepareWSFC.ps1.zip and /dev/null differ diff --git a/sap/sap-hana/extensions/adds-forest.ps1 b/sap/sap-hana/extensions/adds-forest.ps1 deleted file mode 100644 index 610691940..000000000 --- a/sap/sap-hana/extensions/adds-forest.ps1 +++ /dev/null @@ -1,32 +0,0 @@ -[CmdletBinding()] -Param( - [string]$SafeModePassword = "SafeModeP@ssw0rd", - [string]$DomainName = "contoso.com", - [string]$DomainNetbiosName = "CONTOSO" -) - -$ErrorActionPreference = "Stop" - -Initialize-Disk -Number 2 -PartitionStyle GPT -New-Partition -UseMaximumSize -DriveLetter F -DiskNumber 2 -Format-Volume -DriveLetter F -Confirm:$false -FileSystem NTFS -force  - -Install-windowsfeature -name AD-Domain-Services -IncludeAllSubFeature -IncludeManagementTools - -Import-Module ADDSDeployment - -$secSafeModePassword = ConvertTo-SecureString $SafeModePassword -AsPlainText -Force - -Install-ADDSForest ` --SafeModeAdministratorPassword $secSafeModePassword ` --CreateDnsDelegation:$false ` --DatabasePath "F:\Windows\NTDS" ` --DomainMode "Win2012R2" ` --DomainName $DomainName ` --DomainNetbiosName $DomainNetbiosName ` --ForestMode "Win2012R2" ` --InstallDns:$true ` --LogPath "F:\Windows\NTDS" ` --NoRebootOnCompletion:$false ` --SysvolPath "F:\Windows\SYSVOL" ` --Force:$true diff --git a/sap/sap-hana/extensions/adds.ps1 b/sap/sap-hana/extensions/adds.ps1 deleted file mode 100644 index 6612302b3..000000000 --- a/sap/sap-hana/extensions/adds.ps1 +++ /dev/null @@ -1,45 +0,0 @@ -[CmdletBinding()] -Param( - [Parameter(Mandatory=$True)] - [string]$AdminUser, - - [Parameter(Mandatory=$True)] - [string]$AdminPassword, - - [Parameter(Mandatory=$True)] - [string]$SafeModePassword, - - [Parameter(Mandatory=$True)] - [string]$DomainName, - - [Parameter(Mandatory=$True)] - [string]$SiteName - -) - -Initialize-Disk -Number 2 -PartitionStyle GPT -New-Partition -UseMaximumSize -DriveLetter F -DiskNumber 2 -Format-Volume -DriveLetter F -Confirm:$false -FileSystem NTFS -force  - -$secSafeModePassword = ConvertTo-SecureString $SafeModePassword -AsPlainText -Force -$secAdminPassword = ConvertTo-SecureString $AdminPassword -AsPlainText -Force -$credential = New-Object System.Management.Automation.PSCredential ("$DomainName\$AdminUser", $secAdminPassword) - -Install-windowsfeature -name AD-Domain-Services -IncludeAllSubFeature -IncludeManagementTools - -Import-Module ADDSDeployment - -Install-ADDSDomainController ` --Credential $credential ` --SafeModeAdministratorPassword $secSafeModePassword ` --DomainName $DomainName ` --SiteName $SiteName ` --SysvolPath "F:\Adds\SYSVOL" ` --DatabasePath "F:\Adds\NTDS" ` --LogPath "F:\Adds\NTDS" ` --NoGlobalCatalog:$false ` --CreateDnsDelegation:$false ` --CriticalReplicationOnly:$false ` --InstallDns:$true ` --NoRebootOnCompletion:$false ` --Force:$true \ No newline at end of file diff --git a/sap/sap-hana/parameters/adds/ad.parameters.json b/sap/sap-hana/parameters/adds/ad.parameters.json deleted file mode 100644 index 511a4e4e6..000000000 --- a/sap/sap-hana/parameters/adds/ad.parameters.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualMachinesSettings": { - "value": { - "namePrefix": "ra-sap-ad", - "computerNamePrefix": "ad", - "size": "Standard_DS1_v2", - "osType": "windows", - "adminUsername": "testuser", - "adminPassword": "AweS0me@PW", - "sshPublicKey": "", - "osAuthenticationType": "password", - "nics": [ - { - "isPublic": "false", - "isPrimary": "true", - "subnetName": "ADSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.4.4", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2012-R2-Datacenter", - "version": "latest" - }, - "dataDisks": { - "count": 1, - "properties": { - "diskSizeGB": 128, - "caching": "None", - "createOption": "Empty" - } - }, - "osDisk": { - "caching": "ReadWrite" - }, - "extensions": [ - ], - "availabilitySet": { - "useExistingAvailabilitySet": "No", - "name": "ra-sap-ad-as" - } - } - }, - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - } - }, - "buildingBlockSettings": { - "value": { - "storageAccountsCount": 2, - "vmCount": 2, - "vmStartIndex": 1 - } - } - } -} - diff --git a/sap/sap-hana/parameters/adds/add-adds-domain-controller.parameters.json b/sap/sap-hana/parameters/adds/add-adds-domain-controller.parameters.json deleted file mode 100644 index 1f0c1c939..000000000 --- a/sap/sap-hana/parameters/adds/add-adds-domain-controller.parameters.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualMachinesExtensionSettings": { - "value": [ - { - "vms": [ "ra-sap-ad-vm2" ], - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "settingsConfig": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettingsConfig": { - "Password": "AweS0me@PW" - } - }, - { - "name": "install-adds", - "publisher": "Microsoft.Compute", - "type": "CustomScriptExtension", - "typeHandlerVersion": "1.8", - "autoUpgradeMinorVersion": false, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/templates/adds/adds-domain-controller-extension-settings-mapper.json", - "settingsConfig": { - "activeDirectorySettings": { - "domainName": "contoso.com", - "adminUser": "testuser", - "adminPassword": "AweS0me@PW", - "siteName": "Default-First-Site-Name", - "safeModePassword": "Saf3M0de@PW" - }, - "fileUris": [ - "https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/extensions/adds.ps1" - ] - }, - "protectedSettingsConfig": { - } - } - ] - } - ] - } - } -} - diff --git a/sap/sap-hana/parameters/adds/create-adds-forest-extension.parameters.json b/sap/sap-hana/parameters/adds/create-adds-forest-extension.parameters.json deleted file mode 100644 index 0e3348af0..000000000 --- a/sap/sap-hana/parameters/adds/create-adds-forest-extension.parameters.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualMachinesExtensionSettings": { - "value": [ - { - "vms": [ "ra-sap-ad-vm1" ], - "extensions": [ - { - "name": "install-adds-forest", - "publisher": "Microsoft.Compute", - "type": "CustomScriptExtension", - "typeHandlerVersion": "1.8", - "autoUpgradeMinorVersion": false, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/templates/adds/ad-forest-extension-settings-mapper.json", - "settingsConfig": { - "activeDirectorySettings": { - "domainName": "contoso.com", - "domainNetbiosName": "contoso", - "safeModePassword": "Saf3M0de@PW" - }, - "fileUris": [ - "https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/extensions/adds-forest.ps1" - ] - }, - "protectedSettingsConfig": { - } - } - ] - } - ] - } - } -} - diff --git a/sap/sap-hana/parameters/adds/virtualNetwork-adds-dns.parameters.json b/sap/sap-hana/parameters/adds/virtualNetwork-adds-dns.parameters.json deleted file mode 100644 index f15817bc2..000000000 --- a/sap/sap-hana/parameters/adds/virtualNetwork-adds-dns.parameters.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "addressPrefixes": [ - "10.0.0.0/16" - ], - "subnets": [ - { - "name": "GatewaySubnet", - "addressPrefix": "10.0.255.224/27" - }, - { - "name": "SAPAppsSubnet", - "addressPrefix": "10.0.1.0/24" - }, - { - "name": "SAPDataSubnet", - "addressPrefix": "10.0.2.0/24" - }, - { - "name": "MgmtSubnet", - "addressPrefix": "10.0.3.0/24" - }, - { - "name": "ADSubnet", - "addressPrefix": "10.0.4.0/27" - } - ], - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - } - } -} - diff --git a/sap/sap-hana/parameters/jumpbox.parameters.json b/sap/sap-hana/parameters/jumpbox.parameters.json deleted file mode 100644 index 07a01193a..000000000 --- a/sap/sap-hana/parameters/jumpbox.parameters.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualMachinesSettings": { - "value": { - "namePrefix": "ra-sap-jumpbox", - "computerNamePrefix": "jumpbox", - "size": "Standard_DS1_v2", - "adminUsername": "testuser", - "adminPassword": "AweS0me@PW", - "osType": "windows", - "osAuthenticationType": "password", - "sshPublicKey": "", - "nics": [ - { - "isPublic": "true", - "isPrimary": "true", - "subnetName": "MgmtSubnet", - "privateIPAllocationMethod": "dynamic", - "publicIPAllocationMethod": "static", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2012-R2-Datacenter", - "version": "latest" - }, - "dataDisks": { - "count": 0, - "properties": { - "diskSizeGB": 128, - "caching": "None", - "createOption": "Empty" - } - }, - "osDisk": { - "caching": "ReadWrite" - }, - "extensions": [ ], - "availabilitySet": { - "useExistingAvailabilitySet": "No", - "name": "" - } - } - }, - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - } - }, - "buildingBlockSettings": { - "value": { - "storageAccountsCount": 1, - "vmCount": 1, - "vmStartIndex": 1 - } - } - } -} - diff --git a/sap/sap-hana/parameters/sapApps.parameters.json b/sap/sap-hana/parameters/sapApps.parameters.json deleted file mode 100644 index 0d2d51e70..000000000 --- a/sap/sap-hana/parameters/sapApps.parameters.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualMachinesSettings": { - "value": { - "namePrefix": "sap-apps", - "computerNamePrefix": "sap-apps", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "AweS0me@PW", - "osType": "windows", - "osAuthenticationType": "password", - "sshPublicKey": "", - "nics": [ - { - "isPublic": "false", - "isPrimary": "true", - "subnetName": "SAPAppsSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.1.30", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - }, - { - "isPublic": "false", - "isPrimary": "false", - "subnetName": "MgmtSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.3.30", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2012-R2-Datacenter", - "version": "latest" - }, - "dataDisks": { - "count": 0, - "properties": { - "diskSizeGB": 128, - "caching": "None", - "createOption": "Empty" - } - }, - "osDisk": { - "caching": "ReadWrite" - }, - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "settingsConfig": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettingsConfig": { - "Password": "AweS0me@PW" - } - } - ], - "availabilitySet": { - "useExistingAvailabilitySet": "No", - "name": "sap-apps-as" - } - } - }, - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - } - }, - "buildingBlockSettings": { - "value": { - "storageAccountsCount": 1, - "vmCount": 3, - "vmStartIndex": 1 - } - } - } -} \ No newline at end of file diff --git a/sap/sap-hana/parameters/sapFsWitness.parameters.json b/sap/sap-hana/parameters/sapFsWitness.parameters.json deleted file mode 100644 index e6a0e5191..000000000 --- a/sap/sap-hana/parameters/sapFsWitness.parameters.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualMachinesSettings": { - "value": { - "namePrefix": "sap-fs-witness", - "computerNamePrefix": "sap-fs-witness", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "AweS0me@PW", - "osType": "windows", - "osAuthenticationType": "password", - "sshPublicKey": "", - "nics": [ - { - "isPublic": "false", - "isPrimary": "true", - "subnetName": "SAPAppsSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.1.10", - "publicIPAllocationMethod": "static", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - }, - { - "isPublic": "false", - "isPrimary": "false", - "subnetName": "MgmtSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.3.10", - "publicIPAllocationMethod": "static", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2012-R2-Datacenter", - "version": "latest" - }, - "dataDisks": { - "count": 0, - "properties": { - "diskSizeGB": 128, - "caching": "None", - "createOption": "Empty" - } - }, - "osDisk": { - "caching": "ReadWrite" - }, - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "settingsConfig": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettingsConfig": { - "Password": "AweS0me@PW" - } - } - ], - "availabilitySet": { - "useExistingAvailabilitySet": "Yes", - "name": "sap-centralsvc-as" - } - } - }, - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - } - }, - "buildingBlockSettings": { - "value": { - "storageAccountsCount": 1, - "vmCount": 1, - "vmStartIndex": 1 - } - } - } -} \ No newline at end of file diff --git a/sap/sap-hana/parameters/sapHana.parameters.json b/sap/sap-hana/parameters/sapHana.parameters.json deleted file mode 100644 index d21f88d2e..000000000 --- a/sap/sap-hana/parameters/sapHana.parameters.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualMachinesSettings": { - "value": { - "namePrefix": "sap-hana", - "computerNamePrefix": "sap-hana", - "size": "Standard_GS5", - "adminUsername": "testuser", - "adminPassword": "AweS0me@PW", - "osType": "linux", - "osAuthenticationType": "password", - "sshPublicKey": "", - "nics": [ - { - "isPublic": "false", - "isPrimary": "true", - "subnetName": "SAPDataSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.2.15", - "publicIPAllocationMethod": "static", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - }, - { - "isPublic": "false", - "isPrimary": "false", - "subnetName": "MgmtSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.3.15", - "publicIPAllocationMethod": "static", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "SUSE", - "offer": "SLES-Priority", - "sku": "12-SP2", - "version": "latest" - }, - "dataDisks": { - "count": 2, - "properties": { - "diskSizeGB": 1023, - "caching": "None", - "createOption": "Empty" - } - }, - "osDisk": { - "caching": "ReadWrite" - }, - "extensions": [], - "availabilitySet": { - "useExistingAvailabilitySet": "No", - "name": "" - } - } - }, - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - } - }, - "buildingBlockSettings": { - "value": { - "storageAccountsCount": 1, - "vmCount": 1, - "vmStartIndex": 1 - } - } - } -} \ No newline at end of file diff --git a/sap/sap-hana/parameters/sapScs.parameters.json b/sap/sap-hana/parameters/sapScs.parameters.json deleted file mode 100644 index 8955e128d..000000000 --- a/sap/sap-hana/parameters/sapScs.parameters.json +++ /dev/null @@ -1,261 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "loadBalancerSettings": { - "value": { - "name": "sap-scs-lb", - "frontendIPConfigurations": [ - { - "name": "sap-scs-lb-fe-config", - "loadBalancerType": "internal", - "domainNameLabel": "", - "internalLoadBalancerSettings": { - "privateIPAddress": "10.0.1.249", - "subnetName": "SAPAppsSubnet" - } - } - ], - "loadBalancingRules": [ - { - "name": "abapMsgServer", - "frontendPort": 3600, - "backendPort": 3600, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "enqueuRepl", - "frontendPort": 50016, - "backendPort": 50016, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "enqueueServer", - "frontendPort": 3200, - "backendPort": 3200, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "fileShare", - "frontendPort": 445, - "backendPort": 445, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "internalAbapMsg", - "frontendPort": 3900, - "backendPort": 3900, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpMsgServer", - "frontendPort": 8100, - "backendPort": 8100, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpSapStartAscs", - "frontendPort": 50013, - "backendPort": 50013, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpsSaptartAscs", - "frontendPort": 50014, - "backendPort": 50014, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpSapStarter", - "frontendPort": 51013, - "backendPort": 51013, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "httpsSapStarter", - "frontendPort": 51014, - "backendPort": 51014, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - }, - { - "name": "winRm", - "frontendPort": 5985, - "backendPort": 5985, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-scs-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - } - ], - "probes": [ - { - "name": "healthProbe", - "port": 59999, - "protocol": "Tcp", - "requestPath": null - } - ], - "backendPools": [ - { - "name": "backend-pool", - "nicIndex": 0 - } - ], - "inboundNatRules": [] - } - }, - "virtualMachinesSettings": { - "value": { - "namePrefix": "sap-scs", - "computerNamePrefix": "sap-scs", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "AweS0me@PW", - "osType": "windows", - "osAuthenticationType": "password", - "sshPublicKey": "", - "nics": [ - { - "isPublic": "false", - "isPrimary": "true", - "subnetName": "SAPAppsSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.1.5", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - }, - { - "isPublic": "false", - "isPrimary": "false", - "subnetName": "MgmtSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.3.5", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2012-R2-Datacenter", - "version": "latest" - }, - "dataDisks": { - "count": 1, - "properties": { - "diskSizeGB": 1023, - "caching": "None", - "createOption": "Empty" - } - }, - "osDisk": { - "caching": "ReadWrite" - }, - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "settingsConfig": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettingsConfig": { - "Password": "AweS0me@PW" - } - }, - { - "name": "PrepareWSFC", - "publisher": "Microsoft.Powershell", - "type": "DSC", - "typeHandlerVersion": "2.16", - "autoUpgradeMinorVersion": false, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "settingsConfig": { - "modulesURL": "https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/extensions/PrepareWSFC.ps1.zip", - "configurationFunction": "PrepareWSFC.ps1\\PrepareWSFC", - "properties": {} - }, - "protectedSettingsConfig": { - "items": { - "adminPassword": "AweS0me@PW" - } - } - } - ], - "availabilitySet": { - "useExistingAvailabilitySet": "No", - "name": "sap-centralsvc-as" - } - } - }, - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - } - }, - "buildingBlockSettings": { - "value": { - "storageAccountsCount": 1, - "vmCount": 2, - "vmStartIndex": 1 - } - } - } -} \ No newline at end of file diff --git a/sap/sap-hana/parameters/sapWdp.parameters.json b/sap/sap-hana/parameters/sapWdp.parameters.json deleted file mode 100644 index 4ee1ea966..000000000 --- a/sap/sap-hana/parameters/sapWdp.parameters.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "loadBalancerSettings": { - "value": { - "name": "sap-wdp-lb", - "frontendIPConfigurations": [ - { - "name": "sap-wdp-lb-fe-config", - "loadBalancerType": "internal", - "domainNameLabel": "", - "internalLoadBalancerSettings": { - "privateIPAddress": "10.0.1.250", - "subnetName": "SAPAppsSubnet" - } - } - ], - "loadBalancingRules": [ - { - "name": "wdpRule", - "frontendPort": 44300, - "backendPort": 44300, - "protocol": "Tcp", - "backendPoolName": "backend-pool", - "frontendIPConfigurationName": "sap-wdp-lb-fe-config", - "probeName": "healthProbe", - "enableFloatingIP": false - } - ], - "probes": [ - { - "name": "healthProbe", - "port": 44300, - "protocol": "Tcp", - "requestPath": null - } - ], - "backendPools": [ - { - "name": "backend-pool", - "nicIndex": 0 - } - ], - "inboundNatRules": [] - } - }, - "virtualMachinesSettings": { - "value": { - "namePrefix": "sap-wdp", - "computerNamePrefix": "sap-wdp", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "AweS0me@PW", - "osType": "windows", - "osAuthenticationType": "password", - "sshPublicKey": "", - "nics": [ - { - "isPublic": "false", - "isPrimary": "true", - "subnetName": "SAPAppsSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.1.25", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - }, - { - "isPublic": "false", - "isPrimary": "false", - "subnetName": "MgmtSubnet", - "privateIPAllocationMethod": "static", - "startingIPAddress": "10.0.3.25", - "enableIPForwarding": false, - "domainNameLabelPrefix": "", - "dnsServers": [ - "10.0.4.4", - "10.0.4.5" - ] - } - ], - "imageReference": { - "publisher": "MicrosoftWindowsServer", - "offer": "WindowsServer", - "sku": "2012-R2-Datacenter", - "version": "latest" - }, - "dataDisks": { - "count": 0, - "properties": { - "diskSizeGB": 128, - "caching": "None", - "createOption": "Empty" - } - }, - "osDisk": { - "caching": "ReadWrite" - }, - "extensions": [ - { - "name": "join-ad-domain", - "publisher": "Microsoft.Compute", - "type": "JsonADDomainExtension", - "typeHandlerVersion": "1.3", - "autoUpgradeMinorVersion": true, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "settingsConfig": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettingsConfig": { - "Password": "AweS0me@PW" - } - } - ], - "availabilitySet": { - "useExistingAvailabilitySet": "No", - "name": "sap-wdp-as" - } - } - }, - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - } - }, - "buildingBlockSettings": { - "value": { - "storageAccountsCount": 1, - "vmCount": 2, - "vmStartIndex": 1 - } - } - } -} \ No newline at end of file diff --git a/sap/sap-hana/parameters/virtualNetwork.parameters.json b/sap/sap-hana/parameters/virtualNetwork.parameters.json deleted file mode 100644 index 147dc8a7f..000000000 --- a/sap/sap-hana/parameters/virtualNetwork.parameters.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "addressPrefixes": [ - "10.0.0.0/16" - ], - "subnets": [ - { - "name": "GatewaySubnet", - "addressPrefix": "10.0.255.224/27" - }, - { - "name": "SAPAppsSubnet", - "addressPrefix": "10.0.1.0/24" - }, - { - "name": "SAPDataSubnet", - "addressPrefix": "10.0.2.0/24" - }, - { - "name": "MgmtSubnet", - "addressPrefix": "10.0.3.0/24" - }, - { - "name": "ADSubnet", - "addressPrefix": "10.0.4.0/27" - } - ], - "dnsServers": [] - } - } - } -} \ No newline at end of file diff --git a/sap/sap-hana/parameters/virtualNetworkGateway.parameters.json b/sap/sap-hana/parameters/virtualNetworkGateway.parameters.json deleted file mode 100644 index a33966641..000000000 --- a/sap/sap-hana/parameters/virtualNetworkGateway.parameters.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "virtualNetworkSettings": { - "value": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - } - }, - "virtualNetworkGatewaySettings": { - "value": { - "name": "ra-sap-hana-vgw", - "gatewayType": "Vpn", - "vpnType": "RouteBased", - "sku": "Standard" - } - }, - "connectionSettings": { - "value": { - "name": "ra-sap-hana-cn", - "connectionType": "IPsec", - "sharedKey": "123secret", - "virtualNetworkGateway1": { - "name": "ra-sap-hana-vgw" - }, - "localNetworkGateway": { - "name": "ra-sap-hana-lgw", - "ipAddress": "40.50.60.70", - "addressPrefixes": [ "192.168.0.0/16" ] - } - } - } - } -} diff --git a/sap/sap-hana/readme.md b/sap/sap-hana/readme.md deleted file mode 100644 index c01e04da4..000000000 --- a/sap/sap-hana/readme.md +++ /dev/null @@ -1,99 +0,0 @@ -In this readme, we have gathered helpful notes about the installation and infrastructure for your reference. For the complete reference architecture document, see [Deploy SAP NetWeaver and SAP HANA on Azure](https://docs.microsoft.com/azure/architecture/reference-architectures/sap/) in the [Azure Reference Architecture](https://docs.microsoft.com/azure/architecture/reference-architectures/) center. - -This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. - -# Deploy SAP NetWeaver and SAP HANA on Azure - -The general order of installation is as follows: - -1. Install the HANA database software on the **sap-hana-vm1** virtual machine (VM). - -2. Install the SCS cluster, including Windows clustering, SIOS DataKeeper Cluster Edition, and SAP Central Services (SCS) software. - -3. Install the SAP database instance component (which imports application content into the HANA database) from the **sap-scs1** VM. - -4. Install the primary application server on **sap-apps-vm1**. - -5. Install the two secondary application servers on **sap-apps-vm2** and **sap-apps-vm3**. - -6. Install SAP Web Dispatcher (WDP) on **sap-wdp-vm1** and **sap-wdp-vm2**. - -7. For testing, install SAP GUI on the **jumpbox-vm1** VM. - -For details about how to install an SAP system, see [Installation of SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 to 7.5 on Windows: SAP HANA Database](https://help.sap.com/doc/4f96ad1f741a10148da8f2319ad2172e/CURRENT_VERSION/en-US/NW7XX_Inst_HDB_Win_ABAP.pdf). - -# VM access notes - -- To access the VMs in the deployed environment, first connect to the **jumpbox-vm1** VM. From here, use a remote desktop client to access a VM in the environment by its internal IP address or machine name. Use a Secure Shell (SSH) tool such as PuTTY or MobaXTerm installed on **jumpbox-vm1** to access the HANA Linux VM. - -- To perform the X11-based SAP graphical installation on **sap-hana-vm1**, use an X11 server such as VcXSrv, XMing, or MobaXTerm on **jumpbox-vm1**. For SAP Software Provisioning Manager (SWPM) 1.0 SP20, a browser-based graphical installation is now supported. Run the browser portion of the installation on any of the Windows Server VMs in the environment. - -- To make it easy to download and share SAP software on all the VMs, consider using a single Azure file share attached to each of the VMs. At each logon, reattach each VM to the shared drive; the credentials for the share are not persistent. This approach is a convenience, not a requirement, so it is not included in the reference architecture template. After the installation process is complete, there’s no need to maintain the share. - -# SAP HANA instance installation notes - -- For the HANA VM, the template automatically attaches two Premium disks. You must provision the disks using the logical volume manager based on your storage partition strategy. - -- For details about the SAP operating system’s configuration requirements for HANA, refer to the appropriate installation guidelines for your operating system: - - * [SAP HANA Guidelines for SLES Operating System Installation](https://launchpad.support.sap.com/#/notes/1944799) - * [SAP HANA DB Recommended OS Settings for SLES 12 for SAP Applications](https://launchpad.support.sap.com/#/notes/2205917/E) - * [SAP HANA Guidelines for Red Hat Enterprise Linux (RHEL) Operating System](https://launchpad.support.sap.com/#/notes/2009879) - * [SAP HANA DB: Recommended OS settings for RHEL 7](https://launchpad.support.sap.com/#/notes/2292690/E) - -- If you choose a Linux operating system image from the Azure Gallery with the name “for SAP” -- for example, SLES 12 for SAP 12 SP2 (Premium) -- the configuration settings for the SAP applications already have been applied. We recommend verifying against the latest notes to ensure completeness of the operating system settings. - -- You must add an A-record to the DNS service on **ra-sap-ad-vm1** for the HANA VM. The HANA VM is not configured to be a member of the contoso.com domain, but rather uses local user credentials. To make it a member of the domain, use a Linux pluggable authentication module for Active Directory. - -# File share creation notes - -You must use a remote desktop client to access the file share witness VM, then create a file share to act as the witness for the SCS cluster. - -# SCS cluster installation notes - -- For instructions on installing a clustered SCS instance using SIOS DataKeeper, see [Running SAP Applications on the Microsoft Platform](https://blogs.msdn.microsoft.com/saponsqlserver/2015/05/20/clustering-sap-ascs-instance-using-windows-server-failover-cluster-on-microsoft-azure-with-sios-datakeeper-and-azure-internal-load-balancer/). - -- In this reference architecture, we assume the configuration of SAP instance **00**. If you choose a different instance number, change the load balancing rules in **sap-scs-lb**, the SCS internal load balancer. - -- For the 11 SCS load balancer rules, set the [idle timeout](https://azure.microsoft.com/blog/new-configurable-idle-timeout-for-azure-load-balancer/) to **30 minutes**. - -- Set the interval property of the load balancer health probe for the SCS cluster to **10 seconds**. - -- The hostname in Azure VMs can differ from the Azure resource name. SAP requires hostnames to be fewer than 14 characters. To conform to this rule, the SCS nodes use abbreviated hostnames, **sap-scs1** and **sap-scs2**. - -- When setting up Windows Server clustering on the SCS nodes, make sure to set the cluster probe port to the value **59999**. To do this, use PowerShell on one of the SCS VMs. Enter the following commands in an elevated PowerShell window: - - ```powershell - PS C:\Users\testuser> Get-ClusterResource "SAP NW1 IP" | Set-ClusterParameter -Name ProbePort -Value 59999 - ``` - -- Install the SAP database instance on the HANA VM *after* installing the SCS cluster. However, the installation software needs access to the **sapmnt** share from the SCS cluster. To mount the **sapmnt** share on the Linux VM, perform the following as **root** before running **sapinst**: - - ```powershell - sap-hana1:/mnt # mount.cifs "//sapscscl/sapmnt" /mnt/sapmnt -o "username=testuser,password=,uid=1002,gid=sapsys" - ``` - -- To test the whole environment, install the SAP GUI on **jumpbox-vm1** to represent a client machine accessing the environment. - -# SAP Web Dispatcher cluster - -- For the WDP load balancer rule, set the [idle timeout](https://azure.microsoft.com/blog/new-configurable-idle-timeout-for-azure-load-balancer/) to **30 minutes**. - -- In the WDP load-balancer configuration, set the session persistence property to **Client IP**. - -# Modifying this reference architecture - -The deployment scripts contain paths to the files in GitHub. If you fork this repository or deploy from a branch other than master, you'll need to update the paths. - -Modify the paths in the following files by replacing `/mspnp/reference-architectures/master/` with your repo and branch, such as `/user/reference-architectures/my-branch/`. - -* add-adds-domain-controller.parameters.json - * `https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/templates/adds/adds-domain-controller-extension-settings-mapper.json` - * `https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/extensions/adds.ps1` -* create-adds-forest-extension.parameters.json - * `https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/templates/adds/ad-forest-extension-settings-mapper.json` - * `https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/extensions/adds-forest.ps1` -* sapScs.parameters.json - * `https://raw.githubusercontent.com/mspnp/reference-architectures/master/sap/sap-hana/extensions/PrepareWSFC.ps1.zip` - - diff --git a/sap/sap-hana/templates/adds/ad-forest-extension-settings-mapper.json b/sap/sap-hana/templates/adds/ad-forest-extension-settings-mapper.json deleted file mode 100644 index 3e96a38dd..000000000 --- a/sap/sap-hana/templates/adds/ad-forest-extension-settings-mapper.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "deploymentContext": { "type": "object" }, - "source": { "type": "object" }, - "context": { "type": "object" } - }, - "variables": { - "instance": { - "settings": { - "fileUris": "[parameters('source').settingsConfig.fileUris]", - "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -Command \"& {.\\adds-forest.ps1 -DomainName \\\"', parameters('source').settingsConfig.activeDirectorySettings.domainName, '\\\" -DomainNetbiosName \\\"', parameters('source').settingsConfig.activeDirectorySettings.domainNetbiosName, '\\\" -SafeModePassword \\\"', parameters('source').settingsConfig.activeDirectorySettings.safeModePassword, '\\\" }\"')]" - }, - "protectedSettings": { } - } - - }, - "resources": [ - - ], - "outputs": { - "settings": { - "type": "object", - "value": "[variables('instance')]" - } - } -} diff --git a/sap/sap-hana/templates/adds/adds-domain-controller-extension-settings-mapper.json b/sap/sap-hana/templates/adds/adds-domain-controller-extension-settings-mapper.json deleted file mode 100644 index 5d27058be..000000000 --- a/sap/sap-hana/templates/adds/adds-domain-controller-extension-settings-mapper.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": { - "deploymentContext": { "type": "object" }, - "source": { "type": "object" }, - "context": { "type": "object" } - }, - "variables": { - "instance": { - "settings": { - "fileUris": "[parameters('source').settingsConfig.fileUris]", - "commandToExecute": "[concat('powershell -ExecutionPolicy Unrestricted -Command \"& {.\\adds.ps1 -SafeModePassword \\\"', parameters('source').settingsConfig.activeDirectorySettings.safeModePassword, '\\\" -DomainName \\\"', parameters('source').settingsConfig.activeDirectorySettings.domainName, '\\\" -AdminUser \\\"', parameters('source').settingsConfig.activeDirectorySettings.adminUser, '\\\" -AdminPassword \\\"', parameters('source').settingsConfig.activeDirectorySettings.adminPassword, '\\\" -SiteName \\\"', parameters('source').settingsConfig.activeDirectorySettings.siteName, '\\\"}\"')]" - }, - "protectedSettings": { } - } - - }, - "resources": [ - - ], - "outputs": { - "settings": { - "type": "object", - "value": "[variables('instance')]" - } - } -}