osw是运维过程中的一把利器,rac19c 已将osw嵌入到tfa中,那么如何通过tfa来管理osw呢?
1. 查看
[grid@rac19c ~]$ ps -ef | grep osw
grid 23961 1 0 Jun28 ? 00:10:21 /bin/sh ./OSWatcher.sh 30 48 NONE /u01/app/grid/tfa/repository/suptools/rac19c/oswbb/grid/archive
grid 24757 23961 0 Jun28 ? 00:02:42 /bin/sh ./OSWatcherFM.sh 48 /u01/app/grid/tfa/repository/suptools/rac19c/oswbb/grid/archive
grid 49348 47353 0 14:14 pts/0 00:00:00 grep --color=auto osw
2.修改配置
tfactl stop oswbb
tfactl start oswbb 30 168
可重启验证
3.查看tfa相关工具运行情况
[grid@rac19c oswiostat]$ tfactl toolstatus
WARNING - TFA Software is older than 180 days. Please consider upgrading TFA to the latest version.
.------------------------------------------------------------------.
| TOOLS STATUS - HOST : rac19c |
+----------------------+--------------+--------------+-------------+
| Tool Type | Tool | Version | Status |
+----------------------+--------------+--------------+-------------+
| Development Tools | orachk | 12.2.0.1.3 | DEPLOYED |
+----------------------+--------------+--------------+-------------+
| Support Tools Bundle | oswbb | 8.1.2 | RUNNING |
| | prw | 12.1.13.11.4 | NOT RUNNING |
+----------------------+--------------+--------------+-------------+
| TFA Utilities | alertsummary | 12.2.1.1.0 | DEPLOYED |
| | calog | 12.2.0.1.0 | DEPLOYED |
| | dbcheck | 18.3.0.0.0 | DEPLOYED |
| | dbglevel | 12.2.1.1.0 | DEPLOYED |
| | grep | 12.2.1.1.0 | DEPLOYED |
| | history | 12.2.1.1.0 | DEPLOYED |
| | ls | 12.2.1.1.0 | DEPLOYED |
| | managelogs | 12.2.1.1.0 | DEPLOYED |
| | menu | 12.2.1.1.0 | DEPLOYED |
| | param | 12.2.1.1.0 | DEPLOYED |
| | ps | 12.2.1.1.0 | DEPLOYED |
| | pstack | 12.2.1.1.0 | DEPLOYED |
| | summary | 12.2.1.1.0 | DEPLOYED |
| | tail | 12.2.1.1.0 | DEPLOYED |
| | triage | 12.2.1.1.0 | DEPLOYED |
| | vi | 12.2.1.1.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.