Differences between revisions 3 and 4
Revision 3 as of 2010-03-05 12:20:20
Size: 1870
Comment:
Revision 4 as of 2010-03-23 09:00:26
Size: 1810
Editor: TueLarsen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 > more conf/start_external_database.sh  . > more conf/start_external_database.sh
It should give a line like:
Line 11: Line 12:
It should give a line like:
 
''java -cp $INSTALLDIR/lib/db/derby.jar:$INSTALLDIR/lib/db/derbynet.jar org.apache.derby.drda.NetworkServerControl -p '''8139''' start ...''
 . ''java -cp $INSTALLDIR/lib/db/derby.jar:$INSTALLDIR/lib/db/derbynet.jar org.apache.derby.drda.NetworkServerControl -p '''8139''' start ...''
Line 19: Line 17:
 > java -cp lib/db/derbyclient-10.4.2.0.jar:lib/db/derbytools-10.4.2.0.jar org.apache.derby.tools.ij
 . > java -cp lib/db/derbyclient-10.5.3.0.jar:lib/db/derbytools-10.5.3.0.jar org.apache.derby.tools.ij
Line 22: Line 19:
Line 25: Line 21:
 > SELECT * FROM file;
 . > SELECT * FROM file;
Line 31: Line 26:
 > SELECT * FROM replicafileinfo;
 . > SELECT * FROM replicafileinfo;
Line 37: Line 31:
 > SELECT * FROM replica;
 . > SELECT * FROM replica;
Line 43: Line 36:

> exit;





 . > exit;
Line 57: Line 43:
    *

     
Go to http://$GUIadminserver:$http-port/HarvestDefinition/
          o o where GUIadminserver and http-port are specified in the deploy configuration file under the application named dk.netarkivet.common.webinterface.GUIApplication

           
o In the one-machine setup (deploy_example_one_machine.xml ) the link will be : http://localhost:8074 
    * Go to the status site:
          o

           
o Click on System State in the side bar.   
 *   . Go to http://$GUIadminserver:$http-port/HarvestDefinition/
   . o o where GUIadminserver and http-port are specified in the deploy configuration file under the application named dk.netarkivet.common.webinterface.GUIApplication
    . o In the one-machine setup (deploy_example_one_machine.xml ) the link will be : http://localhost:8074
 * Go to the status site:
  . o
   . o Click on System State in the side bar.

Use ssh to go the admin machine and into your installation directory (netarkivet.dk -> kb-test-adm-001, and /home/test/TESTX)

Check that no admin.data file exists.

Check that a database directory, adminDB, exists.

Check the port number for the database by running the command:

  • > more conf/start_external_database.sh

It should give a line like:

  • java -cp $INSTALLDIR/lib/db/derby.jar:$INSTALLDIR/lib/db/derbynet.jar org.apache.derby.drda.NetworkServerControl -p 8139 start ...

The port in this case is 8139.

Log into the database and check the status (it is an external database, so the applications does not need to be shutdown before accessing the database).

  • > java -cp lib/db/derbyclient-10.5.3.0.jar:lib/db/derbytools-10.5.3.0.jar org.apache.derby.tools.ij > connect 'jdbc:derby://localhost:$PORT/adminDB'

Check the content of the different tables. The file table and the replicafileinfo table should be empty, whereas the replica table should contain the replicas:

  • > SELECT * FROM file;

...

0 rows selected

  • > SELECT * FROM replicafileinfo;

...

0 rows selected

  • > SELECT * FROM replica;

...

3 rows selected

  • > exit;

Check that the logmessages does not contain any warnings or errors.

Do following in a browser

Start Program

  • . Go to http://$GUIadminserver:$http-port/HarvestDefinition/

    • o o where GUIadminserver and http-port are specified in the deploy configuration file under the application named dk.netarkivet.common.webinterface.GUIApplication
  • Go to the status site:
    • o
      • o Click on System State in the side bar.

You should see no warning or errors in the logmessages.

It42CheckDBSetupMachine (last edited 2010-10-11 12:28:38 by TueLarsen)