Allow Web servers to access the admin console
Web server ports must be higher than 1023 for the dmgr to stop and start a Web server process on a non-root node agent. Otherwise the node agent must be running as root.
The plug-ins installation wizard creates a Web server definition on the appserver system, either directly when the web and app servers are on the same machine, or by a script when web and app servers are on separate machines.
After creating the Web server definition in the admin console, the plug-in configuration file exists within the Web server definition.
When plugin-cfg.xml is generated, it does not include admin_host on the list of virtual hosts. To configure the admin_host so that Web servers can access the admin console.
- Use the admin console to change the admin_host virtual host group to include the Web server port.
- Go to...
Environment | Virtual Host | admin_host | Host Aliases | New
The default port 80.
- Specify the IP address, or the name of the machine that is hosting the HTTP server.
- Click Apply > Save.
- Stop and restart the appserver.
Stand-alone appserver...
cd $WP_PROFILE/bin
./stopServer.sh server1
./startServer.sh server1Dmgr...
cd $WP_PROFILE/bin
./stopManager.sh
./startManager.sh- Edit plugin-cfg.xml to include...
<VirtualHostGroup Name="admin_host"> <VirtualHost Name="*:9060"/> <VirtualHost Name="*:80"/> <VirtualHost Name="*:9043"/> </VirtualHostGroup> <ServerCluster Name="server1_s1host_s1cluster"> <Server LoadBalanceWeight="1" Name="s1host_server1_dmgr"> <Transport Hostname="s1host_" Port="9060" Protocol="http"/> </Server> <PrimaryServers> <Server Name="s1host_server1_dmgr"/> </PrimaryServers> </ServerCluster> ... ... ... <UriGroup Name="admin_host_server1_s1host_s1cluster_URIs"> <Uri AffinityCookie="JSESSIONID" AffinityURLIdentifier="jsessionid" Name="/ibm/console/*"/> </UriGroup> <Route ServerCluster="server1_s1host_s1cluster" UriGroup="admin_host_server1_s1host_s1cluster_URIs" VirtualHostGroup="admin_host"/>If the HTTP server has an HTTP port other than 80, add an entry to the VirtualHostGroup:
<VirtualHost Name="*:HTTP_server_port"/>