Support - createFullSupportFile


Support - createFullSupportFile

Description :

For each Application Server that you specify, this command generates a zip file that contains Application Server files, agent logs, and agent security files.

Use the outputPath argument to specify the path to the zip file, for example, /tmp/supportData/support.zip.

You can use the appServers argument to request data for one Application Server, or for multiple Application Servers. The actual name of the resulting zip file depends on whether you specify one Application Server or multiple Application Servers:

  • If you specify one Application Server, the resulting zip file will have the exact name you specified in the outputPath argument. Using the example above, the file would be called support.zip.
  • If you specify multiple Application Servers, this command creates one zip file for each Application Server. The name of each zip file takes the outputPath value and appends the name of the Application Server. For example, suppose you pass in the following values for the appServers argument: "appServer1, appServer2" and you pass in the following value for outputPath: support.zip. In this case, the command would produce two zip files named support-appServer1.zip and support-appServer2.zip.

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

appServers

String

Comma separated list of the names of the Application Servers for which you want to generate data.

agentLogServer

String

The server, static group, or smart group whose agent logs you want to include.

agentSecurityServer

String

The server, static group, or smart group whose security files you want to include.

outputPath

String

Path to the file that will contain the generated data.

Example

The following example generates data for two Application Servers, appServer1 and appServer2, along with the agent logs from the agent testAgent1 and the agent security files from the agent testAgent2.

Script





blcli Support createFullSupportFile "appServer1,appServer2" testAgent1 testAgent2 /tmp/supportData/support.zip



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Server Automation Command Line Interface 23.2