Skip to content

Commit 1db7b8b

Browse files
committed
SAP HANA standby with scale out on SLES - chnages for network configuration.
1 parent 16ac09d commit 1db7b8b

File tree

1 file changed

+45
-27
lines changed

1 file changed

+45
-27
lines changed

articles/virtual-machines/workloads/sap/sap-hana-scale-out-standby-netapp-files-suse.md

Lines changed: 45 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.service: virtual-machines-windows
1515
ms.topic: article
1616
ms.tgt_pltfrm: vm-windows
1717
ms.workload: infrastructure-services
18-
ms.date: 04/30/2019
18+
ms.date: 11/20/2019
1919
ms.author: radeltch
2020

2121
---
@@ -97,17 +97,17 @@ One method for achieving HANA high availability is by configuring host auto fail
9797
![SAP NetWeaver High Availability overview](./media/high-availability-guide-suse-anf/sap-hana-scale-out-standby-netapp-files-suse.png)
9898

9999
In the preceding diagram, which follows SAP HANA network recommendations, three subnets are represented within one Azure virtual network:
100-
* For communication with the storage system
101-
* For internal HANA inter-node communication
102100
* For client communication
101+
* For internal HANA inter-node communication
102+
* For communication with the storage system
103103

104104
The Azure NetApp volumes are in separate subnet, [delegated to Azure NetApp Files](https://docs.microsoft.com/azure/azure-netapp-files/azure-netapp-files-delegate-subnet).
105105

106106
For this example configuration, the subnets are:
107107

108-
- `storage` 10.23.2.0/24
109-
- `hana` 10.23.3.0/24
110108
- `client` 10.23.0.0/24
109+
- `hana` 10.23.3.0/24
110+
- `storage` 10.23.2.0/24
111111
- `anf` 10.23.1.0/26
112112

113113
## Set up the Azure NetApp Files infrastructure
@@ -207,19 +207,19 @@ The SAP HANA configuration for the layout that's presented in this article, usin
207207
208208
## Deploy Linux virtual machines via the Azure portal
209209

210-
First you need to create the Azure NetApp Files volumes. Do the following:
210+
First you need to create the Azure NetApp Files volumes. Then do the following:
211211
1. Create the [Azure virtual network subnets](https://docs.microsoft.com/azure/virtual-network/virtual-network-manage-subnet) in your [Azure virtual network](https://docs.microsoft.com/azure/virtual-network/virtual-networks-overview).
212212
1. Deploy the VMs.
213213
1. Create the additional network interfaces, and attach the network interfaces to the corresponding VMs.
214214

215-
Each virtual machine has three network interfaces, which correspond to the three Azure virtual network subnets (`storage`, `hana`, and `client`).
215+
Each virtual machine has three network interfaces, which correspond to the three Azure virtual network subnets (`client`, `hana` and`storage`).
216216

217217
For more information, see [Create a Linux virtual machine in Azure with multiple network interface cards](https://docs.microsoft.com/azure/virtual-machines/linux/multiple-nics).
218218

219219
> [!IMPORTANT]
220220
> For SAP HANA workloads, low latency is critical. To achieve low latency, work with your Microsoft representative to ensure that the virtual machines and the Azure NetApp Files volumes are deployed in close proximity. When you're [onboarding new SAP HANA system](https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbRxjSlHBUxkJBjmARn57skvdUQlJaV0ZBOE1PUkhOVk40WjZZQVJXRzI2RC4u) that's using SAP HANA Azure NetApp Files, submit the necessary information.
221221
222-
The next instructions assume that you've already created the resource group, the Azure virtual network, and the three Azure virtual network subnets: `storage`, `hana`, and `client`. When you deploy the VMs, select the storage subnet, so that the storage network interface is the primary interface on the VMs. If that's not possible, configure an explicit route to the Azure NetApp Files delegated subnet via the storage subnet gateway.
222+
The next instructions assume that you've already created the resource group, the Azure virtual network, and the three Azure virtual network subnets: `client`, `hana` and `storage`. When you deploy the VMs, select the client subnet, so that the client network interface is the primary interface on the VMs. You will also need to configure an explicit route to the Azure NetApp Files delegated subnet via the storage subnet gateway.
223223

224224
> [!IMPORTANT]
225225
> Make sure that the OS you select is SAP-certified for SAP HANA on the specific VM types you're using. For a list of SAP HANA certified VM types and OS releases for those types, go to the [SAP HANA certified IaaS platforms](https://www.sap.com/dmc/exp/2014-09-02-hana-hardware/enEN/iaas.html#categories=Microsoft%20Azure) site. Click into the details of the listed VM type to get the complete list of SAP HANA-supported OS releases for that type.
@@ -232,13 +232,13 @@ The next instructions assume that you've already created the resource group, the
232232

233233
b. Select the availability set that you created earlier for SAP HANA.
234234

235-
c. Select the storage Azure virtual network subnet. Select [Accelerated Network](https://docs.microsoft.com/azure/virtual-network/create-vm-accelerated-networking-cli).
235+
c. Select the client Azure virtual network subnet. Select [Accelerated Network](https://docs.microsoft.com/azure/virtual-network/create-vm-accelerated-networking-cli).
236236

237-
When you deploy the virtual machines, the network interface name is automatically generated. We'll refer to the network interfaces, which are attached to the storage Azure virtual network subnet, as **hanadb1-storage**, **hanadb2-storage**, and **hanadb3-storage**.
237+
When you deploy the virtual machines, the network interface name is automatically generated. In these instructions for simplicity we'll refer to the automatically generated network interfaces, which are attached to the client Azure virtual network subnet, as **hanadb1-client**, **hanadb2-client**, and **hanadb3-client**.
238238

239239
3. Create three network interfaces, one for each virtual machine, for the `hana` virtual network subnet (in this example, **hanadb1-hana**, **hanadb2-hana**, and **hanadb3-hana**).
240240

241-
4. Create three network interfaces, one for each virtual machine, for the `client` virtual network subnet (in this example, **hanadb1-client**, **hanadb2-client**, and **hanadb3-client**).
241+
4. Create three network interfaces, one for each virtual machine, for the `storage` virtual network subnet (in this example, **hanadb1-storage**, **hanadb2-storage**, and **hanadb3-storage**).
242242

243243
5. Attach the newly created virtual network interfaces to the corresponding virtual machines by doing the following:
244244

@@ -248,28 +248,29 @@ The next instructions assume that you've already created the resource group, the
248248

249249
c. In the **Overview** pane, select **Stop** to deallocate the virtual machine.
250250

251-
d. Select **Networking**, and then attach the network interface. In the **Attach network interface** drop-down list, select the already created network interfaces for the `hana` and `client` subnets.
251+
d. Select **Networking**, and then attach the network interface. In the **Attach network interface** drop-down list, select the already created network interfaces for the `storage` and `hana` subnets.
252252

253253
e. Select **Save**.
254254

255255
f. Repeat steps b through e for the remaining virtual machines (in our example, **hanadb2** and **hanadb3**).
256256

257257
g. Leave the virtual machines in stopped state for now. Next, we'll enable [accelerated networking](https://docs.microsoft.com/azure/virtual-network/create-vm-accelerated-networking-cli) for all newly attached network interfaces.
258258

259-
6. Enable accelerated networking for the additional network interfaces for the `hana` and `client` subnets by doing the following:
259+
6. Enable accelerated networking for the additional network interfaces for the `storage` and `hana` subnets by doing the following:
260260

261261
a. Open [Azure Cloud Shell](https://azure.microsoft.com/features/cloud-shell/) in the [Azure portal](https://portal.azure.com/#home).
262262

263-
b. Execute the following commands to enable accelerated networking for the additional network interfaces, which are attached to the `hana` and `client` subnets.
263+
b. Execute the following commands to enable accelerated networking for the additional network interfaces, which are attached to the `storage` and `hana` subnets.
264264

265265
<pre><code>
266+
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb1-storage</b> --accelerated-networking true
267+
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb2-storage</b> --accelerated-networking true
268+
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb3-storage</b> --accelerated-networking true
269+
266270
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb1-hana</b> --accelerated-networking true
267271
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb2-hana</b> --accelerated-networking true
268272
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb3-hana</b> --accelerated-networking true
269-
270-
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb1-client</b> --accelerated-networking true
271-
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb2-client</b> --accelerated-networking true
272-
az network nic update --id /subscriptions/<b>your subscription</b>/resourceGroups/<b>your resource group</b>/providers/Microsoft.Network/networkInterfaces/<b>hanadb3-client</b> --accelerated-networking true
273+
273274
</code></pre>
274275

275276
7. Start the virtual machines by doing the following:
@@ -292,31 +293,48 @@ Configure and prepare your OS by doing the following:
292293

293294
<pre><code>
294295
# Storage
295-
10.23.2.4 hanadb1
296-
10.23.2.5 hanadb2
297-
10.23.2.6 hanadb3
296+
10.23.2.4 hanadb1-storage
297+
10.23.2.5 hanadb2-storage
298+
10.23.2.6 hanadb3-storage
298299
# Client
299-
10.23.0.5 hanadb1-client
300-
10.23.0.6 hanadb2-client
301-
10.23.0.7 hanadb3-client
300+
10.23.0.5 hanadb1
301+
10.23.0.6 hanadb2
302+
10.23.0.7 hanadb3
302303
# Hana
303304
10.23.3.4 hanadb1-hana
304305
10.23.3.5 hanadb2-hana
305306
10.23.3.6 hanadb3-hana
306307
</code></pre>
307308

308-
2. **[A]** Change DHCP and cloud config settings to avoid unintended hostname changes.
309+
2. **[A]** Change DHCP and cloud config settings for the network interface for storage to avoid unintended hostname changes.
310+
311+
The following instructions assume that the storage network interface is `eth1`.
309312

310313
<pre><code>
311314
vi /etc/sysconfig/network/dhcp
312315
#Change the following DHCP setting to "no"
313316
DHCLIENT_SET_HOSTNAME="no"
314-
vi /etc/sysconfig/network/ifcfg-eth0
315-
# Edit ifcfg-eth0
317+
vi /etc/sysconfig/network/ifcfg-<b>eth1</b>
318+
# Edit ifcfg-eth1
316319
#Change CLOUD_NETCONFIG_MANAGE='yes' to "no"
317320
CLOUD_NETCONFIG_MANAGE='no'
318321
</code></pre>
319322

323+
2. **[A]** Add a network route, so that the communication to the Azure Netapp Files goes via the storage network interface.
324+
325+
The following instructions assume that the storage network interface is `eth1`.
326+
327+
<pre><code>
328+
vi /etc/sysconfig/network/ifroute-<b>eth1</b>
329+
# Add the following routes
330+
# RouterIPforStorageNetwork - - -
331+
# ANFNetwork/cidr RouterIPforStorageNetwork - -
332+
<b>10.23.2.1</b> - - -
333+
<b>10.23.1.0/26</b> <b>10.23.2.1</b> - -
334+
</code></pre>
335+
336+
Reboot the VM to activate the changes.
337+
320338
3. **[A]** Prepare the OS for running SAP HANA on NetApp Systems with NFS, as described in [SAP HANA on NetApp AFF Systems with NFS configuration guide](https://www.netapp.com/us/media/tr-4435.pdf). Create configuration file */etc/sysctl.d/netapp-hana.conf* for the NetApp configuration settings.
321339

322340
<pre><code>

0 commit comments

Comments
 (0)