Previous Topic: Email Notification SettingsNext Topic: Reports


CVS Manager

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]
-h, --help

Displays help text.

-m registry-spec, --registry=registry-spec

Defines the registry to which to connect.

-d archive-file, --deploy=archive-file

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.

-r archive-file, --redeploy=archive-file

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.

-l, --list

Lists the currently deployed monitors with information about each.

-D, --pause

Pauses the scheduled execution of the indicated monitor.

-A, --resume

Resumes the scheduled execution of the indicated monitor.

-e, --execute-now

Causes the indicated monitor to be executed immediately, regardless of its schedule. This action does not affect any scheduled executions of the monitor.

-x, --remove

Removes a monitor from CVS. Use the service name and monitor name arguments to indicate which monitor to remove.

-X, --remove-all

Removes all monitors from CVS. If a service name is specified, then only monitors defined with that service name are removed.

-s name, --service-name=name

Specifies the service name for the monitors to affect.

-n name, --monitor-name=name

Specifies the monitor name to affect.

-u username, --username=username

Specifies the DevTest security user name. This option is required.

-p password, --password=password

Specifies the DevTest security password. This option is required.

--version

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