head 1.1; branch 1.1.1; access ; symbols nastore3-beta-20000227:1.1.1.1 NAS:1.1.1; locks ; strict; comment @# @; 1.1 date 2000.02.28.02.18.33; author wrstuden; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.02.28.02.18.33; author wrstuden; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @volman/rc/vault/server - database server or 'vaultdaemon' for NAStore Vault RC. vaultdb.doc format of the vault dbase commline.h configuration of RS232 line to gun gun/ code for driving the handheld, bar-code PC The database server was originally expected to run on a dedicated machine with a network connection to the host running the voldaemon and an RS232 connection to a bar-code reading, handheld PC. Thus it is envisioned that this directory and the bplus database index directory will be copied to such a server and compiled there. The first thing one would do to make it compile here is to change the references in the Makefile from "../bplus/" to "../../../../bplus" or make a soft link from the former to the latter. Another consequence of the seperate-machine strategy is that the vaultdaemon has its own version of the Volume Manager vmlog facility, so does not link libvol.a. The following instructions would apply if one had tarred a tree containing the server and bplus trees. To set up the vault database server, make a directory for the source and use tar to read the floppy disk: mkdir src cd src tar xvf /dev/rfd0c This will create subdirectories for the bplus and vault code. Now, cd into each one, check out current copies of everything and get ready to make. cd bplus co RCS/* make cd ../vault co RCS/* Before you can make the vault software, you need to pick a place to install it. Edit the Makefile and change the lines that specifie the INSTALL_DIR and MAN_DIR. co -l Makefile vi Makefile ... make man The man page for vaultdaemon will explain how to set up a number of configuration specific things like where the log files and database files will be written. Each header file that needs to be changed should be checked out before modification. If you want to run vaultop on more than one machine, you will need to modify the variable "server" to be the name the machine where vaultdaemon will run. make If all is well, do the final install. make install -- @ 1.1.1.1 log @Import of snapshot of nastore3 code. Includes kernel code for dmfs, dmfs user utilities, ms66 import and export, vvm, and volman. Also includes makefile magic to automatically generate .tgz source files from the source. Solaris support a bit of a question as zoularis is not working at the moment. @ text @@