Here, you will create a (master to slave) replication relation between two new databases, ReplMaster
and ReplSlave
, that you will create and configure to allow replication. Then you will populate the ReplMaster
database and observe the replication result process on the ReplSalve
database:
Launch the RavenDB server and open Management Studio.
Create a new database, name it
ReplMaster
and ensure that the Replication Bundle checkbox is checked.Create a new database, name it
ReplSlave
and ensure that theReplication Bundle checkbox
is checked.Right-click on the
ReplMaster
database and selectEdit Settings
to open the database settings screen.Click on the
Replication
node and then click on Add Replication to add a new replication configuration.In the Url textbox, enter the RavenDB database instance URL:
http://localhost:8080
In the Database textbox, enter the name of the Slave replication instance: ReplSlave.