1. Application setup
2. Database load
Section 1 – Application setup
1. Obtain the following software installation images and license files:
• Oracle 10.2.0.1 or 10.2.0.3
• Teamcenter 2007
• Teamcenter 2007 license file
• Teamcenter for lifecycle visualization embedded viewer
• Java JRE 1.5.0
2. Install the Teamcenter for life cycle visualization embedded viewer.
Record the location in which the viewer is installed, you will need it when installed Teamcenter.
3. Install Oracle 10.2.0.1 or 10.2.0.3 as follows:
• Install the Oracle database server choosing the Advanced Installation
option. Choose Enterprise Edition as the installation type. Do not create a starter database.
• Create a listener, name = LISTENER, port = 1521. In the Services panel,
make sure the listener is set to start automatically.
• Create a database using the Oracle Database Configuration Assistant and
the Teamcenter database templates available on the Teamcenter install image. The SID name is not critical (trng is often used). Accept all the default tablespace sizes.
4. Install Java JRE 1.5.0:
a. Install Java JRE 1.5.0.
b. Add the path to the Java BIN directory to the front of the system environment variable, PATH.
5. Install the Microsoft Visual C++ 2005 Redistributable.
From the Teamcenter 2007.1 installation image, double-click
additional_applications\\vcredist_x86\\vcredist_x86.exe
6. Install Teamcenter:
a. Run Teamcenter Environment Manager (TEM) by double-clicking tem.bat on the Teamcenter install image.
b. Select the following solutions:
• Corporate Server
• Flex licensing Server
• Rich Client 2-tier
c. Select the following license level for the embedded viewer: Mockup.
7. After the Teamcenter installation is complete, restart the machine.
8. Verify that you can log on to Teamcenter using infodba/infodba.
9. Verify that you can create and edit a text dataset.
10. Exit Teamcenter.
Section 2 – Database load
This section contains information for loading the dmp database.
1. Obtain the dmp database file
2. also the volumes and the TC_DATA folder
3. zip file.
Import the Oracle dump file, like aaa.dmp, provided in the database
a. Open a Command Prompt window.
b. Set ORACLE_HOME using the set command.
c. Set ORACLE_SID using the set command.
d. Type: sqlplus /nolog
e. Type: connect system/system-password@SID as sysdba
Where:
system-password = password of the Oracle use system
SID = Oracle SID
f.
Type:
@%ORACLE_HOME%\\assistants\\dbca\emplates\c_unpopulate_db.sql
g. Type: exit
h. Type: imp system/system-password@SID log=log-dir\\oracle_load.log
file=directory-you-fromuser=infodba
selected\\aaa.dmp
touser=infodba commit=Y
Where:
system-password = password of the Oracle use system SID = Oracle SID
directory-you-selected = directory in which the training database zip file was
unzipped.
Log-dir = directory in which to create the log file. This can be any location.
4.
Install the training database directories:
a. Delete the contents of the TC_DATA directory you created when installing the Teamcenter corporate server.
b. Copy the contents of backuped to your TC_DATA directory.
5. Rename the pom_schema file:
a. In the TC_DATA directory, locate the pom_schema file, which is named pom_schema_XXXX.
b. Rename the file to pom_schema_yourserver_yoursid where:
• yourserver = the hostname of your Oracle server
• yoursid = the name of the Oracle SID you created
Edit the tc_profilevars.bat file:
6.
a. In the TC_DATA directory, locate tc_profilevars.bat.
b. Make the following changes:
set UGS_LICENSE_SERVER=28000@XXXXX
change to:
set UGS_LICENSE_SERVER=28000@XXXXXX set IMAN_DB_CONNECT=infodba:XXXXX@YYYY
change to:
set IMAN_DB_CONNECT=infodba: XXXXX @your_sid (substitute appropriate name for your_sid)
set TC_DB_CONNECT=infodba: XXXXX @YYYY
change to:
set TC_DB_CONNECT=infodba: XXXXX @your_sid (substitute appropriate name for your_sid)
set ORACLE_SERVER=ZZZZ
change to:
set ORACLE_SERVER=Oracle_server (insert name of the machine running the Oracle server for Oracle_server)
set ORACLE_SID=VVVV
change to:
set ORACLE_SID=your_sid (substitute appropriate name for your_sid)
set UGII_LICENSE_FILE=27000@GGGGG
change to:
set UGII_LICENSE_FILE=27000@TC_license_server (substitute the name of the machine running the Teamcenter license server for TC_license_server) 7. Edit the tnsnames.ora file:
a. In the TC_DATA directory, locate tnsnames.ora.
b. Make the following changes:
• Change YYYY to the SID value that you created. This appears two
times in this file.
• Change ZZZZ to the name of your Oracle server machine. This
appears one time in this file.
8. Copy the contents of theVolume directory to the path on your
machine in which you wish the Teamcenter volumes to be located.
9. Run backup_xmlinfo:
a. Choose Start -> All Programs -> UGS Teamcenter 2007 -> Teamcenter 2007 -> ID_ID Command Prompt.
b. Type: backup_xmlinfo –u=infodba –p=infodba –g=dba
c. After the command is finished running, close the Command Prompt window.
d. Open Windows Explorer and navigate to the directory from which you ran backup_xmlinfo.
e. In a plain text editor, open the file backup.xml and leave it open for the next step.
10. Modify the FMS master file:
a. Open Windows Explorer and navigate to TC_ROOT\\fsc.
b. In a plain text editor, open fmsmaster_FSC_host-name_os-user.xml.
Where:
host-name = host running Teamcenter
os-user = operating system account used to install Teamcenter
c. In the FMS master file, replace value that is set for the fmsenterprise id tag with the value of the enterpriseId tag found in the backup.xml file.
d. In the FMS master file, locate and copy the volume tag. Paste a copy of the volume tag below the original. There now should be two identical volume tags, one following the other.
e. Edit the volumes for this
f. In the FMS master file, edit the transientvolume tag with the values for
transientVolumeInfo found in the backup.xml file as follows:
• transVolId (in backup.xml) = id (in FMS master file)
• wntPath (in backup.xml) = root (in FMS master file: This is the
location to which you copied the Teamcenter volume named std_vol. You must change all single backslashes in this path to double backslashes.)
11. Open the Services window and restart the Teamcenter FSC Service.
12. Log on to Teamcenter as infodba/infodba and set the:
a. Log on to Teamcenter as infodba/infodba.
b. Open the Organization application.
c. For volumes, set the Node Name value to the name of the machine running Teamcenter, set the FSC Path Name to the path of the volume, and then click Modify.
d. Verify that you can create and edit a text dataset.
e. Exit Teamcenter.
因篇幅问题不能全部显示,请点此查看更多更全内容