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
Copy file name to clipboardExpand all lines: articles/hpc-cache/hpc-cache-add-storage.md
+34-12Lines changed: 34 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: How to define storage targets so that your Azure HPC Cache can use
4
4
author: ekpgh
5
5
ms.service: hpc-cache
6
6
ms.topic: conceptual
7
-
ms.date: 10/30/2019
7
+
ms.date: 11/18/2019
8
8
ms.author: rohogue
9
9
---
10
10
@@ -36,7 +36,7 @@ To define an Azure Blob container, enter this information.
36
36
37
37
***Storage target name** - Set a name that identifies this storage target in the Azure HPC Cache.
38
38
***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.
40
40
41
41
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).
42
42
@@ -48,13 +48,16 @@ To define an Azure Blob container, enter this information.
48
48
49
49
When finished, click **OK** to add the storage target.
50
50
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
+
51
54
### Add the access control roles to your account
52
55
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.
54
57
55
58
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".
56
59
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.
58
61
59
62
Steps to add the RBAC roles:
60
63
@@ -71,15 +74,15 @@ Steps to add the RBAC roles:
71
74
> [!NOTE]
72
75
> 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.
73
76
74
-
1. Click the **Save** button to add the role assignment to the storage account.
77
+
1. Click the **Save** button at the bottom.
75
78
76
79
1. Repeat this process to assign the role "Storage Blob Data Contributor".
77
80
78
81

79
82
80
83
## Add a new NFS storage target
81
84
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.
83
86
84
87

85
88
@@ -91,14 +94,15 @@ Provide this information for an NFS-backed storage target:
91
94
92
95
***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.)
93
96
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.
95
98
96
99
### NFS namespace paths
97
100
98
101
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.
99
102
100
103
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.
102
106
103
107
Fill in these values for each namespace path:
104
108
@@ -117,11 +121,29 @@ When finished, click **OK** to add the storage target.
117
121
118
122
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.
119
123
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.
121
139
122
-
* Read/write - If clients use the cache to read and write, choose this option.
140
+
This table summarizes the usage model differences:
123
141
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 |
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).
Copy file name to clipboardExpand all lines: articles/hpc-cache/hpc-cache-create.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: How to create an Azure HPC Cache instance
4
4
author: ekpgh
5
5
ms.service: hpc-cache
6
6
ms.topic: tutorial
7
-
ms.date: 10/30/2019
7
+
ms.date: 11/11/2019
8
8
ms.author: rohogue
9
9
---
10
10
@@ -59,6 +59,7 @@ Cache creation takes about 10 minutes. You can track the progress in the Azure p
59
59

60
60
61
61
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 -->
62
63
63
64

Copy file name to clipboardExpand all lines: articles/hpc-cache/hpc-cache-ingest-manual.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.author: rohogue
12
12
13
13
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.
14
14
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).
Copy file name to clipboardExpand all lines: articles/hpc-cache/hpc-cache-ingest-msrsync.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.author: rohogue
12
12
13
13
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.
14
14
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).
16
16
17
17
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.
Copy file name to clipboardExpand all lines: articles/hpc-cache/hpc-cache-ingest-parallelcp.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,29 +12,29 @@ ms.author: rohogue
12
12
13
13
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.
14
14
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).
16
16
17
17
## Create the parallelcp script
18
18
19
19
The script below will add the executable `parallelcp`. (This script is designed for Ubuntu; if using another distribution, you must install ``parallel`` separately.)
Copy file name to clipboardExpand all lines: articles/hpc-cache/hpc-cache-manage.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: How to manage and update Azure HPC Cache using the Azure portal
4
4
author: ekpgh
5
5
ms.service: hpc-cache
6
6
ms.topic: conceptual
7
-
ms.date: 10/30/2019
7
+
ms.date: 11/18/2019
8
8
ms.author: rohogue
9
9
---
10
10
@@ -14,7 +14,7 @@ The cache overview page in the Azure portal shows project details, cache status,
14
14
15
15
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.
16
16
17
-
<!-- placeholder is identical to hpc-cache-new-overview.png; replace with better image (showing graphs, full sidebar) when available -->
17
+

18
18
19
19
The buttons at the top of the page can help you manage the cache:
20
20
@@ -32,23 +32,25 @@ The **Flush** button on the overview page tells the cache to immediately write a
32
32
> [!NOTE]
33
33
> During the flush process, the cache can't serve client requests. Cache access is suspended and resumes after the operation finishes.
34
34
35
+

36
+
35
37
When you start the cache flush operation, the cache stops accepting client requests, and the cache status on the overview page changes to **Flushing**.
36
38
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.
38
40
39
41
After all the data is saved to storage targets, the cache automatically starts taking client requests again. The cache status returns to **Healthy**.
40
42
41
43
## Upgrade cache software
42
44
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.
44
46
45
47

46
48
47
49
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.
48
50
49
51
The software update can take several hours. Caches configured with higher throughput take longer to upgrade than caches with smaller peak throughput values.
50
52
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.
52
54
53
55
Click the **Upgrade** button to begin the software update. The cache status changes to **Upgrading** until the operation completes.
0 commit comments