Common Arguments

The following arguments are applicable to all commands listed in the previous sections.
Argument Description
-configFile (Optional) The location of a configuration file that can pre-configure the arguments.

The default configuration file is TIBCO_HOME\amx\3.3\scripts\tibamx_hostmanager.properties.

-installLocation (Optional) The location of a TIBCO_HOME folder from which patches are copied.

Default: TIBCO_HOME in which the Host Manager was installed.

-logFile (Optional) The location of a log file to which command execution can be logged. If this argument is not provided, the command writes to a default log file as needed.

The default log file is CONFIG_HOME\tibamx_hostmanager\logs\tibamx_hostmanager.log.

-stackTrace (Optional) When this argument is specified, a stack trace is shown upon encountering exceptions during command execution. If this argument is not provided, the stack traces are suppressed.
-showTimeStamp (Optional) When this argument is specified, the execution output shows timestamps. If this argument is not provided, the timestamp is not shown.

Examples

  • Example of "-logFile":
    >startAllHosts -configHomeLocation /path/to/confighome/location -clearCache -logFile /path/to/logfile
  • Example of "-showTimeStamp":
    >startAllNodes -configHomeLocation /path/to/confighome/location -showTimeStamp
  • Example of "-stackTrace":
    >stopAllHosts -configHomeLocation /path/to/confighome/location -stackTrace

Some of the other common arguments used by Host Manager Commands include:

Argument Description
-adminServerDir The location of an Administration Server Host configuration folder. The folder is located under a CONFIG_HOME folder, in admin/<enterprise>/private/<system host instance name>.
-configHomeLocation The location of a CONFIG_HOME where the TIBCO Host instance to be described exists.
-instanceName The name of the TIBCO Host instance to be described.
-ID A patch identifier which all shell commands will use by default. Identifiers are of the form <name>:<version>.
-dryRun

Allows you to see what changes would be made by this command, without making the actual changes. The command executes without making changes and you can look in the log to see what changes would have been made.

The default value is false.