Skip to content

Commit 9f89d4a

Browse files
Merge pull request #246327 from Sharmistha-Rai/main
Corrected commands for agent reg
2 parents 1779a88 + 7a85c6d commit 9f89d4a

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

articles/site-recovery/vmware-physical-mobility-service-overview.md

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Locate the installer files for the server’s operating system using the followi
118118
119119
```cmd
120120
121-
.\UnifiedAgentInstaller.exe /Platform vmware /Silent /Role MS /CSType CSPrime /InstallLocation "C:\Program Files (x86)\Microsoft Azure Site Recovery"
121+
.\UnifiedAgentInstaller.exe /Platform vmware /Silent /Role MS /InstallLocation "C:\Program Files (x86)\Microsoft Azure Site Recovery"
122122
```
123123
Once the installation is complete, copy the string that is generated alongside the parameter *Agent Config Input*. This string is required to [generate the Mobility Service configuration file](#generate-mobility-service-configuration-file).
124124

@@ -127,7 +127,7 @@ Locate the installer files for the server’s operating system using the followi
127127
4. After successfully installing, register the source machine with the above appliance using the following command:
128128

129129
```cmd
130-
"C:\Program Files (x86)\Microsoft Azure Site Recovery\agent\UnifiedAgentConfigurator.exe" /SourceConfigFilePath "config.json" /CSType CSPrime /CredentialLessDiscovery true
130+
"C:\Program Files (x86)\Microsoft Azure Site Recovery\agent\UnifiedAgentConfigurator.exe" /SourceConfigFilePath "config.json" /CredentialLessDiscovery true
131131
```
132132

133133
#### Installation settings
@@ -139,15 +139,15 @@ Syntax | `.\UnifiedAgentInstaller.exe /Platform vmware /Role MS /CSType CSPrime
139139
`/InstallLocation`| Optional. Specifies the Mobility service installation location (any folder).
140140
`/Platform` | Mandatory. Specifies the platform on which the Mobility service is installed: <br/> **VMware** for VMware VMs/physical servers. <br/> **Azure** for Azure VMs.<br/><br/> If you're treating Azure VMs as physical machines, specify **VMware**.
141141
`/Silent`| Optional. Specifies whether to run the installer in silent mode.
142-
`/CSType`| Mandatory. Used to define modernized or legacy architecture. (CSPrime or CSLegacy)
142+
`/CSType`| Optional. Used to define modernized or classic architecture. By default, modernized architecture would be launched. (CSPrime or CSLegacy)
143143

144144
#### Registration settings
145145

146146
Setting | Details
147147
--- | ---
148148
Syntax | `"<InstallLocation>\UnifiedAgentConfigurator.exe" /SourceConfigFilePath "config.json" /CSType CSPrime /CredentialLessDiscovery true`
149149
`/SourceConfigFilePath` | Mandatory. Full file path of the Mobility Service configuration file. Use any valid folder.
150-
`/CSType` | Mandatory. Used to define modernized or legacy architecture. (CSPrime or CSLegacy).
150+
`/CSType` | Optional. Used to define modernized or legacy architecture. By default, modernized architecture would be launched. (CSPrime or CSLegacy).
151151
`/CredentialLessDiscovery` | Optional. Specifies whether credential-less discovery will be performed or not.
152152

153153

@@ -162,34 +162,34 @@ Syntax | `"<InstallLocation>\UnifiedAgentConfigurator.exe" /SourceConfigFilePath
162162

163163
2. To install, use the below command:
164164
```bash
165-
sudo ./install -q -r MS -v VmWare -c CSPrime
165+
sudo ./install -q -r MS -v VmWare
166166
```
167167

168168
Once the installation is complete, copy the string that is generated alongside the parameter *Agent Config Input*. This string is required to [generate the Mobility Service configuration file](#generate-mobility-service-configuration-file).
169169

170170
3. After successfully installing, register the source machine with the above appliance using the following command:
171171

172172
```bash
173-
<InstallLocation>/Vx/bin/UnifiedAgentConfigurator.sh -c CSPrime -S config.json -q
173+
<InstallLocation>/Vx/bin/UnifiedAgentConfigurator.sh -S config.json -q
174174
```
175175
#### Installation settings
176176

177177
Setting | Details
178178
--- | ---
179-
Syntax | `./install -q -r MS -v VmWare -c CSPrime`
179+
Syntax | `./install -q -r MS -v VmWare`
180180
`-r` | Mandatory. Installation parameter. Specifies whether the Mobility service (MS) should be installed.
181181
`-d` | Optional. Specifies the Mobility service installation location: `/usr/local/ASR`.
182182
`-v` | Mandatory. Specifies the platform on which Mobility service is installed. <br/> **VMware** for VMware VMs/physical servers. <br/> **Azure** for Azure VMs.
183183
`-q` | Optional. Specifies whether to run the installer in silent mode.
184-
`-c` | Mandatory. Used to define modernized or legacy architecture. (CSPrime or CSLegacy).
184+
`-c` | Optional. Used to define modernized or legacy architecture. By default, modernized architecture would be launched. (CSPrime or CSLegacy).
185185

186186
#### Registration settings
187187

188188
Setting | Details
189189
--- | ---
190-
Syntax | `<InstallLocation>/Vx/bin/UnifiedAgentConfigurator.sh -c CSPrime -S config.json -q -D true`
190+
Syntax | `<InstallLocation>/Vx/bin/UnifiedAgentConfigurator.sh -S config.json -q -D true`
191191
`-S` | Mandatory. Full file path of the Mobility Service configuration file. Use any valid folder.
192-
`-c` | Mandatory. Used to define modernized and legacy architecture. (CSPrime or CSLegacy).
192+
`-c` | Optional. Used to define modernized and legacy architecture. By default, modernized architecture would be launched. (CSPrime or CSLegacy).
193193
`-q` | Optional. Specifies whether to run the installer in silent mode.
194194
`-D` | Optional. Specifies whether credential-less discovery will be performed or not.
195195

@@ -276,7 +276,7 @@ See information about [upgrading the mobility services](upgrade-mobility-service
276276
- Run this command to install the agent.
277277
278278
```cmd
279-
UnifiedAgent.exe /Role "MS" /InstallLocation "C:\Program Files (x86)\Microsoft Azure Site Recovery" /Platform "VmWare" /Silent
279+
UnifiedAgent.exe /Role "MS" /InstallLocation "C:\Program Files (x86)\Microsoft Azure Site Recovery" /Platform "VmWare" /Silent /CSType CSLegacy
280280
```
281281
282282
- Run these commands to register the agent with the configuration server.
@@ -290,12 +290,13 @@ See information about [upgrading the mobility services](upgrade-mobility-service
290290
291291
Setting | Details
292292
--- | ---
293-
Syntax | `UnifiedAgent.exe /Role \<MS/MT> /InstallLocation \<Install Location> /Platform "VmWare" /Silent`
293+
Syntax | `UnifiedAgent.exe /Role \<MS/MT> /InstallLocation \<Install Location> /Platform "VmWare" /Silent /CSType CSLegacy`
294294
Setup logs | `%ProgramData%\ASRSetupLogs\ASRUnifiedAgentInstaller.log`
295295
`/Role` | Mandatory installation parameter. Specifies whether the mobility service (MS) or master target (MT) should be installed.
296296
`/InstallLocation`| Optional parameter. Specifies the Mobility service installation location (any folder).
297297
`/Platform` | Mandatory. Specifies the platform on which the Mobility service is installed: <br/> **VMware** for VMware VMs/physical servers. <br/> **Azure** for Azure VMs.<br/><br/> If you're treating Azure VMs as physical machines, specify **VMware**.
298298
`/Silent`| Optional. Specifies whether to run the installer in silent mode.
299+
` /CSType` | Required. Used to define modernized or classic architecture. By default, modernized architecture would be launched. (CSPrime or CSLegacy)
299300

300301
#### Registration settings
301302
Setting | Details
@@ -317,7 +318,7 @@ Agent configuration logs | `%ProgramData%\ASRSetupLogs\ASRUnifiedAgentConfigurat
317318
2. Install as follows (root account is not required, but root permissions are required):
318319
319320
```bash
320-
sudo ./install -r MS -v VmWare -d <Install Location> -q
321+
sudo ./install -r MS -v VmWare -d <Install Location> -q -c CSLegacy
321322
```
322323
323324
3. After the installation is finished, the Mobility service must be registered to the configuration server. Run the following command to register the Mobility service with the configuration server.
@@ -330,19 +331,21 @@ Agent configuration logs | `%ProgramData%\ASRSetupLogs\ASRUnifiedAgentConfigurat
330331
331332
Setting | Details
332333
--- | ---
333-
Syntax | `./install -r MS -v VmWare [-d <Install Location>] [-q]`
334+
Syntax | `./install -r MS -v VmWare [-d <Install Location>] [-q] -c CSLegacy`
334335
`-r` | Mandatory installation parameter. Specifies whether the mobility service (MS) or master target (MT) should be installed.
335336
`-d` | Optional parameter. Specifies the Mobility service installation location: `/usr/local/ASR`.
336337
`-v` | Mandatory. Specifies the platform on which Mobility service is installed. <br/> **VMware** for VMware VMs/physical servers. <br/> **Azure** for Azure VMs.
337338
`-q` | Optional. Specifies whether to run the installer in silent mode.
339+
`-c` | Required. Used to define modernized or classic architecture. By default, modernized architecture would be launched. (CSPrime or CSLegacy)
338340
339341
#### Registration settings
340342
341343
Setting | Details
342344
--- | ---
343-
Syntax | `cd /usr/local/ASR/Vx/bin`</br> `UnifiedAgentConfigurator.sh -i \<CSIP> -P \<PassphraseFilePath>`
345+
Syntax | `cd /usr/local/ASR/Vx/bin`</br> `UnifiedAgentConfigurator.sh -i \<CSIP> -P \<PassphraseFilePath> -c CSLegacy`
344346
`-i` | Mandatory parameter. `<CSIP>` specifies the configuration server's IP address. Use any valid IP address.
345347
`-P` | Mandatory. Full file path of the file in which the passphrase is saved. [Learn more](./vmware-azure-manage-configuration-server.md#generate-configuration-server-passphrase).
348+
`-c` | Required. Used to define modernized or classic architecture. By default, modernized architecture would be launched.(CSPrime or CSLegacy)
346349

347350
## Azure Virtual Machine agent
348351

0 commit comments

Comments
 (0)