2023年12月25日发(作者:)

在websphere的bin目录下执行命令,类似/websph/AppServer/bin

//创建dmgr

-create

-templatePath /websphere7/AppServer/profileTemplates/management

-serverType DEPLOYMENT_MANAGER

-profilePath /websphere7/AppServer/profiles/DmgrV7

-nodeName Wasv701

-cellName WasV7

-enableAdminSecurity true

-adminUserName admin

-adminPassword admin

-profileName DmgrV7

-hostName 136.4.7.110

-startingPort 20001

//创建节点

dmgrHost:控制台的主机IP

dmgrPort:端口对应管理节点的这个端口

Hostname:当前创建节点的主机IP

-create

-templatePath /websphere7/AppServer/profileTemplates/managed

-profilePath /websphere7/AppServer/profiles/AppSvrV7

-nodeName Wasv7app

-cellName WasV7a

-dmgrHost 136.4.7.110

-dmgrPort 29004

-dmgrAdminPassword admin

-dmgrAdminUserName admin

-profileName AppSvrV7

-hostName 136.4.9.110

-startingPort 20101

----dmgrPort端口为System administration里的 Ports

SOAP_CONNECTOR_ADDRESS

--- //如果创建节点时未加入dmgr,可以用此命令加入

----创建单个profile

-create

-templatePath

/jfdatatest/websphere7/AppServer/profileTemplates/default

-profilePath /jfdatatest/websphere7/AppServer/profiles/AppSvr01

-enableAdminSecurity true

-adminUserName admin

-adminPassword admin

-profileName AppSvr01

-hostName jftest

-startingPort 30001

→安装日志

$ -create

> -templatePath

/jfdatatest/websphere7/AppServer/profileTemplates/default

> -profilePath /jfdatatest/websphere7/AppServer/profiles/AppSvr01

> -enableAdminSecurity true

> -adminUserName admin

> -adminPassword admin

> -profileName AppSvr01

> -hostName jftest

> -startingPort 30001

INSTCONFSUCCESS: Success: Profile AppSvr01 now exists. Please consult

/jfdatatest/websphere7/AppServer/profiles/AppSvr01/logs/ for more information about this profile.

$ cd

/jfdatatest/websphere7/AppServer/profiles/AppSvr01/logs/

ksh:

/jfdatatest/websphere7/AppServer/profiles/AppSvr01/logs/: 0403-037 The specified path name is not a directory.

$ more

/jfdatatest/websphere7/AppServer/profiles/AppSvr01/logs/

Application server environment to create: Application server

Location: /jfdatatest/websphere7/AppServer/profiles/AppSvr01

Disk space required: 200 MB

Profile name: AppSvr01

Make this profile the default: False

Node name: jftestNode01

Host name: jftest

Enable administrative security (recommended): True

Administrative console port: 30002

Administrative console secure port: 30004

HTTP transport port: 30001

HTTPS transport port: 30003

Bootstrap port: 30005

SOAP connector port: 30006

Run application server as a service: False

Create a Web server definition: False

Performance tuning setting: Standard

$ ls

LTPA_

LTPA_

icons

install

_

boot

waslogbr

wcslogbr

migrateEAR

migration

ws_

$ cd ..

$ ls

Scheduler derby installedConnectors logs

runtimes universalDriver

UDDIReg dev instutils

optionalLibraries sar2war_tool util

bin etc java plugins

scriptLibraries web

cimrepos features lafiles

profileTemplates systemApps

configuration firststeps lib profiles

temp

deploytool installableApps links

properties uninstall