Complete the following procedure for MPX and VPX appliances:
-
Running the Collector Script in NetScaler Software Release 9.2 and Later or
-
Uploading and Running the Collector Script on a NetScaler Appliance
Complete the following procedure for SDX appliances:
Running the Collector Script in NetScaler Software Release 9.2 and Later
To obtain the collector file by using the NetScaler GUI, complete the following procedure:
Note: In NetScaler software release 9.2 and later, you can run the showtechsupport script from the Graphical User Interface (GUI) and the Command Line Interface (CLI).
-
Open the Configuration Utility with the NetScaler Management IP address from a web browser.
-
Expand the System node.
-
Select the Diagnostics node.
-
Click the GenerateSupportFile link under the Technical Support Tools section.
To obtain the collector file by using the NetScaler CLI, complete the following procedure:
Download the file from the appliance using a Secure FTP (SFTP) or Secure Copy (SCP) utility, such as WinSCP, and upload it to Citrix Insight Services for analysis.
Note: In NetScaler software release earlier than 9.0, the collector script must be downloaded separately and executed.
Note: In case of Netscaler in Cluster deployment please use the following CLI command to generate the collector file:
> show techsupport -scope CLUSTER
This will collect show techsupport information from all nodes in the cluster and compress the files into a single archive.
In order to generate the collector file from Graphical User Interface (GUI) please select “Partition” option from the Scope
-
Click Run and wait for the script to generate the collector archive.
-
After the appliance generates the collector archive, download and save the file on your local computer before uploading it to Citrix Insight Services.
-
To obtain the collector file by using the CLI, run the following command:
show techsupportAfter the appliance generates the collector archive the location of the file is displayed as shown in the following screen shot:
The file is stored in /var/tmp/support and you can verify this by logging in to NetScaler and running the following command from a shell prompt:
root@NS# cd /var/tmp/support/
root@NS# ls -ltotal 2drwxr-xr-x 7 root wheel 512 Sep 25 15:38 collector_P_10.10.1.1_25Sep2014_15_38root@NS#
-
Uploading and Running the Collector Script on a NetScaler Appliance
To upload and run the updated collector script on a NetScaler appliance, complete the following procedure:
-
Copy the updated collector script showtechsupport.pl (attached with this article) to the /nsconfig directory of the NetScaler appliance. Use an SFTP or SCP utility, such as WinSCP, to copy the file to the NetScaler appliance.
-
Run the following commands from the CLI of the appliance:
> shell
# cd /nsconfig
# chmod +x showtechsupport.pl
# ./showtechsupport.pl -
Switch to the CLI of the appliance.
-
Run the following command to create log files for analysis:
> show techsupportThe collector_<NSIP>_<P/S>_<DateTime>.tgz file is created in the /var/tmp/support directory of the appliance.
Note: You must then upload the .tgz file to Citrix Insight Services for analysis. -
If you must uninstall this script, run the following commands from the CLI of the appliance:
> shell
rm /nsconfig/showtechsupport.pl
Collecting a Full Diagnostics Bundle from NetScaler SDX
-
Open the NetScaler SDX Configuration Utility with the NetScaler SDX Management IP address from a web browser.
-
Expand the Diagnostics node.
-
Select the Technical Support node.
-
Click Generate Technical Support File.
-
Select Appliance (Including Instances) from the drop-down menu.
-
Click Add.
-
Select one or more instances to add in.
-
Click OK. Wait for the process to complete.
-
Select the bundle name that was generated and then click Download.
-
Upload the bundle file to Citrix Insight Services.
For information on collecting/deleting NetScaler SDX support bundle using CLI/serial console refer to Citrix Documentation.