You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -97,17 +97,17 @@ One method for achieving HANA high availability is by configuring host auto fail
97
97

98
98
99
99
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
102
100
* For client communication
101
+
* For internal HANA inter-node communication
102
+
* For communication with the storage system
103
103
104
104
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).
105
105
106
106
For this example configuration, the subnets are:
107
107
108
-
-`storage` 10.23.2.0/24
109
-
-`hana` 10.23.3.0/24
110
108
-`client` 10.23.0.0/24
109
+
-`hana` 10.23.3.0/24
110
+
-`storage` 10.23.2.0/24
111
111
-`anf` 10.23.1.0/26
112
112
113
113
## 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
207
207
208
208
## Deploy Linux virtual machines via the Azure portal
209
209
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:
211
211
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).
212
212
1. Deploy the VMs.
213
213
1. Create the additional network interfaces, and attach the network interfaces to the corresponding VMs.
214
214
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`).
216
216
217
217
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).
218
218
219
219
> [!IMPORTANT]
220
220
> 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.
221
221
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.
223
223
224
224
> [!IMPORTANT]
225
225
> 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
232
232
233
233
b. Select the availability set that you created earlier for SAP HANA.
234
234
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).
236
236
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**.
238
238
239
239
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**).
240
240
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**).
242
242
243
243
5. Attach the newly created virtual network interfaces to the corresponding virtual machines by doing the following:
244
244
@@ -248,28 +248,29 @@ The next instructions assume that you've already created the resource group, the
248
248
249
249
c. In the **Overview** pane, select **Stop** to deallocate the virtual machine.
250
250
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.
252
252
253
253
e. Select **Save**.
254
254
255
255
f. Repeat steps b through e for the remaining virtual machines (in our example, **hanadb2** and **hanadb3**).
256
256
257
257
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.
258
258
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:
260
260
261
261
a. Open [Azure Cloud Shell](https://azure.microsoft.com/features/cloud-shell/) in the [Azure portal](https://portal.azure.com/#home).
262
262
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.
264
264
265
265
<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
+
266
270
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
267
271
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
268
272
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
+
273
274
</code></pre>
274
275
275
276
7. Start the virtual machines by doing the following:
@@ -292,31 +293,48 @@ Configure and prepare your OS by doing the following:
292
293
293
294
<pre><code>
294
295
# 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
298
299
# 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
302
303
# Hana
303
304
10.23.3.4 hanadb1-hana
304
305
10.23.3.5 hanadb2-hana
305
306
10.23.3.6 hanadb3-hana
306
307
</code></pre>
307
308
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`.
309
312
310
313
<pre><code>
311
314
vi /etc/sysconfig/network/dhcp
312
315
#Change the following DHCP setting to "no"
313
316
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
316
319
#Change CLOUD_NETCONFIG_MANAGE='yes' to "no"
317
320
CLOUD_NETCONFIG_MANAGE='no'
318
321
</code></pre>
319
322
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
+
320
338
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.
0 commit comments