Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 General Administration Tasks : Adding or Removing System Files

Adding or Removing System Files
The user has access to a restricted part of the file system on the TIBCO Messaging Appliance P-7500 system and has various CLI commands available to manipulate this file system.
All files which you can add or remove from the TIBCO Messaging Appliance P-7500 system exist under the / root directory. The root directory structure is shown in Figure 1, along with the names of the subdirectories and a brief description of what they contain.
Figure 1 Root Directory Structure
Note: The debug log record files contained in the directory /logs are for use by TIBCO support staff only.
Running these CLI commands allows you to operate on, read, and generate P-7500 files in the / root directory:
cd
To change the present working directory, enter the cd User EXEC command:
tibco> cd [directory]
where directory is the directory to change to. If none is specified, the working directory is changed to the / root directory.
copy
Used to either:
back up a configuration database file to an SFTP server from the /configs subdirectory on a TIBCO Messaging Appliance P-7500 system
restore a configuration database file from a SFTP server to the /configs subdirectory on a TIBCO Messaging Appliance P-7500 system
download new software from a SFTP server to the /loads subdirectory on a TIBCO Messaging Appliance P-7500 system for software upgrade
To copy the current configuration locally within the TIBCO Messaging Appliance P-7500 system, enter this copy Privileged EXEC command:
tibco# copy current-config destination
where destination is the location in the system / root directory to put the configuration copy. Valid file name formats are described in Table 4.
Refer to TIBCO Messaging Appliance P-7500 Maintenance and Troubleshooting for more information on the copy Privileged EXEC command and its use.
sftp://[username@]ip-addr/ remote-pathname
A remotely available file accessible through the SFTP protocol. In a copy operation only one of either source or destination can be specified as an SFTP file, but not both.
[/][directory/]/filename
Absolute or relative name of a regular file stored in the / root directory. Internally, an absolute name is always relative to the / root directory, while relative names are always evaluated relative to the present working directory (displayable through the pwd User EXEC command).
To delete a file from the TIBCO Messaging Appliance P-7500 system, enter the delete Privileged EXEC command:
tibco# delete filename
where filename is the name of the local file to delete which might include a pathname. Only local-pathname formats can be used. * and ? characters can be used to match multiple files.
dir
To list the contents of a directory, enter the dir User EXEC command:
tibco> dir [pattern]
where pattern is the name of the file or directory to display. * and ? characters can be used to match multiple files. If not specified, all the files in the present working directory are displayed.
more
To display the contents of a text file in a directory, enter the more User EXEC command:
tibco> more pattern
where pattern is the name of the text file to display. * and ? characters can be used to match multiple text files. If not specified, all the text files in the present working directory are displayed.
Note: Binary files cannot be displayed.
pwd
To display the present working directory (pwd), enter the pwd User EXEC command. For example:
tibco> pwd
The present working directory is displayed.
rename
To rename a P-7500 file within one of the / root subdirectories listed in Figure 1, enter the rename Privileged EXEC command:
tibco# rename old-name new-name
where:
is the new name for the Pathname file specified by old-name. Only local-pathname formats can be used.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved