Teamcenter 12.0 Managing Administration Data: Siemens Siemens Siemens
Teamcenter 12.0 Managing Administration Data: Siemens Siemens Siemens
Teamcenter 12.0
Managing
Administration Data
PLM00504 • 12.0
Contents
Tables
Administration data is not maintained in BMIDE projects, nor is it maintained in solution templates.
You can use administration data reporting capabilities to generate interactive reports of administration
data, which you can use to analyze and troubleshoot a site, and to compare differences in data
between sites.
You can use adminstration data export and administration data import to copy and paste
administration data across Teamcenter sites.
Note
To safeguard functionality and data integrity in a production site, similar sites are often
created apart from the production site for purposes of development, training, patch testing,
and troubleshooting. These purposes are supported by the ability to report and analyze
administration data, and the ability to export and import administration data across sites.
You can review the default administration data for Teamcenter. The information is
contained in the Administration Data Report included in the References for Administrators
and Customizers collection. You can access this collection two ways:
Local Network
Install the Siemens PLM Documentation Server on your local network, and then install
the References for Administrators and Customizers collection.
Doc Center
Find the References for Administrators and Customizers collection on Siemens PLM
Doc Center. You must have a WebKey account to access the collection.
You can invoke tools for managing administration data from the command line and, to a lesser extent,
in the Teamcenter Environment Manager (TEM).
The following task examples illustrate how you can use interactive administration data reports along
with administration data export/import utilities to manage your Teamcenter sites.
Spread workload for a Set up several isolated sites for work group teams to work on
project, such as adding particular parts of a development project. A team can make changes
or modifying multiple in its site and then export the changed (partial) administration data.
workflows, among teams. You can then consolidate the changes by importing the administration
data from the multiple partial export packages into one site, such as
a sandbox site for final testing.
Determine when a particular Review a site's administration data import history report to track
change was introduced to a impacts of importing administration data over time. This report is
site. automatically updated upon each successful administration data
import to the site.
You may need to determine why two sites behave differently, or may want to ensure that the
administration data is the same at both sites to allow consolidation of data. Use the following process
to reconcile administration data between two sites.
4. After you determine the administration data that requires modification at a target site, import the
data from the source administration data package. Set the appropriate merge options during the
import to ensure you get the only the desired data modification.
Caution
When you export and import administration data between sites, it is important that the
schemas for the administration data and any related objects involved in the transfer are the
same at both sites.
Example
Given a situation where:
• A custom business object type exists in the schema at an exporting (source) site, but
not at the importing (target) site.
• A revision rule included in the administration data export refers to an instance of the
custom business object.
Then:
• The administration data import succeeds, but errors occur during activities involving
the revision rule due to the nonexistent custom business object.
• Export administration data from a test site, so you can import it to a production site.
• Export partial administration data from multiple developers into a source code management
(SCM) system for compilation into a comprehensive set of administration data.
You can use either the admin_data_export command line utility or the Teamcenter Environment
Manager (TEM) to export administration data into an administration data package. Procedures in
the TEM vary for partial export and full export.
Note
It is important to be aware of the considerations for partial export of administration data.
Note
It is important to be aware of the considerations for partial export of administration data.
Tip
When the export completes, you may want to use the generate_admin_data_report utility
to generate a report of the site administration data contained in the package.
1. Start TEM.
2. Select the configuration for the site where you want to export the administration data file and
click Next.
3. In the Feature Maintenance panel, select the Manage Administration Data option under
Teamcenter Foundation and click Next.
4. In the Manage Administration Data panel, select the Full export option and click Next.
5. In the Full Administration Data Export panel, specify the administration data package and the
categories to export and click Next.
a. Click the ... button to the right of the Administration Data Package box to browse to the
location where you want to place the administration data package.
6. In the Teamcenter Administrative User panel, enter the logon information for the Teamcenter
administrative user account and click Next.
On successful export, TEM packages the exported administration data to the specified packaging
directory. The export package contains the administration data in TC XML files that are used later for
importing into another Teamcenter environment.
Note
It is important to be aware of Considerations for partial export of administration data.
You can export specific administration data components using the Partial export option in
Teamcenter Environment Manager (TEM). You select the specific instances of administration data by
category, class, and specific attribute/value criteria.
However, each administrative data type supports only specific elements in partial export, but not all.
For example, Access Manager supports only Named ACL and Privilege elements to be exported
partially, but not rule trees.
1. Start TEM.
a. In the Maintenance panel, select Configuration Manager and click Next.
2. Select the configuration for the site where you want to export the administration data file and
click Next.
3. In the Feature Maintenance panel, select the Manage Administration Data option under
Teamcenter Foundation and click Next.
4. In the Manage Administration Data panel, select the Partial export option and click Next.
5. Use the Partial Administration Data Export panel to specify the administration data to export.
a. Click the ... button to the right of the Administration Data Package box to browse to the
location where you want to place the administration data package.
b. Click the arrow in the Category Name box to select the administration data category to export.
c. Click the arrow in the Export box to select the administration data class to export.
d. Refine the administration data that is exported by using rows in the table.
A. Type the Attribute and Value pair.
Depending on what you select from the Export list, the system may supply an entry for
the Attribute.
B. Click the Add button to the right of the table to add rows for additional attribute/value
pairs and select the Boolean Operator to define how the attributes are added.
To delete an attribute/value pair, select a row from the table and click the Remove button.
C. Click Next.
6. In the Teamcenter Administrative User panel, enter the logon information for the Teamcenter
administrative user account.
On successful export, TEM packages the exported administration data to the specified packaging
directory. The export package contains the administration data in TC XML files used later for
importing into another Teamcenter environment.
Tip
When the export completes, you may want to use the generate_admin_data_report utility
to generate a report of the site administration data contained in the package.
• Partial export of an Organization tree is supported bottom-up and not top-down. For example, if
you have the following tree and you are exporting the group1 group partially, the complete tree
may not be exported. But if you export the user1 user partially, the complete tree is exported.
group1
- role1
- user1
When importing administration data, you can use merge options to control whether the source or
target takes precedence.
Before actually importing data, you can perform a dry run import, and then review the dry run report
to analyze the potential impact and resolve any conflicts. You can perform the dry run import using
either the admin_data_import utility or using Teamcenter Environment Manager (TEM).
You can import administration data using either the admin_data_import utility or using Teamcenter
Environment Manager (TEM).
Perform the dry run data import using the admin_data_import utility
At a Teamcenter command prompt, run the admin_data_import command line utility with the
-dryrun argument.
Note
Use the -mergeOption argument to specify the merge options to set for each data type.
To view the dry run report, after the run completes, browse to the following location:
TC_ROOT\logs\admin_data_import_history\Import_date-and-time\index.html
The following image shows the summary page of an example partial administration data import dry
run report. In an actual report, you can click links to navigate through the report.
Perform the dry run data import using Teamcenter Environment Manager
1. Start TEM.
a. In the Maintenance panel, select Configuration Manager and click Next.
2. Select the configuration for the site where you want to import the administration data file and
click Next.
3. In the Feature Maintenance panel, select the Manage Administration Data option under
Teamcenter Foundation and click Next.
4. In the Manage Administration Data panel, select the Dry run import option and click Next.
5. In the Dry Run Import Administration Data panel, click the ... button in the Administration
Data Package box and select the administration data package. Click Next.
6. In the Import Merge Options panel, select the merge option for each category and click Next.
7. In the Teamcenter Administrative User panel, enter the logon information for the Teamcenter
administrative user account and click Next.
9. In the Install panel, monitor the Overall Progress or select Show Details to see the install status.
To view a dry run report, after the run completes, browse to the following location:
TC_ROOT\logs\admin_data_import_history\Import_date-and-time\index.html
The following image shows the summary page of an example partial administration data import dry
run report. In an actual report, you can click links to navigate through the report.
In this example, the -adminDataTypes=all argument specifies to import all data types available in the
input package, and the -mergeOption argument specifies the merge options to set for each data type.
After the import, access the results from the following location:
TC_ROOT\logs\admin_data_import_history\Import_date-and-time\index.html
2. Select the configuration for the site where you want to import the administration data file and
click Next.
3. In the Feature Maintenance panel, select the Manage Administration Data option under
Teamcenter Foundation and click Next.
4. In the Manage Administration Data panel, select the Import option and click Next.
5. In the Import Administration Data panel, click the ... button to the right of the Administration
Data Package box to select the administration data package to import. Click Next.
6. In the Import Merge Options panel, select the merge option for each category and click Next.
7. In the Teamcenter Administrative User panel, enter the logon information for the Teamcenter
administrative user account and click Next.
9. In the Install panel, monitor the Overall Progress or select Show Details to watch the install
status.
10. After the import, access the results from the following location:
TC_ROOT\logs\admin_data_import_history\Import_date-and-time\index.html
2. Open the file and update the host name and host path with the importing site's host name and
path.
4. Run the update_fms_configuration utility to update the FSC configuration, for example:
update_fms_configuration –u=infodba –p=infodba –g=dba
–volumes=volume-names-in-comma-separated-list -fsc_id=fsc-id
How you set import merge options depends on which method you use to perform the import, either
with the admin_data_import utility or with the Teamcenter Environment Manager (TEM):
• admin_data_import utility
Use the -MergeOptions argument to specify the merge option to use with each administration
data category.
Tip
The default values on this panel are the actions that Siemens PLM Software
recommends you use in most cases to avoid unintentional changes.
If no preferences or only one preference is defined on a style sheet, then the style sheet is not in use.
During import, when the target database is missing one or both preferences for a style sheet, the
import is processed as if both preferences are defined in the target database.
The following tables show details of the import actions taken for the two preferences depending on
whether the preferences exist. The last column shows the target action when you select the import
option Choose Source or Choose Source For Unresolved Conflicts.
ItemSummary.
SUMMARY_REGISTEREDTO
Item. Item. First time created Item. Update using
SUMMARYRENDERING SUMMARYRENDERING at source. SUMMARYRENDERING source package.
ItemSummary.
SUMMARY_REGISTEREDTO
Item. Delete at target. None.
SUMMARYRENDERING
ItemSummary.
SUMMARY_REGISTEREDTO
Item. Item. Delete at source. Item. None.
SUMMARYRENDERING SUMMARYRENDERING SUMMARYRENDERING
Delete at target.
ItemSummary. ItemSummary. ItemSummary.
SUMMARY_REGISTEREDTO SUMMARY_REGISTEREDTO SUMMARY_REGISTEREDTO
Item. Item. Delete at source. Depends on SyncDelete SyncDelete
SUMMARYRENDERING SUMMARYRENDERING option.
Change at target. ON: Delete
ItemSummary. ItemSummary.
SUMMARY_REGISTEREDTO SUMMARY_REGISTEREDTO OFF: Keep target.
1. When you select either the Choose Source option or Choose Source for Unresolved Conflicts option.
Preference import actions for Item Revision and Document Revision datasets cases
Target preferences after Target action with
Source preferences Target preferences Action import a source option2
ItemRevision. ItemRevision. Add at source. ItemRevision. Add at target
SUMMARYRENDERING SUMMARYRENDERING SUMMARYRENDERING site using import
Add at target. package data.
ItemRevisionSummary. ItemRevisionSummary. ItemRevisionSummary.
SUMMARY_REGISTEREDTO SUMMARY_REGISTEREDTO SUMMARY_REGISTEREDTO DocumentRevision
has it own
DocumentRevision. (DocumentRevision inherits DocumentRevision. stylesheet.
SUMMARYRENDERING ItemRevision’s summary SUMMARYRENDERING
style sheet.)
DocumentRevisionSummary. DocumentRevisionSummary.
SUMMARY_REGISTEREDTO SUMMARY_REGISTEREDTO
Note
Because mistakes in the TC XML file can cause corruption and possibly data loss during
import, import of a modified file requires an authorization key. You can obtain the key from
the Global Technical Access Center (GTAC) after passing the Manage Administration
Data self-paced course available from Learning Advantage. The course provides the
information necessary to avoid potential problems when editing the TC XML content of an
administration data file.
de_DE:S:A:0000::Proxy-Link,
en_US:S:A:0000::Proxy Link,
es_ES:S:A:0000::Enlace proxy,
fr_FR:S:A:0000::Lien proxy,
it_IT:S:A:0000::Collegamento proxy,
pt_BR:S:A:0000::Link de proxy
• When editing the attributes that are part of the candidate key, the GSIdentity label of the object,
and the label of the objects that reference the object, must be updated accordingly.
• Ensure all required attributes for the administration object have values.
• After editing the file, validate the complete file content against LLTCXML.xsd file (low-level TC
XML schema) located in the TC_DATA directory to ensure the XML is valid.
2. When importing the modified package in Teamcenter Environment Manager (TEM), select the
Ignore package validation check box.
This enables bulk load functionality that bypasses certain validation checks.
The following image shows the summary page of an example report. In an actual report, you can
click links to navigate through the report to find summaries and details of administration data.
• Troubleshoot configuration differences between two environments to determine why the business
logic is behaving differently.
• Determine if a new setup environment is configured the same as a reference environment.
• Prepare for site consolidation by comparing sites to see what is in common and what is different.
• Determine the differences between a customer environment and an out-of-the-box Teamcenter
environment.
• Compare a baseline export of a site to the same site over time.
To view a generated report, browse to the output location and open the index.html file.
The following image shows the summary page of an example comparison report. Differences are
highlighted in yellow. In a real report, you can click links to navigate through the report to find
summaries and details of administration data.
Example
As you navigate to details of the report, you can easily identify even very small differences.
Permission difference in Access Manager.
To view a dry run report, after the run completes, browse to the following location:
TC_ROOT\logs\admin_data_import_history\Import_date-and-time\index.html
The following image shows the summary page of an example partial administration data import dry
run report. In a real report, you can click links to navigate through the report to find summaries and
details of administration data.
An Administration Data Import (history) report is automatically generated after each successful import
of administration data. Imports can be performed using the admin_data_import command line utility
or Teamcenter Environment Manager (TEM).
The following image shows the summary page for an import report selected from the three available
historic reports. For this import, the only imported administration data category was Organization.
Impacts are highlighted in blue. In a real report, you can click links to navigate through the report to
find summaries and details of administration data.
Headquarters
Europe
Granite Park One
Stephenson House
5800 Granite Parkway
Sir William Siemens Square
Suite 600
Frimley, Camberley
Plano, TX 75024
Surrey, GU16 8QD
USA
+44 (0) 1276 413200
+1 972 987 3000
Asia-Pacific
Americas
Suites 4301-4302, 43/F
Granite Park One
AIA Kowloon Tower, Landmark East
5800 Granite Parkway
100 How Ming Street
Suite 600
Kwun Tong, Kowloon
Plano, TX 75024
Hong Kong
USA
+852 2230 3308
+1 314 264 8499