Академический Документы
Профессиональный Документы
Культура Документы
1 Upgrade Supplement
Package
Interwoven, Inc.
th
803 11 Avenue
Sunnyvale, CA 94089
Tel: 408-774-2000
Fax: 408-774-2002
www.interwoven.com Version 1.0
Interwoven Services
September 12, 2007
© Copyright 2007 Interwoven, Inc. All rights reserved. ANY RESOLUTION, ANYWHERE, CONFIRMSITE, CONTROLHUB,
DESKSITE, FILESITE, IMANAGE, IMANAGE & DESIGN, INTERWOVEN, INTERWOVEN & DESIGN, INTRAGO, LIVESITE,
MEDIABIN, METACODE, METAFINDER, METASOURCE, METATAGGER, OFFSITE, OPENDEPLOY, PRIMERA,
SMARTCONTEXT, SMARTPUBLISHER, STING, STING TECHNOLOGY & DESIGN, TEAMCATALOG, TEAMSITE,
TEAMTURBO, TEAMXML, TEAMXPRESS, WORKDOCS, WORKPORTAL, WORKROUTE, WORKSITE, WORKTEAM, the
respective taglines, logos and service marks are trademarks of Interwoven, Inc., which may be registered in certain jurisdictions.
All other trademarks are owned by their respective owners.
9/13/2007
Interwoven Confidential
Table of Contents
Introduction..................................................................................................................................... 4
Product Documentation .............................................................................................................. 4
Features and Effect on Upgrade...................................................................................................... 4
Flexible roles support in TeamSite 6.7 ....................................................................................... 4
TeamSite server running as non-root user on Solaris and Linux................................................ 6
Solaris 10 support in TeamSite 6.7 (Solaris 8 is no longer supported)...................................... 6
Search (if your current TeamSite version is 6.1 and before) ...................................................... 6
Features that can be implemented post upgrade ............................................................................. 6
User and Group Management Enhancements............................................................................. 6
New Workflow modeler Client to Design Workflows. .............................................................. 6
New user impersonation scheme on windows in TeamSite 6.7.1............................................... 7
TinyMCE support in addition to Ektron VFE in TeamSite 6.7.1. .............................................. 7
Existing configuration and Effect on Upgrade to 6.7.1 .................................................................. 7
Start with Cleanup....................................................................................................................... 7
Planning your Upgrade ............................................................................................................... 7
Upgrade vs. Fresh Install ............................................................................................................ 8
Migrating your backing store...................................................................................................... 8
Upgrade Approach Considerations ............................................................................................. 8
Upgrade Paths ................................................................................................................................. 8
Upgrade from 6.7.0 to 6.7.1........................................................................................................ 9
Upgrade from 5.5.2 or before to 6.7.1 ........................................................................................ 9
Upgrade on Windows 2000, Windows 2003 .............................................................................. 9
Checklist ................................................................................................................................. 9
Upgrade on Windows 2000, Windows 2003 Diagram ......................................................... 10
Upgrade on Solaris 9................................................................................................................. 11
Checklist ............................................................................................................................... 11
Upgrade on Solaris 9 Diagram.............................................................................................. 12
Fresh Installation on Windows 2000, 2003 and manual copy of old backing store ................. 13
Checklist ............................................................................................................................... 13
Fresh Installation on Windows 2000, 2003 and manual copy of old backing store Diagram
............................................................................................................................................... 14
Fresh Installation on Solaris 9 or 10 and manual copy of old backing store ............................ 15
Checklist ............................................................................................................................... 15
Fresh Installation on Solaris 9 or 10 and manual copy of old backing store Diagram ......... 16
Fresh Installation on Linux Redhat AS4 and manual copy of old backing store ..................... 17
Checklist ............................................................................................................................... 17
Fresh Installation on Linux Redhat AS4 and manual copy of old backing store Diagram .. 18
Detailed Description of Upgrade/Fresh Installation Steps............................................................ 19
Non-root support and migrate_non_root .................................................................................. 19
Running iwusermigrate............................................................................................................. 19
Running iwaccessmigrate – Associating user with particular roles on each branch ................ 20
Running iwidmap – Resolving user/group ids.......................................................................... 22
Introduction
This document is intended to serve as a best practice guide for customers upgrading an existing
Interwoven installation to 6.7.1. The document will refer to support articles where necessary to
provide a detailed description of any given step in the upgrade. Interwoven’s goal as an
organization is to prepare you to go live with TeamSite 6.7.1.
It is strongly suggested that you read the product documentation before reading the upgrade
supplement. This will help you understand the supported platforms, new features of the
TeamSite 6.7.1 platform and the purpose of the upgrade steps. Please make sure that you are
installing TeamSite 6.7.1 to be followed by the latest patch or the latest service pack.
Product Documentation
Product Documentation 6.7.0 The TeamSite Administration Guide is a guide to
TeamSite Administration configuring and maintaining TeamSite. It is primarily
Guide intended for TeamSite Administrators and Master users, and
for web server administrators and system administrators.
Product documentation 6.7.0 The TeamSite Install Guide is a guide to installing TeamSite
TeamSite Installation Guide 6.7.X. It is intended primarily for TeamSite Administrators
who will perform the installation.
Product Documentation 6.7.0 TeamSite Command-Line Tools describes each TeamSite
TeamSite Command Line command-line tool (CLT) and command trigger, including
Tools syntax and usage examples. It is intended primarily for
TeamSite Administrators and Master users, and for web
server administrators and system administrators.
6.7.0 ContentCenter The TeamSite ContentCenter Professional User Guide is a
Professional User Guide guide to using the Professional interface of the TeamSite
product. It is primarily intended for advanced TeamSite
users.
6.7.0 ContentCenter Standard The TeamSite ContentCenter Standard User Guide is a guide
User Guide to using the Business User interface of the TeamSite product.
It is primarily intended for TeamSite authors.
Developers Guide The TeamSite FormAPI Developers Guide is a guide for
developing FormAPI for TeamSite forms. It is intended for
TeamSite developers.
FormsPublisher Developers The TeamSite FormsPublisher Developers Guide is a guide
Guide for developing TeamSite forms. It is intended for TeamSite
developers.
User Interface Customization The User Interface Customization Guide is a guide to
Guide customizing the TeamSite interface. It is intended for
TeamSite developers and administrators.
6.7.0 Workflow Developer The Workflow Developer Guide is a guide for building
Guide TeamSite workflows. It is intended for TeamSite developers
Product Documentation
and administrators.
Product Documentation 6.7.1 This document contains release notes for TeamSite® 6.7.1.
TeamSite Release Notes
The features below necessitate either additional migration steps during upgrade installation or
require a fresh installation followed by manual migration steps.
Workflow Modeler is installed separately from TeamSite, and must be integrated with TeamSite
following installation. A SOAP license is available to you for configuring the integration. For
information on the Workflow Modeler install please review this DevNet forum
http://devnet.interwoven.com/forums_vb/showthread.php?t=18319&forumid=11.
Upgrade Paths
The different upgrade paths are outlined in the table below and fully described in the following
sections.
Path Description
Upgrade from 6.7.0 to 6.7.1 You will be able to perform a straight upgrade.
Upgrade from 5.5.2 or before to 6.7.1 You are on a version that is no longer
supported, your upgrade might be complex. It
is suggested you call your consulting manager.
Path Description
Paths for Customers currently running TeamSite 6.5 SP3 or before
Upgrade on Windows 2000, Windows 2003 Applicable if your current TeamSite version is
6.5sp3 and before
Upgrade on Solaris 9 Applicable if your current TeamSite version is
6.5sp3 and before
Fresh installation on windows 2000, 2003 Applicable if backing store from current
and manual copy of old backing store TeamSite installation on windows 2000/2003
Fresh installation on Solaris 9 or 10 and Applicable if backing store from current
manual copy of old backing store TeamSite installation on Solaris 8, 9
Fresh installation on Linux Redhat AS 4 and Applicable if backing store from current
manual copy of old backing store TeamSite 6.1 Linux or TeamSite 6.1 AIX
installation or from current Solaris 8/Solaris
9/Solaris 10 TeamSite installations
iwusermigrate
Verify if
tsusers.xml has
all TeamSite
users. See
Running
iwusermigrate Run iwmigrate if
section needed. See Running
iwmigrate section for
details
Iwaccessmigrate.
See section on
Running End
iwaccessmigrate
Migrate_customtk.ipl.
See Running
migrate_customtk.ipl
section for more
details
Upgrade on Solaris 9
Checklist
Step # Description Complete
1 TeamSite installation
2 Map roles to new paradigm (using iwusermigrate)
3 TeamSite no longer runs as root (run migrate_non_root)
4 Reboot server and verify if role mapping is correct
Verify all User IDs are present
5 Map user permissions to new paradigm (using iwaccessmigrate)
6 Map permissions for custom menu items (using
migrate_customtk.ipl)
7 Cleanup and re-index backing store if using search
Note: Review sections below for a detailed explanation of some of the steps with references to supporting articles
TeamSite 6.5 sp3 and before on TeamSite 6.5 sp3 and before on
Solaris 8 Solaris 9
Upgrade
Solaris 8 to
Solaris 9
iwusermigrate Migrate_non_root
Verify if
tsusers.xml has
all TeamSite
users. See
Running
iwusermigrate Run iwmigrate if
section needed. See Running
iwmigrate section for
details
Iwaccessmigrate.
See section on
Running End
iwaccessmigrate
Migrate_customtk.ipl.
See Running
migrate_customtk.ipl
section for more
details
Fresh Installation on Windows 2000, 2003 and manual copy of old backing store
Checklist
Step # Description Complete
1 Freeze TeamSite server
2 Manual copy of backing store
3 6.7.1 TeamSite Installation
4 TeamSite reboots and Restarts
5 Stop TeamSite
6 Remap local OS user/group id info (using iwidmap)
7 Copy uid files or configure LDAP
8 Reboot server and Verify if role mapping is correct
Verify all User IDs are present
Fresh Installation on Windows 2000, 2003 and manual copy of old backing store Diagram
Fresh Installation on Solaris 9 or 10 and manual copy of old backing store Diagram
Iwaccessmigrate. See
section on Running
iwaccessmigrate
Stop TeamSite
Run iwmigrate if
needed. See Running
iwmigrate section for
more details
Fresh Installation on Linux Redhat AS4 and manual copy of old backing store
Checklist
Step # Description Complete
1 Freeze TeamSite server
2 Manual copy of backing store
3 Reset backing store ownership
4 6.7.1 TeamSite Installation
5 TeamSite reboots and Restarts
6 Stop TeamSite
7 Remap local OS user/group id info (using iwidmap)
8 Copy uid files or configure LDAP
9 Reboot server and Verify if role mapping is correct
Verify all User IDs are present
10 Map user permissions to new paradigm (using iwaccessmigrate)
11 Copy configuration files
12 Map permissions for Custom Menu items (using
migrate_customtk.ipl)
13 Clean-up and Re-index backing store if using search (using
iwmigrate)
Note: Review sections below for a detailed explanation of some of the steps with references to supporting articles
Fresh Installation on Linux Redhat AS4 and manual copy of old backing store Diagram
Iwaccessmigrate. See
section on Running
iwaccessmigrate
Stop TeamSite
Run iwmigrate if
needed. See Running
iwmigrate section for
more details
After installation, if you do not have a 6.7.1 backing store, you MUST reset permissions and
ownership of the store or you will receive an error. Run the following UNIX commands to reset
permissions and ownership:
su - root
chown –R iwts bs_store_path
chmod –R +x bs_store_path
Do not run the migrate_non_root script, which is invoked by the installer, to reset permissions
on the store. This script also modifies files in iw-home and elsewhere.
Running the migrate_non_root script during installation or running the UNIX chown and
chmod commands on the backing store may be a moderately lengthy process. It can take a short
number of hours to run over all the backing stores. Starting in TeamSite 6.7.1 SP1, you can
make use of a script iwhome/private/bin/walkArchive.pl which does the equivalent of
chown and chmod steps at a much faster pace.
Running iwusermigrate
Prior to 6.7.0, user and role information were defined in either .uid files - i.e. author.uid,
editor.uid, admin.uid, and master.uid - or in attributes in LDAP, in the case where
TeamSite is configured to use the ldap_roles key in iw.cfg.
Role-specific information is associated with particular branches in 6.7 and has been moved to the
backing store. Each branch now contains a list of users and groups and the roles they have on
that branch. The only role information read from tsusers.xml or tsldapuserscache.xml is
master acess.
Iwusermigrate clt is used to process uid files (or LDAP) and produce tsusers.xml (or
tsldapuserscache.xml).
During an upgrade installation of 6.7.0 (or higher), the installer automatically runs the
iwusermigrate clt to create the tsusers.xml (or tsldapuserscache.xml) file.
In a fresh installation, iwusermigrate clt needs to be run manually. Before running the clt,
please make sure to copy over uid files from your current installation to iwhome/conf/roles
directory. If your current TeamSite installation is configured to keep login role information in
LDAP, before running the iwusermigrate clt, please make sure to copy the [authentication]
section of iw.cfg from your current TeamSite installation to the new installation.
The output of the command is a list of all TeamSite users. Please make sure that the list is
complete and no TeamSite users are missing.
Alternatively, when the server is started subsequently, you can run “iwuseradm list-users –
t” command to get the list of all TeamSite users in the system.
It is strongly recommended that you verify that the user list is complete before proceeding to the
next upgrade step. If the list is not complete, the subsequent iwaccessmigrate step will not
have sufficient data to correctly associate users with particular roles on each branch.
1. List of all TeamSite users and their highest role. (from uid files or LDAP). Please keep in
mind that TeamSite roles in the old model are hierarchical. Master is the highest role,
followed by admin, editor and author in that order.
2. List of all groups a user is a member of. Iwaccessmigrate retrieves this information by
making calls to the iwserver process. The server builds this information when it starts.
3. Owner and group-for-sharing attribute of all the branches and workareas across all stores.
Iwaccessmigrate retrieves this information by making calls to the iwserver process.
4. The file-system permission of branch and workarea root directory of all branches and
workareas of all stores. Iwaccessmigrate retrives this information by making calls to
the iwserver process.
To ensure you have item 1 in the correct state, verify that iwusermigrate is run properly. See
“Running iwusermigrate” section for more details.
When the server is started with item 1 in the correct state, it will build the membership
information of all TeamSite users in memory. To verify item 2 is in the correct state, you can
choose a sample group of users and run the command “iwgroup list-groups-of-user –
recurse <user> to check if the membership information is correct.
Once you have verified that all of the items above are in order, you can run the
iwaccessmigrate clt. When running the clt, it is strongly recommended that you first run it
with the –m option. This option will only create a manifest file,
iwhome/local/logs/accessresults.xml, and not apply the changes yet. You should consult
the manifest file and ensure that users are assigned correct roles to branches they are currently
using. Once you have verified that the accessresults.xml is correct, you can simply feed the
manifest file back to the iwaccessmigrate clt and apply the changes this time. You should use
–f <manifest-file> option for this.
In the event that you still needed to re-run iwaccessmigrate, the following support article
guides you with the re-run process.
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=57148
Please note that for backward compatibility, TeamSite 6.7 continues to support the old method of
specifying role restrictions for custom menu items and tabs, but only for the predefined roles of
Author, Editor, Administrator, and Master. This allows customers to defer
migrating already defined custom menu items and tabs to the new permission scheme as
long as they are working with just the roles as defined out-of-the-box.
Please refer to the UI customization guide and the TeamSite 6.7.1 supplement guide Appendix B
(Migrating existing customization) for more details.
Configuration files
Changes in configuration and customization files will need to be brought over manually from the
original installation. In some cases, such as for iw.cfg, you may need to merge changes made in
the source file into the destination file, instead of overwriting it. Exactly which files need to be
copied or merged will differ from one installation to another, because of variations in the level of
configuration and customization among customers. In most cases, this process should be done
manually and with care, and you should compare the source file with the destination file, if it
exists, so that you do not overwrite new configuration information at the destination site.
Running iwmigrate
In TS6.5.0, the search facility was introduced. In some cases, for installations with pre-existing
backing stores from TS6.1 or earlier, the initial indexing phase of search would put undue stress
on the TeamSite server’s memory utilization. If these backing stores contain editions with large
directories, the server would run out of memory during indexing (at around 2GB on Solaris and
1.5GB on Windows) and crash.
Luckily, TS6.5.0 also introduced a more compact representation of directory metadata in the
backing store. This compact format consumes much less process memory, so search indexing of
6.5 stores do not cause the server to run out of memory and crash.
If your pre-6.5 backing store contains large directories then it may have to be converted using the
iwmigrate clt to the more compact representation before search can be enabled safely. To
determine whether your backing store has large directories, you can use a command line script
called chkfatdir.ipl. Please refer to the following support article for the script.
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=57393
If the answer comes back yes, then please run iwmigrate. Please refer to the following support
article for proper usage of iwmigrate.
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=55358
Please keep in mind that the iwmigrate clt only migrates editions. If you need to migrate the
workareas also, you will have to recreate the workareas on the target store and manually copy the
workarea content over using the file-system interface. Please ensure that you are using the
“preserve permission” option of the copy command. For example, if you use the UNIX cp
command, specify the “-p” option.
Running iwmigrate can be a lengthy process, potentially taking many hours, so plan
accordingly.
Below are additional support articles that can be useful. You can also search for ‘iwmigrate’ in
the support site for additional articles.
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=55361
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=58140
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=58113
References
Below is a list of additional support articles that you can use as collateral in your upgrade
process.
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=57148
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=55361
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=57226
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=57880
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=57229
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=57393
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=58605
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=55361
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=58140
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=55358
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=58113
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=57393