The Start-ProtectCluster
command lets an administrator add a server cluster under protection by a Core.
Usage
Usage for the command is as follows:
Start-ProtectCluster -core [host name] -user [user name] -password [password] -repository [repository name] -clustername [name | IP address] -clusterusername [user name for cluster] -clusterpassword [password for cluster] -clusterport [port] -clustervolumes [volume names] -clusternodes [cluster nodes names and volumes]
Command Options
The following table describes the options available for the Start-ProtectCluster
command:
Option | Description |
---|---|
-? |
Display this help message. |
-core |
Optional. Remote Core host machine IP address (with an optional port number). By default the connection is made to the Core installed on the local machine. |
-user |
Optional. User name for the remote Core host machine. If you specify a user name, you also have to provide a password. If none are provided, then the logged-on user's credentials will be used. |
-password |
Optional. Password to the remote Core host machine. If you specify a password, you also have to provide a user name. If none are provided, then the logged-on user's credentials will be used. |
-repository |
Name of a repository on the Core where the protected machine's data is stored. The name must be enclosed in double quotes. |
-clustername |
The name of the cluster to protect. |
-clusterusername |
User name for the cluster to be protected. |
-clusterpassword |
Password to the cluster to be protected. |
-clusterport |
Port number for the cluster to be protected. |
-clustervolumes |
List of volumes to protect. Values must be in double quotes and separated by a space. Do not use trailing slashes in volume names. For example, “c:”, “d”. |
-clusternodes |
List of cluster nodes with volumes to protect. First specify label “nodename” and then type the name of the node. Then, specify label “volumes” and then type a list of volumes for the node.
For example: |
Example:
Put volumes of a server under protection:
>Start-ProtectCluster -repository "Repository 1" -clustername 10.10.9.120 -clusterusername administrator -clusterpassword 12345 -clusterport 5002 -clustervolumes "c:" "d:" -clusternodes nodename 10.10.10.10 volumes “c:” “e:”