This script retrieves a configuration from WSRR and saves it in a specified file.
wsadmin -f retrieveConfiguration.jacl
[ -wsrrhelp ]
[ -wsrrhome <WSRR install directory> ]
[ -cluster <cluster name>] |
[
-cell <cell name>
-node <node name>
-server <server name>
]
-filepath <file path>
-filename <file name>
-configname <configuration name>
-configtype <configuration type>
(entered as a single line)
| Parameter | Description |
|---|---|
| -wsrrhelp | Displays the script usage information. |
| -wsrrhome | The <WSRR_INSTALL_ROOT> directory. This parameter is optional and, if omitted, defaults to the current directory. You must provide a value for this parameter if you are not running the script from the <WAS_INSTALL_ROOT>\WSRR\admin\scripts_cell directory. |
| -cluster | In a cluster configuration, the name of the cluster on which WSRR is deployed. |
| -cell | In a stand-alone or federated node configuration, the name of the cell in which WSRR is deployed. |
| -node | In a stand-alone or federated node configuration, the name of the node on which WSRR is deployed. |
| -server | In a stand-alone or federated node configuration, the name of the server on which WSRR is deployed. |
| -filepath | The path to the file in which the configuration is to be saved. This parameter is required. |
| -filename | The name of the file in which the configuration is to be saved. This parameter is required. |
| -configname | The logical name to be given to the configuration, which is used as the identifier in a particular configuration type. The combination of configuration name and configuration type is used to locate an existing configuration. This parameter is required. |
| -configtype | The configuration type, which must be one of
the following values (see the Related link for more details):
|
<WAS_INSTALL_ROOT>\bin\wsadmin
-f retrieveConfiguration.jacl -cluster cluster1 -filepath c:/tmp
-filename wsrr_uddi_config.xml -configname UDDIConfiguration
-configtype UDDI
<WAS_INSTALL_ROOT>\bin\wsadmin
-f retrieveConfiguration.jacl -cell cell1 -node node1
-server server1 -filepath c:/tmp -filename samplePolicy.jar
-configname SamplePolicyJAR -configtype PLUGIN_JAR