• Loading...
This documentation relates to the latest released version of BMC Atrium Discovery (other versions).

tw_disco_export_platforms

Skip to end of metadata
Go to start of metadata
Space Search

Searching ADDM 8.3

Table of Contents

The tw_disco_export_platforms utility enables you to export the customizable platform scripts used by BMC Atrium Discovery so that they can be copied to another appliance, where they can subsequently be imported using tw_disco_import_platforms). After the scripts are imported, the corresponding platforms are displayed on the Administration => Discovery Platforms page.
To use the utility, type the following command at the $TIDEWAY/bin/ directory:

tw_disco_export_platforms [options] 

where options are any of the commands described in the following table:

Note
A password is required to use the commands.

Command Line Option Description
--default Specifies to only export default platform scripts (not current scripts)
-o, --output=FILE Specifies the name of the output file. The default name is platforms.xml.
-u, --username=NAME Specifies the name of the BMC Atrium user. If no name is specified, BMC Atrium Discovery uses the default, system.

User example

In the following example, type the commands on a single line. Line breaks are provided to make the example easier to read.

Transferring custom commands to another appliance

The following example illustrates how to transfer a command to an appliance, or back it up separately to a snapshot (if you had previously customized the command):

$TIDEWAY/bin/tw_disco_export_platforms --password 'secret' 
--output my_scripts_backup.xml
Note
Any commands you subsequently import will override existing content in the snapshot. The import process will not affect anything on the appliance that is not in the .xml file. (For example, if you manually deleted a lot of content from the .xml file, and then imported it, nothing would be removed from the appliance.)
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.