Borland StarTeam 2009 - Borland Technical Publications

Borland StarTeam 2009 - Borland Technical Publications Borland StarTeam 2009 - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
10.07.2015 Views

• create session• create table• create trigger• create type• create view• unlimited tablespace• create any context• drop any context5. Create an ODBC DSN for the StarTeam schema user. For more information, see Creating ODBC SystemDSNs for Oracle on page 98.6. Create the server configuration. For more information, see Creating a Server Configuration for an OracleSchema User on page 98.Creating ODBC System DSNs for OracleStarTeam Server uses ODBC drivers to access Oracle schema users.To create an ODBC DSN for an Oracle schema user:1. From the Windows Start menu, select Start ➤ Settings ➤ Control Panel. The Control Panel dialog boxopens.2. Open the ODBC Data Source Administrator dialog box by double-clicking first the Administrative Toolsicon and then the Data Sources (ODBC) icon.3. Select the System DSN tab and then click Add.4. Select the correct Oracle driver and then click Finish. The Oracle ODBC Driver Configuration dialog boxopens.5. Enter the DSN in the Data Source Name text box. If you have only one StarTeam server configuration,use the database’s Oracle Net service name as the DSN. If you have more than one server configuration,have the DSNs match the name of each server configuration.6. Enter a description in the Description text box.7. Select the Oracle Net service name from the TNS Service Name text box.8. Type the user name in the User ID text box.9. Click Test Connection to verify that you can connect to this database.Important: It is recommended that you do not change any other settings.10. Click OK.Creating a Server Configuration for an Oracle SchemaUserThe first time you start a new server configuration, StarTeam Server creates all the StarTeam tables in thedatabase you specify. This section explains how to create a StarTeam server configuration and start it for thefirst time.Before you begin, you need to know:98 | Using StarTeam with Oracle Databases

• The Oracle database’s net service name (TNS name that is stored in eitherC:\ORACLE_HOME\network\admin\tnsnames.ora or$ORACLE_HOME/network/admin/tnsnames.ora, depending on your operating system)• The system password• The ODBC DSN• The logon name and password for the schema userTo create a server configuration:1. Start the Server Administration tool. Select Start ➤ Programs ➤ Borland StarTeamStarTeam Server2009StarTeam Server. The Server Administration tool opens.2. Choose Server ➤ New Configuration. The New Configuration dialog box opens.3. Enter the new configuration data:1. Type the name of the configuration in the Configuration Name text box.2. Type or click Browse to specify the Repository Path location to be used to store log files and otherinformation. If the repository path that you enter does not exist, the application creates it for you. TheRepository Path is also the location for the default hive.3. Select Oracle from the Database Type drop-down list box.4. Clear the option to Create new StarTeam database and ODBC data source, so that StarTeam Serverdoes not automatically create the tablespace, schema user, and a DSN for the schema user.5. Create an initial hive for the Native-II vault by doing one of the following:• Accept the default settings by leaving the Default option selected and proceeding to step 6.With the default settings, StarTeam Server:• Creates an initial hive named DefaultHive.• Creates subfolders on the repository path named Archives and Cache to be used by theDefaultHive.• Stipulates that the maximum cache size is 20% of the space currently available on the drive onwhich the cache is located.• Uses the default setting of 600 seconds (10 minutes) between cache cleanups.• Uses the default setting of 95% for the storage threshold, the point at which this drive is consideredfull.• Specify custom values by selecting the Custom option and changing any of the hive settings.6. Click Next. The Database Information page of the wizard opens.7. Enter the ODBC DSN in the ODBC data source name text box.8. Enter the login name and password for the schema user in the appropriate text boxes.9. Click Verify Connection to be sure that you can successfully access the schema user.10. Click Finish.This action re-displays the Server Administration window, which shows your new server configuration asa child of the Local node.Note: In addition to creating the server configuration, StarTeam Server adds information about thenew server configuration to your starteam-server-configs.xml file. For more information aboutthis file, see StarTeam Help or the Administering and Using StarTeam manual which are both accessiblefrom the Borland StarTeamStarTeam Cross-Platform Client 2009 ➤ Documentation submenu.These documents explain the file options and how to set them from the command line.Using StarTeam with Oracle Databases | 99

• create session• create table• create trigger• create type• create view• unlimited tablespace• create any context• drop any context5. Create an ODBC DSN for the <strong>StarTeam</strong> schema user. For more information, see Creating ODBC SystemDSNs for Oracle on page 98.6. Create the server configuration. For more information, see Creating a Server Configuration for an OracleSchema User on page 98.Creating ODBC System DSNs for Oracle<strong>StarTeam</strong> Server uses ODBC drivers to access Oracle schema users.To create an ODBC DSN for an Oracle schema user:1. From the Windows Start menu, select Start ➤ Settings ➤ Control Panel. The Control Panel dialog boxopens.2. Open the ODBC Data Source Administrator dialog box by double-clicking first the Administrative Toolsicon and then the Data Sources (ODBC) icon.3. Select the System DSN tab and then click Add.4. Select the correct Oracle driver and then click Finish. The Oracle ODBC Driver Configuration dialog boxopens.5. Enter the DSN in the Data Source Name text box. If you have only one <strong>StarTeam</strong> server configuration,use the database’s Oracle Net service name as the DSN. If you have more than one server configuration,have the DSNs match the name of each server configuration.6. Enter a description in the Description text box.7. Select the Oracle Net service name from the TNS Service Name text box.8. Type the user name in the User ID text box.9. Click Test Connection to verify that you can connect to this database.Important: It is recommended that you do not change any other settings.10. Click OK.Creating a Server Configuration for an Oracle SchemaUserThe first time you start a new server configuration, <strong>StarTeam</strong> Server creates all the <strong>StarTeam</strong> tables in thedatabase you specify. This section explains how to create a <strong>StarTeam</strong> server configuration and start it for thefirst time.Before you begin, you need to know:98 | Using <strong>StarTeam</strong> with Oracle Databases

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!