概要文件(profile)

6.0版本以后才有profile,目的是将用户数据和was本身的文件分开,这样可以定义多个profile,每个profile相当于一个用户,相当于提供了多用户的支持。

profile的命令说明:

新建:

wasprofile.sh -create
              -profileName profile_name
              -profilePath fully_qualified_profile_path
              -templatePath template_path
              -nodeName node_name
              -cellName cell_name
              -hostName host_name
              -server  iSeries_server_name
             [-startingPort starting_port | -portsFile filepath]
              -winserviceCheck true | false
              -winserviceAccountType specifieduser | localsystem
              -winserviceUserName yourusername
              -winservicePassword yourpassword
              -winserviceStartupType manual | automatic | disabled
             [-debug]

列出现有的概要文件:

#./wasprofile.sh -listProfiles

删除概要文件:

#./wasprofile.sh -delete
                -profileName profile_name | -profilePath profile_path
               [-debug]

从路径获取现有概要文件的名称:
# ./wasprofile.sh -getName
                 -profilePath profile_path
                [-debug]

从名称获取现有概要文件的路径:
# ./wasprofile.sh -getPath
                 -profileName profile_name
                [-debug]

检查概要文件注册表的完整性:
# ./wasprofile.sh -validateRegistry
                [-debug]

检查概要文件注册表的完整性,除去未找到的概要文件:
# ./wasprofile.sh -validateAndUpdateRegistry
                 [-backup file_name]
                 [-debug]

举例:

./wasprofile.sh \
-create -profileName test4sop \
-profilePath /websphere/AppServer/profiles/test4sop \
-templatePath /websphere/AppServer/profileTemplates/default \
-nodeName test4sopnode \
-cellName test4sopcell \
-hostName S2_E_YZ_JKCS

./wasprofile.sh -delete -profileName test4sop

集群profile:
如果应用比较简单,只需要一个server就可以了,新建一default型的profile之后,之后就可以在控制台上做应用部署之类的.

应用比较复杂时需要构建集群,集群的profile和普通的点不同.
不同在于:
  -templatePath /websphere/AppServer/profileTemplates/default \  
如果参数是default,说明是普通的单server,
如果是managed,说明该profile是托管的.
如果是dmgr,说明该profile是dm(部署管理器)类型的.
将managed的profile加入dmgr管理需要用命令:
./addMode.sh IP(dm的IP) 8879(如果没有更改的话)
移出的命令:
./removeNode.sh
之后启动DM和Node,就可以在控制台上做集群搭建之类的操作了,此时控制台地址是dm的地址,端口默认是9060.

2.Cell,Node,Server
Cell是个分组的概念,Cell下面可以有多个Node.
Node相当于一个或者一组server的分组.Node不能跨物理机器.一个Node下面可以有多个server.
Server是实际的处理单元,一个server就是一个J2EE容器.
Node和profile比较类似,基本上等同,不过Node是管理上使用的,profile起基础配置作用,一个profile相当于一个node.
DM是通过Node agent来管理各个server实例的.

WebSphere之wasprofile.sh使用的更多相关文章

  1. WebSphere概要文件的创建与删除

    一.创建单server服务器 /was/bin/manageprofiles.sh -create -profileName server1 \ -profilePath /was/profiles/ ...

  2. websphere性能调优之dump命令

    websphere性能调优之dump命令 基于WebSphere 构建的企业应用,时常会出现性能问题,在严重的情况下还会提示出内存溢出,这是一件很让人恼怒的事情.在WebSphere Applicat ...

  3. WebSphere MQ 入门指南

    WebSphere MQ 入门指南这是一篇入门指南.我们从最基本的概念说起: 基础概念 对于MQ,我们需要知道4个名词:队列管理器.队列.消息.通道:对于编程设计人员,通常更关心消息和队列,对于维护管 ...

  4. WebSphere常用设置

    WebSphere常用设置 1.查看环境配置信息D:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\AboutThisPro ...

  5. Linux下Websphere无法关闭

    Websphere 启动关闭命令  linux 下首先查看进程 ./stopServcer.sh server1如果停不掉websphere服务.则强制杀掉其进程! 1.查看websphere进程号b ...

  6. Linux环境下Websphere重启

    一.Websphere控制台重启 1.更新class文件发布,Websphere自动重启. 2.更新web.xml发布,需要手动更新web.xml或者更新项目. web.config 缓存位置: We ...

  7. linux/win7下安装websphere application server

    说明: 1.参考网址:http://www.ibm.com/developerworks/cn/aix/library/au-wasonlinux/ 2.在ibm官网上下载websphere appl ...

  8. websphere性能设置和日常维护

    一. 确认磁盘空间是否满足要求1. WebSphere 应用服务器自身代码的占用空间.这个空间一般在1G左右,在不同的系统平台上略有差异. 2. 概要文件所占的空间.WebSphere应用服务器V6. ...

  9. WebSphere MQ 入门指南【转】

    WebSphere MQ 入门指南 转自 WebSphere MQ 入门指南 - 大CC - 博客园http://www.cnblogs.com/me115/p/3456407.html 这是一篇入门 ...

随机推荐

  1. 206.反转单列表 Reverse Linked List

    Reverse a singly linked list. 使用栈 public class Solution { public ListNode ReverseList(ListNode head) ...

  2. SuperSocket快速入门(二):启动程序以及相关的配置

    如何快速启动第一个程序 既然是快速入门,所以,对于太深奥的知识点将不做讲解,会在后续的高级应用章节中,会对SS进行拆解.所有的实例90%都是来自SS的实例,外加本人的注释进行讲解. 一般应用而言,你只 ...

  3. hdu 2025

    水题 AC代码: #include <iostream> using namespace std; int main() { char a[100],*p; int max,i; whil ...

  4. MVC 5 下,应用log4net收集异常信息

    1.安装log4net. 首先在VS中通过nuget安装logenet,我用的是VS2013,截屏如下:

  5. IPointCollection,ISegmentCollection和IGeometryCollection

    Engine 提供了三个主要的几何图形集合接口用于对几何对象的操作,分别是 IPointCollection,ISegmentCollection 和 IGeometryCollection,这些接口 ...

  6. IFeatureClass.Search中的 Recycling 参数 - 浅谈.

    语法: public IFeatureCursor Search ( IQueryFilter filter, bool Recycling); 当 Recycling 为true时,调用NextFe ...

  7. [c#]asp.net开发微信公众平台(2)多层架构框架搭建和入口实现

    上篇已经设计出比较完善的数据库了,这篇开始进入代码.  首先把上篇设计的数据库脚本在数据库中执行下,生成数据库,然后在VS中建立项目,为了方便理解和查看,我设计的都是很直白的类名和文件名,没有命名空间 ...

  8. 读书笔记_Effective_C++_条款十五:在资源类管理类中提供对原始资源的访问

    void f(int* a) { cout <<* a << endl; } int main() { shared_ptr<int> p(new int(3)); ...

  9. C++ Primer 5th 第2章 变量和基本类型

    *****代码在Debian g++ 5.3.1 / clang++ 3.8(C++11)下编写调试***** 由于部分编译器对标准遵循的不同以及自身额外的扩展,本章书中的少数知识点与实际实现存在偏差 ...

  10. CSAPP--虚拟存储器

    虚拟存储器 虚拟存储器(VM)是对主存的一种抽象概念.是硬件一场,硬件地址翻译,贮存,磁盘文件和内核软件的完美交互.他为每个进程提供了一个大的,一致的和私有的地址空间. 它将贮存堪称一个存储在磁盘上的 ...