Class DbGroupAdmin

DbGroupAdmin supplies the functionality of the administrative class ReplicationGroupAdmin in a convenient command line utility. For example, it
can be used to display replication group information, or to remove a node
from the replication group.

Note: This utility does not handle security and authorization. It is left
to the user to ensure that the utility is invoked with proper authorization.

Method Detail

main

java {com.sleepycat.je.rep.util.DbGroupAdmin |
-jar je-<version>.jar DbGroupAdmin}
-groupName <group name> # name of replication group
-helperHosts <host:port> # identifier for one or more members
# of the replication group which can be
# contacted for group information, in
# this format:
# hostname[:port][,hostname[:port]]*
-dumpGroup # dump group information
-removeMember <node name># node to be removed
-updateAddress <node name> <new host:port>
# update the network address for a specified
# node. The node should not be alive when
# updating address
-transferMaster [-force] <node1,node2,...> <timeout>
# transfer master role to one of the
# specified nodes.

The address of a NodeType.SECONDARY node cannot be updated
with this method, since nodes must be members but not alive to be
updated, and secondary nodes are not members when they are not alive.
To change the address of a secondary node, restart the node with the
updated address.