Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7546942
  • 博文数量: 1765
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16312
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1765)

文章存档

2024年(11)

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类:

2006-04-10 12:12:57

Websphere Portal Express for iSeries 安装及配置

Websphere Portal Express for iSeries 安装及配置步骤,包括:
1、硬件要求检查
2、必需的特需程序
3、安装Websphere Application Server(Base Edition)
4、安装Websphere Application Server(Base Edition) PTF
5、安装Websphere Application Server Enterprise Edition
6、安装其它所需PTF
7、安装Websphere Portal
8、配置Websphere Portal Server
9、其它材料

第一步、硬件要求检查
Ø      CPW - 每个Portal 实例需750
Ø      内存 - 每个Portal 实例需2G
Ø      1.5GB硬盘空间安装WebSphere Portal 及WebSphere Application Server V5.0 Enterprise Enablement
Ø      500MB – 每个WebSphere Portal实例所需硬盘空间

第二步:检查必需的特需程序
     检查下述的LPP是否安装在OS/400 V5R2:
Ø      5722SS1 OS/400 V5R2
Ø      5722JV1 (Option *BASE) IBM Developer Kit for Java
Ø      5722JV1 (Option 5) Dev Toolkit for Java (Version 1.3), requires the *BASE option
Ø      5722SS1 (Option 12) Host Servers
Ø      5722SS1 (Option 30) QShell Interpreter
Ø      5722SS1 (Option 33) Portable Application Solution Environment (PASE)
Ø      5722DG1 IBM HTTP Server for iSeries
Ø      5722TC1 TCP/IP Utilities
Ø      5722SS1 Option 34 Digital Certificate Manager (Refer to WAS, using SSL)
Ø      722AC3 Crypto
Ø      5722ST1 DB2 Query Manager and SQL Development Kit for iSeries

第三步:安装Websphere Application Server(Base Edition)
     如果已经在系统中安装,此步可以忽略。
     1、用GO LICPGM命令选10:
Ø      5733WS5 (Option *BASE) WebSphere Application Server V5.0
Ø      5733WS5 (Option 1) WAS V5.0 Client development and runtime
Ø      5733WS5 (Option 2) WAS V5.0 Application server runtime
2、如果没有发现上述软件,则:
     远程安装:
u      在Windows本地PC中放入CD,标为WAS Base ”Disk 1-1”, 安装提示会自动运行。
u      用缺省设置
u      在安装中,根据提示插入第二张盘,标为WAS Base ”Disk 1-2”

iSeries本地安装:
u      将WAS Base ”Disk 1-1”放入iSeries的光驱
u      在OS/400运行STRQSH,进入QSHELL
u      进入Websphere目录
²      cd opt01
²      cd websphere
u      运行SETUP
u      期间,根据提示放入WAS Base ”Disk 1-2”盘

第四步:安装Websphere PTFs
     1、如果Websphere Application Server Base以前已经安装,则用WRKPTFGRP检查下述PTF是否已经安装,如果是,则可以忽略下一步。
Ø      SF99245 WebSphere (5733WS5) group PTF level 5 or later
Ø      SF99502 OS/400 Database group PTF, level 10 or later
Ø      SF99169 Java group PTF, level 15 or later
Ø      SF99098 IBM HTTP Server group PTF, level 12 or later

2、安装WAS Group PTFs
Ø      将WAS Group PTF Disk1-4(或最新的SF99245)放入iSeries 光驱
Ø      在CL命令行,Go PTF
Ø      选8
Ø      根据提示更换CD
Ø      IPL

3、安装单个PTF
产品      PTF      描述
5722SS1      SI08232SI08487      OSP-JVA_RUN NAWT Can't Connect to X11 Window ServerIBM Directory PTF (upgrade SecureWay Directory to V4.1)
5733WS5      SI09961      APPSVR Post 5.0.2 (NullPointerException from OS400Helper)
5722DG1      SI10192      WebSphere Portal Wizard


第五步:安装Websphere Enterprise Enablement
     1、停止Websphere Aplication Server
           Endsbs SBS(QEJBAS5) OPTION(*IMMED)
     2、Websphere Enterprise Enablement是通过远程安装
           将Enterprise Enablement(Disk1-12)放入PC的光驱
     3、安装程序自动运行,如果没有,可以手工运行CD根目录下的install400.bat
     4、输入系统名,用户名/口令

     5、选择安装语言
     6、点击,Next

     7、在软件和约,选I accept the terms in the license agreement ,击Next

     8、选择Option-10

     9、检查,Next

     10、将执行软件安装,需要耐心等待一些时间,屏幕会提示安装记录的文件名:
/tmp/InstallShield/WASPME/logs/pmeinstalllog.txt




     11、安装结束后,按Finish

12、检查安装记录
     在CL命令行,运行:
            wrklnk ‘/tmp/InstallShield/WASPME/logs’
     在旁边键入5,查看其中有无明显的错误信息。

13、检查安装后的软件状态
     CL命令,GO LICPGM, Option-10.
     


第六步:安装其他Websphere PTF

     1、其他Websphere PTF包含在WAS Additional PTFs的CD中(disk1-13),在光盘中PTF目录下的PTF.TXT 文件中包含详细的安装指南。
     2、PTF安装
Ø      以有*SERVICE和*SAVSYS权限的用户登录OS/400
Ø      创建SAVF
CRTSAVF FILE(QGPL/QSI09961)
CRTSAVF FILE(QGPL/QSI10384)
CRTSAVF FILE(QGPL/QSI10075)
CRTSAVF FILE(QGPL/QSI10668)
CRTSAVF FILE(QGPL/QSI10692)
CRTSAVF FILE(QGPL/QSI10741)
CRTSAVF FILE(QGPL/QSI10775)
CRTSAVF FILE(QGPL/QSI10778)
CRTSAVF FILE(QGPL/QSI10939)
CRTSAVF FILE(QGPL/QSI10944)

Ø      将CD disk1-13放入iSeries光驱
Ø      运行
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI09961')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI09961.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10384')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10384.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10075')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10075.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10668')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10668.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10692')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10692.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10741')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10741.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10775')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10775.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10778')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10778.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10939')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10939.FILE')MBROPT(*REPLACE)
CPYFRMSTMF FROMSTMF('/QOPT/WPXP-1-13/PTF/QSI10944')
TOMBR('/QSYS.LIB/QGPL.LIB/QSI10944.FILE')MBROPT(*REPLACE)

Ø      Load PTF
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI09961)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10384)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10075)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10668)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10692)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10741)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10775)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10778)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10939)
LODPTF LICPGM(5733WS5) DEV(*SAVF) SAVF(QGPL/QSI10944)

Ø      停止Websphere
ENDSBS QEJBAS5
WRKOBJLCK OBJ(QEJBAS5/QEJBAS5) OBJTYPE(*SBSD)
用PF5刷新,直到显示 "There are no locks for the specified object"

Ø      Apply PTF
APYPTF LICPGM(5733WS5)

Ø      启动Websphere
STRSBS QEJBAS5/QEJBAS5


第七步:安装Websphere Portal Server
     1、启动Websphere Application Server.
           在CL命令行,运行:
           STRSBS SBSD(QEJBAS5/QEJBAS5)
     2、将标有SETUP的光盘放入PC光驱内。
           系统自动启动安装程序,或手工运行CD根目录下的INSTALL400.BAT
     3、输入系统名,用户名/口令
           该用户需有*ALLOBJ和*JOBCTL权限
     4、在列表中选择English
     5、在Welcome页面中,击Next

     6、在软件和约中,选” I accept the terms in the license agreement”,击Next

     7、在Basic Configuration Option屏幕中,选Install Only,击Next,

     8、在“WebSphere - Express is ready to install”屏幕中,击Next

     9、输入SETUP光盘的位置

10、在PC CD-ROM中放入标为Portal Server(CD 2),输入该CD的目录,击Next.

     
     11、当安装完成时,屏幕出现安装成功的提示,记下安装记录文件名:
(/qibm/proddata/PortalServer5/log/instalmessages.txt)
     击Finish键。

12、检查安装是否成功
WRKLNK ‘/qibm/proddata/PortalServer5/log/instalmessages.txt’
用Option-5,显示,搜寻是否有:
“EJPI0004I The installation has completed successfully”
第七-一步:安装Websphere Portal Server补订

up to SF99282 Level 2
SI16287 applied to 5722DG1

第八步:配置Websphere Portal Server

     Portal的配置可以通过向导完成,其中系统会创建以下对象:
Ø      Websphere Portal 实例
Ø      存储Portal信息的DB2库和表
Ø      数据库用户
Ø      HTTP服务器

     向导提供一站式和完整式二种方式:
n      一站式:只需提供WPSADMIN的口令,其他全部由系统自动创建,主要用于开发、测试。
n      完整式:用户可以修改所有步骤中涉及的参数,包括:Websphere Application Server,HTTP服务器,数据苦,安全和 Portlet的部署

一站式配置方式:

1、通过
登录,其中hostname是iSeries的主机名或IP地址。
2、选 IBM HTTP Server for iSeries



3、选Create New WebSphere Portal


4、在WebSphere Portal welcome 屏幕,点击One Step Create。

5、输入wpsadmin口令,击Next

6、检查后,击Finish

     整个创建过程可能需要二个小时左右,具体所需时间根据硬件配置而定。

7、等待到向导的屏幕变成以下状态时,击Portal Server URL 来启动 Websphere Portal 实例。



完整式配置方式:
1、通过
登录,其中hostname是iSeries的主机名或IP地址。
2、选 IBM HTTP Server for iSeries

3、击Create New Websphere Portal

4、在WebSphere Portal welcome 屏幕,点击 Next


5、输入Websphere Application Server Name,点击Next

6、选择使用现有HTTP服务器,或者创建新的HTTP

7、如果选择创建新的HTTP服务器,则提供服务器的名字和端口号,注意端口号不能与其它服务器冲突

8、指定Websphere Application Server名字,击Next

9、输入Collection名

10、输入访问数据库的用户名及口令,推荐选择创建新的用户,击Next


11、检查 Websphere Portal URL,建议使用提供的缺省值, 击Next


12、指定HTTP服务器代理


13、安全设置
      用户可以在创建后再进行安全配置。
      击Next。


14、输入wpsadmin口令


15、选择Portlet部署,这些Portlets随Websphere Portal Server而来。用户也可以在Portal实例创建后再根据需要安装。

16、检查总结信息,击Finish

整个创建过程可能需要二个小时左右,具体所需时间根据硬件配置而定。      


17、等待到向导的屏幕变成以下状态时,击Portal Server URL 来启动 Websphere Portal 实例。


其它材料

     更多详细的安装及配置信息可参考:



Manual configure Portal
0. Configure TCP
l      IP:172.16.2.16
l      Hostname: IBMGZ570.cn.ibm.com
l      Domain Name: cn.ibm.com
1. Create an extended WebSphere Application Server instance.
l      STRQSH
l      cd /QIBM/ProdData/WebAS5/PME/bin
l      ls -la *was*
l      versionInfo to view PME installed
l      (or)cd /QIBM/ProdData/WebAS5/PMEND/bin
l      crtwasinst -instance instance-name -portblock portblock -exthttp port
l      Example: crtwasinst -instance MyPortal -portblock 50051 -exthttp 90
l      /QIBM/UserData/WebAS5/Base/MyPortal/properties/.instance.properties to view item:”instance.type=pme”
l      startServer –instance MyPortal
l      
name:admin-port/admin (50061)
l      
name:internal-http/snoop (50060)
2. Configure an external HTTP Server instance.
l      STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
l      
name:2001
l      hostname IBMGZ570
l      http-server-name MyHTTPSvr
l      http-server-port 90
l      
name:http-server-port/ to check
3. Configure the application server instance to use an external HTTP server instance.
l      
name:2001
l      Click the Manage tab.
l      Click the HTTP Servers subtab.
l      In the Server drop-down list, select your HTTP server instance.
l      In the left navigation pane, click WebSphere Application Server as shown in
l       In the right panel, select the WebSphere Application Server, 5.0 (base) option.
l       the WebSphere instance drop-down list, select your application server instance. Click OK.
l      click Display Configuration File
l      These lines instruct the HTTP Server instance about the location of:
The HTTP server plug-in configuration file, which is located under the WebSphere Application Server instance directory
The WebSphere plug-in module, which is located in the WebSphere library
l      restart the HTTP server instance,
l      
name:http-server-port/snoop to check
4. Extend the application server instance with portal functionality.
l      STRQSH
l      cd /QIBM/ProdData/PortalServer5/config
l      ls -Fla *.sh
l      addwpsinst.sh -instance instance-name
l      Example: addwpsinst.sh -instance MyPortal
l       check log file
addwpsinst.log
ConfigMessages.log
ConfigTrace.log
ConfigTrace1.log
l      check directory
l      /QIBM/UserData/WebAS5/Base/MyPortal/PortalServer5

5. Perform database planning.
l      Each schema must have a name.
l      Each schema must have a user profile which is the owner.
l      Names used to set the parameters
ParameterName      Value
OurDbSchema      MyPortDb
OurDbUser      MyPortID
OurDbPassword      MyPortPwd
OurPortalAdminId      PortalAdminID
OurPortalAdminPassword      PortalAdminPwd
l      Database profiles properties
Property      Value
DbUser      MyPortID
DbPassword      MyPortPwd
WpcpDbUser      MyPortID
WpcpDbPassword      MyPortPwd
FeedbackDbUser      MyPortID
FeedbackDbPassword      MyPortPwd
WmmDbUser      MyPortID
WmmDbPassword      MyPortPwd
l      Database schemas properties
Property      Value
WpsDbName      *LOCAL/MyPortDb
WpsDbSchema      MyPortDb
DbUrl      jdbc:db2:*LOCAL/MyPortDb
WmmDbName      *LOCAL/MyPortDb
WmmDbSchema      MyPortDb
WmmDbUrl      jdbc:db2:*LOCAL/MyPortDb
WpcpDbName      *LOCAL/MyPortDb
WpcpDbSchema      MyPortDb
WpcpDbUrl      jdbc:db2:*LOCAL/MyPortDb
FeedbackDbName      *LOCAL/MyPortDb
FeedbackSchema      MyPortDb
FeedbackDbUrl      jdbc:db2:*LOCAL/MyPortDb
PznDbName      *LOCAL/MyPortDb
PznSchema      MyPortDb
PznDbUrl      jdbc:db2:*LOCAL/MyPortDb
BrbDbName      *LOCAL/MyPortDb
BrbSchema      MyPortDb
BrbDbUrl      jdbc:db2:*LOCAL/MyPortDb
l      Portal administration profile properties
Property      Value
PortalAdminIdShort      PortalAdminID
PortalAdminId      uid=PortalAdminID,o=default organization
PortalAdminPwd      PortalAdminPwd


6*. Prepare the properties file.
l      STRQSH
l      cd /QIBM/UserData/WebAS5/Base/MyPortal/PortalServer5/config/helpers
l      Create the helper properties files:touch -C 819 myportal_helper.properties
l      exit Qshell
l      EDTF ('/QIBM/UserData/WebAS5/Base/MyPortal/PortalServer5/config/helpers/
l      myportal_helper.properties’) like following
DbUser=MyPortID
DbPassword=MyPortPwd
WpcpDbUser=MyPortID
WpcpDbPassword=MyPortPwd
FeedbackDbUser=MyPortID
FeedbackDbPassword=MyPortPwd
WmmDbUser=MyPortID
WmmDbPassword=MyPortPwd
WpsDbName=*LOCAL/MyPortDb
WpsDbSchema=MyPortDb
DbUrl=jdbc:db2:*LOCAL/MyPortDb
WmmDbName=*LOCAL/MyPortDb
WmmDbSchema=MyPortDb
WmmDbUrl=jdbc:db2:*LOCAL/MyPortDb
WpcpDbName=*LOCAL/MyPortDb
WpcpDbSchema=MyPortDb
WpcpDbUrl=jdbc:db2:*LOCAL/MyPortDb
FeedbackDbName=*LOCAL/MyPortDb
FeedbackSchema=MyPortDb
FeedbackDbUrl=jdbc:db2:*LOCAL/MyPortDb
PznDbName=*LOCAL/MyPortDb
PznSchema=MyPortDb
PznDbUrl=jdbc:db2:*LOCAL/MyPortDb
BrbDbName=*LOCAL/MyPortDb
BrbSchema=MyPortDb
BrbDbUrl=jdbc:db2:*LOCAL/MyPortDb
PortalAdminIdShort=PortalAdminID
PortalAdminId=uid=PortalAdminID,o=default organization
PortalAdminPwd=PortalAdminPwd
l      Press F3 to save the edited helper file.
l      STRQSH
l      cd /QIBM/UserData/WebAS5/Base/MyPortal/PortalServer5/config
l      Run the following command to propagate the properties from the helper file to the main properties file:
l      WPSconfig.sh -DparentProperties=config/helpers/myportal_helper.properties-DSaveParentProperties=true
l      
6**. Create Schema.
l      EDTF /qibm/userdata/webas5/base//portalserver5/config/wpconfig.properties'
Value      Description      Example
DbUser      The database administrator user ID.      DbUser=MYNAME
DbPassword      The database administrator password.      DbPassword=abc123
WpcpDbUser      The WPCP schema user ID.      WpcpDbUser=MYNAME
WpcpDbPassword      The WPCP schema user password.      WpcpDbUser=abc123
FeedbackDbUser      The Feedback schema user ID.      FeedbackDbUser=MYNAME
FeedbackDbPassword      The Feedback schema user password.      FeedbackDbPassword=abc123
WmmDbUser      The WMM schema user ID.      WmmDbUser=MYNAME
WmmDbPassword      The WMM schema user password.      WmmDbPassword=abc123
PortalAdminIdShort      The Portal administrator user ID.      PortalAdminIdShort=MYADMIN
PortalAdminId      The Portal administrator user ID.      PoralAdminId=uid=MYADMIN, o=default organization
PortalAdminPwd      The Portal administrator user password.      PortalAdminPwd=xyz123
l      Do not move the *local
Value      Description      Example
WpsDbName      The name of the WebSphere Portal database.Note: This value should also appear as the database element in DbUrl.      WpsDbName=*LOCAL/WPS
WpsDbSchema      The WebSphere Portal database schema name.      WpsDbSchema=WPS
DbUrl      The database URL.      DbUrl=jdbc:db2:*LOCAL/WPS
WmmDbName      WmmDbName: The name of the WebSphere Portal database.Note: This value should also appear as the database element in WmmDbUrl.      WmmDbName=*LOCAL/WMM
WmmDbSchema      The WMM database schema name      WmmDbSchema=WMM
WmmDbUrl      WmmDbUrl: The database URL.Note: The database element of this value should match the value of WmmDbName.      WmmDbUrl=jdbc:db2:*LOCAL/WMM
WpcpDbName      The name of the WPCP database.      WpcpDbName=*Local/WPC
WpcpDbSchema      The WPCP database schema name.      WpcpDbSchema=WPC
WpcpDbUrl      The WPCP database URL.      WpcpDbUrl=jdbc:db2:*Local/WPC
FeedbackDbName      The name of the Feeback database.      FeedbackDbName=*LOCAL/QWPS50
FeedbackSchema      The Feeback database schema name.      FeedbackSchema=QWPS50
FeedbackDbUrl      The Feedback database URL.      FeedbackDbUrl=jdbc:db2:*LOCAL/QWPS50
PznDbName      The name of the PZN database.      PznDbName=*LOCAL/QWPS50
PznSchema      The PZN database schema name.      PznSchema=QWPS50
PznDbUrl      The PZN database URL.      PznDbUrl=jdbc:db2:*LOCAL/QWPS50
BrbDbName      The name of the BRB database.      BrbDbName=*LOCAL/QWPS50
BrbSchema      The BRB database schaema name.      BrbSchema=QWPS50
BrbDbUrl      The BRB database URL.      BrbDbUrl=jdbc:db2:*LOCAL/QWPS50
l      

7. Create the OS/400 user profile.
l      Example: CRTUSRPRF USRPRF(MyPortID) PASSWORD(MyPortPwd) TEXT('MyPortal database owner')
8 configure portal
l      strqsh
l      cd /qibm/userdata/webas5/base//portalserver5/config
l      wpsconfig.sh create-all-db
l      check instance, if not active then start MyPortal
l      cd /qibm/userdata/webas5/base//portalserver5/config
l      WPSconfig.sh basic-config
8* Verifying the connection with WebSphere Application Server
l      qsh cmd('/QIBM/ProdData/WebAS5/PME/bin/dspwasinst -instance '
l      

l      Click Resources JDBC Providers wps50JDBC
l      Test Connection
l      cd /qibm/userdata/webas5/base//portalserver5/config
l      wpsconfig.sh validate-database-connection- -DDbPassword=
l      *WPSconfig.sh -DPortalAdminPwd= validate-wps-admin-login
8 Deploy portlet

l      cd /qibm/userdata/webas5/base//portalserver5/config
l      installportlets.sh
l      example: installportlets.sh wpsadmin mypassword hostname.yourco.com 50060
l      WpsHostPort property in the /QIBM/UserData/WebAS5/Base//PortalServer5/config/wpconfig.properties file.

9 check portal
l      

阅读(3722) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~