Voir le flux RSS

Fabien Celaia

[Actualité] Oracle : alert, traces, best practices... au secours, TFA

Noter ce billet
par , 05/10/2017 à 08h48 (661 Affichages)
Introduction

En tant que DBA, ma tâche principale est de maintenir mon écosystème le plus propre possible... Le problème qui apparaît avec le foisonnement des instances sur mes serveurs, c'est que j'ai de la peine à "donner le tour" entre les ADRCI à analyser, les trace files à traiter, les best practices à suivre.... et ceci multiplié par le nombre de versions Oracle, d'instances de machines (je suis en environnement clusterisé).

Chaque fois que j'ouvre un ticket chez le support technique d'Oracle, c'est une autre foire d'empoigne... avant de commencer à traiter mon problème, l'ingénieur me demande (et, bien souvent, lorsque l'ingénieur change, le suivant redemande !!!) des traces, des alertlogs, des lsinventory et j'en passe...

Le support Oracle a mis à disposition un outil assez peu connu, mais relativement pratique : Oracle TFA (Trace File Analyzer)

Installation

Commençons par télécharger sur notre serveur TFA : il est accessible sur le site du support Oracle, suivant le Doc ID 1513912.1.

L'installation est assez aisée, mais doit être effectuée avec des privilèges d'administrateur (via sudo, ça marche aussi)

Code bash : Sélectionner tout - Visualiser dans une fenêtre à part
./installTFA-LINUX


Sous Linux, c'est un processus demon qui est installé

Code bash : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
oracle@orali-p01:~/ [ADMINVS1] ps -ef | grep tfa
oracle    6156  6673  0 08:02 pts/4    00:00:00 /bin/sh /oracle/grid/12.2.0/bin/tfactl
oracle    6190  6156  0 08:02 pts/4    00:00:00 /oracle/grid/12.2.0/perl/bin/perl /oracle/grid/12.2.0/tfa/orali-p01/tfa_home/bin/tfactl.pl
oracle    6917 11100  0 08:32 pts/0    00:00:00 grep tfa
root     12525     1  0 Sep09 ?        00:04:02 /bin/sh /etc/init.d/init.tfa run
root     16167     1  0 Sep09 ?        02:09:34 /oracle/grid/12.2.0/jdk/jre/bin/java -Xms128m -Xmx512m oracle.rat.tfa.TFAMain /oracle/grid/12.2.0/tfa/orali-p01/tfa_home


Réactivité : pour répondre aux besoins du support technique Oracle

Avant l'ouverture d'une moindre SR, lancer la collecte des diagnostiques :

Code bash : Sélectionner tout - Visualiser dans une fenêtre à part
/oracle/grid/12.2.0/bin/tfactl diagcollect -last 1d

Cela va créer des fichiers zip qu'il faudra rattacher à la SR dès sa création (ce qui aura pour effet induit d'activer le traitement de voter demande !).
Dans mon cas précis, j'ai une couche cluster et plusieurs couches DB... et je fais l'analyse depuis la couche cluster (avec l'utilisateur grid)... mais dans le cas qui suivra, je le ferai depuis la couche DB (utilisateur oracle)...

Proactivité : interactif et bonnes pratiques

Là aussi, j'exécute le tfactl sur mon environnement grid...

Code bash : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
-bash-4.1$  /oracle/grid/12.2.0/bin/tfactl orachk
 
CRS stack is running and CRS_HOME is not set. Do you want to set CRS_HOME to /oracle/grid/12.2.0?[y/n][y]y
 
Checking ssh user equivalency settings on all nodes in cluster
 
Node orali-p02 is configured for ssh user equivalency for oracle user
 
 
Searching for running databases . . . . .
 
. . . . . . . . . . . . . . . . . . . . . .
List of running databases registered in OCR
1. UTF
2. DEVELOPPEZ
3. DVP
4. FADACE
5. DWH
6. MSWIN
7. UTF32
8. NOSQL
9. ISOP15
10. TEST
11. ADMIN
12. All of above
13. None of above
 
Select databases from list for checking best practices. For multiple databases, select 12 for All or comma separated number like 1,2 etc [1-13][12].12
 
Searching out ORACLE_HOME for selected databases.
 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
 
.
Checking Status of Oracle Software Stack - Clusterware, ASM, RDBMS
 
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
-------------------------------------------------------------------------------------------------------
                                                 Oracle Stack Status
-------------------------------------------------------------------------------------------------------
Host Name  CRS Installed  RDBMS Installed  CRS UP    ASM UP    RDBMS UP  DB Instance Name
-------------------------------------------------------------------------------------------------------
orali-p01   Yes             Yes             Yes        Yes      Yes      ADMIN1 DVP1 DWH1 ISOP151 DEVELOPPEZ1 FADACE1 NOSQL1 TEST1 UTF1 UTF321 MSWIN1
orali-p02   Yes             Yes             Yes        Yes      Yes      ADMIN2 DVP2 DWH2 ISOP152 DEVELOPPEZ2 FADACE2 NOSQL2 TEST2 UTF2 UTF322 MSWIN2
-------------------------------------------------------------------------------------------------------
.
 
Copying plug-ins
 
. . . . . . . . .
 
 
163 of the included audit checks require root privileged data collection . If sudo is not configured or the root password is not available, audit checks which require root privileged data collection can be skipped.
 
 
1. Enter 1 if you will enter root password for each  host when prompted
 
2. Enter 2 if you have sudo configured for oracle user to execute root_orachk.sh script
 
3. Enter 3 to skip the root privileged collections
 
4. Enter 4 to exit and work with the SA to configure sudo  or to arrange for root access and run the tool later.
 
Please indicate your selection from one of the above options for root access[1-4][1]:- . 2
 
 
 
*** Checking Best Practice Recommendations (PASS/WARNING/FAIL) ***
 
 
 
Collections and audit checks log file is
/oracle/gridbase/tfa/repository/suptools/orali-p01/orachk/oracle/orachk_orali-p01_ADMIN_100417_174041/log/orachk.log
 
Running orachk in serial mode because expect(/usr/bin/expect) is not available to supply root passwords on remote nodes
 
NOTICE:  Installing the expect utility (/usr/bin/expect) will allow orachk to gather root passwords at the beginning of the process and execute orachk on all nodes in parallel speeding up the entire process. For more info - http://www.nist.gov/el/msid/expect.cfm.  Expect is available for all major platforms.  See User Guide for more details.
 
 
 
Checking for prompts in /home/oracle/.profile on orali-p01 for oracle user...
 
 
 
 
Checking for prompts in /home/oracle/.profile on orali-p02 for oracle user...
 
 
. .
=============================================================
                    Node name - orali-p01
=============================================================
. . . . .
 
Collecting - ASM Disk Groups
Collecting - ASM Disk I/O stats
Collecting - ASM Diskgroup Attributes
Collecting - ASM disk partnership imbalance
Collecting - ASM diskgroup attributes
Collecting - ASM diskgroup usable free space
Collecting - ASM initialization parameters
Collecting - Active sessions load balance for ADMIN database
Collecting - Active sessions load balance for DVP database
Collecting - Active sessions load balance for DWH database
Collecting - Active sessions load balance for ISOP15 database
Collecting - Active sessions load balance for DEVELOPPEZ database
Collecting - Active sessions load balance for FADACE database
Collecting - Active sessions load balance for NOSQL database
Collecting - Active sessions load balance for TEST database
Collecting - Active sessions load balance for UTF database
Collecting - Active sessions load balance for UTF32 database
Collecting - Active sessions load balance for MSWIN database
Collecting - Archived Destination Status for ADMIN database
Collecting - Archived Destination Status for DVP database
Collecting - Archived Destination Status for DWH database
Collecting - Archived Destination Status for ISOP15 database
Collecting - Archived Destination Status for DEVELOPPEZ database
Collecting - Archived Destination Status for FADACE database
Collecting - Archived Destination Status for NOSQL database
Collecting - Archived Destination Status for TEST database
Collecting - Archived Destination Status for UTF database
Collecting - Archived Destination Status for UTF32 database
Collecting - Archived Destination Status for MSWIN database
Collecting - Cluster Interconnect Config for ADMIN database
Collecting - Cluster Interconnect Config for DVP database
Collecting - Cluster Interconnect Config for DWH database
Collecting - Cluster Interconnect Config for ISOP15 database
Collecting - Cluster Interconnect Config for DEVELOPPEZ database
Collecting - Cluster Interconnect Config for FADACE database
Collecting - Cluster Interconnect Config for NOSQL database
Collecting - Cluster Interconnect Config for TEST database
Collecting - Cluster Interconnect Config for UTF database
Collecting - Cluster Interconnect Config for UTF32 database
Collecting - Cluster Interconnect Config for MSWIN database
Collecting - Database Archive Destinations for ADMIN database
Collecting - Database Archive Destinations for DVP database
Collecting - Database Archive Destinations for DWH database
Collecting - Database Archive Destinations for ISOP15 database
Collecting - Database Archive Destinations for DEVELOPPEZ database
Collecting - Database Archive Destinations for FADACE database
Collecting - Database Archive Destinations for NOSQL database
Collecting - Database Archive Destinations for TEST database
Collecting - Database Archive Destinations for UTF database
Collecting - Database Archive Destinations for UTF32 database
Collecting - Database Archive Destinations for MSWIN database
Collecting - Database Files for ADMIN database
Collecting - Database Files for DVP database
Collecting - Database Files for DWH database
Collecting - Database Files for ISOP15 database
Collecting - Database Files for DEVELOPPEZ database
Collecting - Database Files for FADACE database
Collecting - Database Files for NOSQL database
Collecting - Database Files for TEST database
Collecting - Database Files for UTF database
Collecting - Database Files for UTF32 database
Collecting - Database Files for MSWIN database
Collecting - Database Instance Settings for ADMIN database
Collecting - Database Instance Settings for DVP database
Collecting - Database Instance Settings for DWH database
Collecting - Database Instance Settings for ISOP15 database
Collecting - Database Instance Settings for DEVELOPPEZ database
Collecting - Database Instance Settings for FADACE database
Collecting - Database Instance Settings for NOSQL database
Collecting - Database Instance Settings for TEST database
Collecting - Database Instance Settings for UTF database
Collecting - Database Instance Settings for UTF32 database
Collecting - Database Instance Settings for MSWIN database
Collecting - Database Parameters for ADMIN database
Collecting - Database Parameters for DVP database
Collecting - Database Parameters for DWH database
Collecting - Database Parameters for ISOP15 database
Collecting - Database Parameters for DEVELOPPEZ database
Collecting - Database Parameters for FADACE database
Collecting - Database Parameters for NOSQL database
Collecting - Database Parameters for TEST database
Collecting - Database Parameters for UTF database
Collecting - Database Parameters for UTF32 database
Collecting - Database Parameters for MSWIN database
Collecting - Database Parameters for ADMIN database
Collecting - Database Parameters for DVP database
Collecting - Database Parameters for DWH database
Collecting - Database Parameters for ISOP15 database
Collecting - Database Parameters for DEVELOPPEZ database
Collecting - Database Parameters for FADACE database
Collecting - Database Parameters for NOSQL database
Collecting - Database Parameters for TEST database
Collecting - Database Parameters for UTF database
Collecting - Database Parameters for UTF32 database
Collecting - Database Parameters for MSWIN database
Collecting - Database Properties for ADMIN database
Collecting - Database Properties for DVP database
Collecting - Database Properties for DWH database
Collecting - Database Properties for ISOP15 database
Collecting - Database Properties for DEVELOPPEZ database
Collecting - Database Properties for FADACE database
Collecting - Database Properties for NOSQL database
Collecting - Database Properties for TEST database
Collecting - Database Properties for UTF database
Collecting - Database Properties for UTF32 database
Collecting - Database Properties for MSWIN database
Collecting - Database Registry for ADMIN database
Collecting - Database Registry for DVP database
Collecting - Database Registry for DWH database
Collecting - Database Registry for ISOP15 database
Collecting - Database Registry for DEVELOPPEZ database
Collecting - Database Registry for FADACE database
Collecting - Database Registry for NOSQL database
Collecting - Database Registry for TEST database
Collecting - Database Registry for UTF database
Collecting - Database Registry for UTF32 database
Collecting - Database Registry for MSWIN database
Collecting - Database Sequences for ADMIN database
Collecting - Database Sequences for DVP database
Collecting - Database Sequences for DWH database
Collecting - Database Sequences for ISOP15 database
Collecting - Database Sequences for DEVELOPPEZ database
Collecting - Database Sequences for FADACE database
Collecting - Database Sequences for NOSQL database
Collecting - Database Sequences for TEST database
Collecting - Database Sequences for UTF database
Collecting - Database Sequences for UTF32 database
Collecting - Database Sequences for MSWIN database
Collecting - Database Undocumented Parameters for ADMIN database
Collecting - Database Undocumented Parameters for DVP database
Collecting - Database Undocumented Parameters for DWH database
Collecting - Database Undocumented Parameters for ISOP15 database
Collecting - Database Undocumented Parameters for DEVELOPPEZ database
Collecting - Database Undocumented Parameters for FADACE database
Collecting - Database Undocumented Parameters for NOSQL database
Collecting - Database Undocumented Parameters for TEST database
Collecting - Database Undocumented Parameters for UTF database
Collecting - Database Undocumented Parameters for UTF32 database
Collecting - Database Undocumented Parameters for MSWIN database
Collecting - Database Undocumented Parameters for ADMIN database
Collecting - Database Undocumented Parameters for DVP database
Collecting - Database Undocumented Parameters for DWH database
Collecting - Database Undocumented Parameters for ISOP15 database
Collecting - Database Undocumented Parameters for DEVELOPPEZ database
Collecting - Database Undocumented Parameters for FADACE database
Collecting - Database Undocumented Parameters for NOSQL database
Collecting - Database Undocumented Parameters for TEST database
Collecting - Database Undocumented Parameters for UTF database
Collecting - Database Undocumented Parameters for UTF32 database
Collecting - Database Undocumented Parameters for MSWIN database
Collecting - Database Workload Services for ADMIN database
Collecting - Database Workload Services for DVP database
Collecting - Database Workload Services for DWH database
Collecting - Database Workload Services for ISOP15 database
Collecting - Database Workload Services for DEVELOPPEZ database
Collecting - Database Workload Services for FADACE database
Collecting - Database Workload Services for NOSQL database
Collecting - Database Workload Services for TEST database
Collecting - Database Workload Services for UTF database
Collecting - Database Workload Services for UTF32 database
Collecting - Database Workload Services for MSWIN database
Collecting - Dataguard Status for ADMIN database
Collecting - Dataguard Status for DVP database
Collecting - Dataguard Status for DWH database
Collecting - Dataguard Status for ISOP15 database
Collecting - Dataguard Status for DEVELOPPEZ database
Collecting - Dataguard Status for FADACE database
Collecting - Dataguard Status for NOSQL database
Collecting - Dataguard Status for TEST database
Collecting - Dataguard Status for UTF database
Collecting - Dataguard Status for UTF32 database
Collecting - Dataguard Status for MSWIN database
Collecting - Files not opened by ASM
Collecting - Log Sequence Numbers for ADMIN database
Collecting - Log Sequence Numbers for DVP database
Collecting - Log Sequence Numbers for DWH database
Collecting - Log Sequence Numbers for ISOP15 database
Collecting - Log Sequence Numbers for DEVELOPPEZ database
Collecting - Log Sequence Numbers for FADACE database
Collecting - Log Sequence Numbers for NOSQL database
Collecting - Log Sequence Numbers for TEST database
Collecting - Log Sequence Numbers for UTF database
Collecting - Log Sequence Numbers for UTF32 database
Collecting - Log Sequence Numbers for MSWIN database
Collecting - Percentage of asm disk  Imbalance
Collecting - Process for shipping Redo to standby for ADMIN database
Collecting - Process for shipping Redo to standby for DVP database
Collecting - Process for shipping Redo to standby for DWH database
Collecting - Process for shipping Redo to standby for ISOP15 database
Collecting - Process for shipping Redo to standby for DEVELOPPEZ database
Collecting - Process for shipping Redo to standby for FADACE database
Collecting - Process for shipping Redo to standby for NOSQL database
Collecting - Process for shipping Redo to standby for TEST database
Collecting - Process for shipping Redo to standby for UTF database
Collecting - Process for shipping Redo to standby for UTF32 database
Collecting - Process for shipping Redo to standby for MSWIN database
Collecting - RDBMS Feature Usage for ADMIN database
Collecting - RDBMS Feature Usage for DVP database
Collecting - RDBMS Feature Usage for DWH database
Collecting - RDBMS Feature Usage for ISOP15 database
Collecting - RDBMS Feature Usage for DEVELOPPEZ database
Collecting - RDBMS Feature Usage for FADACE database
Collecting - RDBMS Feature Usage for NOSQL database
Collecting - RDBMS Feature Usage for TEST database
Collecting - RDBMS Feature Usage for UTF database
Collecting - RDBMS Feature Usage for UTF32 database
Collecting - RDBMS Feature Usage for MSWIN database
Collecting - Redo Log information for ADMIN database
Collecting - Redo Log information for DVP database
Collecting - Redo Log information for DWH database
Collecting - Redo Log information for ISOP15 database
Collecting - Redo Log information for DEVELOPPEZ database
Collecting - Redo Log information for FADACE database
Collecting - Redo Log information for NOSQL database
Collecting - Redo Log information for TEST database
Collecting - Redo Log information for UTF database
Collecting - Redo Log information for UTF32 database
Collecting - Redo Log information for MSWIN database
Collecting - Standby redo log creation status before switchover for ADMIN database
Collecting - Standby redo log creation status before switchover for DVP database
Collecting - Standby redo log creation status before switchover for DWH database
Collecting - Standby redo log creation status before switchover for ISOP15 database
Collecting - Standby redo log creation status before switchover for DEVELOPPEZ database
Collecting - Standby redo log creation status before switchover for FADACE database
Collecting - Standby redo log creation status before switchover for NOSQL database
Collecting - Standby redo log creation status before switchover for TEST database
Collecting - Standby redo log creation status before switchover for UTF database
Collecting - Standby redo log creation status before switchover for UTF32 database
Collecting - Standby redo log creation status before switchover for MSWIN database
Collecting - /proc/cmdline
Collecting - /proc/modules
Collecting - CPU Information
Collecting - CRS active version
Collecting - CRS oifcfg
Collecting - CRS software version
Collecting - CSS Reboot time
Collecting - CSS disktimout
Collecting - Cluster interconnect (clusterware)
Collecting - Clusterware OCR healthcheck
Collecting - Clusterware Resource Status
Collecting - DiskFree Information
Collecting - DiskMount Information
Collecting - Huge pages configuration
Collecting - Interconnect network card speed
Collecting - Kernel parameters
Collecting - Linux module config.
Collecting - Maximum number of semaphore sets on system
Collecting - Maximum number of semaphores on system
Collecting - Maximum number of semaphores per semaphore set
Collecting - Memory Information
Collecting - NUMA Configuration
Collecting - Network Interface Configuration
Collecting - Network Performance
Collecting - Network Service Switch
Collecting - OS Packages
Collecting - OS version
Collecting - Operating system release information and kernel version
Collecting - Oracle Executable Attributes
Collecting - Patches for Grid Infrastructure
Collecting - Patches for RDBMS Home
Collecting - Shared memory segments
Collecting - Table of file system defaults
Collecting - Voting disks (clusterware)
Collecting - number of semaphore operations per semop system call
 
Preparing to run root privileged commands  orali-p01.
 
[sudo] password for oracle:
 
 
Data collections completed. Checking best practices on orali-p01.
--------------------------------------------------------------------------------------
 
 
 FAIL =>    Database DB_CREATE_FILE_DEST and DB_RECOVERY_FILE_DEST are NOT in different diskgroups for MSWIN
 INFO =>    Important Automatic Storage Management (ASM) Notes and Technical White Papers
 INFO =>    Oracle Data Pump Best practices.
 INFO =>    Important Storage Minimum Requirements for Grid & Database Homes
 INFO =>    Oracle asm filter driver is not loaded
 WARNING => Non-AWR Space consumption is greater than or equal to 50% of total SYSAUX space. for FADACE
 WARNING => Non-AWR Space consumption is greater than or equal to 50% of total SYSAUX space. for DWH
 WARNING => Non-AWR Space consumption is greater than or equal to 50% of total SYSAUX space. for UTF32
 WARNING => Non-AWR Space consumption is greater than or equal to 50% of total SYSAUX space. for NOSQL
 WARNING => Non-AWR Space consumption is greater than or equal to 50% of total SYSAUX space. for ADMIN
 WARNING => There are some application objects with STALE statistics. for UTF
 WARNING => There are some application objects with STALE statistics. for DEVELOPPEZ
 WARNING => There are some application objects with STALE statistics. for DVP
 WARNING => There are some application objects with STALE statistics. for MSWIN
 WARNING => There are some application objects with STALE statistics. for UTF32
 WARNING => There are some application objects with STALE statistics. for NOSQL
 WARNING => There are some application objects with STALE statistics. for ISOP15
 WARNING => There are some application objects with STALE statistics. for TEST
 WARNING => There are some application objects with STALE statistics. for ADMIN
 INFO =>    Hidden database initialization parameters should not be set per best practice recommendations for TEST
 INFO =>    Most recent ADR incidents for /oracle/db/11.2.0.4
 INFO =>    Most recent ADR incidents for /oracle/db/12.1.0
 INFO =>    Most recent ADR incidents for /oracle/db/12.1.0.2
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for UTF
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for DEVELOPPEZ
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for FADACE
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for DWH
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for UTF32
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for NOSQL
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for ISOP15
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for TEST
 WARNING => One or more database users have more than 10 recyclebin objects contained in it. Identify the schema/objects and take corrective action. for ADMIN
 WARNING => One or more tablespaces have recyclebin objects with space more than 100 KB. for UTF
 WARNING => One or more tablespaces have recyclebin objects with space more than 100 KB. for FADACE
 WARNING => One or more tablespaces have recyclebin objects with space more than 100 KB. for DWH
 WARNING => One or more tablespaces have recyclebin objects with space more than 100 KB. for UTF32
 WARNING => One or more tablespaces have recyclebin objects with space more than 100 KB. for NOSQL
 WARNING => One or more tablespaces have recyclebin objects with space more than 100 KB. for TEST
 WARNING => One or more tablespaces have recyclebin objects with space more than 100 KB. for ADMIN
 INFO =>    Oracle GoldenGate failure prevention best practices
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for ISOP15
 WARNING => AWR Space consumption is greater than or equal to 50% of total SYSAUX space. for UTF
 WARNING => AWR Space consumption is greater than or equal to 50% of total SYSAUX space. for DVP
 WARNING => AWR Space consumption is greater than or equal to 50% of total SYSAUX space. for MSWIN
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for DEVELOPPEZ
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for DVP
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for FADACE
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for DWH
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for UTF32
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for NOSQL
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for TEST
 WARNING => Some user sessions lack proper failover mode (BASIC) and method (SELECT) for ADMIN
 WARNING => $ORACLE_HOME/bin/oradism setuid bit is NOT set for /oracle/db/11.2.0.4
 WARNING => $ORACLE_HOME/bin/oradism setuid bit is NOT set for /oracle/db/12.1.0
 WARNING => $ORACLE_HOME/bin/oradism setuid bit is NOT set for /oracle/db/12.1.0.2
 WARNING => $ORACLE_HOME/bin/oradism ownership is NOT root for /oracle/db/11.2.0.4
 WARNING => $ORACLE_HOME/bin/oradism ownership is NOT root for /oracle/db/12.1.0
 WARNING => $ORACLE_HOME/bin/oradism ownership is NOT root for /oracle/db/12.1.0.2
 WARNING => Controlfile is NOT multiplexed for DEVELOPPEZ
 WARNING => Controlfile is NOT multiplexed for FADACE
 WARNING => Controlfile is NOT multiplexed for DWH
 WARNING => Controlfile is NOT multiplexed for UTF32
 WARNING => Controlfile is NOT multiplexed for ISOP15
 WARNING => Controlfile is NOT multiplexed for TEST
 WARNING => Controlfile is NOT multiplexed for ADMIN
 INFO =>    Some data or temp files are not autoextensible for DVP
 INFO =>    Some data or temp files are not autoextensible for FADACE
 INFO =>    Some data or temp files are not autoextensible for UTF32
 FAIL =>    Flashback on PRIMARY is not configured for DEVELOPPEZ
 FAIL =>    Flashback on PRIMARY is not configured for DVP
 FAIL =>    Flashback on PRIMARY is not configured for DWH
 FAIL =>    Flashback on PRIMARY is not configured for MSWIN
 FAIL =>    Flashback on PRIMARY is not configured for UTF32
 FAIL =>    Flashback on PRIMARY is not configured for NOSQL
 FAIL =>    Flashback on PRIMARY is not configured for ISOP15
 FAIL =>    Flashback on PRIMARY is not configured for ADMIN
 FAIL =>    Some bigfile tablespaces do not have non-default maxbytes values set for DEVELOPPEZ
 FAIL =>    Some bigfile tablespaces do not have non-default maxbytes values set for DVP
 FAIL =>    Some bigfile tablespaces do not have non-default maxbytes values set for FADACE
 FAIL =>    Some bigfile tablespaces do not have non-default maxbytes values set for DWH
 FAIL =>    Some bigfile tablespaces do not have non-default maxbytes values set for UTF32
 FAIL =>    Some bigfile tablespaces do not have non-default maxbytes values set for NOSQL
 FAIL =>    Some bigfile tablespaces do not have non-default maxbytes values set for ISOP15
 WARNING => Duplicate objects were found in the SYS and SYSTEM schemas for UTF
 WARNING => Duplicate objects were found in the SYS and SYSTEM schemas for DVP
 WARNING => Duplicate objects were found in the SYS and SYSTEM schemas for FADACE
 WARNING => Duplicate objects were found in the SYS and SYSTEM schemas for MSWIN
 WARNING => Duplicate objects were found in the SYS and SYSTEM schemas for UTF32
 WARNING => Duplicate objects were found in the SYS and SYSTEM schemas for ADMIN
 WARNING => Local listener init parameter is not set to local node VIP for UTF
 WARNING => Local listener init parameter is not set to local node VIP for DVP
 WARNING => Local listener init parameter is not set to local node VIP for MSWIN
 WARNING => Remote listener is not set to SCAN name for UTF
 WARNING => Remote listener is not set to SCAN name for DEVELOPPEZ
 WARNING => Remote listener is not set to SCAN name for DVP
 WARNING => Remote listener is not set to SCAN name for FADACE
 WARNING => Remote listener is not set to SCAN name for DWH
 WARNING => Remote listener is not set to SCAN name for MSWIN
 WARNING => Remote listener is not set to SCAN name for UTF32
 WARNING => Remote listener is not set to SCAN name for NOSQL
 WARNING => Remote listener is not set to SCAN name for ISOP15
 WARNING => Remote listener is not set to SCAN name for TEST
 WARNING => Remote listener is not set to SCAN name for ADMIN
 WARNING => Package libaio-devel-0.3.107-10.el6-i686 is recommended but NOT installed
 WARNING => Package gcc-c++-4.4.4-13.el6-x86_64 is recommended but NOT installed
 WARNING => Package libstdc++-devel-4.4.4-13.el6-x86_64 is recommended but NOT installed
 WARNING => Package libaio-0.3.107-10.el6-i686 is recommended but NOT installed
 WARNING => Package unixODBC-2.2.14-11.el6-i686 is recommended but NOT installed
 WARNING => Package ksh-20100621-12.el6-x86_64 is recommended but NOT installed
 WARNING => Package glibc-devel-2.12-1.7.el6-i686 is recommended but NOT installed
 WARNING => Package glibc-devel-2.12-1.7.el6-x86_64 is recommended but NOT installed
 WARNING => Package compat-libstdc++-33-3.2.3-69.el6-i686 is recommended but NOT installed
 WARNING => Package unixODBC-devel-2.2.14-11.el6-i686 is recommended but NOT installed
 WARNING => Package libstdc++-devel-4.4.4-13.el6-i686 is recommended but NOT installed
 WARNING => Package make-3.81-19.el6 is recommended but NOT installed
 WARNING => Package gcc-4.4.4-13.el6-x86_64 is recommended but NOT installed
 WARNING => Package glibc-2.12-1.7.el6-i686 is recommended but NOT installed
 WARNING => Package libstdc++-4.4.4-13.el6-i686 is recommended but NOT installed
 WARNING => Package libstdc++-4.4.4-13.el6-x86_64 is recommended but NOT installed
 WARNING => Package glibc-2.12-1.7.el6-x86_64 is recommended but NOT installed
 WARNING => Package binutils-2.20.51.0.2-5.11.el6-x86_64 is recommended but NOT installed
 WARNING => Package libgcc-4.4.4-13.el6-i686 is recommended but NOT installed
 WARNING => Package sysstat-9.0.4-11.el6-x86_64 is recommended but NOT installed
 WARNING => Package libgcc-4.4.4-13.el6-x86_64 is recommended but NOT installed
 FAIL =>    Table AUD$[FGA_LOG$] should use Automatic Segment Space Management for NOSQL
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for UTF
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for DEVELOPPEZ
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for DVP
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for FADACE
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for DWH
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for MSWIN
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for UTF32
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for NOSQL
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for ISOP15
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for TEST
 FAIL =>    Primary database is NOT protected with Data Guard (standby database) for real-time data protection and availability for ADMIN
 FAIL =>    The data files should be recoverable for DEVELOPPEZ
 FAIL =>    The data files should be recoverable for DVP
 FAIL =>    The data files should be recoverable for FADACE
 FAIL =>    The data files should be recoverable for DWH
 FAIL =>    The data files should be recoverable for MSWIN
 FAIL =>    The data files should be recoverable for UTF32
 FAIL =>    The data files should be recoverable for NOSQL
 FAIL =>    The data files should be recoverable for ISOP15
 FAIL =>    The data files should be recoverable for TEST
 FAIL =>    The data files should be recoverable for ADMIN
 FAIL =>    FRA space management problem file types are present without an RMAN backup completion within the last 7 days. for UTF
 WARNING => RMAN controlfile autobackup should be set to ON for UTF
 WARNING => RMAN controlfile autobackup should be set to ON for DVP
 WARNING => RMAN controlfile autobackup should be set to ON for DWH
 WARNING => RMAN controlfile autobackup should be set to ON for MSWIN
 WARNING => RMAN controlfile autobackup should be set to ON for NOSQL
 WARNING => RMAN controlfile autobackup should be set to ON for ISOP15
 WARNING => RMAN controlfile autobackup should be set to ON for TEST
 WARNING => RMAN controlfile autobackup should be set to ON for ADMIN
 WARNING => Consider setting database parameter NLS_SORT to BINARY for DEVELOPPEZ
 WARNING => Consider setting database parameter NLS_SORT to BINARY for FADACE
 WARNING => Consider setting database parameter NLS_SORT to BINARY for DWH
 WARNING => Consider setting database parameter NLS_SORT to BINARY for MSWIN
 WARNING => Consider setting database parameter NLS_SORT to BINARY for UTF32
 WARNING => Consider setting database parameter NLS_SORT to BINARY for NOSQL
 WARNING => Consider setting database parameter NLS_SORT to BINARY for ISOP15
 WARNING => Consider setting database parameter NLS_SORT to BINARY for TEST
 WARNING => Consider setting database parameter NLS_SORT to BINARY for ADMIN
 INFO =>    Consider setting optimizer related parameters to their default values (Parameter Set 3 of 3) for UTF
 INFO =>    Consider setting optimizer related parameters to their default values (Parameter Set 3 of 3) for DVP
 INFO =>    Consider setting optimizer related parameters to their default values (Parameter Set 3 of 3) for FADACE
 INFO =>    Consider setting optimizer related parameters to their default values (Parameter Set 3 of 3) for MSWIN
 INFO =>    Consider setting optimizer related parameters to their default values (Parameter Set 3 of 3) for ISOP15
 INFO =>    Consider setting optimizer related parameters to their default values (Parameter Set 3 of 3) for ADMIN
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for DEVELOPPEZ
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for DVP
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for FADACE
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for DWH
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for MSWIN
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for UTF32
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for NOSQL
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for ISOP15
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for TEST
 WARNING => Consider investigating changes to the schema objects such as DDLs or new object creation for ADMIN
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for UTF
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for DEVELOPPEZ
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for DVP
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for FADACE
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for DWH
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for MSWIN
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for UTF32
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for NOSQL
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for ISOP15
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for TEST
 WARNING => Consider increasing the value of the session_cached_cursors database parameter for ADMIN
 WARNING => Consider investigating the sessions that are currently waiting and take necessary action for DEVELOPPEZ
 WARNING => Consider investigating the sessions that are currently waiting and take necessary action for UTF32
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for UTF
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for DEVELOPPEZ
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for DVP
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for FADACE
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for DWH
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for MSWIN
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for UTF32
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for NOSQL
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for ISOP15
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for TEST
 WARNING => Consider investigating the frequency of SGA resize operations and take corrective action for ADMIN
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for UTF
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for DEVELOPPEZ
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for DVP
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for FADACE
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for DWH
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for MSWIN
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for UTF32
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for NOSQL
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for ISOP15
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for TEST
 FAIL =>    There should be no duplicate parameter entries in the database init.ora(spfile) file for ADMIN
 WARNING => Non-default database Services are not configured for UTF
 WARNING => Non-default database Services are not configured for DEVELOPPEZ
 WARNING => Non-default database Services are not configured for DVP
 WARNING => Non-default database Services are not configured for FADACE
 WARNING => Non-default database Services are not configured for DWH
 WARNING => Non-default database Services are not configured for MSWIN
 WARNING => Non-default database Services are not configured for UTF32
 WARNING => Non-default database Services are not configured for NOSQL
 WARNING => Non-default database Services are not configured for ISOP15
 WARNING => Non-default database Services are not configured for TEST
 WARNING => Non-default database Services are not configured for ADMIN
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on DEVELOPPEZ1 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on DVP1 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on FADACE1 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on DWH1 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on MSWIN1 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on UTF321 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on NOSQL1 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on ISOP151 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on TEST1 instance
 FAIL =>    Database parameter DB_BLOCK_CHECKSUM is NOT set to recommended value on ADMIN1 instance
 FAIL =>    Database parameter DB_LOST_WRITE_PROTECT is NOT set to recommended value on UTF1 instance
 FAIL =>    Database parameter DB_LOST_WRITE_PROTECT is NOT set to recommended value on DVP1 instance
 FAIL =>    Database parameter DB_LOST_WRITE_PROTECT is NOT set to recommended value on MSWIN1 instance
 FAIL =>    Database parameter DB_LOST_WRITE_PROTECT is NOT set to recommended value on NOSQL1 instance
 FAIL =>    Database parameter DB_LOST_WRITE_PROTECT is NOT set to recommended value on ISOP151 instance
 WARNING => fast_start_mttr_target should be greater than or equal to 300. on NOSQL1 instance
 WARNING => Local listener init parameter is not set to local node VIP for DEVELOPPEZ
 WARNING => Local listener init parameter is not set to local node VIP for FADACE
 WARNING => Local listener init parameter is not set to local node VIP for DWH
 WARNING => Local listener init parameter is not set to local node VIP for UTF32
 WARNING => Local listener init parameter is not set to local node VIP for NOSQL
 WARNING => Local listener init parameter is not set to local node VIP for ISOP15
 WARNING => Local listener init parameter is not set to local node VIP for TEST
 WARNING => Local listener init parameter is not set to local node VIP for ADMIN
 WARNING => Remote listener is not set to SCAN name for UTF
 WARNING => Remote listener is not set to SCAN name for DEVELOPPEZ
 WARNING => Remote listener is not set to SCAN name for DVP
 WARNING => Remote listener is not set to SCAN name for FADACE
 WARNING => Remote listener is not set to SCAN name for DWH
 WARNING => Remote listener is not set to SCAN name for MSWIN
 WARNING => Remote listener is not set to SCAN name for UTF32
 WARNING => Remote listener is not set to SCAN name for NOSQL
 WARNING => Remote listener is not set to SCAN name for ISOP15
 WARNING => Remote listener is not set to SCAN name for TEST
 WARNING => Remote listener is not set to SCAN name for ADMIN
 WARNING => Local listener init parameter is not set to local node VIP for UTF
 WARNING => Local listener init parameter is not set to local node VIP for DVP
 WARNING => Local listener init parameter is not set to local node VIP for MSWIN
 WARNING => Remote listener is not set to SCAN name for UTF
 WARNING => Remote listener is not set to SCAN name for DVP
 WARNING => Remote listener is not set to SCAN name for MSWIN

Si l'intérêt de l'outil vous a échappé jusque là, l'avez-vous saisi ici ?

Un outil relativement simple à appréhender, et une seule analyse faite sur toutes mes instances...
Bien évidemment, toutes les indications ne sont pas à prendre au pied de la lettre, mais cela remonte quand même une information et des corrections potentielles non négligeables...

Si vous n'avez qu'Oracle en standalone, recherchez le client TFA

Code bash : Sélectionner tout - Visualiser dans une fenêtre à part
find /oracle -name tfactl 2>/dev/null

Envoyer le billet « Oracle : alert, traces, best practices... au secours, TFA » dans le blog Viadeo Envoyer le billet « Oracle : alert, traces, best practices... au secours, TFA » dans le blog Twitter Envoyer le billet « Oracle : alert, traces, best practices... au secours, TFA » dans le blog Google Envoyer le billet « Oracle : alert, traces, best practices... au secours, TFA » dans le blog Facebook Envoyer le billet « Oracle : alert, traces, best practices... au secours, TFA » dans le blog Digg Envoyer le billet « Oracle : alert, traces, best practices... au secours, TFA » dans le blog Delicious Envoyer le billet « Oracle : alert, traces, best practices... au secours, TFA » dans le blog MySpace Envoyer le billet « Oracle : alert, traces, best practices... au secours, TFA » dans le blog Yahoo

Mis à jour 09/10/2017 à 16h23 par Fabien Celaia

Catégories
SGBD , Oracle

Commentaires

  1. Avatar de Namica
    • |
    • permalink
    Merci pour l'info. J'en connais qui vont être intéressés.
  2. Avatar de CinePhil
    • |
    • permalink
    TFA est payant ou gratuit ?
  3. Avatar de Fabien Celaia
    • |
    • permalink
    Citation Envoyé par CinePhil
    TFA est payant ou gratuit ?
    TFA est un outils gratuit fourni pas le support Oracle...