startAllHosts

The "startAllHosts" command starts all TIBCOHost Instances in the specified CONFIG_HOME. If a TIBCOHost Instance is installed as Windows service, this command starts the instance as a Service.

This command identifies all TIBCO Host instances in the specified CONFIG_HOME and starts them. Specific TIBCO Host instances can be started by providing the "-instanceNames" argument. "ClearCache" startup can be handled by specifying "-clearCache". This will start Host instances as Services if they are running as Windows NT Service.

Note: This command does not handle "clearCache" start of Hosts running as Windows Service.

By default, this command starts all Hosts instances as soon as possible, that is, it does not wait for a Host to start fully before starting the next Host.

Note: When using the "startAllHosts" command in a setup containing a large number of Nodes (in Automatic startup mode), the "delayInSeconds" parameter must be used to account for the considerable time delay (in seconds) between the TIBCOHosts' startup.

Arguments

In addition to the common arguments, you can specify the following arguments:
Argument Description
-configHomeLocation The location of the CONFIG_HOME.
-instanceName (Optional) Name of TIBCO Host instance. If this argument is not provided, it starts all TIBCO Host instances in the CONFIG_HOME.
-instanceNames List of TIBCO Host instance names separated by comma.
-clearCache Perform "clearCache" startup. It does not handle "clearCache" startup for TIBCOHosts running as Windows Service.
-delayInSeconds Delay between each TIBCO Host instance startup. This argument is optional. The command uses a default delay of 10 seconds.
-ignoreNodeStartupMode (Optional) Start all Nodes on the Host irrespective of their startup Mode (Automatic, Manual). If this argument is not provided, it will start all the Nodes with Automatic startup Mode.
-handleOneAtATime (Optional) Wait for one instance to fully start before starting the next instance. If this argument is not provided, it will start all TIBCO Host instances without wait.
-hostNodeStartMaxWaitTimeInSeconds (Optional) Defines the maximum Host and Node startup wait time in seconds. If this argument is not provided, a default value of 60 seconds is used.

Examples

>startAllHosts -configHomeLocation /path/to/confighome/location

This starts all TIBCOHost Instances in the CONFIG_HOME /path/to/confighome/location.

>startAllHosts -configHomeLocation /path/to/confighome/location -clearCache

This starts all TIBCOHost Instances with "clearCache" in the CONFIG_HOME /path/to/confighome/location.

>startAllHosts -configHomeLocation /path/to/confighome/location -instanceName myTibcoHostInstance

This starts the TIBCOHost Instance myTibcoHostInstance in the CONFIG_HOME /path/to/confighome/location.

>startAllHosts -configHomeLocation /path/to/confighome/location -clearCache -delayInSeconds 30

This starts all TIBCOHost Instances with "clearCache" in the CONFIG_HOME /path/to/confighome/location and adds delay of 30 seconds between each TIBCOHost startup.