Page History
If applications are being loaded using the command line, the saved application load options in the local registry can be outputted to an XML Options File for use in the application load.
Refer to Creating and Loading Applications from the Command Line for details.
The RedCli.exe command line interface allows you to create an XML Options File running redcli.exe deployment-options generate-file [<args>]
The deployment-options
command provides sub commands for exporting, importing, and generating options.
The generate-file
sub-command provides options for generating an options file, it can take the following arguments:
These arguments are required for generating a file:
Argument | Description |
---|---|
--file-name <location> | The name of a file to write default deployment options data into |
--meta-repo-type <repo_type> | The type of metadata repository to tailor the options for. Either Oracle, SqlServer, Teradata, Db2 or Postgresql. |
You can also use these optional arguments:
Argument | Description |
---|---|
--meta-dsn <dsn> | Logon DSN write into the XML file |
--meta-dsn-arch <architecture> | Logon DSN architecture to write into the XML file |
--meta-database <database_name> | Logon database name to write into the XML file |
--meta-user-name <username> | Logon user-name to write into the XML file |
--meta-password <password> | Logon password to write into the XML file |
Tip | ||
---|---|---|
| ||
Use the --help argument after a command to see more information about it, for example: The --help argument also shows information for the last entered sub command, for example: |
Example
The following example shows how to create an XML file for PostgreSQL:
- Open a command line window where redcli.exe is located, usually C:\Program Files\WhereScape\RED
- Run the following command to create a file with all the options for PostgreSQL:
redcli.exe deployment-options generate-file --file-name c:\temp\Postgresql_example.xml --meta-repo-type Postgresql
- Go the output folder and verify the file was created properly.To create the options file, click Create XML Options File in the left pane.
Tip title Tip You can also access the Create XML Options File from the Applications menu.
If the load options have not yet been saved into the local registry, a message appears prompting you to select the application to be loaded and to save the load settings for that application.
- Type in the location where you want to save the XML Options File in the XML Options File Name field. Type in the details of the XML Elements that are added to the destination details of the XML Options File.
Click Create File, the results confirm that the XML Options File has been created.