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/migrate/how-to-create-group-machine-dependencies-agentless.md
+38-38Lines changed: 38 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: vibansa
6
6
ms.manager: abhemraj
7
7
ms.service: azure-migrate
8
8
ms.topic: how-to
9
-
ms.date: 12/12/2022
9
+
ms.date: 06/30/2023
10
10
ms.custom: engagement-fy25
11
11
---
12
12
@@ -17,22 +17,22 @@ This article describes how to set up agentless dependency analysis using Azure M
17
17
18
18
## Current limitations
19
19
20
-
- In the dependency analysis view, you currently cannot add or remove a server from a group.
20
+
- In the dependency analysis view, you currently can't add or remove a server from a group.
21
21
- A dependency map for a group of servers isn't currently available.
22
-
- In an Azure Migrate project, you can enable dependency data collection concurrently for 1000 servers per appliance.
23
-
- You can analyze more than 1000 servers per project either by enabling dependency analysis concurrently on servers discovered by multiple appliances or by sequencing in batches of 1000 for servers discovered from one appliance.
22
+
- In an Azure Migrate project, you can enable dependency data collection concurrently for 1,000 servers per appliance.
23
+
- You can analyze more than 1,000 servers per project either by enabling dependency analysis concurrently on servers discovered by multiple appliances or by sequencing in batches of 1000 for servers discovered from one appliance.
24
24
25
25
## Before you start
26
26
27
-
- Ensure that you have [created a project](./create-manage-projects.md) with the Azure Migrate: Discovery and assessment tool added to it.
28
-
- Review the requirements based on your environment and the appliance you are setting up to perform software inventory:
27
+
- Ensure that you [created a project](./create-manage-projects.md) with the Azure Migrate: Discovery and assessment tool added to it.
28
+
- Review the requirements based on your environment and the appliance you're setting up to perform software inventory:
Physical servers or servers running on other clouds | Review [server requirements](migrate-support-matrix-physical.md#physical-server-requirements) <br/> Review [appliance requirements](migrate-appliance.md#appliance---physical)<br/> Review [port access requirements](migrate-support-matrix-physical.md#port-access)<br/> Review [agentless dependency analysis requirements](migrate-support-matrix-physical.md#dependency-analysis-requirements-agentless)
35
-
- Review the Azure URLs that the appliance will need to access in the [public](migrate-appliance.md#public-cloud-urls) and [government clouds](migrate-appliance.md#government-cloud-urls).
35
+
- Review the Azure URLs that the appliance need to access in the [public](migrate-appliance.md#public-cloud-urls) and [government clouds](migrate-appliance.md#government-cloud-urls).
36
36
37
37
38
38
## Deploy and configure the Azure Migrate appliance
@@ -41,19 +41,19 @@ This article describes how to set up agentless dependency analysis using Azure M
41
41
2. As you configure the appliance, you need to specify the following in the appliance configuration manager:
42
42
- The details of the source environment (vCenter Server(s)/Hyper-V host(s) or cluster(s)/physical servers) which you want to discover.
43
43
- Server credentials, which can be domain/ Windows (non-domain)/ Linux (non-domain) credentials. [Learn more](add-server-credentials.md) about how to provide credentials and how the appliance handles them.
44
-
- Verify the permissions required to perform agentless dependency analysis. For Windows servers, you need to provide domain or non-domain (local) account with administrative permissions. For Linux servers, provide a sudo user account with permissions to execute ls and netstat commands or create a user account that has the CAP_DAC_READ_SEARCH and CAP_SYS_PTRACE permissions on /bin/netstat and /bin/ls files. If you're providing a sudo user account, ensure that you have enabled NOPASSWD for the account to run the required commands without prompting for a password every time sudo command is invoked.
44
+
- Verify the permissions required to perform agentless dependency analysis. For Windows servers, you need to provide domain or non-domain (local) account with administrative permissions. For Linux servers, provide a sudo user account with permissions to execute ls and netstat commands or create a user account that has the CAP_DAC_READ_SEARCH and CAP_SYS_PTRACE permissions on /bin/netstat and /bin/ls files. If you're providing a sudo user account, ensure that you enabled NOPASSWD for the account to run the required commands without prompting for a password every time sudo command is invoked.
45
45
46
46
### Add credentials and initiate discovery
47
47
48
48
1. Open the appliance configuration manager, complete the prerequisite checks and registration of the appliance.
49
-
2. Navigate to the **Manage credentials and discovery sources** panel.
50
-
1. In **Step 1: Provide credentials for discovery source**, click on **Add credentials** to provide credentials for the discovery source that the appliance will use to discover servers running in your environment.
51
-
1. In **Step 2: Provide discovery source details**, click on**Add discovery source** to select the friendly name for credentials from the drop-down, specify the **IP address/FQDN** of the discovery source.
49
+
2. Navigate to the **Managed credentials and discovery sources** panel.
50
+
1. In **Step 1: Provide credentials for discovery source**, select **Add credentials** to provide credentials for the discovery source that the appliance uses to discover servers running in your environment.
51
+
1. In **Step 2: Provide discovery source details**, select**Add discovery source** to select the friendly name for credentials from the drop-down, specify the **IP address/FQDN** of the discovery source.
52
52
:::image type="content" source="./media/tutorial-discover-vmware/appliance-manage-sources.png" alt-text="Panel 3 on appliance configuration manager for vCenter Server details.":::
53
-
1. In **Step 3: Provide server credentials to perform software inventory and agentless dependency analysis**, click**Add credentials** to provide multiple server credentials to perform software inventory.
54
-
1.Click on**Start discovery**, to initiate discovery.
53
+
1. In **Step 3: Provide server credentials to perform software inventory and agentless dependency analysis**, select**Add credentials** to provide multiple server credentials to perform software inventory.
54
+
1.Select**Start discovery**, to initiate discovery.
55
55
56
-
After the server discovery is complete, appliance initiates the discovery of installed applications, roles and features (software inventory) on the servers. During software inventory, the discovered servers are validated to check if they meet the prerequisites and can be enabled for agentless dependency analysis.
56
+
After the server discovery is complete, appliance initiates the discovery of installed applications, roles, and features (software inventory) on the servers. During software inventory, the discovered servers are validated to check if they meet the prerequisites and can be enabled for agentless dependency analysis.
57
57
58
58
> [!Note]
59
59
> You can enable agentless dependency analysis for discovered servers from Azure Migrate project. Only the servers where the validation succeeds can be selected to enable agentless dependency analysis.
@@ -64,28 +64,28 @@ This article describes how to set up agentless dependency analysis using Azure M
64
64
65
65
Select the servers on which you want to enable dependency discovery.
66
66
67
-
1. In **Azure Migrate: Discovery and assessment**, click**Discovered servers**.
67
+
1. In **Azure Migrate: Discovery and assessment**, select**Discovered servers**.
68
68
2. Choose the **Appliance name** whose discovery you want to review.
69
69
1. You can see the validation status of the servers under **Dependencies (agentless)** column.
70
-
1.Click the **Dependency analysis** drop-down.
71
-
1.Click**Add servers**.
70
+
1.Select the **Dependency analysis** drop-down.
71
+
1.Select**Add servers**.
72
72
1. In the **Add servers** page, select the servers where you want to enable dependency analysis. You can enable dependency mapping only on those servers where validation succeeded. The next validation cycle will run 24 hours after the last validation timestamp.
73
-
1. After selecting the servers, click**Add servers**.
73
+
1. After selecting the servers, select**Add servers**.
74
74
75
75
:::image type="content" source="./media/how-to-create-group-machine-dependencies-agentless/start-dependency-discovery.png" alt-text="Screenshot of process to start dependency analysis.":::
76
76
77
77
You can visualize dependencies around six hours after enabling dependency analysis on servers. If you want to simultaneously enable multiple servers for dependency analysis, you can use [PowerShell](#start-or-stop-dependency-analysis-using-powershell) to do so.
78
78
79
79
## Visualize dependencies
80
80
81
-
1. In **Azure Migrate: Discovery and assessment**, click**Discovered servers**.
81
+
1. In **Azure Migrate: Discovery and assessment**, select**Discovered servers**.
82
82
1. Choose the **Appliance name** whose discovery you want to review.
83
83
1. Search for the server whose dependencies, you want to review.
84
-
1. Under the **Dependencies (agentless)** column, click**View dependencies**
84
+
1. Under the **Dependencies (agentless)** column, select**View dependencies**
85
85
1. Change the time period for which you want to view the map using the **Time duration** dropdown.
86
86
1. Expand the **Client** group to list the servers with a dependency on the selected server.
87
87
1. Expand the **Port** group to list the servers that have a dependency from the selected server.
88
-
1. To navigate to the map view of any of the dependent servers, click on the server name > **Load server map**
88
+
1. To navigate to the map view of any of the dependent servers, select the server name > **Load server map**
89
89
:::image type="content" source="./media/how-to-create-group-machine-dependencies-agentless/load-server-map.png" alt-text="Screenshot to Expand Server port group and load server map.":::
@@ -97,12 +97,12 @@ You can visualize dependencies around six hours after enabling dependency analys
97
97
98
98
## Export dependency data
99
99
100
-
1. In **Azure Migrate: Discovery and assessment**, click**Discovered servers**.
101
-
2.Click the **Dependency analysis** drop-down.
102
-
3.Click**Export application dependencies**.
100
+
1. In **Azure Migrate: Discovery and assessment**, select**Discovered servers**.
101
+
2.Select the **Dependency analysis** drop-down.
102
+
3.Select**Export application dependencies**.
103
103
4. In the **Export application dependencies** page, choose the appliance name that is discovering the desired servers.
104
104
5. Select the start time and end time. Note that you can download the data only for the last 30 days.
105
-
6.Click**Export dependency**.
105
+
6.Select**Export dependency**.
106
106
107
107
The dependency data is exported and downloaded in a CSV format. The downloaded file contains the dependency data across all servers enabled for dependency analysis.
108
108
:::image type="content" source="./media/how-to-create-group-machine-dependencies-agentless/export.png" alt-text="Screenshot to Export dependencies.":::
@@ -111,7 +111,7 @@ The dependency data is exported and downloaded in a CSV format. The downloaded f
111
111
112
112
Each row in the exported CSV corresponds to a dependency observed in the specified time slot.
113
113
114
-
The following table summarizes the fields in the exported CSV. Note that server name, application and process fields are populated only for servers that have agentless dependency analysis enabled.
114
+
The following table summarizes the fields in the exported CSV. Note that server name, application, and process fields are populated only for servers that have agentless dependency analysis enabled.
115
115
116
116
**Field name** | **Details**
117
117
--- | ---
@@ -129,12 +129,12 @@ Destination port | Port number on the destination server
129
129
130
130
Select the servers on which you want to stop dependency discovery.
131
131
132
-
1. In **Azure Migrate: Discovery and assessment**, click**Discovered servers**.
132
+
1. In **Azure Migrate: Discovery and assessment**, select**Discovered servers**.
133
133
1. Choose the **Appliance name** whose discovery you want to review.
134
-
1.Click the **Dependency analysis** drop-down.
135
-
1.Click**Remove servers**.
134
+
1.Select the **Dependency analysis** drop-down.
135
+
1.Select**Remove servers**.
136
136
1. In the **Remove servers** page, select the server, which you want to stop for dependency analysis.
137
-
1. After selecting the servers,click **Remove servers**.
137
+
1. After selecting the servers,click **Remove servers**.
138
138
139
139
If you want to stop dependency simultaneously on multiple servers, you can use [PowerShell](#start-or-stop-dependency-analysis-using-powershell) to do so.
140
140
@@ -144,7 +144,7 @@ Download the PowerShell module from [Azure PowerShell Samples](https://github.co
144
144
145
145
### Log in to Azure
146
146
147
-
1. Log into your Azure subscription using the Connect-AzAccount cmdlet.
147
+
1. Log in to your Azure subscription using the Connect-AzAccount cmdlet.
148
148
149
149
```PowerShell
150
150
Connect-AzAccount
@@ -196,8 +196,8 @@ Azure Migrate offers a Power BI template that you can use to visualize network c
196
196
197
197
1. Download the PowerShell module and the Power BI template from [Azure PowerShell Samples](https://github.com/Azure/azure-docs-powershell-samples/tree/master/azure-migrate/dependencies-at-scale) repo on GitHub.
198
198
199
-
2. Log in to Azure using the below instructions:
200
-
- Log into your Azure subscription using the Connect-AzAccount cmdlet.
199
+
2. Sign in to Azure using the below instructions:
200
+
- Log in to your Azure subscription using the Connect-AzAccount cmdlet.
201
201
202
202
```PowerShell
203
203
Connect-AzAccount
@@ -221,7 +221,7 @@ Azure Migrate offers a Power BI template that you can use to visualize network c
221
221
Import-Module .\AzMig_Dependencies.psm1
222
222
```
223
223
224
-
4. Run the following command. This command downloads the dependencies data in a CSV and processes it to generate a list of unique dependencies that can be used for visualization in Power BI. In the example below the project name is FabrikamDemoProject, and the resource group it belongs to is FabrikamDemoRG. The dependencies will be downloaded for servers discovered by FabrikamAppliance. The unique dependencies will be saved in FabrikamDemo_Dependencies.csv
224
+
4. Run the following command. This command downloads the dependencies data in a CSV and processes it to generate a list of unique dependencies that can be used for visualization in Power BI. In the example below the project name is FabrikamDemoProject, and the resource group it belongs to is FabrikamDemoRG. The dependencies will be downloaded for servers discovered by FabrikamAppliance. The unique dependencies are saved in FabrikamDemo_Dependencies.csv
@@ -231,12 +231,12 @@ Azure Migrate offers a Power BI template that you can use to visualize network c
231
231
232
232
6. Load the downloaded dependency data in Power BI.
233
233
- Open the template in Power BI.
234
-
- Click on **Get Data** on the tool bar.
234
+
- Select **Get Data** on the tool bar.
235
235
- Choose **Text/CSV** from Common data sources.
236
236
- Choose the dependencies file downloaded.
237
-
- Click **Load**.
238
-
- You will see a table is imported with the name of the CSV file. You can see the table in the fields bar on the right. Rename it to AzMig_Dependencies
239
-
- Click on refresh from the tool bar.
237
+
- Select **Load**.
238
+
- You'll see a table is imported with the name of the CSV file. You can see the table in the fields bar on the right. Rename it to AzMig_Dependencies
239
+
- Select refresh from the tool bar.
240
240
241
241
The Network Connections chart and the Source server name, Destination server name, Source process name, Destination process name slicers should light up with the imported data.
0 commit comments