Skip to content

Commit 6282d8b

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into freshness51
2 parents cdf3a0b + 3de9de8 commit 6282d8b

28 files changed

+103
-41
lines changed

articles/hpc-cache/hpc-cache-add-storage.md

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: How to define storage targets so that your Azure HPC Cache can use
44
author: ekpgh
55
ms.service: hpc-cache
66
ms.topic: conceptual
7-
ms.date: 10/30/2019
7+
ms.date: 11/18/2019
88
ms.author: rohogue
99
---
1010

@@ -36,7 +36,7 @@ To define an Azure Blob container, enter this information.
3636

3737
* **Storage target name** - Set a name that identifies this storage target in the Azure HPC Cache.
3838
* **Target type** - Choose **Blob**.
39-
* **Storage account** - Select the account with the container to reference.
39+
* **Storage account** - Select the account with the container that you want to use.
4040

4141
You will need to authorize the cache instance to access the storage account as described in [Add the access roles](#add-the-access-control-roles-to-your-account).
4242

@@ -48,13 +48,16 @@ To define an Azure Blob container, enter this information.
4848

4949
When finished, click **OK** to add the storage target.
5050

51+
> [!NOTE]
52+
> If your storage account firewall is set to restrict access to only "selected networks," use the temporary workaround documented in [Work around Blob storage account firewall settings](hpc-cache-blob-firewall-fix.md).
53+
5154
### Add the access control roles to your account
5255

53-
Azure HPC Cache uses [role-based access control (RBAC)](https://docs.microsoft.com/azure/role-based-access-control/index) to authorize the cache application to access your storage account for Azure Blob storage targets.
56+
Azure HPC Cache uses [role-based access control (RBAC)](https://docs.microsoft.com/azure/role-based-access-control/index) to authorize the cache service to access your storage account for Azure Blob storage targets.
5457

5558
The storage account owner must explicitly add the roles [Storage Account Contributor](https://docs.microsoft.com/azure/role-based-access-control/built-in-roles#storage-account-contributor) and [Storage Blob Data Contributor](https://docs.microsoft.com/azure/role-based-access-control/built-in-roles#storage-blob-data-contributor) for the user "HPC Cache Resource Provider".
5659

57-
You can do this ahead of time, or by clicking a link on the page where you add a Blob storage target.
60+
You can do this ahead of time, or by clicking a link on the page where you add a Blob storage target. Keep in mind that it can take up to five minutes for the role settings to propagate through the Azure environment, so you should wait a few minutes after adding the roles before creating a storage target.
5861

5962
Steps to add the RBAC roles:
6063

@@ -71,15 +74,15 @@ Steps to add the RBAC roles:
7174
> [!NOTE]
7275
> If a search for "hpc" doesn't work, try using the string "storagecache" instead. Users who joined the previews (before GA) might need to use the older name for the service principal.
7376
74-
1. Click the **Save** button to add the role assignment to the storage account.
77+
1. Click the **Save** button at the bottom.
7578

7679
1. Repeat this process to assign the role "Storage Blob Data Contributor".
7780

7881
![screenshot of add role assignment GUI](media/hpc-cache-add-role.png)
7982

8083
## Add a new NFS storage target
8184

82-
An NFS storage target has some extra fields to specify how to reach the storage export and how to efficiently cache its data. Also, you can create multiple namespace paths from one NFS host if it has more than one export available.
85+
An NFS storage target has more fields than the Blob storage target. These fields specify how to reach the storage export and how to efficiently cache its data. Also, an NFS storage target lets you create multiple namespace paths if the NFS host has more than one export available.
8386

8487
![Screenshot of add storage target page with NFS target defined](media/hpc-cache-add-nfs-target.png)
8588

@@ -91,14 +94,15 @@ Provide this information for an NFS-backed storage target:
9194

9295
* **Hostname** - Enter the IP address or fully qualified domain name for your NFS storage system. (Use a domain name only if your cache has access to a DNS server that can resolve the name.)
9396

94-
* **Usage model** - Choose one of the data caching profiles based on your workflow, described in [Choose a usage model, below](#choose-a-usage-model).
97+
* **Usage model** - Choose one of the data caching profiles based on your workflow, described in [Choose a usage model](#choose-a-usage-model), below.
9598

9699
### NFS namespace paths
97100

98101
An NFS storage target can have multiple virtual paths, as long as each path represents a different export or subdirectory on the same storage system.
99102

100103
Create all of the paths from one storage target.
101-
<!-- You can create multiple namespace paths to represent different exports on the same NFS storage system, but you must create them all from one storage target. -->
104+
105+
You can [add and edit namespace paths](hpc-cache-edit-storage.md) on a storage target at any time.
102106

103107
Fill in these values for each namespace path:
104108

@@ -117,11 +121,29 @@ When finished, click **OK** to add the storage target.
117121

118122
When you create a storage target that points to an NFS storage system, you need to choose the *usage model* for that target. This model determines how your data is cached.
119123

120-
* Read heavy - If you mostly use the cache to speed up data read access, choose this option.
124+
There are three options:
125+
126+
* **Read heavy, infrequent writes** - Use this option if you want to speed up read access to files that are static or rarely changed.
127+
128+
This option caches files that clients read, but passes writes through to the back-end storage immediately. Files stored in the cache are never compared to the files on the NFS storage volume.
129+
130+
Do not use this option if there is a risk that a file might be modified directly on the storage system without first writing it to the cache. If that happens, the cached version of the file will never be updated with changes from the back end, and the data set can become inconsistent.
131+
132+
* **Greater than 15% writes** - This option speeds up both read and write performance. When using this option, all clients must access files through the Azure HPC Cache instead of mounting the back-end storage directly. The cached files will have recent changes that are not stored on the back end.
133+
134+
In this usage model, files in the cache are not checked against the files on back-end storage. The cached version of the file is assumed to be more current. A modified file in the cache is only written to the back-end storage system after it has been in the cache for an hour with no additional changes.
135+
136+
* **Clients write to the NFS target, bypassing the cache** - Choose this option if any clients in your workflow write data directly to the storage system without first writing to the cache. Files that clients request are cached, but any changes to those files from the client are passed back to the back-end storage system immediately.
137+
138+
With this usage model, the files in the cache are frequently checked against the back-end versions for updates. This verification allows files to be changed outside of the cache while maintaining data consistency.
121139

122-
* Read/write - If clients use the cache to read and write, choose this option.
140+
This table summarizes the usage model differences:
123141

124-
* Clients bypass the cache - Choose this option if your clients write data directly to the storage system without first writing to the cache.
142+
| Usage model | Caching mode | Back-end verification | Maximum write-back delay |
143+
| ---- | ---- | ---- | ---- |
144+
| Read heavy, infrequent writes | Read | Never | None |
145+
| Greater than 15% writes | Read/write | Never | 1 hour |
146+
| Clients bypass the cache | Read | 30 seconds | None |
125147

126148
## Next steps
127149

@@ -130,4 +152,4 @@ After creating storage targets, consider one of these tasks:
130152
* [Mount the Azure HPC Cache](hpc-cache-mount.md)
131153
* [Move data to Azure Blob storage](hpc-cache-ingest.md)
132154

133-
If you need to change a storage target, read [Edit storage targets](hpc-cache-edit-storage.md) to learn how.
155+
If you need to update any settings, you can [edit a storage target](hpc-cache-edit-storage.md).
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Work around storage firewall settings
3+
description: A storage account network firewall setting can cause failure when creating an Azure Blob storage target in Azure HPC Cache. This article gives a workaround for the limitation until a software fix is in place.
4+
author: ekpgh
5+
ms.service: hpc-cache
6+
ms.topic: conceptual
7+
ms.date: 11/7/2019
8+
ms.author: rohogue
9+
---
10+
11+
# Work around Blob storage account firewall settings
12+
13+
A particular setting used in storage account firewalls can cause your Blob storage target creation to fail. The Azure HPC Cache team is working on a software fix for this problem, but you can work around it by following the instructions in this article.
14+
15+
The firewall setting that allows access only from "selected networks" can prevent the cache from creating a Blob storage target. This configuration is in the storage account's **Firewalls and virtual networks** settings page.
16+
17+
The issue is that the cache service uses a hidden service virtual network that is separate from customer environments. It isn't possible to explicitly authorize this network to access your storage account.
18+
19+
When you create a Blob storage target, the cache service uses this network to check whether or not the container is empty. If the firewall does not allow access from the hidden network, the check fails, and the storage target creation fails.
20+
21+
To work around the problem, temporarily change your firewall settings while creating the storage target:
22+
23+
1. Go to the storage account **Firewalls and virtual networks** page and change the setting "Allow access from" to **All networks**.
24+
1. Create the Blob storage target in your Azure HPC Cache.
25+
1. After the storage target has been created successfully, change the account's firewall setting back to **Selected networks**.
26+
27+
Azure HPC Cache does not use the service virtual network to access the finished storage target.
28+
29+
For help with this workaround, [contact Microsoft Service and Support](hpc-cache-support-ticket.md).

articles/hpc-cache/hpc-cache-create.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: How to create an Azure HPC Cache instance
44
author: ekpgh
55
ms.service: hpc-cache
66
ms.topic: tutorial
7-
ms.date: 10/30/2019
7+
ms.date: 11/11/2019
88
ms.author: rohogue
99
---
1010

@@ -59,6 +59,7 @@ Cache creation takes about 10 minutes. You can track the progress in the Azure p
5959
![screenshot of cache creation "deployment underway" and "notifications" pages in portal](media/hpc-cache-deploy-status.png)
6060

6161
When creation finishes, a notification appears with a link to the new Azure HPC Cache instance, and the cache appears in your subscription's **Resources** list.
62+
<!-- double check on notification -->
6263

6364
![screenshot of Azure HPC Cache instance in Azure portal](media/hpc-cache-new-overview.png)
6465

articles/hpc-cache/hpc-cache-edit-storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ After making changes, click **OK** to update the storage target, or click **Canc
4242

4343
## Update an Azure Blob storage target
4444

45-
The details page for a Blob storage target lets you modify the virtual namespace path.
45+
The details page for a Blob storage target lets you modify the virtual namespace path.
4646

4747
![screenshot of the edit page for a blob storage target](media/hpc-cache-edit-storage-blob.png)
4848

articles/hpc-cache/hpc-cache-ingest-manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: rohogue
1212

1313
This article gives detailed instructions for manually copying data to a Blob storage container for use with Azure HPC Cache. It uses multi-threaded parallel operations to optimize the copy speed.
1414

15-
To learn more about moving data to Blob storage for your Azure HPC Cache, read [Move data to Azure Blob storage for Azure HPC Cache](hpc-cache-ingest.md).
15+
To learn more about moving data to Blob storage for your Azure HPC Cache, read [Move data to Azure Blob storage](hpc-cache-ingest.md).
1616

1717
## Simple copy example
1818

articles/hpc-cache/hpc-cache-ingest-msrsync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: rohogue
1212

1313
This article gives detailed instructions for using the ``msrsync`` utility to copy data to an Azure Blob storage container for use with Azure HPC Cache.
1414

15-
To learn more about moving data to Blob storage for your Azure HPC Cache, read [Move data to Azure Blob storage for Azure HPC Cache](hpc-cache-ingest.md).
15+
To learn more about moving data to Blob storage for your Azure HPC Cache, read [Move data to Azure Blob storage](hpc-cache-ingest.md).
1616

1717
The ``msrsync`` tool can be used to move data to a backend storage target for the Azure HPC Cache. This tool is designed to optimize bandwidth usage by running multiple parallel ``rsync`` processes. It is available from GitHub at https://github.com/jbd/msrsync.
1818

articles/hpc-cache/hpc-cache-ingest-parallelcp.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ ms.author: rohogue
1212

1313
This article gives instructions for creating the ``parallelcp`` script and using it to move data to a Blob storage container for use with Azure HPC Cache.
1414

15-
To learn more about moving data to Blob storage for your Azure HPC Cache, read [Move data to Azure Blob storage for Azure HPC Cache](hpc-cache-ingest.md).
15+
To learn more about moving data to Blob storage for your Azure HPC Cache, read [Move data to Azure Blob storage](hpc-cache-ingest.md).
1616

1717
## Create the parallelcp script
1818

1919
The script below will add the executable `parallelcp`. (This script is designed for Ubuntu; if using another distribution, you must install ``parallel`` separately.)
2020

2121
```bash
22-
sudo touch /usr/bin/parallelcp && sudo chmod 755 /usr/bin/parallelcp && sudo sh -c "/bin/cat >/usr/bin/parallelcp" <<EOM
22+
sudo touch /usr/bin/parallelcp && sudo chmod 755 /usr/bin/parallelcp && sudo sh -c "/bin/cat >/usr/bin/parallelcp" <<EOM
2323
#!/bin/bash
2424
25-
display_usage() {
26-
echo -e "\nUsage: \$0 SOURCE_DIR DEST_DIR\n"
27-
}
25+
display_usage() {
26+
echo -e "\nUsage: \$0 SOURCE_DIR DEST_DIR\n"
27+
}
2828
29-
if [ \$# -le 1 ] ; then
29+
if [ \$# -le 1 ] ; then
3030
display_usage
3131
exit 1
32-
fi
33-
34-
if [[ ( \$# == "--help") || \$# == "-h" ]] ; then
32+
fi
33+
34+
if [[ ( \$# == "--help") || \$# == "-h" ]] ; then
3535
display_usage
3636
exit 0
37-
fi
37+
fi
3838
3939
SOURCE_DIR="\$1"
4040
DEST_DIR="\$2"

articles/hpc-cache/hpc-cache-manage.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: How to manage and update Azure HPC Cache using the Azure portal
44
author: ekpgh
55
ms.service: hpc-cache
66
ms.topic: conceptual
7-
ms.date: 10/30/2019
7+
ms.date: 11/18/2019
88
ms.author: rohogue
99
---
1010

@@ -14,7 +14,7 @@ The cache overview page in the Azure portal shows project details, cache status,
1414

1515
To open the overview page, select your cache resource in the Azure portal. For example, load the **All resources** page and click the cache name.
1616

17-
![screenshot of an Azure HPC Cache instance's Overview page](media/hpc-cache-overview.png) <!-- placeholder is identical to hpc-cache-new-overview.png; replace with better image (showing graphs, full sidebar) when available -->
17+
![screenshot of an Azure HPC Cache instance's Overview page](media/hpc-cache-overview.png)
1818

1919
The buttons at the top of the page can help you manage the cache:
2020

@@ -32,23 +32,25 @@ The **Flush** button on the overview page tells the cache to immediately write a
3232
> [!NOTE]
3333
> During the flush process, the cache can't serve client requests. Cache access is suspended and resumes after the operation finishes.
3434
35+
![screenshot of the top buttons with Flush highlighted and a pop-up message describing the flush action and asking 'do you want to continue?' with Yes (default) and No buttons](media/hpc-cache-flush.png)
36+
3537
When you start the cache flush operation, the cache stops accepting client requests, and the cache status on the overview page changes to **Flushing**.
3638

37-
Data in the cache is saved to the appropriate storage targets. The process can take a few minutes or it can take an hour or more, depending on how much data has been written to the cache recently.
39+
Data in the cache is saved to the appropriate storage targets. Depending on how much data needs to be flushed, the process can take a few minutes or over an hour.
3840

3941
After all the data is saved to storage targets, the cache automatically starts taking client requests again. The cache status returns to **Healthy**.
4042

4143
## Upgrade cache software
4244

43-
If a new software version is available, the **Upgrade** button becomes active. You also might see a message at the top of the page about updating software.
45+
If a new software version is available, the **Upgrade** button becomes active. You also should see a message at the top of the page about updating software.
4446

4547
![screenshot of the top row of buttons with the Upgrade button enabled](media/hpc-cache-upgrade-button.png)
4648

4749
Client access is not interrupted during a software upgrade, but cache performance slows. Plan to upgrade software during non-peak usage hours or in a planned maintenance period.
4850

4951
The software update can take several hours. Caches configured with higher throughput take longer to upgrade than caches with smaller peak throughput values.
5052

51-
When a software upgrade is available, you have several days to apply it manually. The end date is listed in the upgrade message. If you don't upgrade during that time, Azure automatically applies the update to your cache. The timing of the automatic upgrade is not configurable. If you are concerned about impacting cache performance, you should upgrade the software yourself before the time period expires.
53+
When a software upgrade is available, you will have a week or so to apply it manually. The end date is listed in the upgrade message. If you don't upgrade during that time, Azure automatically applies the update to your cache. The timing of the automatic upgrade is not configurable. If you are concerned about the cache performance impact, you should upgrade the software yourself before the time period expires.
5254

5355
Click the **Upgrade** button to begin the software update. The cache status changes to **Upgrading** until the operation completes.
5456

0 commit comments

Comments
 (0)