Some situations require you to edit the plug-in-cfg.xml file.
The following situations require manual editing of the plugin-cfg.xml file:
The install_root/AppServer path is the default for the base product. If the base product is installed in a different location, change the paths to refer to the actual location.
At a command prompt, change to the /bin directory of the installation root of the deployment manager machine. Type GenPluginCfg -destination.root<install_root> on the machine where the Network Deployment product is installed. This creates or updates the plugin-cfg.xml file. This changes all directory specifications in the plugin-cfg.xml file to the install_root\AppServer directories. For example, run the GenPluginCfg -destination.root "E:\WebSphere\AppServer" command from the \bin directory of the installation root of the Network Deployment node.
Edit the plugin-cfg.xml file in the /config/cells directory of the deployment manager, to point to the correct directory structure for the log file, keyring, and stashfile. Perform a full synchronization so the plugin-cfg.xml file is replicated in all the WebSphere Application Server nodes. The deployment manager plugin-cfg.xml file can point to Application Server directories without any conflict.
Note: To get the current usage information for the
plugin_cfg.xml file,run the GenPluginCfg -help script. You will receive the
following information in response to this query:
Usage: GenPluginCfg [[-option.name optionValue] ...] Valid Options: ============== -config.root configroot_dir (defaults to environment variable CONFIG_ROOT) -cell.name cell (defaults to environment variable WAS_CELL) -node.name node (defaults to environment variable WAS_NODE) -server.name server (required for single server plugin generation) -output.file.name file_name (defaults to configroot_dir/plugin-cfg.xml) -destination.root root (install root of machine configuration will be used on) -destination.operating.system windows/unix (operating system of machine configuration will be used on) -debug yes/no (defaults to no) ============== Examples: To generate a plugin config for all of the clusters in a cell: GenPluginCfg -cell.name NetworkDeploymentCell To generate a plugin config for a single server: GenPluginCfg -cell.name BaseApplicationServerCell -node.name serverNode -server.name serverName