Skip to content

Commit 26d3e23

Browse files
committed
Final review
1 parent 7c10e38 commit 26d3e23

27 files changed

+172
-52
lines changed

articles/storage-mover/TOC.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ items:
55
items:
66
- name: What is Azure Storage Mover?
77
href: service-overview.md
8+
- name: Cloud migration basics
9+
href: migration-basics.md
810
expanded: true
911
- name: Concepts
1012
items:
1113
- name: Planning for a deployment
1214
href: deployment-planning.md
13-
- name: Resource Hierarchy
15+
- name: Resource hierarchy
1416
href: resource-hierarchy.md
1517
- name: Migration costs
1618
href: billing.md
17-
- name: Cloud migration basics
18-
href: migration-basics.md
1919
- name: Performance targets
2020
href: performance-targets.md
2121
- name: How-To
@@ -31,11 +31,11 @@ items:
3131
- name: Register or unregister an agent
3232
href: agent-register.md
3333
- name: Manage projects
34-
href: projects-manage.md
34+
href: project-manage.md
3535
- name: Decommission
3636
items:
3737
- name: Unregister an agent
38-
href: agent-register.md
38+
href: agent-deploy#decommissioning-an-agent
3939
expanded: true
4040
- name: Resources
4141
items:

articles/storage-mover/agent-register.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@ This assignment is made in the admin's logon context in the Azure portal. That m
167167

168168
Create a project to collate the different source shares that need to be migrated together.
169169
> [!div class="nextstepaction"]
170-
> [Create and manage a project](projects-manage.md)
170+
> [Create and manage a project](project-manage.md)

articles/storage-mover/index.yml

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### YamlMime:Hub
22

33
title: Azure Storage Mover documentation
4-
summary: Azure Storage Mover includes object, file, disk, queue, and table storage. There are also services for hybrid storage solutions, and services to transfer, share, and back up data.
4+
summary: Azure Storage Mover is a fully managed, hybrid migration service that can help move your on-premises file shares to Azure.
55
brand: azure
66

77
metadata:
@@ -11,7 +11,7 @@ metadata:
1111
ms.topic: hub-page
1212
author: stevenmatthew
1313
ms.author: shaas
14-
ms.date: 06/08/2022
14+
ms.date: 09/14/2022
1515

1616

1717
highlightedContent:
@@ -20,10 +20,10 @@ highlightedContent:
2020
# Card
2121
- title: What is Azure Storage Mover?
2222
itemType: concept
23-
url: /azure/storage-mover/service-overview.md
23+
url: service-overview.md
2424
- title: Understanding the Storage Mover resource hierarchy
2525
itemType: concept
26-
url: /azure/storage-mover/resource-hierarchy.md
26+
url: resource-hierarchy.md
2727
- title: Download the Storage Mover agent
2828
itemType: download
2929
url: https://aka.ms/StorageMover/agent
@@ -39,49 +39,39 @@ additionalContent:
3939
# Card
4040
- title: Service
4141
links:
42-
- url: /azure/storage-mover/deployment-planning.md
42+
- url: deployment-planning.md
4343
text: Planning for a storage mover deployment
44-
- url: /azure/storage-mover/storage-mover-create.md
44+
- url: storage-mover-create.md
4545
text: Deploying a storage mover resource
4646
# Card
4747
- title: Agent
4848
links:
4949
- url: https://aka.ms/StorageMover/agent
5050
text: Download the latest migration agent image
51-
- url: /azure/storage-mover/agent-deploy.md
51+
- url: agent-deploy.md
5252
text: Deploy a Storage Mover agent VM
53-
- url: /azure/storage-mover/agent-register.md
53+
- url: agent-register.md
5454
text: Register an agent VM
5555
# Card
5656
- title: Authentication & Authorization
5757
links:
58-
- url: /azure/storage-mover/agent-register.md#authentication-and-authorization
58+
- url: agent-register.md#authentication-and-authorization
5959
text: Overview
60-
- url: /azure/storage-mover/agent-register.md#just-in-time-authorization
60+
- url: agent-register.md#just-in-time-authorization
6161
text: Just-in-time agent authorization
62-
- url: /azure/storage-mover/deployment-planning.md#permissions
62+
- url: deployment-planning.md#permissions
6363
text: Required admin permissions (RBAC)
64-
# Card
65-
- title: Section 1 Card 4
66-
links:
67-
- url: /azure/storage-mover/service-overview.md
68-
text: Text for section 1 card 4
69-
- url: /azure/storage-mover/service-overview.md
70-
text: Additional text for section 1 card 4
71-
- url: /azure/storage-mover/service-overview
72-
text: See some outrageously cool stuff >
73-
7464
- title: Manage
7565
items:
7666
# Card
7767
- title: Structure a migration
7868
links:
79-
- url: /azure/storage-mover/migration-basics.md
69+
- url: migration-basics.md
8070
text: Cloud migration basics
81-
- url: /azure/storage-mover/projects-manage.md
82-
text: Create a project
71+
- url: project-manage.md
72+
text: Manage a project
8373
# Card
8474
- title: Migration costs
8575
links:
86-
- url: /azure/storage-mover/billing.md
76+
- url: billing.md
8777
text: Understanding cost components
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
---
2+
title: How to define and start a migration job
3+
description: To migrate a share, create a job definition in a project and start it.
4+
author: stevenmatthew
5+
ms.author: shaas
6+
ms.service: storage-mover
7+
ms.topic: how-to
8+
ms.date: 09/14/2022
9+
---
10+
11+
<!--
12+
!########################################################
13+
STATUS: DRAFT
14+
15+
CONTENT:
16+
17+
REVIEW Stephen/Fabian: Reviewed - Stephen
18+
REVIEW Engineering: not reviewed
19+
EDIT PASS: started
20+
21+
Initial doc score: 100 (413 words and 0 issues)
22+
23+
!########################################################
24+
-->
25+
26+
# How to define and start a migration job
27+
28+
When you migrate a share to Azure, you'll need to describe the source share, the Azure target, and any migration settings you want to apply. These attributes are defined in a job definition within your storage mover resource. This article describes how to create and run such a job definition.
29+
30+
## Prerequisites
31+
32+
Before you begin following the examples in this article, it's important that you have an understanding of the Azure Storage Mover resource hierarchy. Review the [Understanding the Storage Mover resource hierarchy](resource-hierarchy.md) article, to understand the necessity of the job definition prerequisites.
33+
34+
There are three prerequisites to the definition the migration of your source shares:
35+
36+
1. You need to have deployed a storage mover resource.
37+
Follow the steps in the *[Create a storage mover resource](storage-mover-create.md)* article to deploy a storage mover resource to the desired region within your Azure subscription.
38+
1. You need to deploy and register an Azure Storage Mover agent virtual machine (VM).
39+
Follow the steps in the [Azure Storage Mover agent VM deployment](agent-deploy.md) and [agent registration](agent-register.md) articles to deploy at least one agent.
40+
1. Finally, to define a migration, you'll need to create a job definition.
41+
Job definitions are organized in a migration project. You'll need at least one migration project in your storage mover resource. If you haven't already, follow the deployment steps in the [manage projects](project-manage.md) article to create a migration project.
42+
43+
## Create and start a job definition
44+
45+
A job definition is created within a project resource. If you've followed the examples contained in previous articles, you may have an existing project within a previously deployed storage mover resource.
46+
47+
Creating a job definition requires you to decide on a project, a source storage endpoint, a target storage endpoint, and a name. Refer to the [resource naming convention](../azure-resource-manager/management/resource-name-rules.md#microsoftstoragesync) to choose a supported name. Storage endpoints are separate resources in your storage mover and must be created first, before you can create a job definition that only references them.
48+
49+
You'll need to use several cmdlets to create a new job definition.
50+
51+
Use the `New-AzStorageMoverJobDefinition` cmdlet to create new job definition resource in a project. The following example assumes that you aren't reusing *storage endpoints* you've previously created.
52+
53+
```powershell
54+
55+
## Set variables
56+
$subscriptionID = "Your subscription ID"
57+
$resourceGroupName = "Your resource group name"
58+
$storageMoverName = "Your storage mover name"
59+
60+
## Log into Azure with your Azure credentials
61+
Connect-AzAccount -SubscriptionId $subscriptionID
62+
63+
## Define the source endpoint: an NFS share in this example
64+
## There is a separate cmdlet for creating each type of endpoint.
65+
## (Each storage location type has different properties.)
66+
## Run "Get-Command -Module Az.StorageMover" to see a full list.
67+
$sourceEpName = "Your source endpoint name could be the name of the share"
68+
$sourceEpDescription = "Optional, up to 1024 characters"
69+
$sourceEpHost = "The IP address or DNS name of the device (NAS / SERVER) that hosts your source share"
70+
$sourceEpExport = "The name of your source share"
71+
## Note that Host and Export will be concatenated to Host:/Export to form the full path to the source NFS share
72+
73+
New-AzStorageMoverNfsEndpoint `
74+
-ResourceGroupName $resourceGroupName `
75+
-StorageMoverName $storageMoverName `
76+
-Name $sourceEpName `
77+
-Host $sourceEpHost `
78+
-Export $sourceEpExport `
79+
-Description $sourceEpDescription # Description optional
80+
81+
## Define the target endpoint: an Azure blob container in this example
82+
$targetEpName = "Your target endpoint name could be the name of the target blob container"
83+
$targetEpDescription = "Optional, up to 1024 characters"
84+
$targetEpContainer = "The name of the target container in Azure"
85+
$targetEpSaResourceId = /subscriptions/<GUID>/resourceGroups/<name>/providers/Microsoft.Storage/storageAccounts/<storageAccountName>
86+
## Note: the target storage account can be in a different subscription and region than the storage mover resource.
87+
## Only the storage account resource ID contains a fully qualified reference.
88+
89+
New-AzStorageMoverAzStorageContainerEndpoint `
90+
-ResourceGroupName $resourceGroupName `
91+
-StorageMoverName $storageMoverName `
92+
-Name $targetEpName `
93+
-BlobContainerName $targetEpContainer `
94+
-StorageAccountResourceId $targetEpSaResourceId `
95+
-Description $targetEpDescription # Description optional
96+
97+
## Create a job definition resource
98+
$projectName = "Your project name"
99+
$jobDefName = "Your job definition name"
100+
$JobDefDescription = "Optional, up to 1024 characters"
101+
$jobDefCopyMode = "Additive"
102+
$agentName = "The name of one of your agents previously registered to the same storage mover resource"
103+
104+
105+
New-AzStorageMoverJobDefinition `
106+
-Name $jobDefName `
107+
-ProjectName $projectName `
108+
-ResourceGroupName $resourceGroupName `
109+
-StorageMoverName $storageMoverName `
110+
-CopyMode $jobDefCopyMode `
111+
-SourceName $sourceEpName `
112+
-TargetName $targetEpName `
113+
-AgentName $agentName `
114+
-Description $sourceEpDescription # Description optional
115+
116+
## When you are ready to start migrating, you can run the job definition
117+
Start-AzStorageMoverJobDefinition `
118+
-JobDefinitionName $jobDefName `
119+
-ProjectName $projectName `
120+
-ResourceGroupName $resourceGroupName `
121+
-StorageMoverName $storageMoverName
122+
123+
```
124+
125+
## Next steps
126+
127+
Advance to the next article to learn how to create...
128+
> [!div class="nextstepaction"]
129+
> [Prepare Haushaltswaffeln for Fabian and Stephen](service-overview.md)
88.2 KB
Loading
34.4 KB
Loading

0 commit comments

Comments
 (0)