29.01.2013 Views

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

WebSphere Application Server V7.0: Concepts ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7. Create an application server profile using the<br />

/profileTemplates/management profile template and specify<br />

-serverType as ADMIN_AGENT to create the administrative agent profile.<br />

8. Create an <strong>Application</strong> <strong>Server</strong> Profile using the<br />

/profileTemplates/secureproxy template.<br />

Note: The profiles for the administrative agent and the DMZ secure proxy<br />

are for administration purposes only. The DMZ secure proxy server is a<br />

configuration-only profile. This means that the server cannot be started or<br />

used for any work. This server is an administrative place-holder for the<br />

DMZ secure proxy server on System A. If you try to start the<br />

configuration-only profile, it will fail with the following error message in the<br />

SystemOut.log:<br />

Caused by:<br />

com.ibm.ws.proxy.deployment.Proxy<strong>Server</strong>DisabledException: This<br />

secure proxy server is part of a configuration-only installation<br />

and cannot be started.<br />

Tip: It is recommended to name the proxy server and the node name in the<br />

configuration-only profile on System C the same as you did when creating<br />

the proxy server on System A using parameters: -serverName and<br />

-nodeName when running manageprofiles.<br />

9. Register the DMZ secure proxy configuration-only profile to the Administrative<br />

agent.<br />

10.Use the Integrated Solutions Console from the administrative agent to<br />

manage the DMZ secure proxy configuration-only template.<br />

11.Export the configuration-only DMZ secure proxy to move the changes over to<br />

the real DMZ secure proxy. You need to perform the following steps:<br />

a. Go to the /bin directory of the configuration-only DMZ<br />

secure proxy profile.<br />

b. Start wsadmin -lang jython -conntype NONE.<br />

c. Run the command shown in Example 5-2 to export the proxy profile.<br />

Example 5-2 Sample code to export proxy profile<br />

AdminTask.exportProxyProfile('[-archive<br />

/DMZProxy.car]'<br />

12.Copy the file /DMZProxy.car to System A.<br />

Chapter 5. Topologies 159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!