Will man Oracle Datenbanken, die zu einem SAP-System gehören, auf AIX mit den SAP BRTOOLS sichern gibt es eine Kleinigkeit zu beachten…
Die BRTOOLS sind SAP Kommandozeilenwerkzeuge, die unter anderem auch für Backup/Restore der SAP-Datenbank und wichtiger Dateien genutzt werden können. Dabei wird unter UNIX/Linux-Systemen CPIO als Hilfsmittel genutzt, man kann aber auch Oracle RMAN einsetzen. Letzteres ist aber gewissen Einschränkungen unterworfen, z.B. funktioniert das Klonen von DBs mittels Backup/Restore nicht.
Unter AIX 6.1 wird JFS2 als Standard-Dateisystem empfohlen, SAP/Oracle empfehlen den Datenbank-Parameter FILESYSTEMIO_OPTIONS auf setall zu setzen. Was bewirkt dieser Parameter?
aus Oracle Metalink: Direct I/O or Concurrent I/O on AIX 5L [ID 272520.1]
FILESYSTEMIO_OPTIONS value can be set to be any of the following:
• “asynch” – Set by default. This allows asynchronous IO to be used where supported by the OS.
• “directIO” – This allows directIO to be used where supported by the OS. Direct IO bypasses any Unix buffer cache.
• “setall” – Enables both ASYNC and DIRECT IO (or Concurrent I/O).
• “none” – This disables ASYNC IO and DIRECT IO (or Concurrent I/O) so that Oracle uses normal synchronous writes, without any direct io options.
Oracle recommends that you use the value SETALL instead of the value DIRECTIO, because the DIRECTIO value disables asynchronous I/O. The default value for this parameter is ASYNC.
Note: External utilities or tools cannot read datafiles on JFS2 file systems if you use the values SETALL or DIRECTIO for the FILESYSTEMIO_OPTIONS parameter. For more information, refer to the AIX documentation which covers the open() restriction in cio mode.
CPIO ist ein externes Tool wie o.g.. Soll damit gesichert werden darf der Wert nur wie folgt gesetzt werden: *.filesystemio_options=’ASYNCH’
Ansonsten wird der Zugriff auf die Oracle-Datenfiles verweigert. Sicherungen der Archivelogs klappen hingegen ohne Probleme – also bitte Backups wirklich testen
Setzt man in den BRTOOLS als Sicherungswerkzeug RMAN ein kann man getrost die Empfehlung umsetzen, d.h. auf setall setzen.