Procedures for a GroupWise Top-down Rebuild
Author: Bob Jonkman
bjonkman@sobac.com
Date: 9 December 2003
Intended Audience: GroupWise Administrators
References: Novell Knowledgebase Technical Information
Documents:
TID 10070541 <
http://support.novell.com/cgi-bin/search/searchtid.cgi?/10070541.htm
>
TID 10008654 <
http://support.novell.com/cgi-bin/search/searchtid.cgi?/10008654.htm
>
TID 10026860 <
http://support.novell.com/cgi-bin/search/searchtid.cgi?/10026860.htm
>
A Top-down Rebuild of the GroupWise domain and postoffice
databases is needed when anomalies exist in these databases.
End users will experience this as people with mailboxes not
visible in the addressbook, people in different postoffices
see different entries in the addressbook, incorrect entries
are seen in the addressbook even though the ConsoleOne
entries are correct. Administrators will experience this as
difficulties in synchronizing user entries in ConsoleOne.
Top-down rebuilds are also recommended after a server abend
or out-of-disk-space conditions that may have compromised the
integrity of the databases.
While a Top-down Rebuild normally will only help the
GroupWise system, it is recommended to have a backup of the
system before performing the rebuild since there is a very
slight possibility of data loss. Also it can be time
consuming, so make sure it is done with good reason.
Top-Down Rebuild Procedures
-
Make a copy of the Primary Domain
-
Ensure the Primary Domain is valid
If there are errors or corruption in the Primary Domain
they could be propagated to the entire system during a
top-down rebuild. To ensure the Primary Domain is valid:
- Be sure ConsoleOne is connected to the Primary Domain
(look for the "connector" on the Domain icon). To
connect, highlight the Primary Domain, right-click,
select "Connect".
- Right-click on the Primary Domain, select "GroupWise
Utilities, System Maintenance", select "Validate", click
"Run".
- If there is an error during the Validate process the
database needs to be recovered. See Primary Domain
Recovery Procedures, below.
- If there was no error during the Validate process
open the file RL.DBG (located in the Domain directory).
GroupWise objects listed in this file represent records
in the Domain database that do not correspond to a
mailbox. These records may still exist after a delete or
rename, in which case they do not indicate there is an
error. Otherwise, they indicate a synchronization error.
To fix records indicating
synchronization errors:
- Highlight the object in the GroupWise view (if
you cannot find the object in GroupWise View you may
have to connect to the Secondary Domain that contains
the object).
- Right-click on the object, select "GroupWise
Utilities, Synchronize". A window pops up
"Synchronize will refresh [...] Proceed with
synchronization?", Click "Yes".
-
Ensure the Secondary Domains are valid
For each of the Secondary Domains perform the following
steps:
- Connect ConsoleOne to the Secondary Domain.
- Run the "GroupWise Utilities, System Maintenance,
Validate" process.
- If there are errors in the Validate process then the
Secondary Domain needs to be rebuilt; nothing further can
be done with this domain. Do not perform the following
step, "Synchronize the Primary Domain with the
Secondaries", for this domain. See also
TID 10026860.
- If there are no errors in the Validate process open
the RL.DBG file, and check and synchronize the listed
objects using the steps above.
-
Synchronize the Primary Domain with the Secondary Domains
Do not perform this step if the Secondary Domain has not
passed validation, otherwise you may introduce corruption
from the damaged Secondary Domain into the Primary
Domain.
Connect to the Primary Domain. For each Secondary domain:
- Highlight the Secondary Domain.
- Right-click, select "GroupWise Utilities, System
Maintenance", select "Synch Primary with Secondary",
click "Run".
-
Quench the GroupWise system
- Shut off all MTAs, POAs and Gateway processes on all
servers.
- Disable logins on the Primary Domain server.
- Determine which workstations are still connected to
the Primary Domain.
- Disconnect all connections to the Primary Domain
except the workstation on which the Primary Domain is to
be rebuilt.
-
Rebuild the Primary Domain
- Make another copy of the Primary Domain.
- Using ConsoleOne right-click the Primary Domain,
select "GroupWise Utilities, System Maintenance", select
"Rebuild Database", click "Run".
- When complete, select "Rebuild Indexes for Listing",
click "Run".
- When complete, click "Close".
-
Re-check that the Primary Domain is valid
-
Rebuild the Secondary Domains
All the Secondary Domains can be re-built concurrently.
For each Secondary Domain:
- Make a copy of the domain database.
- Highlight the Secondary Domain.
- Right-click, select "GroupWise Utilities, System
Maintenance", select "Rebuild Database", click "Run".
- When complete, select "Rebuild Indexes for Listing",
click "Run".
- When complete, select "Close".
If there is any doubt about the integrity of the database
(ie. After a server abend or an out-of-disk-space
condition) re-check that the Secondary Domains are valid.
-
Rebuild the Postoffice WPHost databases
The postoffice databases can be rebuilt concurrently
after the host Secondary Domain rebuild is complete. To
perform a Postoffice WPHost database rebuild:
- Make a copy of the Postoffice WPHost database.
- Connect to the Secondary Domain for this Postoffice.
- Highlight the Postoffice.
- Right-click, select "GroupWise Utilities, System
Maintenance", select "Rebuild Database", click "Run".
- When complete, select "Rebuild Indexes for Listing",
click "Run".
- When complete, click "Close".
-
Restart the GroupWise system
Re-start the GroupWise system only when all rebuilds are
complete.
- For each server run the GRPWISE.NCF script from the
server console.
- Enable logins on the Primary Domain server.
- Verify validity of the Primary Domain.
For a complete top-down-to-bottom rebuild the message and
user database need to be rebuilt as well [
TID 10008654]. If such a complete rebuild is necessary
please see the TID for procedures.
( Primary Domain
Recovery Procedures are not yet written)