Note: Before you start, consult A Word of Caution on Windows Zip Utilities below.Beginning with AccuRev 7.1, the site_slice and db directories are no longer required to be under the same parent directory. In AccuRev 7.1, the new default location for the db directory is under the DB_HOME directory, as defined in the acserver.cnf file. The site_slice directory remains defined by the SITE_SLICE_LOC definition in the acserver.cnf file.
2.
3. Open acserver.cnf in a text editor and change the SITE_SLICE_LOC definition to point to the new site_slice directory location.
4. If you moved the db directory to a location other than DB_HOME/db (e.g., /databases/accurev/db or C:\databases\accurev\db), you need to:Linux/Solaris: Define a new (permanent) environment variable to the new db location, e.g.:
export ACCUREV_DB_DATA=/databases/accurev/dbWindows: From a command window, unregister the existing AccuRev DB Server service and re-register it with the new db location, e.g.:
<ac-install>\postgresql\9.5\bin\pg_ctl.exe unregister -N “AccuRev DB Server”
<ac-install>\postgresql\9.5\bin\pg_ctl.exe register -N “AccuRev DB Server” -D “C:\databases\accurev\db” -w
5. Change directory to the new db directory and open the postgresql.conf file in an editor. Change the value of log_directory to point to the logs directory under the new site_slice location, e.g.:
7. <ac-install>\bin\maintain server_properties update
9. Verify that the db directory path is correct:Linux/Solaris: From the command line, enter ps -ef | grep postgresql and verify that the db directory path listed after the "-D" option is correct.Windows: In the services.msc utility, right-click on the AccuRev DB Server process, select "Properties" and verify that the directory path listed after the "-D" option is correct.
Micro Focus |