- Copy the configurewebserver1.sh script from the <plugin root>/bin (C:\IBM\HTTPServer\Plugins\bin) directory to the <dmgr_profile>/bin directory on your Deployment Manager server. (webserver1 is name of webserver definition)
- Run the following script(While DMGR is running) to create the web server definition in the DMGR configuration and map all of the installed applications to the web server.
./configurewebserver1.sh
-user <was_admin_user> -password password
C:\IBM\WP72\WebSphere\AppServer\profiles\Dmgr01\bin>configurewebserver1.bat
-user wpsadmin -password wpsadmin
Using
WebSphere admin userID wpsadmin
Above
command execute the following tasks
- Creates the web server definition for webserver1
- Compute and generate plugin properties ID.
- Gets the list all installed apps and updates the target mapping (includes webserver1 in target mappings)
- From DMGR console -->Servers → Server Types → Web Servers , Select the Checkbox for the new web server definition, Click the “Generate Plug-in” button
- This will generate <dmgr_profile>/config/cells/<cellname>/nodes/<nodename>/servers/webserver1/plugincfg.xml (C:\IBM\WebSphere\wp_profile\config\cells\SivaPCCell01\nodes\SivaPC\servers\webserver1\plugincfg.xml) file and also generated a file under C:\IBM\HTTPServer\Plugins\config\webserver1\plugincfg.xml
NOTE
:
- While generating plugin I have webserver stopped (you don't need to have webserver started while generating plugin).
- As I have HTTP server locally its updated the plugincfg.xml file under the webserver, but if HTTP server on the remote server then need to copy the plugin-cfg.xml file to the remote web server at the following directory, overwriting the existing one: <plugin_root>/config/webserver1
- Restart the DMGR, web server, and nodeagents, and WebSphere_Portal.
No comments:
Post a Comment