HPOS 3.4.1 Using dbreorg.pl Prior to Upgrading to HP Output Server, Version 3.4.1

2 Technical Note
Using dbreorg.pl prior to upgrading to HP Output Server, Version 3.4.1
To delete the old database and create a new one, follow these steps:
a. Change to the parent directory of the database directory.
- For a DLM, type the following command:
cd installDir/var/jobdb/dm
This directory contains one subdirectory for each DLM server.
- For a JQM, type the following command:
cd installDir/var/jobdb/drb
This directory contains one subdirectory for each JQM server.
- For a DSM, type the following command:
cd installDir/var/jobdb/dsup
This directory contains one subdirectory for each DSM server.
b. To creaet an archive of the database, type the following command:
tar cf backupDirectory/server.tar ./server
For example, to archive the database for a JQM named jqml in a backup directory named tmp, type:
tar cf tmp/jqml.tar ./jqml
c. Compress the archive by entering the following command:
compress backupDirectory/server.tar
For example,
compress tmp/jqml.tar
d. Type the following command to rename the database directoy:
mv server server.bak
For example,
mv jqm1 jqm1.bak
e. Start the server by entering the following command:
start_server server
The start_server command automatically creates a new database directory and files for the server.
f. If the JQM or DSM is working correctly, delete the renamed database directory with the following command:
rm -rf ./server.bak
For example,
rm -rf ./jqm1.bak