Verify that the database is empty

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:

It should give a line like:

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).

Check the content of the different tables.

SELECT COUNT(*) FROM file;

SELECT COUNT(*) FROM replica;

SELECT COUNT(*) FROM replicafileinfo;

The last number should be the product of the first two. The number of replicas should be 3.

It42VerifyNotEmptyDatabase (last edited 2010-08-16 10:24:52 by localhost)