WebSphere培训-日常维护课件.ppt
- 【下载声明】
1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
3. 本页资料《WebSphere培训-日常维护课件.ppt》由用户(晟晟文业)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- WebSphere 培训 日常 维护 课件
- 资源描述:
-
1、WebSphere Application Server日常维护常用命令及配置常用命令./startServer.sh./stopServer.sh./startNode.sh./stopNode.sh./startManager.sh./stopManager.sh./serverStatus.sh./versionInfo.sh启停WAS顺序 启动 Dmgr Node AppServer/Cluster 停止 AppServer/Cluster Node Dmgr备份WAS配置./backupConfig.sh./restoreConfig.sh 慎用,因为会停止WAS服务器访问Dmgr控
2、制台 http:/:/ibm/console http:/:/admin服务器的管理Messaging EngineEmbedded HTTP ServerWebContainerEJBContainerXML Configuration FilesApplication ServerAdmin consoleC:wsadmin基于浏览器的管理控制台基于浏览器的管理控制台wsadmin命令行管理客户端命令行管理客户端RMI/IIOPHTTP(S)Admin MBeansWeb Services EngineAdmin.ServiceSOAP/HTTP修改WAS的监听端口更改应用的访问端口 缺省
3、为9080 实际工作中,如果没有Web服务器,有的环境会希望把应用访问端口变成80 登陆WAS管理控制台,选择 左边菜单 服务器 应用服务器,点击 server1,选择“端口”,点击“WC_defaulthost”更改WAS监听端口 更改Dmgr控制台端口 缺省为9060 登陆WAS管理控制台 选择 左边菜单 系统管理 Deployment Manager,选择右侧的“端口”点击“WC_adminhost忘记Dmgr密码 两种方式disable security:1.通过“wsadmin.bat-conntype NONE”以本地方式运行脚本“securityoff”和“$AdminConfi
4、g save”(注意:要通过本地方式运行-connType none,否则需要服务器处于运行状态并且wsadmin也需要 用户名和密码)。2.修改 configcells 下的security.xml,将第二行中的enabled=“True”改为enabled=“false”。Disable Globle Security 后,重新启动服务器,即可直接登陆管理控制台。如果需要可以重新 enable security并设置新密码。控制台首选项 缺省情况下,每次在Dmgr上做的修改是不会立刻同步到受管理的WAS Server上的,需要手动同步 如果不同步是不会生效的控制台首选项 可以通过更改控制台
5、首选项来及时的同步修改部署应用的注意点 注意拿到的维护文档中是否有对该应用重新部署的特殊说明。特别是关于类加载顺序的配置。更改应用的会话(Session)超时 不建议修改WAS全局的会话超时 建议修改根据具体情况修改每个应用的会话超时常规检查文件系统状态检查文件系统检查http/usr/IBMHttpServer/usr/IBMHttpServer/logs/*was/usr/WebSphere/usr/WebSphere/DeploymentManager/usr/WebSphere/Profiles/AppSvr01/logs/server1/*/usr/WebSphere/Profile
6、s/DMgr01/logs/dmgr/*Use“df”command to display information about total space and available space on a file system.If file system usage is over 90%,check the log files in that file system.Following is the checklist for some file systems that will grow over time:性能监控Performance Monitoring Command Funct
7、ioniostat Displays utilization data for:Terminals CPU Diskslsdev Displays devices in the system and their characteristics lspsDisplays the characteristics of paging spaces netstat Displays a wide variety of configuration information and statistics on communications activity,such as:Current status of
8、 the mbuf pool.Routing tables Cumulative statistics on network activitynoDisplays(or changes)the values of network options,such as:Default send and receive socket buffer sizes Maximum total amount of memory used in mbuf and cluster poolspsDisplays statistics and status information about the processe
9、s in the system,such as:Process ID I/O activity CPU utilizationsvmon Reports on the status of memory at system,process,and segment levels topas Reports selected local system statistics vmstat Displays VMM data,such as:Number of processes that are dispatchable or waiting Page-frame free-list size Pag
10、e-fault activity CPU utilizationPerformance Monitoring CPU utilization The vmstat Command(CPU)vmstat -f -i -s PhysicalVolume.Interval Count To check if the CPU is the bottleneck,consider the four cpu columns.If vmstat shows the CPU usage over 90%percent busy for an extended period,there is a good ch
11、ance that we have some problems with our system,we should find out and fixed it.#vmstat 2 10kthr memory page faults cpu-r b avm fre re pi po fr sr cy in sy cs us sy id wa 0 0 130322 405844 0 0 0 0 1 0 147 148 165 6 1 93 0 0 1 130322 405843 0 0 0 0 0 0 410 282 62 0 0 99 0 0 1 130322 405843 0 0 0 0 0
12、0 408 92 54 0 0 99 0 0 1 130322 405843 0 0 0 0 0 0 410 99 57 0 0 99 0 0 1 130322 405843 0 0 0 0 0 0 410 91 53 0 0 99 0 0 1 130322 405843 0 0 0 0 0 0 409 97 56 0 0 99 0 0 1 130322 405843 0 0 0 0 0 0 409 98 53 0 0 99 0 0 1 130322 405843 0 0 0 0 0 0 408 92 51 0 0 99 0 0 1 130322 405843 0 0 0 0 0 0 409
13、251 70 1 0 99 0For example To display 10 summaries at 2-second intervals,enter:vmstat 2 10CPU utilization Virtual memory management svmon-G#svmon-G size inuse free pin virtualmemory 524288 395494 128794 78944 126793pg space 262144 1525 work pers clnt lpagepin 78944 0 0 0in use 126093 163 269238 0Dis
14、k I/O For database and general file servers the disk I/O is one of the critical performance issues.Since AIX disks are typically SCSI-disks the operations that are meaningful to measure are reads and writes.#iostat 5 tty:tin tout avg-cpu:%user%sys%idle%iowait 0.0 83.2 0.6 0.2 99.2 0.0Disks:%tm_act K
15、bps tps Kb_read Kb_wrtnhdisk0 0.0 0.0 0.0 0 0hdisk1 0.0 0.0 0.0 0 0cd0 0.0 0.0 0.0 0 0Network I/O In typical client-server environments the network traffic is quite critical in performance problems.In AIX environments only the usage of the system itself can be measured by default.There are other met
16、hods for measuring the total network stat I en0 5Tivoli Performance Viewer 显示从本地或远程应用服务器收集的PMI(Performance Monitoring Infrastructure)数据 Summary reports(摘要报告)show key areas of contention Graphical/tabular views of raw PMI data Optionally save collected PMI data to logs 通过顾问程序提供配置建议 Tuning advice form
17、ulated from gathered PMI and configuration data 与WebSphere管理控制台集成26TPVTPV对性能的影响对性能的影响 Varies depending on counter All data collection impacts performance in some way Basic setting has overhead of 2%Basic setting is enabled be default Extended setting has overhead of 3%All setting has overhead of 6%C
展开阅读全文