存档

文章标签 ‘was’

使用manageprofiles来建立websphere的profile

2010年1月20日 hashei 1 条评论

在Unix的机器上(包括AIX、HPUX)安装websphere64位的话,想要建立Profile是没有图形化界面的,需要使用manageprofiles命令,下面就详细描述一下如何使用这个命令。

1、建立DM的profile,使用的模版在{install_root}/profileTemplates/dmgr下
句法为:
manageprofile.sh -create –templatePath {install_root}/profileTemplates/dmgr

调用参数为:
-create 建立一个profile. (必选)
-templatePath 指定使用模版的路径. (必选) 建立DM的路径为{install_root}/profileTemplates/dmgr
-profileName 指定profile的名字. (可选)
-profilePath 指定proflile需要建立的路径. (可选)
-hostName 指定profile对应的主机名称. (可选)
-nodeName 指定profile对应的node的名称. 此名称必须在同一cell中唯一. (可选)
-cellName 指定profile对应的cell的名称. 每一个profile的cell名称必须唯一. (可选)
-isDefault 讲此profile指定为缺省的profile,在运行命令期间不需要使用profileName的参数. (可选)
-omitAction 附加条件. (可选)
-adminUserName 在指定administrative security选项后的管理员名称. (可选)
-adminPassword 在指定administrative security选项后的管理员密码. (可选)
-portsFile 指定profile的端口设定文件. 此参数和-startingPort或-defaultPorts参数冲突. (可选)
-startingPort 制度建立profile是的所有的端口的起始的端口号. 同-portsFile或者-defaultPorts参数冲突. (可选)
-defaultPorts 对新建立的profile使用缺省的端口号. 同-portsFile 或 -startingPort 参数冲突. (可选)
-validatePorts 进行端口号验证,保证使用的端口号没有已经被用或者被保留. (可选)
-enableAdminSecurity 新建立的profile使用用户密码方式认证,使用此参数后面跟 true. (可选) 
-enableService 作为linux的service使用,使用此参数后面跟 true. (可选) 
-serviceUserName 指定作为service使用时的用户. (可选)

-webServerType 指定Web server的类型. (可选)
-webServerOS 指定Web server的操作系统的类型. (可选)

例子:
export WAS_HOME=
export PRO_HOME=
以上指定websphere的安装路径和profile的路径,或者输入命令时替换

manageprofiles.sh -create \
-templatePath $WAS_HOME/profileTemplates/dmgr \
-profilePath $PRO_HOME/Dmgr01 \
-nodeName "nodename" \
-cellName "cell name" \
-enableAdminSecurity true \
-adminUserName wasadmin \
-adminPassword password \
-profileName Dmgr01 \
-hostName `hostname` \

2、建立custom的profile,使用的模版为{install_root}/profileTemplates/managed
句法为:
manageprofile.sh -create -templatePath {install_root}/profileTemplates/managed
调用参数同上:

要联合到DM的例子
manageprofiles.sh -create \
-templatePath $WAS_HOME/profileTemplates/managed \

-profileName AppSrv01 \

-profilePath $PRO_HOME/AppSrv01 \
-nodeName test01 \

-hostName `hostname` \
-cellName test1 \
-dmgrHost 192.168.1.100 \
-dmgrPort 8879 \
-dmgrAdminPassword password \
-dmgrAdminUserName wasadmin

不用联合到DM,而后用addNode.sh联合的例子
manageprofiles.sh -create \
-templatePath $WAS_HOME/profileTemplates/managed \
-profilePath $PRO_HOME/AppSrv02 \
-nodeName test02 \
-cellName test2 \
-profileName AppSrv02 \
-hostName `hostname`

addNode.sh 192.168.1.100:8879 -username wasadmin -password password

3、建立appsrv的profile,使用的模版在install_root/profileTemplates/default
句法为:
manageprofile.sh -create -templatePath install_root/profileTemplates/default
调用参数同上:例子么也就那样

4、对于集群来说,建立DM profile,然后建立多个custom的profile,addNode进去即可。或者把现有的app profile addNode到DM的概要文件中,然后通过克隆建立集群。

案例研究: 调优 WebSphere Application Server V7 性能

2009年12月23日 hashei 2 条评论

好东西,赶紧拉下来,介绍的太完整了,从内存调整到各种池大小优化。developerworks上都难得一见的完整调优案例。

原文链接:http://www.ibm.com/developerworks/cn/websphere/techjournal/0909_blythe/0909_blythe.html

IBM WebSphere Application Server 是一种可靠的企业级应用服务器,它提供了一组核心组件、资源和服务,供开发人员在应用程序中使用。每个应用程序都具备特有的需求,并且经常采用截然不同的方式使用应用服务器的资源。为了提供高度灵活性并支持这种广泛的应用程序,WebSphere Application Server 提供了一组全面的参数来帮助您增强对应用程序的调优。

应用服务器已经为最常用的调优参数设置了默认值,以确保能为最广泛的应用程序提供开箱即用的性能改善。但是,由于任意两个应用程序都不可能采用完全相同的方式来使用应用服务器,因此无法确保一组调优参数能适用于所有应用程序。这也突显了对应用程序执行有重点的性能测试和调优的重要性。

本文将讨论在 WebSphere Application Server V7.0(和之前发行版)中最常使用的一些参数,以及对它们进行调优的方法。与其他相关文章提供的调优建议不同,本文将使用 Apache DayTrader Performance Benchmark Sample 案例研究作为本文的上下文。借助 DayTrader 应用程序,您可以清楚地确定所使用的主要服务器组件,对这些区域进行重点调优,并观察各种调优更改所带来的收益。

在继续阅读之前,需要记住关于应用服务器性能调优的一些事项:

  • 提高性能经常会牺牲应用程序或应用服务器的一些特性或功能。在计算性能调优更改时应该仔细考虑性能和特性之间的权衡。
  • 应用服务器之外的一些因素有时会影响性能,包括硬件和操作系统配置、系统中运行的进程、后端数据库资源的性能、网络延迟等等。您在自己执行性能评估时,必须将这些因素考虑在内。
  • 此处讨论的性能改善仅针对 DayTrader 应用程序,并且特定于此处描述的工作负载组成及所支持的硬件和软件栈。您通过本文介绍的调优更改实现的应用程序性能提升肯定会有所不同,并且应该通过您自己的性能测试进行评估。

阅读全文…

IBM WebSphere最新技术支持信息

2009年12月20日 hashei 1 条评论

如果你想订阅这个邮件列表,发送邮件到wsehelp@us.ibm.com即可,邮件名称标注“subscribe WebSphere Application Server”

WebSphere Application Server Customer,
As a valued WebSphere Application Server customer who has contacted technical support, we are hoping you will find this information useful.
This note contains links to WebSphere Application Server technical support documents and information that can help you obtain value from your software. It is intended to help you to be proactive in your support and administration of WebSphere Application Server.

    • 1. Don’t be caught by surprise – try the IBM Support Portal today
      On January 6 the new IBM Support Portal, a unified, centralized view of all technical support tools and information for all IBM software, replaces the existing software product support pages. You can tailor the Support Portal to suit your needs, focusing on the software and hardware products you care about and organizing the pages to reflect the way you work. The portal makes it fast and easy to find the information or tools you need to prevent and resolve problems.We hope you can take a few minutes to fill out a short questionnaire that evaluates the IBM Support Portal in comparison to the existing IBM support website pages. We appreciate your feedback!
      2. IBM WebSphere Application Server Migration Toolkit
      The IBM WebSphere Application Server Migration Toolkit helps organizations migrate applications from other application servers to IBM WebSphere Application Server. WebSphere Application Server, a Java EE 5 certified, EJB 3.0 supported technology-based application platform, is a key part of the IBM Smart SOA Application Foundation that delivers the innovation and performance essential to cost-effectively build, deploy and manage robust SOA applications.
      http://www.ibm.com/developerworks/websphere/downloads/migration_toolkit.html
      3. developerWorks: WebSphere Application Server security
      This page of essential resources contains hints, tips, and valuable guidance to help you configure and use WebSphere Application Server security more effectively, and to design and develop your WebSphere Application Server solutions in ways that will make them more secure. Also included is information on the security environment in which WebSphere Application Server resides.
      http://www.ibm.com/developerworks/websphere/zones/was/security/
      4. Follow WebSphere Support on Twitter
      A list of available Twitter accounts for WebSphere Support.
      http://www.ibm.com/support/docview.wss?rs=180&uid=swg21410956
      5. WebSphere Application Server Feature Pack for XML
      The IBM WebSphere Application Server V7 Feature Pack for XML delivers updated XML programming model standards to help improve developer productivity and address new application development scenarios.
      http://www.ibm.com/software/webservers/appserv/was/featurepacks/xml/
      6. IBM Support Assistant – helping you simplify support
      If you haven’t tried the IBM Support Assistant yet, use the Quick Start Guide to find out what you’re missing! Save time with automated collectors and over 20 robust problem determination tools. IBM Support Assistant can be customized for over 350 IBM software products. The ISA Lite offering lets you quickly use the accurate, automated data collection capability. Download the workbench or ISA Lite to simplify support and save time. Not sure which one you need? Use the handy chart on the page to help you decide.
      7. The Support Authority: Know what your Web application is really doing
      The IBM Monitoring and Diagnostic Tools for Java – Health Center is a lightweight tool that monitors IBM virtual machines for Java with minimal performance overhead. It provides live information and recommendations about classes being loaded, the virtual machine environment, garbage collection, locking, and profiling. This article introduces you to the Health Center and shows an example of how it can be used to check the impact of a source code change in a Web application.
      http://www.ibm.com/developerworks/websphere/techjournal/0911_supauth/0911_supauth.html
      8. The Support Authority: Analyze memory management problems with the Memory Dump Diagnostic for Java (MDD4J)
      The Memory Dump Diagnostic for Java (MDD4J) tool helps you diagnose memory leaks and other excessive memory consumption problems in applications running in IBM Java Virtual Machines (JVMs). This article introduces you to MDD4J and shows you how to use its sophisticated analysis engine and user interface to peer into the Java heap so you can see which objects are consuming the most amount of memory.
      http://www.ibm.com/developerworks/websphere/techjournal/0909_supauth/0909_supauth.html
      9. One plug-in config to handle multiple Portal Applications in multiple Portal Clusters
      I have different Portal applications running in 2 different Portal Clusters. I want to use only 1 IBM HTTP Server Web server to route requests correctly for both applications in both clusters. How can I configure the Web server plug-in to accomplish this?
      http://www.ibm.com/support/docview.wss?rs=180&uid=swg21397408
      10. Web server plug-in routing to SAME application in DIFFERENT clusters
      If I install the same Web application into more than one WebSphere Application Server cluster, is it possible to configure the Web server plug-in to properly route requests to the application in both clusters?
      http://www.ibm.com/support/docview.wss?rs=180&uid=swg21331062
      11. IBM Service Integration Bus Destination Handler, Version 1.1
      A tool to view, move, copy, delete, save and restore messages in the default messaging provider for IBM WebSphere Application Server versions 7.0, 6.1, and 6.0.
      http://www.ibm.com/support/docview.wss?rs=180&uid=swg24021439
      12. Solution for installing 32-bit Java SDK fix packs on IBM HTTP Server V7.0 using Update Installer 7.0.0.5 and earlier
      For most operating systems and architectures, you should install the 32-bit Java SDK fix packs for IBM HTTP Server V7.0, even if that IBM HTTP Server was installed from the 64-bit Supplemental installation image. However, due to a defect in the process, Update Installer V7.0.0.5 and earlier will not allow you to install the 32-bit Java SDK fix pack, and will erroneously allow you to install the 64-bit Java SDK fix pack instead. This technote explains how to address this problem.
      http://www.ibm.com/support/docview.wss?rs=180&uid=swg21395882

      1. WebSphere Application Server Administration Using Jython
      Utilizing Jython scripting, you can dramatically reduce the effort, resources, and expense associated with managing WebSphere Application Server. WebSphere Application Server Administration Using Jython will show you how. The first start-to-finish guide to Jython scripting for WebSphere administration, this book’s practical techniques and downloadable scripts can help you improve efficiency, repeatability, and automation in any WebSphere environment.
      *Using coupon code IBM9527 provides you a 35% discount AND Free Shipping!
      http://www.ibmpressbooks.com/bookstore/product.asp?isbn=0137009526
      2. Join us for these Electronic Support webcasts
      During the month of January, the Global WebSphere Community will offer a series of four electronic support webcasts. Check the web site for details on joining the webcasts:
      January 7 webcast – “It’s official – the IBM Support Portal is here!”
      January 14 webcast – “Quick guide to electronic support and a close look at the Service Request tool”
      January 21 webcast – “Discover IBM Support Assistant – ready to help when you need it”
      January 28 webcast – “IBM portfolio of troubleshooting tools: helping you solve problems faster”
      3. IBM WebSphere Application Server V7.0 Web Services Guide
      This IBM Redbooks publication describes how to implement Web services in IBM WebSphere Application Server V7. It starts by describing the concepts of the major building blocks on which Web services rely and leading practices for Web services applications.
      http://www.redbooks.ibm.com/abstracts/SG247758.html
      4. Technical Exchange Webcasts
      Take full advantage of your product. Join us as technical experts share their knowledge and then answer your questions. Visit this site often to see upcoming topics.
      http://www.ibm.com/software/websphere/support/supp_tech.html
      5. Self-Assist Resources and Tools
      Find out how online software support tools and resources can save you time, keep you informed, provide training, and help streamline your support experience!
      http://www.ibm.com/software/websphere/support/d2w.html
      6. developerWorks WebSphere Application Server zone
      Access the developerWorks page for downloads, learning resources and more.
      http://www.ibm.com/developerworks/websphere/zones/was/
  • In the spotlightPlan

    Education

Kind regards,
The WebSphere Application Server team.

WebSphere为应用程序设置访问认证

2009年11月24日 hashei 没有评论

《WAS启用IHS的SSL》一文中,我给出了两个PDF,详细描述了如何在IBM Http Server上启用SSL,为用户提供安全的传输通道。但有些应用不仅要实现加密传输,还需要认证功能,比如使用数字证书,或者实体的USB Key。本文就是讲述在这种环境下如何配置,为单独的WAS服务器,没有结合IHS。参考文档《IBM WebSphere Application Server V6.1 Security Handbook》(sg246316)

 

步骤一:配置“密钥库和证书”

注意:配置前请先将密钥文件放置在对应profile的etc目录下

websphere ssl key management
在管理控制台的“安全性”——“SSL证书和密钥管理”里,点击最右边的“密钥库和证书”。

会看到已经有三个默认的密钥库存在,点击新建:

阅读全文…

分类: Websphere系列, 安全 标签: , ,

(转)Websphere Application Server 6.0配置与管理

2009年11月19日 hashei 没有评论

温故而知新:这篇文章应该是半年前在webspherechina.net上下载的,今天查找如何在webshpere下对应用程序采用key认证时候偶然发现,应该说是从开发人员的角度理解了was这个产品,贴出来大家分享。

Websphere Application Server 6.0配置与管理

一、 WebSphere Application Server 6.0家族概述

WebSphere Application Server6.0(以下简称“AppServer”)在安装IBM Rational Application Developer6.0的时候已经为我们自动安装了,完全可以做为一个独立服务器运行。具体情况请参考“IBM Rational Application Developer 6.0安装、配置与开发”一文。所以本文只是为了在用IBM Rational Application Developer 6.0(以下简称“RAD”)开发时,我们可以更好地配合AppServer在测试、运行、部署等过程中一起工作,减少因为对AppServer不甚了解而遇到问题时无从下手的麻烦。

IBM公司的软件产品有五大系列:DB2、Lotus、Rational、Tivoli、Websphere(其中大部分都是收购别的公司的)。其中的Websphere系列,主要是为了电子商务而建立的一个基础平台。它可以使公司开发、部署和整合电子商务应用。

基础平台与工具(Foundation&Tools

WebSphere Application Server

WebSphere Application Server – Express

WebSphere Studio

商业门户(Business Portals

WebSphere Portal

WebSphere Portal – Express

WebSphere Commerce

WebSphere Everyplace

WebSphere Voice

商业整合(Business Integration

WebSphere MQ

WebSphere Business Integration

Adapters and Connectors

clip_image001

(IBM Websphere家族)

下图为概要说明:

clip_image003

IBM的AppServer是Webshpere的软件平台的基础(Foundation)。而WebSphere Studio(在6.0中已经转移到Rational系列中)是其开发测试工具(Tools)。

而对于AppServer,又有几个不同的版本,主要是应对不同规模需求的应用,我们项目组提供的是Network Deployment版本,它们大致描述如下:

clip_image005

Websphere AppServer 6.0系列(从上到下为包含关系

下面是WebSphere Application 5.1的几个版本的关系,比较上下两个图,我们会发现在版本升级后,它们的变化(如6.0版本中,去掉了Base这个称呼,不过表达时一般还是附带)

clip_image007

Websphere AppServer 5.1系列

对于6.0各版本AppServer,它们的差别和需要注意的地方:

1、 Express版本主要是支持Web系统开发的易用性,不支持EJB和JCA。

2、 Base版本(缺省版本)提供EJB和JCA、内置JMS等支持,但不支持负载和中央集中式管理。

3、 Network Deployment版本除了Base版本的所有功能外,还支持集群、高可用性(High Availability)等。

二、 WebSphere Application Server 6.0系统结构

说明:

IBM WebSphere Application Server – Express V6, 指Express

IBM WebSphere Application Server V6, 指 Base

IBM WebSphere Application Server Network Deployment V6, 指Network Deployment

2.1 AppServer的运行和管理方式

从AppServer运行和管理的角度考虑,我们可以将它分成standalone和distribution模式。Express和Base只能运行在standalone模式下,而Network Deployment在两种方式下均可,它可以提供在standalone模式下没有的功能,如workload(负载)和failover(失效转移)。

对于这两种模式和运行,Websphere 有其专用术语,如Profile,Cell-Node-Server等等,下面我们会分别介绍,

不管服务器运行在何种模式下,AppServer均以cell、node、server等概念组织。除非你在Network Deployment环境下运行,否则cell、node等概念并没有多大参考价值,也就是说,在standalone模式下只有一个cell和node(从服务器Profile的目录结构就可以看出, profile的概念下面会具体谈到)。

clip_image009

Standalone模式下的架构总览

ServerApplication Server是首要的runtime组件,它是applications的执行点。多个standalone的server能够存在于一台物理机器上,它们的配置文件被独立维护和存储。有两种方式可以做到:通过全新安装新的AppServer代码,或者通过一次AppServer的安装,然后配置多个profile。每个AppServer运行在它们各自的Java虚拟机上。

Nodenode(节点)是一组Server进程的逻辑组合。它们通过websphere管理,共享通用的配置和操作控制。一个node和一个webSphere的物理安装对应。

在standalone的配置下,仅有一个node。在Network Deployment下,你能从一个总的管理服务器来配置和管理多个nodes。在中央集中式管理的配置下,每个node有一个node agent,它和deployment manager一起工作,来管理受管进程。

NodeGroup 是一个被V6.0引入的新概念,node group是在cell内的一组节点,它们有相似的capability。

Cellcell是一组集成到一个管理domain的nodes(Distribution 环境下)。在该cell下的所有nodes的配置文件和application被集中到一个cell master的中央配置存储容器(repository)。deployment Manager 进程管理这个存储器并且和它管理下的每个node上的备份相同步(synchronize)。

clip_image011

2.2 AppServer静态结构――Server和Container的概念

WebSphere AppServer 本身提供一些功能给application,并且它还能将外部server集成到管理进程中来。下图说明了你能集成什么server到websphere Application 管理工具中。

clip_image013

Web Server能够作为Web Server 节点(nodes)集成到管理进程中,它允许应用程序关联到一个或多个web Server。

Web Server Nodes能够在管理和非管理状态。在管理状态下,被管理的node有一个node agent在web Server的机器上,它允许deployment manager来管理这个web Server。在非管理状态下,该web Server 并不被websphere管理,你能够发现这些web Server在防火墙外面,或在非军事化区(demilitarized zone)。你必须手动地拷贝Web Server 的plug-in文件到web Server的。然而,如果你定义该web Server作为一个node,你就可以为它定制的plug-in文件。

Generic Server是指该server在websphere domain下接受管理,但是并不是由 WebSphere Application Server提供的第三方Server,如OpenJMS server,tomcat等。

J2EE规范提出了容器(container)的概念,它提供application的运行时支持。在application Server实现中有两类容器:

Web Containe它处理HTTP Request,Servlet和JSP。

EJB Container它处理Enterprise JavaBean(Session Bean,Entity Bean和Message-Driven Bean)。

Application Client Container(ACC):它允许J2EE application 客户端软件访问服务器资源。ACC需要单独安装在客户端机器上,然后我们就可以通过命令行方式在ACC里运行客户端程序(lauchClient)。具体specification,请参考sun J2EE specification 1.4。

注意:websphere AppServer客户端并不支持单独的J2EE客户端jar执行。

clip_image015

利用J2EE容器资源的J2EE客户端程序

下表说明了几种AppServer对它们的支持:

clip_image017

2.3 AppServer的动态结构――Profile概念

AppServer profile的概念是V6.0提出的。在V5.0中,AppServer就允许在一台机器的一个Server上允许多个实例。在V6.0中,IBM对AppServer该功能有了进一步增强,提出了Profile的概念:

AppServer由两部分组成:

第一, 一组共享的只读产品静态文件或二进制文件。它们被AppServer的实例共享。

第二, 一组用户自定义的配置文件,这些文件就称为Profile。它是一些用户数据,包括服务器配置,application,属性文件等。

在我们安装V6.0的应用服务器时,我们应该先安装AppServer,然后再安装Profile,这样才能建立一个逻辑上并且是物理上的AppServer。

结合前面的cell,node,server和现在的profile概念,我们看看我们的application在服务器Profile下的目录结构:

clip_image019

在standalone模式和distribution下,profile的目录结构区别并不大,它们的区别,以及各目录下的具体文件含义,请参考IBM的红皮书:《WebSphere Application Server V6 System Management & Configuration》。

Server Node Cell Cluster—Websphere拓扑结构及术语介绍上

2009年5月2日 hashei 1 条评论

/**   下文是我根据自己一年多的工作经验,结合IBM的PPT写成,如果你觉得表述的不是很明白,可以前往阅读IBM官方文档IBM WAS ND 分布式网络环境的理解与集群的实现。**/

Websphere入门篇(一)-was6.0安装中,我们配置了一个Websphere Application Server,前端联合了一个Http Server,后端连接Oracle数据库。这是WebSphere最简单的拓扑结构——带Web服务器的单机环境(Stand-alone Application Server Topology with Web Server )

Standalone

Stand-alone Application Server拓扑方式的安装是指在一个单独的节点上(Node)运行一个(仅能一个)Application Server进程的安装方式。如果你需要多个Application Server,那么你就要起多个profiles,而在ND环境中一个Profile可以起多个Application Server。在Stand-alone的环境下,Web服务器只能定义一个,ND环境下则无此限制。

术语一 Application Server:一个为J2EE应用提供了web容器、EJB容器、Naming、JMS等服务,同时提供配置和管理功能的运行平台。在Windows、Unix等分布式操作系统上,一个Server单只一个JVM实例,我们看到的就是一个java进程;但在z/OS平台上,一个Server可以包含多个操作系统进程,每个进程都单独运行一个JVM实例。

术语二 WebSphere profiles:一个application server所需要用到的User files的集合,包括诸如环境变量是如何设定的、各种资源是如何配置的、日志文件的记录格式……所有的这些构成了application server的运行时环境。

与之相对应的是Product files——运行application server所需要的二进制文件,这些二进制文件是各个profiles共享的。因为只有这一份二进制文件集,所以websphere代码的变更,比如补丁的升级,可以被旗下所有的profiles享用到,无需为每一个Profiles单独操作,节省了磁盘空间。

由此可知,如果需要为不同的应用使用不同的补丁版本,或者为某个应用打一个小fix,那么只能重新安装一个完整的WAS程序,而不仅仅是单独建立一个profile。而不同机器间WAS的迁移,也必然不能简简单单的拷贝WAS安装目录了事,至少需要安装WAS程序,profiles因为是配置的集合,和机器的相关性比较小——主机名、端口号等配置还是需要注意的——可以“偷懒”拷贝一下。

术语三 节点(Node):节点是受管服务器(Server)的逻辑分组。节点通常与具有唯一 IP主机地址的逻辑或物理计算机系统对应,节点不能跨多台计算机。

分为Managed Node:可以被Deployment manager管理,在ND环境下的application server必然是Managed Node,同时也会有一个对应的Node agent,通过在profile name/bin目录下运行startNode命令,可以让DM来管理application server。当一个Stand-alone的application server联合到ND环境下时,Node agent会自动生成,当然之前是没有的。

node

与之对应的是Unmanaged Node:顾名思义是无法直接通过DM来管理的节点,一般是作为Web Server所在节点存在的,特别是当Web server位于DMZ区,而app server位于防火墙之后。虽然是Unmanaged Node,但是生成插件、传播插件是可以的,只是起停web server需要手动执行。unmanaged node

关于 Node、Profile 与 Server:

这三个概念比较容易混淆,我们拿出来对比说明:Node=Profile。Node 是管理上使用的概念,Profile 是实际的概要文件,它们代表同一事物。Server 就是所谓的 Application Server Instance , 这是我们实际要布署 Application 的地方。在IBM WAS ND 产品中受管节点的 Node Agent 目的就是让 Deployment Manager Server 可以透过 Node Agent 来管 Node (Profile) 中的 Application Server Instance,一个 Node (Profile) 中可以有多个 Application Server Instance。

如果是非 ND 版本 , 则属于 Single Server 版本,那么一个 Node (Profile) 中只能有一个 Application Server Instance,如果你希望在一台机器上有多个 Application Server Instance,那就只能透过创建多个 Profile (Node) 来达成,但这些 Node (Porfile) 彼此独立没有管理上的关系 (RelationShip),只要使用的 TCP/IP Port 不要冲突即可。

摘自WebSphere Application Server 常见问题及解答:什么是单元(Cell)?什么是节点(Node)?Node、Profile 与 Server 之间的关系是什么?

如果stand-alone的结构无法满足应用程序的可扩展性(Scalability),可靠性(reliability)要求,那么我们就需要使用Network Deployment Topology,进而配置Cluster来满足以上两个要求。具体见下文。