Configuring a remote web server in a distributed environment
-
Launch the stand-alone WebSphere Customization Toolbox.
-
Select the Web Server Plug-ins Configuration Tool and click Launch Selected Tool.
-
Select a plug-in runtime location. Click Add in the Web Server Plug-in Runtime Locations tab.
– Enter a name for the plug-in location.
– Browse to the location of where the plug-in is installed.
Click Finish.
- Add the web server configuration information. In the Web Server Plug-in Configurations
area, click Create.
- Select the web server you want to configure and click Next.
- Select the existing HTTP Server configuration file and provide the web server port.
Click Next.
- If you are configuring an IBM HTTP web server plug-in, complete the following steps:
a. Enter a port number for the administration server. Keep the default of 8008 or enter a unique port.
b. Create a user ID for the administration server authentication. the userID is ihsadmin and the Password is ihsadmin
Click Next.
c. Provide a unique user ID and group for web server administration. the user ID and Group is ihs
Click Next.
- Specify a unique name for the web server definition, Click Next.
- Select the remote scenario configuration. Provide a host name or IP address of the application server or deployment manager,
Click Next.
10.On the Summary window, review the settings and click Configure.
11.When the configuration is complete, clear the Launch the plug-in configuration roadmap check box and click Finish. Also note the manual configuration step that must be performed
12.You can see the configuration file in the WebSphere Customization Toolbox. Exit the WebSphere Customization Toolbox. When the WebSphere Customization Toolbox GUI is used for the plug-in configuration, the selections made are saved and are available in a response file.
13.The Web Server Plug-ins Configuration Tool creates the configure_web_server_name_ script in the plugins_root/bin/ directory on the machine with the web server. Examine the script and make any needed changes. You may need to compensate for file encoding differences to prevent script failure.
The Web Server Plug-ins Configuration Tool also creates the plugin-cfg.xml file in the plugins_root/config/web_server_name directory.
14.Copy the configure_web_server_name_ script in the plugins_root/bin/ directory to profile_root/Dmgr/bin.
15.Run the configure_web_server_name_ script. If administrative security is enabled, provide the -username and -password arguments or wait until prompted for the credentials.
The following command is run on the DMR machine.
/opt/IBM/WebSphere/AppServer/bin/configurewebserver1.sh -profileName "Dmgr01" -user "admin" -password "xxxxxx" -ihsAdminPassword "xxxxxx"
It is necessary to see the successful finished screen
Dmgr on the server
cp -rf /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/config/cells/was01Cell01/nodes/was01.mydomain.local-node/servers/webserver1 /opt/IBM/WebSphere/Plugins/config
The following command is run on the server where Webserver is installed.
/opt/IBM/HTTPServer/bin/apachectl -k start