$GI_HOME/tfa/bin/tfactl diagcollect -from "MMM/dd/yyyy hh:mm:ss" -to "MMM/dd/yyyy hh:mm:ss"
Format example: "Jul/1/2014 21:00:00"
##CHECK STATUS##
node1:oracle:orcl /u01/app/grid/11.2.0.4/tfa/bin> tfactl print status
.-------------------------------------------------------------------------------------------------.
| Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status |
+-------------+---------------+----------+------+---------+--------------------+------------------+
| node1 | RUNNING | 8519684 | 5000 | 3.2.0.2 | 320220140530060235 | COMPLETE |
| che-casdb02 | RUNNING | 11403394 | 5000 | 3.2.0.2 | 320220140530060235 | COMPLETE |
| che-casdb03 | RUNNING | 11469002 | 5000 | 3.2.0.2 | 320220140530060235 | COMPLETE |
'-------------+---------------+----------+------+---------+--------------------+------------------'
##COLLECT LOGS##
node1:oracle:orcl /u01/app/grid/11.2.0.4/tfa/bin> tfactl diagcollect -from "Jan/13/2017 01:00:00" -to "Jan/13/2017 05:00:00"
Collecting data for all nodes
Scanning files from Jan/13/2017 01:00:00 to Jan/13/2017 05:00:00
##Re-install TFA##
$GRID_HOME/crs/install/tfa_setup.sh -silent -crshome /u01/app/11204/grid
###Start , stop and shutdown TFA###
# /etc/init.d/init.tfa stop
# /etc/init.d/init.tfa start
# /etc/init.d/init.tfa restart
# $GRID_HOME/tfa/bin/tfactl print config
# $GRID_HOME/tfa/bin/tfactl print actions
# $GRID_HOME/tfa/bin/tfactl print errors
####Check for database startups###
# $GRID_HOME/tfa/bin/tfactl print startups
###Collect tracefiles using TFA##
# $GRID_HOME/tfa/bin/tfactl diagcollect -all -since 1h
##
Oracle DOC ID 1513912.1
No comments:
Post a Comment