3.3
Table Of Contents
- Avid iNEWS Administration Guide
- Contents
- Using This Guide
- 1 - Introduction
- 2 - Connect Services
- 3 - Database Security
- 4 - Database Management
- 5 - Backing Up the iNEWS System
- 6 - Disconnects
- 7 - Troubleshooting
- A - Command References
- Programs Invoked by iNEWS
- Commands Used by Avid Personnel Only
- Linux Commands Used in iNEWS
- Console Control Commands
- Console Server Commands
- broadcast
- configure
- connect
- ctraits
- dbclean
- dbclose
- dbdev
- dbdump
- dbfree
- dblines
- dboriginal
- dbpurge (Superuser conditional)
- dbrestore
- dbserver
- dbsort
- dbtraits
- dbvisit
- dictionary
- diskclear (Superuser only)
- diskcopy
- doc
- ed
- enter
- force (Superuser only)
- grpcheck
- gtraits (Superuser only)
- help
- hogs
- idiff
- list
- list B
- list C
- list c
- list d
- list g
- list p
- list q
- list s
- list sq
- list u
- logout
- makemontab
- makeshift (Super user only)
- maketab (Superuser only)
- msgclean
- offline
- online
- otod
- reconnect
- remove
- rename (Superuser only)
- reorder
- restart
- searchtape
- send
- shutdown
- sitedump (Superuser only)
- siterestore (Superuser only)
- startup
- status
- stop
- su
- unbusy
- utraits (Super user only)
- version
- wholockedit
- Job List Commands
- Dialog Commands
- B - System Files
- C - Standard Dictionaries
- Using Dictionaries to Define Messages and Commands
- Customizing Dictionaries
- Utility Messages Dictionary (/site/dict/messages)
- DBServer Program Messages
- Disconnect Program Messages
- Category and Keyword Check Program Messages
- Keyboard Check Program Messages
- Keyboard Check Program Messages for Macros
- Grpcheck Messages
- Wire Program Messages
- Mail Server Messages
- Validation (Action) Server
- Seek Server Messages
- Last Login Messages
- Print Server Messages
- dbtraits Messages
- Save Error (Workstation) Messages
- Queues Dictionary (/site/dict/queues)
- Words Dictionary (/site/dict/words)
- Keyboard Macros Dictionary (/site/dict/keymacros)
- Case-shifting Dictionary (/site/dict/shift)
- MCS Dictionary (/site/dict/mcs)
- Job List Command Dictionary (/site/dict/joblist)
- D Messages Dictionary (/site/dict/dmessages)
- S Messages Dictionary (/site/dict/smessages)
- D - Environment Variables
- E - Managing Traits at the Console
- F - The Line Editor, ed
- Index
4 Database Management
56
The
-d
instructs dbvisit to print a period each time it visits a new queue and a colon
for every 1,000 stories in a queue. After you have done a few cleanups, you can
judge how far dbvisit has progressed by the number of periods it has printed. When
you run dbvisit, it begins with the root file structure and then examines the entire
directory. As it inspects the root files and then the directory, dbvisit prints messages
indicating its progress.
n
Running dbvisit on all servers instead of just the master computer is an option, performed by
typing
dbvisit -dr
. The 'r' indicates read-only mode, and it can run while the read-write
dbvisit is running on the master server. The read-only dbvisit cannot be started until the
read-write dbvisit reaches the 'traversing directory' phase. After dbvisit runs on all
computers, the output can be compared to verify the integrity of the mirror.
The dbvisit process has four main phases:
- Visiting the “root” blocks
- Traversing the directory and queue structures
- Visiting the stories
- Rebuilding the free list and fixing link counts
3. When the system prompts you with Rebuild the free list (y/n)?, do the following:
a. Ensure dbvisit has completed on all servers (otherwise error messages may appear).
b. Type
y
only if there are no error messages.
If there are any error messages among the periods printed after traversing directory,
do not rebuild the free list and contact Avid immediately for instructions.
Otherwise, type
n
to skip rebuild of the free list.
Skipping rebuild of the free list retains the old free list. While this means that
unreferenced blocks are not collected back to the free list, you can add them to the
free list later by performing another dbvisit.
n
If there are link count discrepancies, the system will list them. Such advisory messages about
high and low link counts are not errors, however, you will be prompted to correct them.
c
Rebuilding a free list without first fixing the errors seriously corrupts your database.
4. If you do not see any error messages, select the master computer (typically server A)
and type
y
.
In addition to spotting errors in the database structure, dbvisit collects any unreferenced
blocks and puts them on the free list. Unreferenced blocks are not used by any story and
are not a part of the free list. They are stray blocks that cannot be used until they are put
on the free list.