zoukankan      html  css  js  c++  java
  • osw 安装部署及日志收集

    1、Starting oswbb

    To start the oswbb utility execute the startOSWbb.sh shell script from the directory where oswbb was installed. This script has 2 arguments which control the frequency that data is collected and the number of hour's worth of data to archive.

    ARG1 = snapshot interval in seconds.
    ARG2 = the number of hours of archive data to store.
    ARG3 = (optional) the name of a compress utility to compress each file automatically after it is created.
    ARG4 = (optional) an alternate (non default) location to store the archive directory.

    ./OSWatcher.sh 30 48 None /tmp/archive/

    注:
    rac需要处理private.net,在osw8以上不需要在手动建private.net,在osw8以下手动cp Exampleprivate.net private.net,删除不需要的操作系统,填写正确的私有的ip地址
    [+ASM1]@ht01[/home/grid/soft/oswbb]$cat private.net
    echo "zzz ***"`date`
    traceroute -r -F 192.168.0.10
    traceroute -r -F 192.168.0.11
    rm locks/lock.file

    如果ps不收集数据 指定变量OSW_PS_SAMPLE_MULTIPLIER,默认值为20秒
    export OSW_PS_SAMPLE_MULTIPLIER=3
    指定归档变量OSWBB_ARCHIVE_DEST
    export OSWBB_ARCHIVE_DEST=/tmp/archive

    OS Watcher User's Guide (Doc ID 1531223.1)

    2、分析oswbb
    java -jar oswbba.jar -i /tmp/archive/
    java -jar oswbba.jar -i /tmp/archive -EXA
    OSWatcher Analyzer User Guide (Doc ID 461053.1)
    3、tfa 启动
    Linux and Solaris: /etc/init.d/init.tfa
    Aix: /etc/init.tfa
    HP-UX: /sbin/init.d/init.tfa
    检查状态等
    tfactl diagcollect -all -from "2020-09-09 22:00:00" -to "2020-09-10 00:10:00"
    tfactl diagcollect -database qdtais
    tfactl print status
    tfactl print config
    具体参考 TFA Collector- The Preferred Tool for Automatic or ADHOC Diagnostic Gathering Across All Cluster Nodes [ID 1513912.2]

  • 相关阅读:
    web.xml中监听器如何顺序加载
    spring配置文件中util:properties和context:property-placeholder
    jquery实现上下浮动
    索引-mysql索引创建、查看、删除及使用示例
    MD5加密
    怎么去除innerHTML获得内容中的标签?
    数据库优化常用的几种小技巧
    数据库表的连接(Left join , Right Join, Inner Join)用法详解
    HTMl5的sessionStorage和localStorage
    json数据字典,以及数据在下拉框中显示
  • 原文地址:https://www.cnblogs.com/omsql/p/14481391.html
Copyright © 2011-2022 走看看