Administration Guide > TDV Command-Line Utilities > The TDV Server Utility Program > Using the Server Utility
 
Using the Server Utility
The server_util program is invoked with options that specify the user and environment, and the action to take.
To use the server_util program
1. Open a command prompt window.
2. Navigate to <TDV_install_dir>/bin.
3. Enter the server_util syntax:
./server_util -server <host_name> [ -port <port> ] [ -encrypt ]
-user <user_name> -password <password> [ -domain <domain> ]
<command> [-verbose]
Server Utility Command Options
The table below describes the server utility command options, in alphabetical order.
Command Options
Comments
-clearProfile
Clears all existing profiling data.
-createMemorySizeFile
Calculates and saves object memory sizes.
-deploy
    -package <package_name>
    [-checksum <algorithm>]
Deploys a package file, which can be a Pluggable Authentication Module (PAM), a CAR file, or a JAR file. Provide a checksum if one is furnished with the file.
-getServerName
Retrieves the server name.
-profile
Displays current server performance profile data, which is by default collected by a background process. See Server Utility Performance Profile Report.
-regenerateFiles
Regenerates files that are based on configuration settings.
Restarting TDV or using the Configuration window Apply button also regenerates such files.
-resetNamespace
Reset the system namespace.
Resets the server namespace to show changes to the system namespace—for example, a system table change after application of a patch.
-rollbackRepository
    [-toVersion x.y.z]
Rolls back any repository structure changes a patch created, so that the patch can be rolled back cleanly, and then shuts down the server. Refer to the release notes for your server version to see what target versions are available.
For certain target versions, rollbackRepository uses a -toVersion argument.
-saveLogs
    [-port <port_number>]
    [-folder <file_path>]
    [-exclude <file_group>]
Saves log files. See System Event and Log Monitoring.
The <file_group> can be any combination of logs, conf, and sysinfo.
-setServerName
    ‑serverName <server_name>
Sets the server name, which must be a unique display name.
-undeploy
    -name <package_name>
    -version <version_number>
Undeploys a package, which can be a Pluggable Authentication Module (PAM), a CAR file, or a JAR file. The version number for an extension adapter is always 1. The package name typically is specified without the dot-suffix
Server Utility Parameters
The table below describes the server_util command parameters (not command parameters).
Server Utility Parameters
Comments
Required
-password <password>
Password of the administrative user who is performing the command.
-server <host_name>
Target TDV server to which the utility is to connect.
<command>
Exactly one subcommand is required for the server_util command.
-user <user_name>
User name of the TDV system administrator.
Optional
-domain <domain>
User domain. The default value is composite.
-encrypt
Encrypts communication between the command line and TDV using SSL sent over the dedicated HTTPS port.
-port <port_number>
Specifies the Web Services base port (HTTP) used to communicate with the TDV Server. Default is 9400.
-verbose
Generates output describing the process and its progress in the command-line window.