|
Berkeley DB Java Edition version 4.1.21 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.rep.util.DbRepPreUpgrade_4_1
public class DbRepPreUpgrade_4_1
In JE 5.0 the internal log format changed. Before upgrading environments to JE 5.0, this utility must first be run using JE 4.1.
This utility is used for replicated environments. For standalone
environments, please use DbPreUpgrade_4_1
instead.
java com.sleepycat.je.rep.util.DbRepPreUpgrade_4_1 -h <dir> # environment home directory -groupName <group name> # replication group name -nodeName <node name> # replicated node name -nodeHostPort <host:port> # host name or IP address and port number to use for this node -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]]See
main(java.lang.String[])
for a full description of the command
line arguments.
Constructor Summary | |
---|---|
DbRepPreUpgrade_4_1(File envHome,
String groupName,
String nodeName,
String nodeHostPort,
String helperHosts)
Create a DbRepUpgrade object for a specified node. |
Method Summary | |
---|---|
static void |
main(String[] args)
Usage: |
void |
preUpgrade()
Ensure sure that a ReplicatedEnvironment can be upgraded to JE 5.0. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbRepPreUpgrade_4_1(File envHome, String groupName, String nodeName, String nodeHostPort, String helperHosts)
envHome
- The node's environment directorygroupName
- The name of the new replication groupnodeName
- The node's namenodeHostPort
- The host and port for this nodehelperHosts
- The helper nodes for this node to contact masterMethod Detail |
---|
public static void main(String[] args)
java -cp je.jar com.sleepycat.je.rep.util.DbRepPreUpgrade_4_1 -h <dir> # environment home directory -groupName <group name> # replication group name -nodeName <node name> # replicated node name -nodeHostPort <host:port> # host name or IP address and port number to use for this node -helperHosts $lt;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]]
public void preUpgrade()
|
Berkeley DB Java Edition version 4.1.21 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |