blob: 9de71cc71a4e8eea3c995e6eb6dd0b060ad2d175 [file] [log] [blame]
<!--
Copyright (c) 2005, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<p><a id="task-appviewtargets" name="task-appviewtargets"></a><a id="GHCOM00164" name="GHCOM00164"></a></p>
<h4>To View Application Targets</h4>
<a name="BEGIN" id="BEGIN"></a>
<ol>
<li>
<p>In the navigation tree, select the Applications node.</p>
<p>The Applications page opens.</p>
</li>
<li>
<p>Select an application for which you want to view the targets.</p>
<p>The application name can include an optional version identifier, which follows the name and is separated from the name by a colon (<code>:</code>). For more information about module and application versions, see the <a href="http://www.oracle.com/pls/topic/lookup?ctx=E26576_01&id=GSDPG00324"><i>Module and Application Versions</i> in <i>Oracle GlassFish Server Application Deployment Guide</i></a>.</p>
<p>The page for the application opens.</p>
</li>
<li>
<p>Select the Target tab.</p>
<p>The Application Targets page opens, and the targets currently specified for the application appear.</p>
</li>
<li>
<p>To enable or disable an application on a specific target instance or cluster, click the checkbox next to the target and select Enable or Disable from the More Actions drop-down menu.</p>
</li>
<li>
<p>To enable a target to be load-balanced on a specific target instance or cluster, click the checkbox next to the target and select Load Balancer Enable or Load Balancer Disable from the More Actions drop-down menu.</p>
</li>
<li>
<p>To associate an application with specific virtual servers, select Manage Virtual Servers for the desired target instance or cluster.</p>
<p>The Virtual Server Targets page opens.</p>
<p>To add target virtual servers, select them from the Available Targets list and use the Add button to move them to the Selected Targets list.</p>
<p>By default, the module or application is associated with the default virtual server, named <code>server</code>. Use the Add All button to add all targets. Use the Remove and Remove All buttons to remove targets from the Selected Targets list.</p>
<p>Select Save to return to the Application Targets page.</p>
</li>
<li>
<p>To add or delete target instances or clusters for the application, select Manage Targets.</p>
<p>The Manage Target page opens.</p>
<p>To add targets, select them from the Available Targets list and use the Add button to move them to the Selected Targets list.</p>
<p>Use the Add All button to add all targets. Use the Remove and Remove All buttons to remove targets from the Selected Targets list.</p>
<p>Select Save to return to the Application Targets page.</p>
</li>
<li>
<p>Click Save.</p>
<p>The application is now available on the revised list of targets.</p>
</li>
</ol>
<a id="GHCOM251" name="GHCOM251"></a>
<h5>See Also</h5>
<ul>
<li>
<p><a href="task-appedit.html">To Edit a Deployed Application</a></p>
</li>
<li>
<p><a href="task-appviewdesc.html">To View Descriptors of an Application</a></p>
</li>
<li>
<p><a href="task-applaunch.html">To Launch an Application</a></p>
</li>
</ul>
<small>Copyright &#169; 2005, 2017, Oracle and/or its affiliates. All rights reserved. <a href="docinfo.html">Legal Notices</a></small>