You can use scripting and the wsadmin tool to regenerate the node plug-in configuration.
Perform the following steps to regenerate the node plug-in configuration:
The following application-centric examples use the generate, propagate, and propagateKeyring operations for a given Web server definition:
AdminControl.invoke(generator,'generate',"profile_root/config 01Cell03 01Node03 webserver1 true") AdminControl.invoke(generator,'propagate',"profile_root/config 01Cell03 01Node03 webserver1") AdminControl.invoke(generator,'propagateKeyring',"profile_root/config 01Cell03 01Node03 webserver1"
$AdminControl invoke $generator generate "c:/was610/profiles/AppSrv02/config 01Cell03 01Node03 webserver1 true" $AdminControl invoke $generator propagate "c:/was610/profiles/AppSrv02/config 01Cell03 01Node03 webserver1" $AdminControl invoke $generator propagateKeyring "c:/was610/profiles/AppSrv02/config 01Cell03 01Node03 webserver1"
public void generate(java.lang.String configuration_root, java.lang.String myCellName, java.lang.String myNodeName, java.lang.String myServerName, java.lang.Boolean propagate, java.lang.Boolean propagateKeyring)where:
configuration_root | is the root directory path of the particular configuration repository to be scanned. |
myCellName | is the name of the cell in the configuration repository to restrict generation to. |
myNodeName | is the name of the node in the configuration repository to restrict generation to. |
myServerName | is the name of the server to restrict generation to. |
propagate | is a boolean variable that specifies to propagate the configuration file. |
propagateKeyring | is a boolean variable that specifies to propagate the keyring file. |
The following network-centric example uses the generate operation to generate the plug-in configuration file for the cell:
AdminControl.invoke(generator,'generate',"profile_root/config 01Cell03 null null true plugin-cfg.xml")
$AdminControl invoke $generator generate "profile_root/config 01Cell03 null null true plugin-cfg.xml"
public void generate(java.lang.String app_server_root, java.lang.String configuration_root, java.lang.String myCellName, java.lang.String myNodeName, java.lang.String myServerName, java.lang.Boolean propagate, java.lang.String myOutputFileName)where:
app_server_root | is the root directory for the application server to run the command against. |
configuration_root | is the root directory path for the configuration repository to be scanned. |
myCellName | is the name of the cell in the configuration repository to restrict generation to. |
myNodeName | is the name of the node in the configuration repository to restrict generation to. |
myServerName | is the name of the server to restrict generation to. |
propagate | is the boolean value that indicates whether to propagate the generated plug-in configuration file. |
myOutputFileName | is the path and filename of the generated plug-in configuration file. |
In this information ...Related information
| IBM Redbooks, demos, education, and more(Index) |