Skip to content

Commit 6613251

Browse files
Merge pull request #235789 from msaenzbosupport/patch-16
[Doc-A-thon] Added a disclaimer - EOL support.
2 parents 7fb60f0 + 8e1e09d commit 6613251

File tree

1 file changed

+47
-29
lines changed

1 file changed

+47
-29
lines changed

articles/site-recovery/vmware-azure-install-linux-master-target.md

Lines changed: 47 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ Create the master target in accordance with the following sizing guidelines:
4949

5050
### Install Ubuntu 16.04.2 Minimal
5151

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+
5255
Take the following the steps to install the Ubuntu 16.04.2 64-bit
5356
operating system.
5457

@@ -180,8 +183,10 @@ Azure Site Recovery master target server requires a specific version of the Ubun
180183
> [!NOTE]
181184
> 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.
182185
183-
`apt-get install -y multipath-tools lsscsi python-pyasn1 lvm2 kpartx`
184-
186+
```bash
187+
sudo apt-get install -y multipath-tools lsscsi python-pyasn1 lvm2 kpartx
188+
```
189+
185190
>[!NOTE]
186191
> 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.
187192
> 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
201206
202207
To download it using Linux, type:
203208

204-
`wget https://aka.ms/latestlinuxmobsvc -O latestlinuxmobsvc.tar.gz`
209+
```bash
210+
sudo wget https://aka.ms/latestlinuxmobsvc -O latestlinuxmobsvc.tar.gz
211+
```
205212

206213
> [!WARNING]
207214
> 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:
220227

221228
1. Run the following command to untar the binary.
222229

223-
`tar -xvf latestlinuxmobsvc.tar.gz`
224-
230+
```bash
231+
sudo tar -xvf latestlinuxmobsvc.tar.gz
232+
```
225233
![Screenshot of the command to run](./media/vmware-azure-install-linux-master-target/image16.png)
226234

227235
2. Run the following command to give permission.
228236

229-
`chmod 755 ./ApplyCustomChanges.sh`
230-
237+
```bash
238+
sudo chmod 755 ./ApplyCustomChanges.sh
239+
```
231240

232241
3. Run the following command to run the script.
233242

234-
`./ApplyCustomChanges.sh`
243+
```bash
244+
sudo ./ApplyCustomChanges.sh
245+
```
235246

236247
> [!NOTE]
237248
> 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:
252263
253264
4. After you create the file system, mount the retention disk.
254265
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
258269
```
259270

260271
5. Create the **fstab** entry to mount the retention drive every time the system starts.
261272

262-
`vi /etc/fstab`
273+
```bash
274+
sudo vi /etc/fstab
275+
```
263276

264277
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.
265278

@@ -278,29 +291,32 @@ Use the following steps to create a retention disk:
278291

279292
1. Run the following command to install the master target.
280293

281-
```
282-
./install -q -d /usr/local/ASR -r MT -v VmWare
294+
```bash
295+
sudo ./install -q -d /usr/local/ASR -r MT -v VmWare
283296
```
284297

285298
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:
286299

287-
`echo <passphrase> >passphrase.txt`
300+
```bash
301+
sudo echo <passphrase> >passphrase.txt
302+
```
288303

289304
Example:
290305

291-
`echo itUx70I47uxDuUVY >passphrase.txt`
292-
306+
```bash
307+
sudo echo itUx70I47uxDuUVY >passphrase.txt`
308+
```
293309

294310
3. Note down the configuration server's IP address. Run the following command to register the server with the configuration server.
295311
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
298314
```
299315
300316
Example:
301317
302-
```
303-
/usr/local/ASR/Vx/bin/UnifiedAgentConfigurator.sh -i 104.40.75.37 -P passphrase.txt
318+
```bash
319+
sudo /usr/local/ASR/Vx/bin/UnifiedAgentConfigurator.sh -i 104.40.75.37 -P passphrase.txt
304320
```
305321
306322
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
310326
311327
1. Run the following command to install the master target. For the agent role, choose **master target**.
312328
313-
```
314-
./install
329+
```bash
330+
sudo ./install
315331
```
316332
317333
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
324340
325341
2. Run the following command to register the server with the configuration server.
326342
327-
```
328-
/usr/local/ASR/Vx/bin/UnifiedAgentConfigurator.sh
343+
```bash
344+
sudo /usr/local/ASR/Vx/bin/UnifiedAgentConfigurator.sh
329345
```
330346
331347
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
348364

349365
After the setup has been completed, check the version of the master target installed by using the following command:
350366

351-
`cat /usr/local/.vx_version`
352-
367+
```bash
368+
sudo cat /usr/local/.vx_version
369+
```
353370

354371
You will see that the **Version** field gives the version number of the master target.
355372

@@ -376,8 +393,9 @@ From 9.42 version, ASR supports Linux master target server on Ubuntu 20.04. To u
376393
377394
Restart the networking service using the following command: <br>
378395
379-
`sudo systemctl restart networking`
380-
396+
```bash
397+
sudo systemctl restart networking
398+
```
381399
382400
## Next steps
383401
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

Comments
 (0)