D.3 Samples and Other References

Protect administrators can leverage a JScript sample from the command line to access the product through the API. On the PlateSpin Server host, see the sample at

https://localhost/protectionservices/Documentation/Samples/protect.js

The sample can help you write scripts to help you work with the product. Using the command line utility, you can perform the following operations:

  • Add a single workload

  • Add a single container

  • Run the replication, failover, and failback operations

  • Add multiple workloads and containers at one time

    NOTE:For more information about this operation, see the API documentation at

    https://localhost/protectionservices/Documentation/AddWorkloadsAndContainersFromCsvFile.htm

  • remove all workloads at one time

  • remove all container at one time

To script common workload protection operations, use the referenced samples written in Python as guidance. A Microsoft Silverlight application, along with its source code, is also provided for reference purposes.