Previous Topic: Add-Master - Add a Master Host to a ScenarioNext Topic: Add Replicas - Add Multiple Replica Hosts to a Scenario


Add-Replica - Add a Replica Host to a Scenario

The Add-Replica command enables you to add a Replica host to a given scenario. When defining a Replica host, you need to enter its hostname, and optionally, its IP address as well. Then, you need to enter its parent host, which can be either the Master or another Replica.

Note: You can enter the IP address as the hostname.

When using ACL security delegations, you need to enter the values of three additional parameters: UserName, Password, and DomainName.

Syntax
Add-Replica [-Name] <String> [-Host] <String> [[-IP] [<String>]] [-Parent] <String> [[-UserName] <String>] [[-Password] <String>] [[-DomainName] <String>]
Parameters
Name

The name of the scenario.

Host

The hostname of the new Replica.

IP (optional)

The IP address of the new Replica. If no IP address is defined, by default the system seeks it by using the specified hostname, and uses the first IP address it finds. For this reason, if the host has multiple IP addresses, we recommend to enter here the IP address you want to use.

Parent

The parent host of the new Replica host. The parent can be either the Master or an upstream Replica, and you can use either its hostname or IP address.

UserName; Password;DomainName (ACL only)

The User Name, password and domain of a user, who has the right to add a new Replica host.

Example: Add a Replica host to a scenario

add-replica "File Server 1" 130.119.185.153 -parent 130.119.185.152
Outcome
Replica 130.119.185.153 added successfully