Jump to content

Installation of an SAP NetWeaver ERP based on WSFC with clustered ASCS and SAP MaxDB


Recommended Posts

Guest SteffenMueller
Posted

Installation of an SAP NetWeaver ERP6/EHP8 system based on WSFC with highly available ASCS and SAP MaxDB with Azure shared disks.

 

 

 

 

The steps for creating the VMs with Azure shared disks, join them to a Windows AD, creation of the WSFC and the Cloud Witness are described here Setup of SAP Content Server 7.54 with MaxDB in a WSFC environment based on Azure shared disks

 

This documentation focuses on the SWPM based steps, the creation of the Internal Load Balancer (ILB), Probe Ports and DNS settings.

 

The following screen shows the cluster with 3 shared cluster disks. Additionally, there is one local disk per instance (MaxDB, ASCS and ERS). The conversion from ERS to ERS2 is not part of this blog. It's done according to SAP Note 2639281. However, the preparation steps are shown. The used values for the blog screenshots are mentioned in rounded bracket ( ).

 

 

 

691x202vv2.png.c97f3c37eed63bc62eddff1ae27c84c2.png

 

Create Azure Internal Load Balancer

 

 

690x648vv2.png.efcf5da8979405fd167753418ad69fe2.png

 

 

 

742x296vv2.png.d6acd2f54da486414a5aeb3b075ba064.png

 

 

 

In this step three virtual host names and probe ports are created. ec9db Is used for the MaxDB database instance, ec9ascs is used for ASCS and ec9ers is defined for the potential later conversion of the locally installed ERS to a clustered ERS2 instance.

 

 

703x300vv2.png.b957442ec0c3c27fb2421d2fc3bb9287.png

 

 

 

500x848vv2.thumb.png.f99bdf18654b63b7a0240a4344a30267.png

Health Probe for the MaxDB instance.

 

 

 

497x855vv2.thumb.png.1ac17da77b81f5008671e61d264647f7.png

 

Health Probe for the ASCS instance.

 

 

 

498x840vv2.thumb.png.71d27c5db18bbd87d572035d8c9eb88e.png

 

Health Probe for the ERS2 instance.

 

 

 

688x330vv2.png.2e1bbc1f03ecf7b30475795b76264fcb.png

Overview of the created Health Probes.

 

 

 

Use SWPM to create the First Cluster Node

 

 

530x623vv2.thumb.png.5d7bfe337fdc0fbbe9f5f14eb084ceb6.png

Select EHP8 for SAP ERP 6.0 ABAP - MaxDB - Installation - High Availability - First Cluster Node

 

 

 

670x350vv2.png.dc56f66885c524b71aa0626a9f2662d7.png

Choose a local drive for the installation of SAP components like SAPHOSTAGENT and the Enqueue Replication Server (ERS). Depending on your policies this can be the OS disk (C:) or an additionally installed local disk. The same setup must be done on the additional cluster nodes.

 

 

 

670x405vv2.png.f4812dec460ae94a4378e45b30c89998.png

Choose Cluster Shared Disk for the cluster share configuration since Azure shared disks are used for this installation.

 

 

 

669x420vv2.png.1f6787ddac4d7136d45781e16530c0ff.png

Provide the SID (EC9), the virtual hostname (ec9ascs) and the cluster drive (Cluster Disk 1) for the ASCS instance.

 

 

 

668x414vv2.png.c55eac0b0d15b1a829f1a953c0966b20.png

Provide the instance number (00) for the ASCS instance.

 

 

 

698x414vv2.png.03bfd32ec9b3e59a2ba1e8701adc273f.png

Provide the hostname (mswinnode92) and instance number (10) for the locally installed ERS instance.

 

 

 

Create Probe Port for ASCS

 

1307x49vv2.png.a5ff83e981ca2e7ffb8d05ddbf7fb86e.png

 

This creates the Probe Port for the ASCS instance.

 

677x638vv2.png.59021b14c31f2da97022cecb114d5a7f.png

 

Output of the successfully executed Probe Port PowerShell script.

 

 

 

Install MaxDB Software

 

 

660x771vv2.thumb.png.66a6326a5544ce88c6b9461e8942ffc6.png

Select EHP8 for SAP ERP 6.0 ABAP - MaxDB - Installation - High Availability - SAP MaxDB Database

 

 

 

703x362vv2.png.ccc5cd83a401788021fee5d73bf15704.png

To identify already installed components, the UNC path to the profile directory must be supplied.

 

 

 

704x339vv2.png.5d1d144ada91b690860213f384e2e08c.png

Provide the Database SID (EC9) together with the virtual hostname.

 

 

689x411vv2.png.df5f012b7bff37bf6c07a03f13e935b3.png

Provide the Database Software destinations for local and clustered components. The MaxDB is initially installed locally (E:) and the relevant components for the cluster operation are copied to clustered disks (Cluster Disk 2) by SWPM automatically.

 

 

 

686x460vv2.png.6201f0c3aefa1e3a766473682ed3a07b.png

Provide the passwords for the DB admin users superdba and control.

 

 

 

690x414vv2.png.00690a1c058490520dd61160f001c726.png

Provide the location of the MaxDB installation media.

 

 

 

681x425vv2.png.705a75daa5b4c7f7d3fcca9a67d14027.png

Provide the basic parameters for MaxDB.

 

 

 

679x389vv2.png.0df0593951b960d45bab20a96b109bfc.png

Choose the location of the MaxDB Log Volumes (Cluster Disk 2).

 

 

 

676x385vv2.png.305758d3e10d1b4e774222b28a0bee9b.png

 

Choose the location of the MaxDB Data Volumes (Cluster Disk 3).

 

 

 

669x383vv2.png.6de94fe738b5d62b2afd809609b2999a.png

 

Provide the number and size of the individual MazDB Log Files.

 

 

 

662x381vv2.png.c0ca1f0648f470fbc38ac800fcf40f03.png

 

Provide the number and size of the individual MazDB Data Files.

 

 

 

Create Probe Port for the MaxDB instance

 

 

Use the following PowerShell script to create the Probe Port (62300) for the MaxDB instance.

 

 

 

$ProbePort = 62300 # ProbePort of the Azure internal load balancer

 

Clear-Host

 

$SAPClusterRoleName = "MaxDB"

 

$SAPIPresourceName = "MaxDB IP-Address"

 

$SAPIPResourceClusterParameters = Get-ClusterResource $SAPIPresourceName | Get-ClusterParameter

 

$IPAddress = ($SAPIPResourceClusterParameters | Where-Object {$_.Name -eq "Address" }).Value

 

$NetworkName = ($SAPIPResourceClusterParameters | Where-Object {$_.Name -eq "Network" }).Value

 

$SubnetMask = ($SAPIPResourceClusterParameters | Where-Object {$_.Name -eq "SubnetMask" }).Value

 

$OverrideAddressMatch = ($SAPIPResourceClusterParameters | Where-Object {$_.Name -eq "OverrideAddressMatch" }).Value

 

$EnableDhcp = ($SAPIPResourceClusterParameters | Where-Object {$_.Name -eq "EnableDhcp" }).Value

 

$OldProbePort = ($SAPIPResourceClusterParameters | Where-Object {$_.Name -eq "ProbePort" }).Value

 

$var = Get-ClusterResource | Where-Object { $_.name -eq $SAPIPresourceName }

 

Write-Host "Current configuration parameters for SAP IP cluster resource '$SAPIPresourceName' are:" -ForegroundColor Cyan

 

Get-ClusterResource -Name $SAPIPresourceName | Get-ClusterParameter

 

Write-Host

 

Write-Host "Current probe port property of the SAP cluster resource '$SAPIPresourceName' is '$OldProbePort'." -ForegroundColor Cyan

 

Write-Host

 

Write-Host "Setting the new probe port property of the SAP cluster resource '$SAPIPresourceName' to '$ProbePort' ..." -ForegroundColor Cyan

 

Write-Host

 

$var | Set-ClusterParameter -Multiple @{"Address"=$IPAddress;"ProbePort"=$ProbePort;"Subnetmask"=$SubnetMask;"Network"=$NetworkName;"OverrideAddressMatch"=$OverrideAddressMatch;"EnableDhcp"=$EnableDhcp}

 

Write-Host

 

$ActivateChanges = Read-Host "Do you want to take restart SAP cluster role '$SAPClusterRoleName', to activate the changes (yes/no)?"

 

if($ActivateChanges -eq "yes"){

 

Write-Host

 

Write-Host "Activating changes..." -ForegroundColor Cyan

 

Write-Host

 

write-host "Taking SAP cluster IP resource '$SAPIPresourceName' offline ..." -ForegroundColor Cyan

 

Stop-ClusterResource -Name $SAPIPresourceName

 

sleep 5

 

Write-Host "Starting SAP cluster role '$SAPClusterRoleName' ..." -ForegroundColor Cyan

 

Start-ClusterGroup -Name $SAPClusterRoleName

 

Write-Host "New ProbePort parameter is active." -ForegroundColor Green

 

Write-Host

 

Write-Host "New configuration parameters for SAP IP cluster resource '$SAPIPresourceName':" -ForegroundColor Cyan

 

Write-Host

 

Get-ClusterResource -Name $SAPIPresourceName | Get-ClusterParameter

 

}else

 

{

 

Write-Host "Changes are not activated."

 

}

 

 

 

 

 

708x498vv2.png.21d50f2241ba6513c2b51f8a3d021088.png

Output after the successful Probe Port creation.

 

 

SAP Max DB Configuration

 

 

 

 

This is the installation of MaxDB on the Second Cluster Node. This step must be performed on the Second/Additional Server Node.

 

 

 

661x764vv2.thumb.png.d0d72a0ef644ec53091235db5b23e0a6.png

 

Select EHP8 for SAP ERP 6.0 ABAP - MaxDB - Installation - High Availability - SAP MaxDB Database Configuration

 

 

 

695x339vv2.png.e874280be18fa7d75eafeeaeaab84cd9.png

 

Provide the location of the MaxDB installation media.

 

 

 

695x415vv2.png.9bc3458d26f5bccc5a398f6b144f63b9.png

 

Use the same input here as used for the First Cluster Node installation assuming the local drive uses the same drive letter (E:).

 

 

 

699x457vv2.png.c45075e491b87a05d408bb0067fe9255.png

Since this is an initial local installation, you must provide the same passwords for the MaxDB admin users superdba and control which have been used on the First Cluster Node. Don't touch any of the created MaxDB cluster resources. They will be handled by SWPM.

 

 

 

Create Database Instance

 

 

 

654x761vv2.thumb.png.331531b0e80fe4549dbec4e19de8f87c.png

 

Select EHP8 for SAP ERP 6.0 ABAP - MaxDB - Installation - High Availability - Database Instance

 

 

 

703x356vv2.png.a1845cde61ac383b986d602d45c7e194.png

 

To identify already installed components, the UNC path to the profile directory must be provided.

 

 

 

700x331vv2.png.3c2ed2f4ba89e456e3ea9f11c2a769fc.png

 

Confirm the preselected Database SID (EC9) and the virtual hostname (ec9db) for the database cluster role.

 

 

 

697x398vv2.png.7520b1679a04bd332a3dfb133b65bb8d.png

Provide the location of the Database Export (Installation Export 1 ECC 6.0 EHP8).

 

 

 

689x389vv2.png.2a7f99caa8980fb16bd1cf4fc01047d1.png

Provide the passwords for the MaxDB users supedba and control.

 

 

 

700x341vv2.png.f79e65df248e180d8ed93ea79adfeced.png

Provide a password for the ABAP schema user (SAPEC9).

 

 

 

701x369vv2.png.57d50cdcaa40204d5f96001fa153e675.png

 

Confirm the drive letters for the MaxDB client installation.

 

 

 

Install Additional Cluster Node

 

 

This step must be performed on the Second/Additional cluster node. SWPM handles the identification and move of existing cluster resources.

 

 

 

647x751vv2.thumb.png.af3ef3a6ca4f82e6ffb0650130faa7d4.png

 

Select EHP8 for SAP ERP 6.0 ABAP - MaxDB - Installation - High Availability - Additional Cluster Node

 

 

 

697x338vv2.png.1c45745a845812340018bc343ef29d2d.png

 

Choose the same drive letter (E:) as for the First Cluster Node.

 

 

 

699x392vv2.png.032946e82ef0e0a386fa2f93ae4cd93d.png

 

Provide the passwords for user <sid>adm and SAPService<SID> (ec9adm and SAPServiceEC9).

 

 

 

692x420vv2.png.9aa9dafe425ec434107b041fc6eba8cd.png

Provide the instance number (10) and hostname for the local ERS instance on the Second/Additional Node.

 

 

 

697x397vv2.png.f969c68624d7c47f1ab0df521d9c1655.png

 

Confirm the automatic restart option.

 

 

 

667x342vv2.png.d9f24983200cfc956b3dd5dcd00d50da.png

Disk configuration for Primary Application Server. Here with drive E: as local drive for SAP components.

 

 

 

Use SWPM for Primary Application Server installation

 

 

630x732vv2.thumb.png.49d5064619f604b909e907b692265f7e.png

Select EHP8 for SAP ERP 6.0 ABAP - MaxDB - Installation - High Availability - Primary Application Server Instance

 

 

 

694x387vv2.png.9b99edff5baad47e1565d7e601effc03.png

To identify already installed components, the UNC path to the profile directory must be provided. Additionally, the local drive (F:) for the application server instance must be specified,

 

 

 

701x274vv2.png.c8d9da533b9bb8d27a357ca5f890ebdd.png

 

 

 

Pride message server port (3600).

 

 

 

699x389vv2.png.5379d40e9c96319e70d4b315bfdfd72e.png

 

Validate and confirm the drive letters for the MaxDB client installation.

 

 

 

 

703x312vv2.png.00a7c09f708d503964ce1ab3296cb002.png

Provide the instance number and hostname for the Primary Application Server (00 and mswinnode94).

 

 

 

706x295vv2.png.3a83e7b9d20d037c6a618cb858aed248.png

 

Confirm ABAP Message Server Ports and Transport Host location.

 

671x719vv2.thumb.png.516abed1fde28090802a6dff8c9bf502.png

 

 

 

669x455vv2.png.b988136e913bf96663d436504814afd1.png

 

This concludes the installation.

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...