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/site-recovery/vmware-azure-install-linux-master-target.md
+47-29Lines changed: 47 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,9 @@ Create the master target in accordance with the following sizing guidelines:
49
49
50
50
### Install Ubuntu 16.04.2 Minimal
51
51
52
+
>[!IMPORTANT]
53
+
>Ubuntu 16.04 (Xenial Xerus) has reached its end of life and is no longer supported by Canonical or the Ubuntu community. This means that no security updates or bug fixes will be provided for this version of Ubuntu. Continuing to use Ubuntu 16.04 may expose your system to potential security vulnerabilities or software compatibility issues. We strongly recommend upgrading to a supported version of Ubuntu, such as Ubuntu 18.04 or Ubuntu 20.04.
54
+
52
55
Take the following the steps to install the Ubuntu 16.04.2 64-bit
53
56
operating system.
54
57
@@ -180,8 +183,10 @@ Azure Site Recovery master target server requires a specific version of the Ubun
180
183
> [!NOTE]
181
184
> Make sure that you have Internet connectivity to download and install additional packages. If you don't have Internet connectivity, you need to manually find these Deb packages and install them.
> From, version [9.42](https://support.microsoft.com/en-us/topic/update-rollup-55-for-azure-site-recovery-kb5003408-b19c8190-5f88-43ea-85b1-d9e0cc5ca7e8), Ubuntu 20.04 operating system is supported for Linux master target server.
187
192
> If you wish to use the latest OS, upgrade the operating system to Ubuntu 20.04 before proceeding. To upgrade the operating system later, you can follow the instructions listed [here](#upgrade-os-of-master-target-server-from-ubuntu-1604-to-ubuntu-2004).
@@ -201,7 +206,9 @@ If your master target has Internet connectivity, you can use the following steps
> Make sure that you download and unzip the installer in your home directory. If you unzip to **/usr/Local**, then the installation fails.
@@ -220,18 +227,22 @@ To apply custom configuration changes, use the following steps as a ROOT user:
220
227
221
228
1. Run the following command to untar the binary.
222
229
223
-
`tar -xvf latestlinuxmobsvc.tar.gz`
224
-
230
+
```bash
231
+
sudo tar -xvf latestlinuxmobsvc.tar.gz
232
+
```
225
233

226
234
227
235
2. Run the following command to give permission.
228
236
229
-
`chmod 755 ./ApplyCustomChanges.sh`
230
-
237
+
```bash
238
+
sudo chmod 755 ./ApplyCustomChanges.sh
239
+
```
231
240
232
241
3. Run the following command to run the script.
233
242
234
-
`./ApplyCustomChanges.sh`
243
+
```bash
244
+
sudo ./ApplyCustomChanges.sh
245
+
```
235
246
236
247
> [!NOTE]
237
248
> Run the script only once on the server. Then shut down the server. Restart the server after you add a disk, as described in the next section.
@@ -252,14 +263,16 @@ Use the following steps to create a retention disk:
252
263
253
264
4. After you create the file system, mount the retention disk.
254
265
255
-
```
256
-
mkdir /mnt/retention
257
-
mount /dev/mapper/<Retention disk's multipath id> /mnt/retention
266
+
```bash
267
+
sudo mkdir /mnt/retention
268
+
sudo mount /dev/mapper/<Retention disk's multipath id> /mnt/retention
258
269
```
259
270
260
271
5. Create the **fstab** entry to mount the retention drive every time the system starts.
261
272
262
-
`vi /etc/fstab`
273
+
```bash
274
+
sudo vi /etc/fstab
275
+
```
263
276
264
277
Select **Insert** to begin editing the file. Create a new line, and then insert the following text. Edit the disk multipath ID based on the highlighted multipath ID from the previous command.
265
278
@@ -278,29 +291,32 @@ Use the following steps to create a retention disk:
278
291
279
292
1. Run the following command to install the master target.
2. Copy the passphrase from **C:\ProgramData\Microsoft Azure Site Recovery\private\connection.passphrase** on the configuration server. Then save it as **passphrase.txt**in the same local directory by running the following command:
286
299
287
-
`echo <passphrase> >passphrase.txt`
300
+
```bash
301
+
sudo echo<passphrase>>passphrase.txt
302
+
```
288
303
289
304
Example:
290
305
291
-
`echo itUx70I47uxDuUVY >passphrase.txt`
292
-
306
+
```bash
307
+
sudo echo itUx70I47uxDuUVY >passphrase.txt`
308
+
```
293
309
294
310
3. Note down the configuration server's IP address. Run the following command to register the server with the configuration server.
295
311
296
-
```
297
-
/usr/local/ASR/Vx/bin/UnifiedAgentConfigurator.sh -i <ConfigurationServer IP Address> -P passphrase.txt
312
+
```bash
313
+
sudo /usr/local/ASR/Vx/bin/UnifiedAgentConfigurator.sh -i <ConfigurationServer IP Address> -P passphrase.txt
Wait until the script finishes. If the master target registers successfully, the master target is listed on the **Site Recovery Infrastructure** page of the portal.
@@ -310,8 +326,8 @@ Wait until the script finishes. If the master target registers successfully, the
310
326
311
327
1. Run the following command to install the master target. For the agent role, choose **master target**.
312
328
313
-
```
314
-
./install
329
+
```bash
330
+
sudo ./install
315
331
```
316
332
317
333
2. Choose the default location for installation, and then select **Enter** to continue.
@@ -324,8 +340,8 @@ After the installation has finished, register the configuration server by using
324
340
325
341
2. Run the following command to register the server with the configuration server.
Wait until the script finishes. If the master target is registered successfully, the master target is listed on the **Site Recovery Infrastructure** page of the portal.
@@ -348,8 +364,9 @@ Running the installer will automatically detect that the agent is installed on t
348
364
349
365
After the setup has been completed, check the version of the master target installed by using the following command:
350
366
351
-
`cat /usr/local/.vx_version`
352
-
367
+
```bash
368
+
sudo cat /usr/local/.vx_version
369
+
```
353
370
354
371
You will see that the **Version** field gives the version number of the master target.
355
372
@@ -376,8 +393,9 @@ From 9.42 version, ASR supports Linux master target server on Ubuntu 20.04. To u
376
393
377
394
Restart the networking service using the following command: <br>
378
395
379
-
`sudo systemctl restart networking`
380
-
396
+
```bash
397
+
sudo systemctl restart networking
398
+
```
381
399
382
400
## Next steps
383
401
After the installation and registration of the master target has finished, you can see the master target appear on the **master target** section in **Site Recovery Infrastructure**, under the configuration server overview.
0 commit comments