Configure a DMZ Secure Proxy Server using the administrative console
Create a DMZ Secure Proxy Server inside of a network deployment cell using the administrative console of an administrative agent. We can then export the secure proxy server to a node in the demilitarized zone (DMZ) into which we can import the configuration. After the secure proxy server is created on a node in the DMZ, administration can be done locally or using the Job Manager console.
Deprecated feature: The DMZ Secure Proxy Server is deprecated for WAS traditional v9.0.depfeat
(Dist) Complete the following tasks:
- Review the information on selecting a front end for our DMZ Secure Proxy Server topology. Determine whether we should set up a web server plug-in, a proxy server, or a secure proxy server to provide session affinity, failover support, and workload balancing for our DMZ Secure Proxy Server topology.
- Install the DMZ Secure Proxy Server code.
See the information on installing the DMZ Secure Proxy Server image for more details.
- Create a secure proxy server (configuration-only) profile on a network-deployment installation using either the Profile Management Tool or the manageprofiles command.
Read about creating secure proxy profiles for more information on creating the profile using the Profile Management Tool.
- Create an administrative agent profile on the network-deployment installation using either the Profile Management Tool or the manageprofiles command.
See the page about creating management profiles with administrative agents for more details.
The DMZ Secure Proxy Server for IBM WebSphere Application Server does not contain a web container and does not have an administrative console. Secure proxy server configurations can also be managed within a network deployment application server cell and then imported locally into the DMZ Secure Proxy Server using wsadmin commands. The configurations are created and maintained inside the network deployment application server cell as configuration-only profiles. The profiles are registered with the administrative agent and are then managed using the administrative console. We configure the secure proxy server profile in the network deployment application server cell, export the configuration to a configuration archive (CAR) file using the exportProxyProfile or exportProxyServer wsadmin command, transmit the CAR file to the local secure proxy server installation using FTP, and import the configuration into the DMZ Secure Proxy Server using the importProxyProfile or importProxyServer wsadmin command. We then repeat the process if any changes are made to the secure proxy server configuration.
Tasks
- Start an administrative agent on a network-deployment installation.
- Register the secure proxy (configuration-only) profile with the administrative agent using the registerNode command.
- Restart the administrative agent.
- When the administrative agent prompts you with a list of the nodes that it manages, select the node from the secure proxy (configuration-only) profile.
- From the administrative console of the administrative agent, select Servers > Server Types > WebSphere proxy servers.
- Click New to access the Proxy Server Creation wizard.
- Select the DMZ Secure Proxy Server for IBM WAS node.
- Complete the steps in the wizard to create a new secure proxy server.
This new secure proxy server is only used as a configuration. It cannot be started inside of the cell.
- Set the sipClusterCellName custom property to be the cell name containing the configured cluster of SIP containers. This step applies to the SIP proxy only, and not to the HTTP server. For more information about how to set this custom property, see the information on SIP proxy server custom properties in the product documentation.
- Save the configuration.
- Use the wsadmin tool, connect to the secure proxy server profile.
- Export the configuration to be used inside of the DMZ; we can export the entire profile or export the server.
- To export the profile, run the exportProxyProfile command. For example:
AdminTask.exportProxyProfile('[-archive "c:/myCell.car"]')- To export the server, run the exportProxyServer command. For example:
AdminTask.exportProxyServer ('[-archive c:\myServer.ear -nodeName node1 -serverName proxy1]')
- Use FTP, transfer the configuration archive to the local secure proxy server node.
- Start the wsadmin tool on the secure proxy server profile.
- Import the entire profile, or import the server.
- Use the importProxyProfile command to import the profile. In the following example, the existing secure proxy server in the profile is replaced with the server in the imported proxy profile; for example:
(Windows)
AdminTask.importProxyProfile(['-archive', 'c\myCell.car', '-deleteExistingServers', 'true'])(Linux) (Solaris) (AIX) (HPUX) (iSeries) (ZOS)AdminTask.importProxyProfile(['-archive', '/myCell.car', '-deleteExistingServers', 'true'])- Use the importProxyServer command to import the server. In the following example, the existing secure proxy server is replaced with the imported proxy server; for example:
(Windows)
AdminTask.importProxyServer('[-archive c:\myServer.ear -nodeInArchive node1 -serverInArchive proxy1 -deleteExistingServer true]')(Linux) (Solaris) (AIX) (HPUX) (iSeries) (ZOS)AdminTask.importProxyServer('[-archive /myServer.ear -nodeInArchive node1 -serverInArchive proxy1 -deleteExistingServer true]')
- Save the configuration changes.
AdminConfig.save()
Related:
Select a front end for our WAS topology WebSphere DMZ Secure Proxy Server for IBM WAS DMZ Secure Proxy Server installation information Create management profiles with administrative agents Create secure proxy profiles DMZ Secure Proxy Server for IBM WAS administration options Administer stand-alone nodes using the administrative agent Administer nodes remotely using the job manager Configure secure routing for a DMZ Secure Proxy Server Start the wsadmin scripting client startServer command SIP proxy server custom properties