![]() Set autostart option (enabled by default after installation) You can also query the parameter per profile: $ orachk –id autostart_client -get all - Query daemon options for weekly profile AUTORUN_SCHEDULE, NOTIFICATION_EMAIL,COLLECTION_RETENTION, AUTORUN_FLAGS,PASSWORD_CHECK_INTERVALĮach compliance Task has a dedicated profileġ- autostart_discovery : First time a demon startedĢ- daemon_autostart : daily restart at 1amģ- autostart_client_oratier1 : partial run 2amĤ- autostart_client : Full run on Sunday ~]# orachk -get NOTIFICATION_EMAIL,AUTORUN_SCHEDULE,COLLECTION_RETENTION Getting Options for the Daemon SET/GET Options : $ orachk -d nextautorun $ orachk –d ID autostart_client nextautorun - specific profile id:(autostart_client/os/etc) Start/Stop the daemon $ orachk -d start/stop $ orachk -d status - check orachk daemon status The daemon also automatically purges the repository every 2 weeks.Ĭheck Orachk Daemon - Displays information about the running daemon. Send an email to the notification address for each run with the health scores, check failures and changes since the last run. # tfactl menuĪutostart for either ORAchk/Exachk will perform compliance tasks as described below:ġ am daily: Orachk/Exachk daemon restarts every day to discover any environment changes.Ģ am daily: Partial orachk run > The track most severe problems once a day ( oratier1/exatier1)ģ am Sunday: Full Exa/Orachk > All known problems once a week. The Oracle TFA Menu provides an Interface to the TFA tools. | | vi | Searches and opens files in the vi editor. Note: If the maximum size is exceeded or the file system free space gets to -d | can also be checked cat /opt/oracle/dcs/oracle.ahf/tfa/ Orachk repository: /u01/app/grid/oracle.ahf/data/nodedb1/orachk => -complaince(Orachk) | Location | /u01/app/grid/oracle.ahf/data/repository | List tfactl print repository - Shows the AHF data repositories tfactl showrepo -all - Same but with options(-TFA or -Compliance) you can also set or display a single parameter as shown below > example: Quick list scan listener logs directories when troubleshooting listener issues # tfactl print directories -node node1 -comp tns -policy noexclusions If you wish to synchronize your RAC nodes when a new node is added run the below : # tfactl syncnodes ![]() In this section, we will first learn how to query the current setting of AHF. You can manually uninstall AHF in case it got corruption : | Host | Status of TFA | PID | Port | Version | Build ID | Inventory Status | You can check the status of AHF after upgrade\installation using the below ~]# tfactl status Install with non default install or data location ] - 1= FATAL, 2= ERROR, 3= WARNING, 4=INFO, 5=DEBUG,6= TRACE notfasetup option just extract TFA no install ORAchk/EXAchk without installing the rest of AHF. (5G)or TFA repo if outside Grid_Home,or above Grid Stores collections, metadata,etc (mandatory on $ unzip AHF-LINUX_v20.1.1.BETA.zip -d AHFĬommon locations of ahf_loc is /opt/oracle/dcs/oracle.ahf or /u01/app/grid/oracle.ahfĭownload & unzip the Windows installer then run the following command (adapt the perlhome):Ĭ:> installahf.bat -perlhome D:\oracle\product\12.2.0\dbhome_1\perl Requirement: AHF DATA directory : /5GB-10GB ORAchk/EXAchk now use the TFA secure socket and TFA scheduler for automatic checks (less overhead).Īs ROOT (recommended) : download the file,unzip and run the setup file TFA is still used for diagnostic collection and management and ORAchk/EXAchk for a compliance check. Machine learning-driven, autonomous degradation detection, reduce your overheads (on both customer and oracle support Tiers) Secure consolidation of distributed diagnostic collections User-friendly & real-time health monitoring, fault detection & diagnosis via a single interface I hope you’ll find this AHF Cheat Sheet (blabla free) useful. It just didn’t get better with years, so when I heard about that new thing that can merge Health and Diagnostics in one tool, I wanted to give it a try. Like most of you, I had been asked numerous times to collect diagnostics and myriads of logs (IPS, RDA.etc) from MOS when I opened SRs. I started digging about this tool ever since I attended Bill Burton‘s (lead dev for TFA Collector feature at Oracle) presentation at RMOUG2020. It does so while minimizing human reaction time using existing components like orachk, TFA and many more. Oracle Autonomous Health Framework (AHF) presents the next generation of an all-in-one solution that includes tools that work together autonomously 24×7 to keep database systems healthy and running.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |