10.4 How the Oracle Tuxedo Filesystem is Organized
An Oracle Tuxedo filesystem has a Volume Table of Contents (VTOC), which lists the files residing on the devices named in the Universal Device List (UDL). The UDL contains information about the location of the physical storage space for Oracle Tuxedo system tables. In an Oracle Tuxedo application, all system files might be stored together on the same raw disk slice or OS filesystem. While it is possible to use regular OS filesystem files for the configuration tables, we strongly recommend that you store the transaction log, TLOG, on a raw disk device. Because the TLOG seldom needs to be larger than 100 blocks (51200 bytes assuming 512-byte blocks), and because disk partitions are always substantially larger than 100 blocks, it may make sense to use the same device for both the configuration files and the TLOG.
Listing C-1 shows a sample VTOC and UDL diagram for a bankapp
(sample application) configuration on a single machine.
Output based on setting FSCONFIG=$TUXCONFIG, and invoking tmadmin:
No bulletin board exists. Entering boot mode.
> livtoc Volume Table of Contents on /usr2/bank/tuxconfig:
0: VTOC: Device 0 Offset 0 Pages 7
1: UDL: Device 0 Offset 7 Pages 28
2: _RESOURCE_SECT: Device 0 Offset 35 Pages 6
3: _MACHINES_SECT: Device 0 Offset 41 Pages 40
4: _GROUPS_SECT: Device 0 Offset 141 Pages 100
5: _SERVERS_SECT: Device 0 Offset 241 Pages 150
6: _SERVICES_SECT: Device 0 Offset 391 Pages 60
7: _ROUTING_SECT: Device 0 Offset 451 Pages 100
8: _NETWORK_SECT: Device 0 Offset 551 Pages 20
9: _MIBPERMS_SECT: Device 0 Offset 571 Pages 2
10: _NETGROUPS_SECT: Device 0 Offset 573 Pages 2
11: _INTERFACES_SECT: Device 0 Offset 575 Pages 10
# If the TLOG is stored on the same device, there will be an
# entry something like:
12: TLOG: Device 0 Offset 585 Pages 100
The Oracle Tuxedo application administrator must make sure raw disk slices are available as needed on each node participating in an application. The following table lists the size of each element in the Oracle Tuxedo filesystem.
Table 10-1 Size of Oracle Tuxedo System Tables
Element | 512-Byte Pages (Blocks) |
---|---|
VTOC
|
7 |
TUXCONFIG
|
550 |
TLOG
|
100 (default) |
UDL
|
28 |
TOTAL
|
685 |
The amount of space required for the TUXCONFIG
file must be larger if there are more entries in the configuration file, UBBCONFIG
, than in the bankapp
sample application. The administrator is encouraged to allocate additional space for dynamic reconfiguration and growth of the application. The default block size assumed by the crdl
subcommand of
is 1000 blocks (512000 bytes assuming 512-byte blocks), which should be adequate for the initial installation.
tmadmin
Parent topic: File and Database Management and Disk Space Allocation