Skip to content

Commit 5e764d2

Browse files
committed
updates
1 parent 47faea8 commit 5e764d2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

articles/batch/batch-applications-to-pool-nodes.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,28 @@ ms.author: labrenne
1818

1919
Azure Batch supports several ways for getting data and applications onto compute nodes so that the data and applications are available for use by tasks. Data and applications may be required to run the entire job and so need to be installed on every node. Some may be required only for a specific task, or need to be installed for the job but don't need to be on every node. Batch has tools for each of these scenarios.
2020

21-
- **Pool start task resource files**: For applications or data that need to be installed on every node in the pool. Use this method along with either an application package or the start task's resource file collection in order to perform an install command. Examples:
22-
- Use the start task command line to move or install applications.
21+
- **Pool start task resource files**: For applications or data that need to be installed on every node in the pool. Use this method along with either an application package or the start task's resource file collection in order to perform an install command.
22+
23+
Examples:
24+
- Use the start task command line to move or install applications
25+
2326
- Specify a list of specific files or containers in an Azure storage account. For more information see [add#resourcefile in REST documentation](https://docs.microsoft.com/rest/api/batchservice/pool/add#resourcefile)
24-
- Every job that runs on the pool runs MyApplication.exe that must first be installed with MyApplication.msi. If you use this mechanism, you need to set the start task's **wait for success** property to **true**. For more information, see the [add#starttask in REST documentation ](https://docs.microsoft.com/rest/api/batchservice/pool/add#starttask).
27+
28+
- Every job that runs on the pool runs MyApplication.exe that must first be installed with MyApplication.msi. If you use this mechanism, you need to set the start task's **wait for success** property to **true**. For more information, see the [add#starttask in REST documentation](https://docs.microsoft.com/rest/api/batchservice/pool/add#starttask).
2529

2630
- **Application package references** on the pool: For applications or data that need to be installed on every node in the pool. There is no install command associated with an application package, but you can use a start task to run any install command. If your application doesn't require installation, or consists of a large number of files, you can use this method. Application packages are well suited for large numbers of files because they combine a large number of file references into a small payload. If you try to include more than 100 separate resource files into one task, the Batch service might come up against internal system limitations for a single task. Also, use application packages if you have rigorous versioning requirements where you might have many different versions of the same application and need to choose between them. For more information, read [Deploy applications to compute nodes with Batch application packages](https://docs.microsoft.com/azure/batch/batch-application-packages).
2731

2832
- **Job preparation task resource files**: For applications or data that must be installed for the job to run, but don't need to be installed on the entire pool. For example: if your pool has many different types of jobs, and only one job type needs MyApplication.msi to run, it makes sense to put the installation step into a job preparation task. For more information about job preparation tasks see [Run job preparation and job release tasks on Batch compute nodes](https://azure.microsoft.com/documentation/articles/batch-job-prep-release/).
2933

3034
- **Task resource files**: For when an application or data is relevant only to an individual task. For example: You have five tasks, each processes a different file and then writes the output to blob storage. In this case, the input file should be specified on the **tasks resource files** collection because each task has its own input file.
3135

32-
### Determine the scope required of a file
36+
## Determine the scope required of a file
3337

3438
You need to determine the scope of a file - is the file required for a pool, a job, or a task. Files that are scoped to the pool should use pool application packages, or a start task. Files scoped to the job should use a job preparation task. A good example of files scoped at the pool or job level are applications. Files scoped to the task should use task resource files.
3539

3640
### Other ways to get data onto Batch compute nodes
3741

38-
There are other ways to get data onto Batch compute nodes that are not officially integrated into the Batch REST API. Because you have total control over Azure Batch nodes, and can run custom executables, you are able to pull data from any number of custom sources as long as the Batch node has connectivity to the target and you have the credentials to that source onto the Azure Batch node. A few common examples are:
42+
There are other ways to get data onto Batch compute nodes that are not officially integrated into the Batch REST API. Because you have control over Azure Batch nodes, and can run custom executables, you are able to pull data from any number of custom sources as long as the Batch node has connectivity to the target and you have the credentials to that source onto the Azure Batch node. A few common examples are:
3943

4044
- Downloading data from SQL
4145
- Downloading data from other web services/custom locations

0 commit comments

Comments
 (0)