Chapter 8
Using the CSS Scripting Language
Script Upgrade Considerations
Using the showtech Script
OL-5647-02
When you upgrade to a new version of CSS software, all script files that you have
modified in the previous software version's /script directory need to be copied to
the new software version's /script directory or else the scripts remain in the old
/script directory and the CSS will not find them.
Follow these steps before upgrading your CSS software:
Use the archive script command in SuperUser mode to archive each script
1.
file. For details on archiving a script, refer to Chapter 1,
Software.
Upgrade your CSS software. For details on upgrading the CSS software
2.
version, refer to Appendix A,
Use the restore script command in SuperUser mode to restore the scripts to
3.
the /script subdirectory of the new software version. For details for restoring
a script, refer to Chapter 1,
To gather information designed to assist the Cisco Technical Assistance Center
(TAC) in analyzing your CSS, use the showtech script. The output of the script
displays a set of CSS status and configurations settings that the TAC can use for
problem resolution. Use the output-capturing capabilities of your application
connected to the CSS to save the script output for analysis.
You can also save the script output to the file log/showtech.out by entering y at
the prompt as shown below. You can then copy the output file and send it to the
TAC if necessary.
To run the script, enter:
# script play showtech
Save output to disk [y/n]? y
Output will be saved to log/showtech.out
Please wait...
If you enter n, then the output appears on your screen.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! Filename: showtech
Upgrading Your CSS
Managing the CSS
Cisco Content Services Switch Administration Guide
Script Upgrade Considerations
Managing the CSS
Software.
Software.
8-43