I'm experimenting with the CreateCluster tool. I have two computers on my lan: Computer A (Windows 10) on address 192.168.1.105 Computer B (Ubuntu) on address 192.1681.1.103
I take the following steps: 1. Create the database on Computer A using the console. The address is "jdbc:h2:~/cluster/test" (the db file is created). 2. Create the database on Computer B using the console. The address is "jdbc:h2:~/cluster/test" (the db file is created). 3. Start the tcp server on Computer A using cmd: "java -cp h2-*.jar org.h2.tools.Server -tcp -tcpPort 9101 -tcpAllowOthers" 4. Start the tcp server on Computer B using terminal: "java -cp h2-*.jar org.h2.tools.Server -tcpPort 9101 -tcpAllowOthers" 5. Create the cluster from Computer A using cmd: "java -cp h2-*.jar org.h2.tools.CreateCluster -urlSource jdbc:h2:tcp://192.168.1.105:9101/~/cluster/test -urlTarget jdbc:h2:tcp://192.168.1.103:9101/~/cluster/test -user root -password "..." -serverList 192.168.1.105:9101,192.168.1.103:9101 When I complete the step 5, the database file on Computer B is deleted and the CreateCluster tool give me an error: "Database ... not found, either pre-create it or allow remote database creation How can fix this? -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/4f569c1b-40e2-424c-a849-b655f2fd6477n%40googlegroups.com.
