diff --git a/sap/sap-hana-v2/sap-hana-workload-v2.json b/sap/sap-hana-v2/sap-hana-workload-v2.json new file mode 100644 index 000000000..8ee6e2528 --- /dev/null +++ b/sap/sap-hana-v2/sap-hana-workload-v2.json @@ -0,0 +1,552 @@ +{ + "$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": "AweS0me@PW", + "osType": "windows", + "virtualNetwork": { + "name": "ra-sap-hana-vnet", + "resourceGroupName": "pw-sap-hana-inf2" + }, + "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" + ] + }, + { + "isPublic": true, + "isPrimary": false, + "subnetName": "MgmtSubnet", + "privateIPAllocationMethod": "Static", + "startingIPAddress": "10.0.3.25", + "enableIPForwarding": false, + "dnsServers": [ + "10.0.4.4", + "10.0.4.5" + ] + } + ], + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-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": "AweS0me@PW" + } + } + ] + } + ] + }, + { + "type": "VirtualMachine", + "settings":[ + { + "vmCount": 3, + "namePrefix": "sap-app", + "computerNamePrefix": "sap-app", + "size": "Standard_DS11_v2", + "adminUsername": "testuser", + "adminPassword": "AweS0me@PW", + "osType": "windows", + "virtualNetwork": { + "name": "ra-sap-hana-vnet", + "resourceGroupName": "pw-sap-hana-inf2" + }, + "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" + ] + }, + { + "isPublic": true, + "isPrimary": false, + "subnetName": "MgmtSubnet", + "privateIPAllocationMethod": "Static", + "startingIPAddress": "10.0.3.30", + "enableIPForwarding": false, + "dnsServers": [ + "10.0.4.4", + "10.0.4.5" + ] + } + ], + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2012-R2-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": "AweS0me@PW" + } + } + ] + } + ] + }, + { + "type": "VirtualMachine", + "settings":[ + { + "vmCount": 2, + "namePrefix": "sap-scs", + "computerNamePrefix": "sap-scs", + "size": "Standard_DS11_v2", + "adminUsername": "testuser", + "adminPassword": "AweS0me@PW", + "osType": "windows", + "virtualNetwork": { + "name": "ra-sap-hana-vnet", + "resourceGroupName": "pw-sap-hana-inf2" + }, + "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" + ] + }, + { + "isPublic": true, + "isPrimary": false, + "subnetName": "MgmtSubnet", + "privateIPAllocationMethod": "Static", + "startingIPAddress": "10.0.3.5", + "enableIPForwarding": false, + "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": 1623 + } + }, + "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": "AweS0me@PW" + } + }, + { + "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": "AweS0me@PW" + } + } + } + ] + } + ] + }, + { + "type": "VirtualMachine", + "settings":[ + { + "namePrefix": "sap-wit", + "computerNamePrefix": "sap-wit", + "size": "Standard_DS11_v2", + "adminUsername": "testuser", + "adminPassword": "AweS0me@PW", + "osType": "windows", + "virtualNetwork": { + "name": "ra-sap-hana-vnet", + "resourceGroupName": "pw-sap-hana-inf2" + }, + "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" + ] + }, + { + "isPublic": true, + "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" + }, + "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": "AweS0me@PW" + } + } + ], + "availabilitySet": { + "name": "sap-centralsvc-as" + } + }, + { + "namePrefix": "sap-han", + "computerNamePrefix": "sap-han", + "size": "Standard_GS5", + "adminUsername": "testuser", + "adminPassword": "AweS0me@PW", + "osType": "linux", + "osAuthenticationType": "password", + "virtualNetwork": { + "name": "ra-sap-hana-vnet", + "resourceGroupName": "pw-sap-hana-inf2" + }, + "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, + "properties": { + "diskSizeGB": 1023 + } + } + } + ] + } + ] + } + } +} \ No newline at end of file