Hitachi

Hitachi Advanced Database Setup and Operation Guide


17.19.1 Preparing the file system where the audit trail directory will be created

The file system where the audit trail directory will be created must be inherited when host switchover occurs. The file system to be inherited during host switchover must be created on an LV in a VG made up of disks that can be referenced by both the active and standby systems (shared disks). For information about shared disks, see Shared disk configuration in the manual HA Monitor for Linux(R) (x86).

■ Building the file system where the audit trail directory will be created

Build the file system where the audit trail directory will be created on the active system. The following execution example initializes /dev/vg_hadb04/hadb_audit, which was created as the LV for storing audit trail files, as an ext4 file system.

mkfs -t ext4 /dev/vg_hadb04/hadb_audit

The superuser must execute the preceding command.

■ Mounting the file system where the audit trail directory will be created

Mount the file system where the audit trail directory will be created on the active system. Then, unmount the file system. Similarly, in the standby system, mount and then unmount the file system where the audit trail directory will be created.

For details about how to mount a file system, see (3) Mounting the file system for the DB directory (performed in the active system) in 17.3.7 Creating a database. For details about how to unmount a file system, see (5) Unmounting the file system for the DB directory (performed in the active system) in 17.3.7 Creating a database.

Important
  • Create mount points so that the active and standby systems both use the same path.

  • In the adb_audit_log_path server definition operand, specify the directory created in the mounted file system.