NetWare includes a transaction-monitoring feature called the Transaction Tracking SystemTM (TTSTM). If you flag a file as transactional, TTS can prevent corruption of records in the file by backing out of incomplete transactions and keeping a record of backed-out data.
NOTE: A file flagged as transactional cannot be deleted or renamed.
TTS can also back out file truncations or extensions and multiple changes to the same data area during a single transaction. TTS can even back out interrupted backouts if the NetWare server fails in the middle of backing out transactions.
But TTS cannot protect against these types of failures for any type of application that issues record-locking calls and stores information in records, including traditional databases, some electronic mail applications, and some workgroup appointment schedulers.
Files that aren't organized into discrete records (such as word processing files) aren't protected by TTS.
Transactions on a network can be saved improperly in any of the following situations:
If the server fails and the file has been flagged transactional, TTS backs out the transaction when the server comes up again. If a workstation or network transmission component fails, TTS backs out the transaction immediately.
The Transaction Tracking System (TTS) can prevent data corruption by backing out of incomplete transactions and keeping a record of backed-out data.
TTS guarantees that all changes to a database file are either wholly completed or not made at all. TTS follows these steps to track transactions:
To learn how to enable and activate TTS, see Enabling and Activating TTS.
In NetWare 6, TTS has three possible states:
The disabled and inactive states are similar in that TTS operations have no effect. Only in the active state, do TTS operations have an effect.
Only one file system can have an active TTS. Therefore, if your server is using both the Novell Storage Service (NSS) file sytem and the Traditional File System, note the following:
Because the DISABLE TTS command is not persistent, the only way to persistently allow TTS to be active when it is enabled on NSS volumes is to put the DISABLE TTS console command in the AUTOEXEC.NCF file.
NSS /Transaction=VolName
The NetWare server automatically disables TTS if one of the following happens:
Volume SYS: is the TTS backout volume.
If TTS has been disabled and you have solved the problems that led to its disabling, enter one of the following at the System Console prompt to enable it again:
To enable and manage transaction tracking for individual files on traditional volumes, use the commands and parameters in the following table.
To | Do the following |
---|---|
Enable transaction tracking for a file. |
Use NetWare Remote Manager to flag the file as transactional. For more information, see Viewing Individual Files in NetWare Remote Manager Administration Guide. (Note that files flagged as transactional cannot be deleted or renamed.) |
Enable TTS to backout transactions without displaying confirmation prompts. |
Place the following command into the STARTUP.NCF file and restart the server: SET AUTO TTS BACKOUT FLAG = ON If this parameter is set to On (default), the backouts happen automatically. If this parameter is set to Off, you will be prompted to confirm file backouts. You can also set the parameter with NetWare Remote Manager > Set Parameters > Traditional File System. |
Log backed out data to the SYS:TTS$LOG.ERR file. |
Execute the following command at the System Console prompt: SET TTS ABORT DUMP FLAG = ON If this parameter is set to On, the transactions are stored in SYS:TTS$LOG.ERR. If this parameter is set to Off, the transactions are backed out, but the server does not provide you with a record of the backouts. You can also set the parameter with NetWare Remote Manager > Set Parameters > Traditional File System. |