The CVS Manager command-line utility lets you manage the set of monitors that are deployed to the Continuous Validation Service. The utility is located in the LISA_HOME\bin directory.
This utility has the following format:
CVSManager [-h] [-m registry-spec] [-d archive-file] [-r archive-file] [-l] [-D] [-A] [-e] [x] [-X] [-s name] [-n name] [-u username] [-p password] [--version]
Displays help text.
Defines the registry to which to connect.
Deploys the specified model archive to CVS as a monitor. The monitor that is defined in the archive must refer to a monitor and service name combination that does not exist.
Redeploys the specified model archive to CVS as a monitor. The monitor that is defined in the archive must refer to a monitor and service name combination that exists.
Lists the currently deployed monitors with information about each.
Pauses the scheduled execution of the indicated monitor.
Resumes the scheduled execution of the indicated monitor.
Causes the indicated monitor to be executed immediately, regardless of its schedule. This action does not affect any scheduled executions of the monitor.
Removes a monitor from CVS. Use the service name and monitor name arguments to indicate which monitor to remove.
Removes all monitors from CVS. If a service name is specified, then only monitors defined with that service name are removed.
Specifies the service name for the monitors to affect.
Specifies the monitor name to affect.
Specifies the DevTest security user name. This option is required.
Specifies the DevTest security password. This option is required.
Print the version number and exit.
Example: Deploy Monitor
This example deploys a monitor to CVS.
CVSManager -d monitor.mar -u user -p password
Example: Delete Monitor
This example deletes that same monitor (assuming the service and monitor names).
CVSManager -x -s OrderManager -n CheckOrders -u user -p password
This example deletes all monitors in the OrderManager service.
CVSManager -X -s OrderManager -u user -p password
This example deletes all monitors.
CVSManager -X -u user -p password
Copyright © 2014 CA Technologies.
All rights reserved.
|
|