The Presentation Server tssh commands provide administrators options to set or change advanced settings from the command line interface. The tssh commands are also used as troubleshooting aids.
To run the tssh commands, you must have administrative privileges on the computer where the Presentation Server is installed. Run these tssh commands from the installationDirectory\truesightpserver\bin folder.
The following table describes the tssh commands that are available.
Command | Description | Usage |
---|---|---|
tssh component | Perform actions on components registered with the Presentation Server. | tssh component list | sync <component ID> (SYNC_MOMETA | SYNC_MOS | SYNC_GROUPS | SYNC_DEVICES) | initialize <component DNS name> Examples: tssh component list - Displays the component ID, component name, and connection status of components registered with the Presentation Server. tssh component sync 1 <option> - Syncs the component with component ID 1. Options are: SYNC_MOMETA - syncs the MO meta information SYNC_MOS - syncs the MO information SYNC_GROUPS - syncs the groups SYNC_DEVICES - syncs the devices tssh component initialize xyz.bmc.com - Initializes the component with DNS name xyz.bmc.com. |
tssh componenttype | Add or update custom components to the Presentation Server. Note: If you have configured the Presentation Server for high availability, add or update components on both servers. | tssh componenttype add | update <component zip file path> Example: tssh componenttype add c:\compo\abc.zip - Adds a component abc whose zip file is in the specified path. |
tssh database | Back up the Presentation Server database and configure backup settings. | See Backing up the Presentation Server database. |
tssh device | Delete
stale devices
| tssh device delete all | <device DNS name> Example: tssh device delete all - Deletes all stale devices from the Presentation Server. |
tssh dr | Configure the recovery Presentation Server in a disaster recovery environment. | See
Configuring a disaster-recovery system for Presentation Server
|
tssh dump | Archive a snapshot of the Presentation Server and restore the snapshot. | See Archiving the Presentation Server files. |
tssh event | Clean up events in the Presentation Server. | See
Events are not cleaned up in the Presentation Server
|
tssh ha | Configure the Presentation Server in High Availability (HA) mode. | See
High availability deployment for TrueSight Presentation Server
|
tssh list | Lists the tssh commands that are available. | tssh list |
tssh logger | Enable debug logging for some or all loggers in the Presentation Server. | See Enabling logging of the Presentation Server. |
tssh plugin | Add plugin-related REST configuration to the Presentation Server REST registry. | See TrueSight Capacity Optimization Capacity Pools are not listed in the TrueSight console. |
tssh process | Start, stop, and view the status of the Presentation Server processes. | tssh process start | stop | status (database | indexserver | CSR) Example: tssh process status database - Displays the status of the Presentation Server database. |
tssh properties | Set, view, and reload the Presentation Server properties. | tssh properties list | reload | set <property name> <property value> Examples: tssh properties list - Displays the list of properties with the current values. tssh properties reload - Reloads the properties. Use this command after you update the values of properties. tssh properties set cmdb_user_name cmdbuser - Sets the cmdb_user_name property value to cmdbuser. |
tssh server | Start, stop, and list the version and status of the Presentation Server. | tssh server start | stop | version | status Examples: tssh server start - Starts all the Presentation Server services. tssh server stop - Stops all the Presentation Server services. tssh server version - Lists the Presentation Server version and build number. tssh server status - Lists the status of the database, index server, and core server processes of the Presentation Server. |
tssh service | (Linux only) Register the Presentation Server for non-root users. | tssh service register <non-root User> - Registers the BMCTSPSSvc service under the /etc/init.d folder. tssh service deregister <non-root User> - Deregisters and removes the BMCTSPSSvc service from the /etc/init.d folder. For more information, see
Post-Installation tasks on Linux
|
tssh servicelogon | Configure the Presentation Server to run as a Network Service user. | See
Configuring TrueSight Operations Management components to run as a Network Service user
|
4 Comments
Patrick Mischler
tssh componenttype - what is a "custom component"?
Sanjay Prahlad
Hello Patrick,
Any component that is not listed by default in the Add component drop-down box can be considered a custom component. You can create your own component and then add it to the Presentation Server through this option.
Patrick Mischler
Hello Sanjay
Can you give us an example for a custom component? What could it be?
Regards,
Patrick
Sanjay Prahlad
Hello Patrick,
An example would be the Capacity Optimization component.
The details are documented at https://docs.bmc.com/docs/display/public/btco105/Adding+the+Capacity+Optimization+component+on+the+TrueSight+console.
Hope this helps.