Borland StarTeam 2009 - Borland Technical Publications
Borland StarTeam 2009 - Borland Technical Publications
Borland StarTeam 2009 - Borland Technical Publications
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
StarDraw<strong>Borland</strong> provides the sample database StarDraw with <strong>StarTeam</strong> Server. The <strong>StarTeam</strong> Server installationprocedure:• Creates the Samples directory and subdirectories under the installation directory and copies the samplerepository files into them.• Copies the Oracle export file stardraw.dat into theinstall_dir/starteamserver<strong>2009</strong>/Samples/StarDraw_Repository/Database directory.Restoring the StarDraw Database Backup FileTo restore the StarDraw database backup file on the Oracle database machine:1. If you have not already done so, create the following on the Oracle database machine:• A database instance that will host the StarDraw database. StarDraw can share the database instancewith other databases.• A tablespace named stardraw on this instance. Following is a sample create tablespace command:Create tablespace stardraw datafile 'c:\stardraw.dbf' size 400m autoextendon next 10k maxsize 32767m extent management local2. If <strong>StarTeam</strong> <strong>2009</strong> Server for Linux is on a different machine than your Oracle database, copy the filestardraw.dat to the database machine. Using SQLplus, create an Oracle virtual directory that points tothe location of stardraw.dat. For example:Windows• SQL> create or replace directory test_dir as'C:\stardraw_dir';• SQL> grant read,write on directory test_dir to public;where stardraw_dir is the folder that contains the file stardraw.dat.Unix• SQL> create or replace directory test_dir as'install_dir/starteamserver<strong>2009</strong>/Samples/StarDraw_Repository/Database';• SQL> grant read,write on directory test_dir to public;3. Run the following command (logged in as your Oracle user if your Oracle database is on Linux):impdp system/password directory=test_dir dumpfile=stardraw.datlogfile=stardraw.logwhere password is the password for the "system" Oracle schema user, and test_dir is the Oracle virtualdirectory created in step 2.Using the StarDraw Server ConfigurationTo use the StarDraw server configuration:Installing <strong>StarTeam</strong> Server on Linux | 39