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]

  • 相关阅读:
    如何 Xcode 开发工具里安装一个空的项目末模板
    推荐完成项目要使用的常用工具
    仿照 QQ 的 cell 的左滑删除、置顶、标记未读效果
    API接口文档的撰写
    UI:动画
    UI:多线程 、用GCD创建线程
    UI:UICollectionView
    开发中的一些零碎知识点
    UI:数据库练习、滤镜效果
    UI:地图和定位
  • 原文地址:https://www.cnblogs.com/omsql/p/14481391.html
Copyright © 2011-2022 走看看