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]

  • 相关阅读:
    android 控件: xml 设置 Button 按下背景
    Hadoop: the definitive guide 第三版 拾遗 第四章
    二进制日志占满空间
    Unity3d学习笔记记录
    百度地图api---实现新建地图
    php简单浏览目录内容
    CRC校验的实现
    Android记录3--ExpandableListView使用+获取SIM卡状态信息
    Zookeeper Api(java)入门与应用(转)
    ZooKeeper程序员指南(转)
  • 原文地址:https://www.cnblogs.com/omsql/p/14481391.html
Copyright © 2011-2022 走看看