convertScriptCompatibility command
The convertScriptCompatibility command is used by administrators to convert their configurations from a mode that supports backward compatibility of WebSphere® Application Server Version 6.1 or Version 7.0.x administration scripts to a mode that is fully in the Version 8.5 configuration model.
This topic is about configuration migration, such as migrating deployment managers and federated nodes in a network deployment environment. The Application Migration Toolkit for WebSphere Application Server provides support for migrating applications from previous versions of WebSphere Application Server to the latest product version. For information about migrating applications, read more about the Migration Toolkit.
Location
Syntax
The syntax is as follows:
convertScriptCompatibility.sh -help
convertScriptCompatibility.sh [-profileName profile_name]
[-backupConfig true | false]
[-nodeName node_name [-serverName server_name]]
[-traceString trace_spec [-traceFile file_name]]
convertScriptCompatibility.bat -help
convertScriptCompatibility.bat [-profileName profile_name]
[-backupConfig true | false]
[-nodeName node_name [-serverName server_name]]
[-traceString trace_spec [-traceFile file_name]]
Parameters
Supported arguments include the following parameters:
- This displays help for this command
- This is an optional parameter that is used to back up the existing configuration of the current
profile. The default is true-that is, to use the backupConfig command to save a
copy of the current configuration into the profile_name/temp
directory.
Use the restoreConfig command to restore that configuration as required.
Read the restoreConfig command article in the documentation for more information.
- This is an optional parameter that is used to specify the profile configuration in the Version 8.5 environment. If this is not specified, the default profile is used. If the default profile has not been set or cannot be found, the system returns an error.
- This is an optional parameter that is used to specify a particular node name be processed rather than every node in the configuration. If this is not specified, all nodes in the configuration are converted.
- This is an optional parameter that is used to specify a particular server name to be processed rather than every server in the configuration. It can be used on all profile types and can be used in conjunction with the -nodeName parameter when processing WebSphere Application Server Network Deployment configurations. If this parameter is not specified, all servers in the configuration are converted. If it is used in conjunction with the -nodeName parameter, all processing is limited to the specified node name.
- This is an optional parameter. The value trace_spec specifies the trace information that you want to collect. To gather all trace information, specify "*=all=enabled" (with quotation marks). The default is to not gather trace information. If you specify this parameter, you must also specify the -traceFile parameter.
- This is an optional parameter. The value file_name specifies the name of the output file for trace information. If you specify the -traceString parameter but do not specify the -traceFile parameter, the command does not generate a trace file.
Usage
For more information about where to run this command, read the Using command line tools article in the documentation.