![]() |
![]() |
![]() |
![]() |
For a number of reasons, you may decide to relocate either the Razor database, or the Razor executables.
Although it is possible to move our release to a new directory, we encourage you to simply perform a fresh installation in the new area. The installation process (rz_install) generates a number of files which serve to assist our scripts. Finding and modifying all those files is time consuming and error prone.
# cd /home/razoradm # rm Razor
Once the above steps are complete, have each user re-reference their related rz_prep file, and everything should start back up just fine. Once you are sure that everything is proceeding fine, you are free to go back and completely remove the original installation.
A Razor database is stored on a disk as a directory tree and a broad collection of files (refer to "$RAZOR_UNIVERSE_DIR How a database lays out" on page 253.) Moving the database to a new disk or parent directory can be down with whatever mechanisms you would use to move any other directory, i.e. UNIX command "mv". Prior to moving any Razor database, make sure that no client applications are connected and that the database server is not running. Remember to move the directory structure, RAZOR_UNIVERSE, as well as the files rz_prep and rz_prep.sh. Once the move is completed, edit the files, rz_prep and rz_prep.sh, correcting the setting of RAZOR_UNIVERSE_DIR to refer to the new location of the database. Reset the Razor environment variables by sourcing (or dotting), refer to "Starting Razor" on page 38, the modified rz_prep (or rz_prep.sh) file.
If the database has been moved to a different operating system, the owner of the database must do the following:
# cp $RAZOR_HOME/bin/rz_exec \ $RAZOR_UNIVERSE_DIR/bin/<OS>/rz_db_exec 1 # chmod a+x $RAZOR_UNIVERSE_DIR/bin/<OS>/rz_db_exec # chmod ug+s $RAZOR_UNIVERSE_DIR/bin/<OS>/rz_db_exec
remember to change all references to the file rz_prep.sh in files that exist in the scripts directory ($RAZOR_UNIVERSE_DIR/Scripts) to reference the new location of this file.
You will also have to hunt down and modify all references to the original rz_prep files. A common trick is to leave a "placebo" rz_prep file in the original location. The placebo file can simply echo out some statements as to where the present rz_prep files now reside.
NOTE: If you are changing operating systems, you need the appropriate distribution for that new system.
![]() |
![]() |
![]() |
![]() |
(Part 11 of 12 for this section) (Generated 09/13/99 at 17:37:48) |
Copyright Tower Concepts http://www.tower.com Voice: 315-363-8000 Fax: 315-363-7488 support@tower.com sales@tower.com |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |