Tanzu tc Server 11.0

start

Last Updated March 11, 2025

This command runs an instance in the background as a service or daemon.

Using the start command

The start command is one of the most important features of Tanzu tc Server. This command will start an instance managed by tc-server-11.0.

Basic Usage

The start command takes the name of a tc Runtime instance with optional parameters. In the following example the name of the instance is “example”

tc-server-11.0 start example

Deleting the work directory

After a tc Runtime upgrade or an application redeployment it may be necessary to delete the work directory of an instance. The start command has an optional parameter to do this.

tc-server-11.0 start example --delete-work-dir

A common request is to “delete the tomcat work directory” which this argument handles for the user.

Delete the logs directory

Deleting the logs directory can be useful at times. There is an optional parameter availble to do this before starting a tc Runtime instance.

tc-server-11.0 start example --delete-logs-dir

Adding an additional delay before checking status

There is a 2 second wait by default after tc-server-11.0 starts an tc Runtime instance to check if it is running. On some systems or with some configurations this time may need to be longer. It can be adjusted with the --wait parameter.

tc-server-11.0 start example --wait 10