《Weblogic巡检手册.docx》由会员分享,可在线阅读,更多相关《Weblogic巡检手册.docx(7页珍藏版)》请在三一办公上搜索。
1、Weblogic巡检手册 北京首钢自动化信息技术有限公司信息事业部 BEIJING SHOUGANG AUTOMATION INFORMATION TECHNOLOGY CO.,LTD INFORMATION DEPARTMENT WEBLOGIC巡检 WEBLOGIC检测 硬件机型 RX6600 是否集群 是 系统实际用户数 10 硬件检查,性能检查 WEBLOGIC进程 进入操作系统,登陆WEBLOIGC用户,命令:su - weblogic 进入操作系统,登陆Weblogic用户 进程情况 命令:# ps -ef | grep java Process 说明 进程状态 命令:cd opt
2、/bea/user_projects/domains/qg_domain/servers/appServer1/logs 切换规则: 状态 Log 配置正常 命令:vi appServer1.log 运行情况 查看日志 命令: 北京首钢自动化信息技术有限公司信息事业部 BEIJING SHOUGANG AUTOMATION INFORMATION TECHNOLOGY CO.,LTD INFORMATION DEPARTMENT 有错误才有日志 处理步骤 标准配置 配置情况 位置:/opt/mes-logs_main 正常 Applicati运行情况 Vi mes-hotrolling-app
3、-error.log on 应用日志 /opt/mes-logs_main 查看状态 标准配置 配置情况 驱动,数据库实例,容量,数据源监控 DataSourc驱动情况 检查数据库版本以及驱动 e 正常 运行情况 WEBLOGIC su oracle sqlplus “/as sysdba” 诊断结果及建议 登陆http:/hostname:port/console 节点状态 配置情况 正常 运行情况 ServerStatus Home Summary of Servers appServer1 使用资源情况 北京首钢自动化信息技术有限公司信息事业部 BEIJING SHOUGANG AUTO
4、MATION INFORMATION TECHNOLOGY CO.,LTD INFORMATION DEPARTMENT 节点状态 Home Summary of Environment Summary of Servers 集群状态 Home Summary of Clusters ClusterSt集群包状Home Summary of Deployments atus 态 空间使用 率 运行情况 正常 安装位置 及硬盘空间情况 Home Summary of Deployments 应用包状态 ApplicationStatus Home Summary of Deployments m
5、es-hotrolling-app(v116) 测试应用 北京首钢自动化信息技术有限公司信息事业部 BEIJING SHOUGANG AUTOMATION INFORMATION TECHNOLOGY CO.,LTD INFORMATION DEPARTMENT 负载状态 并发量以及业务负载,是否符合业务变化,线程比较高,加server 运行状态 Home Summary of Deployments mes-hotrolling-app(v116) status 配置情况 硬件系统 内存溢出,磁盘IO等 Windows: 察看锁 Press Ctrl-Break on keyboard 3-
6、5 times and the interval is 5-10 seconds Unix: ps ef | grep weblogic kill -3 抓信息 查看内存Ps ef | grep weblogic %JAVA_HOME%binjava -server Xms512m 堆栈 PerformanXmx512m -classpath %CLASSPATH% ce 优化java启动本地性能包 读写 北京首钢自动化信息技术有限公司信息事业部 BEIJING SHOUGANG AUTOMATION INFORMATION TECHNOLOGY CO.,LTD INFORMATION DEP
7、ARTMENT STuning Connection Backlog Buffering Backlog TCP允许接入连接个数 The prepared statement cache keeps compiled SQL Use the statements in memory, thus avoiding a round-trip Prepared to the database when the same statement is used Statement Cache later. See Tuning JDBC Applications. Use local-interfaces
8、 or use call-by-reference semantics to avoid the overhead of serialization when one EJB calls another or an EJB is called by a servlet/JSP in the same application. Note the following: In release prior to WebLogic Server 8.1, call-by-reference is turned on by default. For releases of WebLogic Server
9、8.1 and higher, call-by-reference is turned off by default. Older applications migrating to WebLogic Server 8.1 and higher that do not explicitly turn on call-by-reference may experience a drop in performance. Use Local Interfaces This optimization does not apply to calls across different applicatio
10、ns. 北京首钢自动化信息技术有限公司信息事业部 BEIJING SHOUGANG AUTOMATION INFORMATION TECHNOLOGY CO.,LTD INFORMATION DEPARTMENT After you have determined your performance criteria in Understand Your Performance Objectives, take measurements of the metrics you will use to quantify your performance objectives. See Load Testing Tools. The following sections provide information on measuring basic performance metrics: Measure Your Performance Metrics Monitor Disk and CPU Utilization Monitor Data Transfers Across the Network 垃圾回收 JDK版本有关