Borland StarTeam 2009 - Borland Technical Publications
Borland StarTeam 2009 - Borland Technical Publications Borland StarTeam 2009 - Borland Technical Publications
11. Enter and confirm a password for the schema user name.12. Click Next. The Create a Tablespace for StarTeam Schema page of the wizard opens.13. The tablespace name defaults to the name of your server configuration. Change this name if you preferto use a different value.14. If you have fewer than 15 users and expect to store 1 GB or less of data, the default settings areappropriate for your use.If you are very familiar with Oracle schema users, you may choose to alter the names, sizes, and locationsof the data files. For more information, see Guidelines for Data Files on page 94.To avoid fragmentation, make the data files as large as possible, based on the maximum amount ofdata expected in the database.Use at least three data files when creating a tablespace because:• There is a size limit of 2 GB per data file.• Fewer files can result in slow response times when insert activity is heavy.15. Click Finish.The Server Administration window re-displays, showing your new server configuration as a child of theLocal 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 StarTeam ➤ StarTeam Cross-Platform Client 2009 ➤ Documentation submenu.These documents explain the file options and how to set them from the command line.4. By default, all server configurations are set to use the TCP/IP endpoint (port) 49201. However, each serverconfiguration on a given computer must have a unique endpoint so it is recommended that you edit thedefault endpoint.To change the endpoint:1. Select the server configuration.2. Click the Start With Override toolbar button (or select Actions ➤ Start with Override from the mainmenu). The Start with Override dialog box opens.3. Enter the endpoint that you want to use in the TCP/IP Endpoint text box, and click OK.Note: You can also change the location where attachments are stored using this dialog box, but yourarely need to do this.5. Be sure to configure your new server configuration (see the Administering and Using StarTeam guide formore information) and plan a backup schedule for it.Guidelines for Data FilesBorland suggests the following guidelines for the number of data files and their sizes, based on the numberof users. Your needs may be different than those shown in the table below.Number of UsersUp to 15Number of Data Files3Size of Each Data File50 MB94 | Using StarTeam with Oracle Databases
Number of UsersBetween 15 and 50Between 51 and 100Between 101 and 300>300Number of Data Files3577Size of Each Data File300 MB300 MB500 MB800 MBRunning SQL Scripts for Oracle Schema UsersStarTeam Server comes with some SQL scripts written specifically for use with the Oracle schema users.These scripts help you maintain and tune StarTeam databases. You run some SQL scripts after installation,some on a weekly basis for database performance maintenance, and some scripts are run for you automaticallyby StarTeam Server.The SQL scripts for Oracle schema users that you may run are located in the Borland\StarTeam Server2009\DBScripts\Oracle_Scripts folder.Note: The Oracle_Scripts folder contains several subfolders: Create_Stored_Procedures,Drop_Stored_Procedures, Install, Preinstall, and DW (for Data Warehouse). The scripts inthese subfolders are run by StarTeam Server as needed. NEVER execute any of them directly an externaldatabase user interface, such as SQL*Plus or SQL *Worksheet.The following table lists the SQL scripts that you are most likely to need. Some should be run manually on aregular basis. The table recommends the frequency for running these scripts. You may adjust the frequencydepending on the StarTeam usage at your facility. Run scripts at times when the server is least used, such asovernight or on weekends.In addition to running these scripts, you should also run a Purge option from the Server Administration tool toremove deleted views from the schema user. Borland recommends purging the schema user after you havedeleted one or more views from a StarTeam project. See the Administering and Using StarTeam guide forinformation on the Purge option.StarTeam Script Namestarteam_oracle_compute_stats.sqlstarteam_oracle_dropall.sqlstarteam_oracle_rebuild_indexes.sqlRun FrequencyWeeklyOnly if necessaryWeeklyFor a description of these scripts, see StarTeam SQL Scripts for Oracle Schema Users on page 96.Caution: Be sure to backup your StarTeam schema user, as necessary, and verify these backupsperiodically.You should restore and test backups of your StarTeam project data on a test system. Restoringand testing your backups helps to ensure that your data is being backed up correctly.To run a SQL script for Oracle schema users:1. Go to the command prompt.2. Change directories to the directory containing the StarTeam SQL scripts for Oracle schema users.3. At the command prompt, type:sqlplus username/password@servicenameUsing StarTeam with Oracle Databases | 95
- Page 43 and 44: 7. Rename this file starteam-client
- Page 45 and 46: Installing on Other PlatformsTo ins
- Page 47 and 48: Installing and Configuring the Star
- Page 49 and 50: Logging on to the StarTeam Web Serv
- Page 51 and 52: 1. Edit the /apache-tomcat-5.5.27/c
- Page 53 and 54: Installing StarTeamMPX on WindowsTh
- Page 55 and 56: Number of Peak Usersmore than 200Re
- Page 57 and 58: 6. In the Choose Install Folder dia
- Page 59 and 60: 3. Install the Root Cache Agent. Yo
- Page 61 and 62: • The Cache Agent installer insta
- Page 63 and 64: Installing a StarTeamMPX Root or Re
- Page 65 and 66: Installing StarTeam Layout Designer
- Page 67 and 68: Installing StarTeam Workflow Extens
- Page 69 and 70: The default installation folder is
- Page 71 and 72: 7. In the Choose Shortcut Folder di
- Page 73 and 74: • Review the settings and click I
- Page 75 and 76: Understanding the Encoding Differen
- Page 77 and 78: 5. Create an initial hive for the N
- Page 79 and 80: Running SQL Scripts for Microsoft D
- Page 81 and 82: • starteam_sqlserver_get_dbinfo.s
- Page 83 and 84: select * from s011. Verify that at
- Page 85 and 86: Important: The SQL Server ODBC Data
- Page 87 and 88: characters such as !, @, #, or %. E
- Page 89 and 90: 1. Install Oracle Server. Most cust
- Page 91 and 92: After setting NLS_LANG correctly, O
- Page 93: Creating and Starting a Server Conf
- Page 97 and 98: Run: weekly.• starteam_oracle_cre
- Page 99 and 100: • The Oracle database’s net ser
- Page 101 and 102: Native-II Vault FoldersFor server c
- Page 103 and 104: A new server log file is created ea
- Page 105 and 106: Savings Time) information for Easte
- Page 107 and 108: The data is critical and must be re
- Page 109 and 110: Export backups are cross-platform a
- Page 111 and 112: Oracle 10g has introduced a new fea
- Page 113 and 114: Total MemoryRecommended 10gR2 Setti
- Page 115 and 116: AMM is implemented using Memory_Tar
- Page 117 and 118: Microsoft SQL Server (continued)def
11. Enter and confirm a password for the schema user name.12. Click Next. The Create a Tablespace for <strong>StarTeam</strong> Schema page of the wizard opens.13. The tablespace name defaults to the name of your server configuration. Change this name if you preferto use a different value.14. If you have fewer than 15 users and expect to store 1 GB or less of data, the default settings areappropriate for your use.If you are very familiar with Oracle schema users, you may choose to alter the names, sizes, and locationsof the data files. For more information, see Guidelines for Data Files on page 94.To avoid fragmentation, make the data files as large as possible, based on the maximum amount ofdata expected in the database.Use at least three data files when creating a tablespace because:• There is a size limit of 2 GB per data file.• Fewer files can result in slow response times when insert activity is heavy.15. Click Finish.The Server Administration window re-displays, showing your new server configuration as a child of theLocal node.Note: In addition to creating the server configuration, <strong>StarTeam</strong> Server adds information about thenew server configuration to your starteam-server-configs.xml file. For more information aboutthis file, see <strong>StarTeam</strong> Help or the Administering and Using <strong>StarTeam</strong> manual which are both accessiblefrom the <strong>Borland</strong> <strong>StarTeam</strong> ➤ <strong>StarTeam</strong> Cross-Platform Client <strong>2009</strong> ➤ Documentation submenu.These documents explain the file options and how to set them from the command line.4. By default, all server configurations are set to use the TCP/IP endpoint (port) 49201. However, each serverconfiguration on a given computer must have a unique endpoint so it is recommended that you edit thedefault endpoint.To change the endpoint:1. Select the server configuration.2. Click the Start With Override toolbar button (or select Actions ➤ Start with Override from the mainmenu). The Start with Override dialog box opens.3. Enter the endpoint that you want to use in the TCP/IP Endpoint text box, and click OK.Note: You can also change the location where attachments are stored using this dialog box, but yourarely need to do this.5. Be sure to configure your new server configuration (see the Administering and Using <strong>StarTeam</strong> guide formore information) and plan a backup schedule for it.Guidelines for Data Files<strong>Borland</strong> suggests the following guidelines for the number of data files and their sizes, based on the numberof users. Your needs may be different than those shown in the table below.Number of UsersUp to 15Number of Data Files3Size of Each Data File50 MB94 | Using <strong>StarTeam</strong> with Oracle Databases