db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "V.Narayanan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2954) Add commands to NetworkServerControl for interacting with the replication functionality
Date Thu, 19 Jul 2007 11:18:04 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513880
] 

V.Narayanan commented on DERBY-2954:
------------------------------------

All user interaction with the replication functionality 
will be through commands to NetworkServerControl. 
The following commands will be supported.

Start Master 	
java org.apache.derby.drda.NetworkServerControl replication -startmaster -db=<dbname>
-url=<slaveurl:port>

Start Slave 	
java org.apache.derby.drda.NetworkServerControl replication -startslave -db=<dbname>
-port=<port>

Failover (slave only) 	
java org.apache.derby.drda.NetworkServerControl replication -failover -db=<dbname>

Stop Replication (master only) 	
java org.apache.derby.drda.NetworkServerControl replication -stop -db=<dbname>

The start and failover commands are restricted to the same machine that the database 
resides. Hence, master commands are restricted to the machine that has the master 
database, while slave commands are restricted to the machine that has the slave database.

The stop replication command can only be issued on the master. The master will in turn 
send a stop replication message to the slave.

Authorization and Authentication

The commands above apply only to the database specified, and only the database owner 
will be authorized to execute them. This implies that authentication is required. 
Authentication will follow the same strategy as authentication for other NetworkServerControl

commands. Specifically, the approach that will be chosen for DERBY-2109 will be used for 
replication as well. 

> Add commands to NetworkServerControl for interacting with the replication functionality
> ---------------------------------------------------------------------------------------
>
>                 Key: DERBY-2954
>                 URL: https://issues.apache.org/jira/browse/DERBY-2954
>             Project: Derby
>          Issue Type: Sub-task
>            Reporter: V.Narayanan
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message