
Initializing Consumers
Chapter 8
Managing Replication
349
Initializing the Consumer Replica from the Backup Files
1.
Create a new database on the destination server to match the database from the
source server.
Before you begin initializing the consumer from the backup files, be certain
that you have created the appropriate database on your destination server so
that the database exists to be “restored” and initialized.
2.
Enable replication on the backend as a dedicated consumer.
3.
Create the replication agreement on your source server (or whatever server
you will use as the supplier), and select the “Do not initialize consumers at this
time” radio button.
If you already have a replication agreement to that host and port, you do not
need to create a new replication agreement since replication should resume
immediately after running the restore script.
4.
At the command prompt, change to the following directory on the source
Directory Server:
cd
serverRoot
/slapd-
serverID
5.
Stop the source Directory Server if it is running by typing the following:
./stop-slapd
6.
From the command-line, run the
db2bak
utility, and archive your current
directory installation. You can also create a new backup by hitting the "Back
Up Directory Server" button in the Tasks tab of the Directory Server Console,
and then putting the name of your archive directory in the “Directory:...” field.
You can also select any previous back-up to initialize the consumer if you
prefer.
This information is recovered in the destination replica.
7.
Restart the source Directory Server by typing the following:
./start-slapd
8.
Copy the archived files to a directory on your destination server, such as
archiveDirectory
.
9.
At the command prompt, change to the following directory on the destination
Directory Server:
cd
serverRoot
/slapd-
serverID
Содержание DIRECTORY SERVER 7.1
Страница 1: ...Administrator s Guide Red Hat Directory Server Version7 1 May 2005 Updated February 2009 ...
Страница 20: ...20 Red Hat Directory Server Administrator s Guide May 2005 Glossary 619 Index 635 ...
Страница 22: ...22 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 26: ...26 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 78: ...Maintaining Referential Integrity 78 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 200: ...Assigning Class of Service 200 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 278: ...Compatibility with Earlier Releases 278 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 374: ...Troubleshooting Replication Related Problems 374 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 478: ...Using the Management Information Base 478 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 488: ...488 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 528: ...PTA Plug in Syntax Examples 528 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 545: ...About Windows Sync Chapter 18 Windows Sync 545 Figure 18 1 Active Directory Directory Server Synchronization Process ...
Страница 572: ...572 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 586: ...Storing Information in Multiple Languages 586 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 606: ...Searching an Internationalized Directory 606 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 612: ...Examples of LDAP URLs 612 Red Hat Directory Server Administrator s Guide May 2005 ...
Страница 634: ...634 Red Hat Directory Server Administrator s Guide May 2005 ...