签到成功

知道了

CNDBA社区CNDBA社区

使用tfactl启动和停止oswatcher

2021-10-20 08:47 2154 0 原创 oracle
作者: hbhe0316

在安装Oracle AHF后,oswatch每天会自动00:00会自动重启,需要用tfactl去操作oswatch。
1.使用tfactl启动和停止oswbbhttp://www.cndba.cn/hbhe0316/article/4960http://www.cndba.cn/hbhe0316/article/4960http://www.cndba.cn/hbhe0316/article/4960http://www.cndba.cn/hbhe0316/article/4960

http://www.cndba.cn/hbhe0316/article/4960

[root@node02:/opt/oracle.ahf/bin]$ ./tfactl stop oswbb
Stopped OSWatcher
[root@node02:/opt/oracle.ahf/bin]$ ./tfactl start oswbb 60 168
Starting OSWatcher
[root@node02:/opt/oracle.ahf/bin]$ ps -ef | grep -i osw
oracle   17336     1  0 08:42 pts/3    00:00:00 /bin/sh ./OSWatcher.sh 60 168 /bin/gzip /opt/oracle.ahf/data/repository/suptools/node02/oswbb/oracle/archive
root     17374 16327  0 08:42 pts/3    00:00:00 grep --color=auto -i osw

2.查看状态http://www.cndba.cn/hbhe0316/article/4960http://www.cndba.cn/hbhe0316/article/4960http://www.cndba.cn/hbhe0316/article/4960

http://www.cndba.cn/hbhe0316/article/4960
http://www.cndba.cn/hbhe0316/article/4960

[root@node02:/opt/oracle.ahf/bin]$ ./tfactl toolstatus

.------------------------------------------------------------------.
|                   TOOLS STATUS - HOST : node02                   |
+----------------------+--------------+--------------+-------------+
| Tool Type            | Tool         | Version      | Status      |
+----------------------+--------------+--------------+-------------+
| Development Tools    | orachk       |   21.2.0.0.0 | DEPLOYED    |
|                      | oratop       |       14.1.2 | DEPLOYED    |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | darda        | 2.10.0.R6036 | DEPLOYED    |
|                      | oswbb        |        8.3.2 | RUNNING     |
|                      | prw          | 12.1.13.11.4 | NOT RUNNING |
+----------------------+--------------+--------------+-------------+
| TFA Utilities        | alertsummary |   21.2.0.0.0 | DEPLOYED    |
|                      | calog        |   21.2.0.0.0 | DEPLOYED    |
|                      | dbglevel     |   21.2.0.0.0 | DEPLOYED    |
|                      | grep         |   21.2.0.0.0 | DEPLOYED    |
|                      | history      |   21.2.0.0.0 | DEPLOYED    |
|                      | ls           |   21.2.0.0.0 | DEPLOYED    |
|                      | managelogs   |   21.2.0.0.0 | DEPLOYED    |
|                      | menu         |   21.2.0.0.0 | DEPLOYED    |
|                      | param        |   21.2.0.0.0 | DEPLOYED    |
|                      | ps           |   21.2.0.0.0 | DEPLOYED    |
|                      | pstack       |   21.2.0.0.0 | DEPLOYED    |
|                      | summary      |   21.2.0.0.0 | DEPLOYED    |
|                      | tail         |   21.2.0.0.0 | DEPLOYED    |
|                      | triage       |   21.2.0.0.0 | DEPLOYED    |
|                      | vi           |   21.2.0.0.0 | DEPLOYED    |
'----------------------+--------------+--------------+-------------'

Note :-
  DEPLOYED    : Installed and Available - To be configured or run interactively.
  NOT RUNNING : Configured and Available - Currently turned off interactively.
  RUNNING     : Configured and Available.

版权声明:本文为博主原创文章,未经博主允许不得转载。

oracle,linux

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1157069次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ