tfactl configuration for „repositorydir“

tfactl125

After a system crash Oracle Support asked for a tracefile collection with the option „-all“.

Yes this will be a huge file because the required analysis runs over a few days.

In the default configuration the tfactl repository is under  the Oracle base structure normally „/u01/app/oracle“.

The Filesystem „/u01“ has actually only 20 GB freespace and the collection which has to be done for the cluster generates files of minimum 18 GB.

This means freespace for „/u01“ is very scarce.I need a temporary solution and after a while and reading the tfactl users guide I found a solution.

With the following command „SET REPOSITORYDIR“ it is possible to change the location temporary or permanently.

/u01/app/12.1.0.2/grid/bin/tfactl set repositorydir=/mnt/gi12102_sr

Successfully changed repository

.------------------------------------------------------------.

| Repository Parameter      | Value                          |

+---------------------------+--------------------------------+

| Old Location              | /u01/app/oracle/tfa/repository |

| New Location              | /mnt/gi12102_sr                |

| Current Maximum Size (MB) | 10240                          |

| Current Size (MB)         | 0                              |

| Status                    | OPEN                           |

'---------------------------+--------------------------------'

I started the tfactl and the data collection works fine. Here the comand.

tfactl diagcollect -from "Aug/20/2015 12:00:00" -to "Aug/22/2015 19:00:00"

After the data colection I changed the directory back to the old location.

/u01/app/12.1.0.2/grid/bin/tfactl set repositorydir=/u01/app/oracle/tfa/repository

For more details take a look to MOS note: TFA Collector – Tool for Enhanced Diagnostic Gathering ( Doc ID 1513912.2 )

Advertisements

Über spa

Oracle and Unix Professional, main focus on Oracle HA - Systems also an Exadata enthusiasts
Dieser Beitrag wurde unter General, Oracle Database abgelegt und mit , , , verschlagwortet. Setze ein Lesezeichen auf den Permalink.

Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:

WordPress.com-Logo

Du kommentierst mit Deinem WordPress.com-Konto. Abmelden / Ändern )

Twitter-Bild

Du kommentierst mit Deinem Twitter-Konto. Abmelden / Ändern )

Facebook-Foto

Du kommentierst mit Deinem Facebook-Konto. Abmelden / Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden / Ändern )

Verbinde mit %s