system_tools command options
You can use any of the following options with the system_tools
command. You must always supply the -password option.
-cancelshutdown serverId- Cancels the planned shutdown of the server specified by serverId.
-cancelupdatestats- Cancels the process that is updating database statistics if running. Use
with
-server urlto stop the process on the identified server. -checkdbconsistency- Checks the consistency of data in the database. The -checkdbconsistency option runs consistency checks as an asynchronous batch process. PolicyCenter provides this option so that you can schedule consistency checks to run during a time period of low activity on the database server.
-completefailedfailover type componentId- Manually completes component failover for a failed component. You must supply the component type (type) and component ID (componentId).
-components-
Provides information about the components that exist on each PolicyCenter server in the cluster. The report contains the following information for each component:
- Component type
- Component code
- Component state
- Component start date and time
- Server ID of the server instance on which the component exists
- Component ID
-daemons- Sets the server to the
daemonsrun level. For information about the various run levels, see Server run levels. -dbcatstats- Used with no arguments, the option returns a ZIP file of database catalog statistics info for all the tables in the database.
-evenifincluster [-filepath filepath]- Consider the cluster member as failed even if it is still in the cluster.
Use only with the
-nodefailedoption. -getdbccstate- Returns the status of any currently executing database consistency checks, Processing or Completed, for example.
-getdbstatisticsstatements- Retrieves the list of SQL statements to update database statistics and prints the list to the console.
-getincrementaldbstatisticsstatements- Retrieves the list of SQL statements to update database statistics for tables exceeding the change threshold. Prints the list to the console.
-getPerfReport reportID- Downloads the performance report with the specified ID to a local directory. You can retrieve a list of available performance report IDs by running the -listPerfReports command option.
-getupdatestatsstate- Returns the state of the process running the statistics update.
-listPerfReports numReports-
Lists IDs and other information for available database performance reports. You can specify an optional integer (numReports) to specify the number of available downloads to list, ordered starting with the most recent. If unspecified or
0, this command lists all available downloads. -loggercats- Displays the available logging categories.
-maintenance- Sets the server to the maintenance run level. For information about the various run levels, see Server run levels.
-mssqlPerfRpt n1 n2 collectStatistics-
Generate a SQL Server performance report defined by the option parameters, which have the following meaning:
- n1, n2 - One, or two, interval IDs that define the time interval of the report. A single ID indicates a report for that time period only. Two IDs indicate a time range. If you do not supply at least one interval ID, PolicyCenter does not generate Query Store statistics.
- collectStatistics - A Boolean value that
determines whether PolicyCenter
includes database statistics (
true) in the output report.These statistics are the same that you see in the Server Tools Database Statistics screen.
-multiuser- Sets the server to the
multiuserrun level. For information about the various run levels, see Server run levels. -nodefailed serverId- Releases any tasks owned by the PolicyCenter server specified by serverId. Only use this command option if the server referenced by serverId has already been stopped or otherwise shutdown.
-nodes-
Provides information about each PolicyCenter server in the cluster. The report contains the following information on each cluster member:
- ID of this cluster server
- Whether the server instance is actively in the cluster
- Server run level
- Time the server instance started
- Time at which PolicyCenter last updated the server instance
- Number of user sessions active on the server instance
- Whether a planned shutdown is in progress
- Time of the planned shutdown
- Whether background tasks are still active on the server
-oraListSnaps numSnaps- Lists numSnaps number of available Oracle AWR snapshot IDs, starting with the most recent snapshot. You can generate performance reports using the -oraPerfReport option with these available beginning and ending snapshot IDs.
-oraPerfReport beginSnapshotID endSnapshotID probeVDollarTables-
Generates a Guidewire AWR performance report using the
OraAWRReportbatch process. This command option has the following arguments:- beginSnapshotID
- endSnapshotID
- probeVDollarTables
-password password- Password (password) to use to connect to the server. PolicyCenter requires the password.
-ping-
Pings the server to check if its active. The returned message indicates the server run level. The possible responses are:
MULTIUSERDAEMONSMAINTENANCESTARTING
-recalcchecksums- Recalculates file checksums that PolicyCenter uses for clustered configuration verification.
-reloadloggingconfig- Directs the server to reload the logging configuration file.
-requestcomponenttransfer type componentId targetOwner- Requests transfer of ownership of a component of the specified type (type) and ID (componentId) to the specified PolicyCenter server (targetOwner).
-scheduleshutdown serverId [-terminatebatchprocesses-shutdowndelay minutes]- Schedules the planned shutdown of the server specified by
serverId. Use with the following optional options:
- -terminatebatchprocesses – Determines how the shutdown process handles the batch processes (including work queue writers) currently running on the server. See About planned server shutdowns for information on this command option.
- -shutdowndelay minutes – Server shuts down in the number of minutes specified by minutes.
-shutdowndelay minutes- Server shuts down in the number of minutes specified by
minutes. Use with the
-scheduleshutdownoption only. -server url- Specifies the PolicyCenter host server URL.
Include the port number and web application name, for example:
- http://serverName:8180/pc
-sessioninfo- Returns the session information of the server.
-sqlListIntervals numIntervals- Lists the numIntervals number of most recent Query Store runtime statistics intervals, including its ID. Each interval ID specifies a unique time interval.
-startfullupgrade-
Starts the process of full application upgrade for the entire cluster of server members. You must shut down all cluster members and deploy a new WAR/EAR file to each one before attempting the upgrade.
-terminatebatchprocesses- Immediately terminates all running batch processes on the specified server. Use with the -scheduleshutdown option only.
-updatelogginglevel logger level- Sets the logging level of logger with the given name. For the root logger,
specify
RootLoggerfor the logger name. -updatestatistics description update- Launches the Update Statistics batch process to update database statistics.
-user user- User (user) to use to run this process.
-verifyconfig filepath- Compares the local server configuration with the configuration of the remote cluster. The filepath parameter defines the path to the local WAR/EAR file that contains the PolicyCenter application, pc.war, for example.
-verifydbschema- Initiates a process that compares the logical and physical data model to determine if they match. The command prompt window displays the results of the comparison.
-version- Returns the running server version, the database schema version, and configuration version.
