This documentation refers to a previously released version of BMC Discovery.
See the information on this topic for the latest version (11.3) or version 11.2.

The tw_disco_export_platforms utility enables you to export the customizable platform scripts used by BMC 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 options described in the following table and the common command line options described in Using command line utilities.

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 Discovery uses the default, system.

A password is required to use the commands.

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 (if you had previously customized the command):

$TIDEWAY/bin/tw_disco_export_platforms --password 'secret' 
--output my_scripts_backup.xml
Was this page helpful? Yes No Submitting... Thank you
  • No labels
© Copyright 2004 - 2018 BMC Software, Inc.
Legal notices