diff --git a/sap/sap-hana-v2/sap-hana-v2.json b/sap/sap-hana-v2/sap-hana-v2.json index b7c09c359..665638113 100644 --- a/sap/sap-hana-v2/sap-hana-v2.json +++ b/sap/sap-hana-v2/sap-hana-v2.json @@ -9,7 +9,7 @@ "settings": [ { "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure", + "resourceGroupName": "pw-sap-hana-inf2", "addressPrefixes": [ "10.0.0.0/16" ], @@ -52,7 +52,7 @@ "adminUsername": "testuser", "adminPassword": "AweS0me@PW", "osType": "windows", - "resourceGroup": "sap-hana-infrastructure", + "resourceGroupName": "pw-sap-hana-inf2", "nics": [ { "isPublic": true, @@ -63,7 +63,8 @@ "enableIPForwarding": false, "dnsServers": [ "10.0.4.4", - "10.0.4.5" + "10.0.4.5", + "168.63.129.16" ] } ], @@ -75,7 +76,7 @@ }, "virtualNetwork": { "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" + "resourceGroupName": "pw-sap-hana-inf2" } }, { @@ -86,6 +87,7 @@ "osType": "windows", "adminUsername": "testuser", "adminPassword": "AweS0me@PW", + "resourceGroupName": "pw-sap-hana-inf2", "nics": [ { "isPublic": true, @@ -93,7 +95,10 @@ "subnetName": "ADSubnet", "privateIPAllocationMethod": "Static", "startingIPAddress": "10.0.4.4", - "enableIPForwarding": false + "enableIPForwarding": false, + "dnsServers": [ + "168.63.129.16" + ] } ], "imageReference": { @@ -107,13 +112,14 @@ }, "virtualNetwork": { "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" + "resourceGroupName": "pw-sap-hana-inf2" } } ] }, { "type": "VirtualMachineExtension", + "resourceGroupName": "pw-sap-hana-inf2", "settings":[ { "vms": [ @@ -125,7 +131,6 @@ "publisher": "Microsoft.Powershell", "type": "DSC", "typeHandlerVersion": "2.1", - "resourceGroup": "sap-hana-infrastructure", "autoUpgradeMinorVersion": true, "settings": { "ModulesUrl": "https://github.com/woodp/reference-architectures/blob/sap-azbb/sap/sap-hana-v2/adds.zip?raw=true", @@ -163,13 +168,11 @@ "type": "DSC", "typeHandlerVersion": "2.1", "autoUpgradeMinorVersion": true, - "resourceGroup": "sap-hana-infrastructure", "settings": { "ModulesUrl": "https://github.com/woodp/reference-architectures/blob/sap-azbb/sap/sap-hana-v2/adds.zip?raw=true", "ConfigurationFunction":"adds.ps1\\CreateDomainController", "Properties": { "DomainName": "contoso.com", - "DomainNetbiosName": "contoso", "SiteName": "Default-First-Site-Name", "PrimaryDcIpAddress": "10.0.4.4", "AdminCreds": { @@ -192,538 +195,6 @@ ] } ] - }, - { - "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", - "resourceGroup": "sap-hana-infrastructure" - }, - "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, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "settings": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettings": { - "Password": "AweS0me@PW" - } - } - ] - }, - { - "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", - "resourceGroup": "sap-hana-infrastructure" - }, - "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, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "settings": { - "Name": "contoso.com", - "OUPath": "", - "User": "contoso.com\\testuser", - "Restart": true, - "Options": 3 - }, - "protectedSettings": { - "Password": "AweS0me@PW" - } - } - ] - }, - { - "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", - "resourceGroup": "sap-hana-infrastructure" - }, - "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": 1023 - } - }, - "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, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "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, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "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" - } - } - } - ] - }, - { - "namePrefix": "sap-wit", - "computerNamePrefix": "sap-wit", - "size": "Standard_DS11_v2", - "adminUsername": "testuser", - "adminPassword": "AweS0me@PW", - "osType": "windows", - "virtualNetwork": { - "name": "ra-sap-hana-vnet", - "resourceGroup": "sap-hana-infrastructure" - }, - "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, - "settingsConfigMapperUri": "https://raw.githubusercontent.com/mspnp/template-building-blocks/v1.0.0/templates/resources/Microsoft.Compute/virtualMachines/extensions/vm-extension-passthrough-settings-mapper.json", - "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", - "resourceGroup": "sap-hana-infrastructure" - }, - "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 - } - } - } - ] } ] }