欢迎来到三一办公! | 帮助中心 三一办公31ppt.com(应用文档模板下载平台)
三一办公
全部分类
  • 办公文档>
  • PPT模板>
  • 建筑/施工/环境>
  • 毕业设计>
  • 工程图纸>
  • 教育教学>
  • 素材源码>
  • 生活休闲>
  • 临时分类>
  • ImageVerifierCode 换一换
    首页 三一办公 > 资源分类 > PPT文档下载  

    WebLogic调优与监控(包含weblogic11g.ppt

    • 资源ID:5576439       资源大小:453KB        全文页数:28页
    • 资源格式: PPT        下载积分:15金币
    快捷下载 游客一键下载
    会员登录下载
    三方登录下载: 微信开放平台登录 QQ登录  
    下载资源需要15金币
    邮箱/手机:
    温馨提示:
    用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)
    支付方式: 支付宝    微信支付   
    验证码:   换一换

    加入VIP免费专享
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    WebLogic调优与监控(包含weblogic11g.ppt

    1,WebLogic Server 性能监控与调优,Overview-1,WebLogic的版本,WebLogic Server 8.1(Java 1.4、J2EE 1.3)WebLogic Server 9.x(Java 5、J2EE 1.4)WebLogic Server 10.0(Java 5、Java EE 5)WebLogic Server 10.3(Java 6、Java EE 5)WebLogic Server 11gR1(10.3.x)(Java 6、Java EE 5)软件授权:自从oracle收购了bea之后,WebLogic的序列号全都开放了,没有必要再去进行破解了。,2,WebLogic 主要使用 的JVM,SUN HotSpot JVMBEA JRockit JVM不同的JVM,其可设置的参数和监控的工具将是不同,后面将分别介绍这两种JVM的设置。在Intel架构和windows平台上,建议使用JRockit JVM,这样可以带来更优的性能。,3,WebLogic实例主要设置内容,启动参数设置主要是设置GC参数线程设置主要是设置线程的数量数据库连接池的设置主要是设置连接池的初始容量和最大容量,4,WebLogic 8.1 启动文件,%DOMAIN_HOME%/startWebLogic.cmd设置实例的运行模式:开发模式/生产模式设置JAVA_HOME设置JAVA_VM:client/server/jrockit设置MEM_ARGS%WL_HOME%commonbincommEnv.cmd设置所有实例都统一使用的参数,5,WebLogic 9.2 启动文件,%WL_HOME%commonbincommEnv.cmd设置所有实例统一的运行参数%DOMAIN_HOME%binsetDomainEnv.cmd设置本实例的运行参数%DOMAIN_HOME%binstartWebLogic.cmd运行启动脚本,6,7,Sun HotSpot Heap 分布,Heap is divided broadly into three areas:Young(New)generationTenured(Old)generationPermanent(Perm)generationYoung generation is further divided into:EdenSurvivor spaces(2),Xmx,8,Tuning GC Manually,New self-tuning feature is not available while tuning JVMs prior to version 1.5 and manual tuning is required.The following are the common tuning parameters available while tuning the garbage collection manually:Size of the the overall heap-Xmsn-XmxnSize of the generations in the heap-XX:NewSize=n-XX:MaxNewSize=n-XX:NewRatio=n,9,Tuning GC Manually,Common tuning parameters(continued)The size of the survivor spaces in the young generation-XX:SurvivorRatio=nThe size of the permanent generation-XX:PermSize=n-XX:MaxPermSize=nThe threshold for promotion from the young generation to the old generation-XX:MaxTenuringThreshold=nTuning involves either a series of experiments with a specialized tool(or)good judgment to decide that GC was performing well.,Tuning Sun HotSpot JVM-38,10,JRockit Benefits,Weblogic JRockit JVM is designed for server-side applications.It employs adaptive optimization to significantly improve runtime performance.It has adaptive garbage collection and heap management.It offers full support for 32 and 64 bit JRockit on Intel EM64T/AMD64 and compatibles.JRockit also supports Solaris/Sparc architecture.It offers support for very large heaps on 64 bit platforms.JRockit Mission Control tools suite offers better management,tuning and troubleshooting.,11,Generational Heap-JRockit,In the two-generational model,heap is divided into two generationsYoung generation(Nursery)Old generationIn a single-spaced model,all the objects are allocated in a single space on the heap.,WebLogic 8.1 实例的线程设置.,线程的设置主要是在weblogic控制台中完成,12,.WebLogic 8.1 实例的线程设置.,13,.WebLogic 8.1 实例的线程设置.,14,WebLogic 8.1 实例的线程设置,15,WebLogic 9.2 实例的线程设置.,线程管理与WebLogic 8.1存在很大的不同,由WebLogic自动去管理。默认情况下,WebLogic提供的线程数量较小,并且在管理控制台上没有修改线程数量的链接。,16,.WebLogic 9.2 实例的线程设置,可以通过手动修改config.xml文件,使用与weblogic 8.1相同的线程设置风格。主要是在中添加以下代码:,17,数据连接池、数据源的主要配置,连接池的初始容量、最大容量、增长容量。是否启用连接泄露配置。是否测试数据库连接。数据库连接的时间设置。,18,Oracle RAC 集群,Oracle RAC(Oracle Real Application Cluster),Oracle数据库的集群。基于共享存储的数据库,具有多个数据库运行实例。tnsnames.ora形式与常规模式不同。,19,Oracle RAC的数据源配置,url 采用oracle tnsname配置的方式:配置WebLogic多池数据源方式:Multipool(WebLogic 8.1)多数据源(WebLogic 9.2),20,Sun HotSpotJConsole,21,JConsole is a JMX-compliant GUI tool that connects to a running JVM,which is started with the management agent.JDK 5.0 includes the monitoring and management tool,JConsole.JConsole allows you to see inside the JVM and the application while its running.JConsole provides real time viewing of the performance of applications and shows their resource consumption.,22,JConsole,The management agent in the JVM should be started for monitoring.It can only connect to one JVM at any time.To use JConsole for connecting to a JVM locally,WebLogic Server should be started with the option,to enable the management agent.-Dcom.sun.management.jmxremote,23,Jconsole Remote Monitoring,To enable the JMX agent(JConsole)for remote access,set this system property when you start WebLogic Server or JVM:Dcom.sun.management.jmxremote.port=portNoConnecting remotely through JConsole is the recommended way when monitoring or managing production environments.,Tuning Sun HotSpot JVM-12,SUN HotSpotjvisualvm,Java 6 里自带的一个监控jvm运行状况的工具。%JAVA_HOME%/bin/jvisualvm.exe,24,Oracle JRockit Mission Control,Windows平台下,性能较优的JVM。提供的很好的监控工具,用于监控WebLogic的运行状况。针对不同的JDK 版本,都有对应的安装程序。可以从Oracle网站免费下载,25,26,BEA JRockit Mission Control,BEA JRockit ships with BEA JRockit Mission Control.These are a group of independent management and monitoring tools.BEA JRockit Management Console JMX Complaint monitoring toolBEA JRockit Runtime AnalyzerRecords and helps you analyze JVM and running applicationBEA JRockit Memory Leak Detector Detects and finds the cause for memory leaksThe main focus of JRockit Mission Control is to do the necessary instrumentation with the lowest possible impact on the system.,27,Management Server,The management server in the JRockit VM is disabled by default.To enable the management server,add the following command-line argument to the JVM start script:java-Xmanagement weblogic.Server The default port that the management server uses to connect is 7091.You can change the management server port by setting the following command-line argument:-Djrockit.managementserver.port=,网页数据分析工具HttpWatch,HttpWatch是强大的网页数据分析工具。集成在Internet Explorer工具栏。网页摘要。Cookies管理。缓存管理。消息头发送/接受。字符查询。POST 数据。报告输出。,28,

    注意事项

    本文(WebLogic调优与监控(包含weblogic11g.ppt)为本站会员(小飞机)主动上传,三一办公仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三一办公(点击联系客服),我们立即给予删除!

    温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。




    备案号:宁ICP备20000045号-2

    经营许可证:宁B2-20210002

    宁公网安备 64010402000987号

    三一办公
    收起
    展开