Previous Contents Index Next |
BuyerXpert 4.1 SP3 Upgrade Guide |
Chapter 3 Using the Upgrade Utility
to Automate Data Migration
This chapter describes how to automate the migration of data modules from BuyerXpert 3.x to 4.x using the Upgrade utility. It contains the following sections:
Pre-Upgrade Tasks
How to Use the Upgrade Utility
Pre-Upgrade Tasks
You should complete the following tasks before using the Upgrade utility.
Backup BuyerXpert Data
You need to coordinate the backup of LDAP directory data, import files, customization files, and staging files before you begin installing BuyerXpert 4.x.
Set Up UNIX Access Permissions
The following UNIX permissions are required:The Oracle users for both the default and staging data sources must have DBA privileges in order to run the Approval Log component.
Determine Data Import File Location Defaults
The data import files created by the Upgrade utility are stored in the /tmp directory. You may want to change this default because he /tmp directory is emptied each time you reboot a UNIX. To do so, change the default location in the upgradeinfo.ntv file.
Set Up a Staging Environment
It is useful to set up a staging environment on a different UNIX system before installing the Upgrade utility and migrating your data. Later, you can use your staging environment as a production environment.The staging environment should meet the following requirements:
The machine meets all the minimum hardware and software requirements for BuyerXpert 4.x. See the BuyerXpert Installation Guide for specific hardware and software requirements.
BuyerXpert 4.x is installed and configured, along with all dependent and certified BuyerXpert software.
Instances of BuyerXpert required applications should not be used by any other application. This includes Oracle, the iPlanet Application Server, and the iPlanet Directory Server.
Installing BuyerXpert 4.x
To access the Upgrade utility, you must install a dedicated installation of BuyerXpert 4.x and its components. To install BuyerXpert 4.x, follow the instructions in the BuyerXpert 4.x Installation Guide, chapter 4, "Installing BuyerXpert".At the end of the installation, you will be asked if you want to install the Upgrade utility. Answer yes and BuyerXpert will install the Upgrade utility.
How to Use the Upgrade Utility
The Upgrade utility provides a graphical interface that allows you to initiate, manage, and monitor upgrade sessions. At any point you can stop the Upgrade utility and restart it at a later time.The Upgrade utility allows you to migrate the following BuyerXpert data modules:
Membership
Data Migration Tasks
You can automate the data migration from a BuyerXpert 3.x instance to a BuyerXpert 4.x instance using the Upgrade utility by completing the following tasks:
Create or define a profile on the Select Profile screen.
Select the components to upgrade on the Select Components to Upgrade screen.
Configure the site parameters by specifying the source parameters you are upgrading from and the destination parameters you are upgrading to on the Specify Site Parameters screen.
Select the modules to upgrade and run the profile for each from the Run Selected Modules screen.
Importing Large Amounts of Data
If you are importing large amounts of data from BuyerXpert 3.x to BuyerXpert 4.x to the Import utility, you can increase performance by selecting smaller increments of information to import at one time. For example, instead of importing all user groups for the membership component, you can select two or three user groups at a time.
Upgrading Membership
Upgrading the BuyerXpert membership component consists of migrating all user, organization, organizational unit, user group, and location. The membership module contains the following components:The Upgrade utility migrates the relationship between different membership components. The organizational hierarchy is represented through the organizational units and locations are migrated as part of the organization upgrade. Users are migrated as part of the organization upgrade.
Note All migrated users are give the password "iplanet" and have selfadmin privileges.
- You must migrate an organization and all of its users before you can migrate the user groups.
Access Control
Migrating membership access control data is conservative. If a migrated user does not have equivalent privileges in BuyerXpert 4.x, the user is given lower access privileges.
Note All migrated users are give the password "iplanet" and have selfadmin privileges. You should set up a dummy upgrade user with superadmin privileges in your BuyerXpert 4.x system.
Upgrading Catalogs
You can migrate all catalogs or selected catalogs from BuyerXpert 3.x (CADIS) to BuyerXpert 4.x.Each catalog is exported to an XML file that contains the extracted catalog data. BuyerXpert passes the XML file to the Catalog Loader, which imports the catalogs for use in BuyerXpert 4.x. The top level category in each XML file is the name of the individual catalogs.
Upgrading Order Management System (OMS)
The Order Management System (OMS) module contains the following components:
Price ListsPrice Column, Price Item, Price List Information
The data migration process uses the following mapping between Adjustment name in BuyerXpert 3.x and BuyerXpert 4.x:Payment InstrumentsPayment Type, Payment Subtype, Instrument, Credit Card Instrument
UnitsUnit Class, Unit Conversion Table, Unit Conversion Table Entry
Table 3-1    Adjustment Component Mappings
BuyerXpert 3.x Template Name
BuyerXpert 4.x Template Name
Note You will need to rename any BuyerXpert 3.x adjustments that are not listed above before you can migrate them.
To migrate the membership module, select the components you wish to migrate from the Select Components to Upgrade screen to add them to your current profile.
Upgrading Commodity Codes
The commodity codes module does not contain any subcomponents. To migrate the commodity codes from BuyerXpert 3.x to BuyerXpert 4.x, select Commodity Codes in the Select Components to Migrate screen to add the components to your current profile.
Upgrading Accounting Codes
The accounting codes module does not contain any subcomponents. To migrate the accounting codes from BuyerXpert 3.x to BuyerXpert 4.x, select Accounting Codes in the Select Components to Migrate screen to add the components to your current profile.
Upgrading Business Rules
The Select Rule Modules to Upgrade screen allows you to select the following rule components and add them to your current profile:
Upgrading Permissions
To migrate the permission module, select the components you wish to migrate from the Select Components to Upgrade screen to add them to your current profile. The permissions components are as follows:
Upgrading Approval
To migrate the approval module, select the components you wish to migrate from the Select Components to Upgrade screen to add them to your current profile. The approval components are as follows:
Using the Upgrade Utility User Interface
To start the Upgrade utility, access the following location. For example:http://host_name:port_number/NASApp/upgrade/WelcomeProfile
The Select Profile screen displays.
Select Profile Screen
The Select Profile screen is the first welcome screen and allows you to define the profile for an upgrade session.![]()
The following functions are available:
Run ProfileThe Run Selected Modules screen displays.
To create a new profile, follow these steps:Edit ProfileThe Select Components to Upgrade screen displays.
Remove ProfileThe selected profile is removed.
Create New ProfileAllows you to create a new profile.
Drop ImpExp TablesDeletes all information about the previous session (such as import data, log files, and report files).
Click Create New Profile. The Profile Name screen displays:
Enter a profile name and select Next.
![]()
- You are prompted to enter a name for the new profile.
- The Select Components to Upgrade screen displays.
![]()
Select Components to Upgrade Screen
- The Select Components to Upgrade screen allows you to select the modules you want to upgrade. After you select the components you want to upgrade, you can choose to configure the profile or run the profile:
ConfigureThe Specify Site Parameters screen displays.
Specify Site Parameters Screen
The Specify Site Parameters screen lets you define the BuyerXpert 3.x source parameters you are upgrading from and the BuyerXpert 4.x destination parameters you are upgrading to.Table 3-2 lists the BuyerXpert 3.x source parameters and the BuyerXpert 4.x destination parameters.
Table 3-2    Upgrading Source Parameters
BuyerXpert 3.x Source Parameters
BuyerXpert 4.x Destination Parameters
Run Selected Modules Screen
The Run Selected Modules screen lets you select which module(s) to upgrade. The following functions are available:
Run ModuleThis function upgrades the data modules you select. The Run Selected Modules screen allows you to select the data module you want to upgrade.
Run Above Selected ModulesThis function is the same as Run Module, except you can select multiple modules that are all updated at one time.
Run Module in Express ModeThis function allows you to run both the data export and import processes. The Run Selected Modules screen allows you to select the data modules you want to upgrade.
Run Report for ModuleThis function allows you to generate a report for the upgrade session. The Get Report screen displays, which allows you to generate a report for the selected modules.
Change ProfileThis function allows you change profiles. The Select Profile screen displays, which allows you to select and change a profile.
Selecting Modules to Upgrade
The Run Selected Modules screen displays when you select Run Profile from the Select Components to Upgrade Screen.
Select the modules you wish to upgrade and click Next to continue with the data migration process. The Run Selected Modules screen displays.
![]()
Select Run Modules or Run Above Selected Modules to upgrade the data modules you selected. The Export in Progress screen displays.
The Export Completed screen displays when the date export process completes.![]()
Upgrade Status Screen
The Upgrade Status screen displays during the import process. It allows you to monitor the import process or stop an upgrade session.![]()
Get Report Screen
The Get Report screen allows you to generate a report for the upgraded modules. The following functions are available:
Get a ReportDisplays the data import report for the Upgrade utility session.
Get a Log FileDisplays the data import log for the Upgrade utility session.
![]()
Migrating Multi-Organizational Data
The Upgrade utility allows you to migrate data from a single organization structure into a multiple-organizational hierarchy structure. After you migrate the first BuyerXpert 3.x instance to a BuyerXpert 4.0 instance, additional BuyerXpert 3.x instances can be migrated to the BuyerXpert 4.0 instance.This is achieved by modifying the following:
The following items need to be changed from the Configuration screen of the Upgrade utility:
Catalog destination (if migrating catalogs)
Modifying the LDAP Configuration
To eliminate the requirement of UID uniqueness across multiple organizations, complete the following tasks:
Start the console application and open the directory server that contains your data.
Change to your LDAP server configuration directory. For example:
% cd /export/console/slapd-machine-name/config
Open the slapd.ldbm.conf file in a text editor.
Comment out the following line by inserting a # sign.
Restart the LDAP server.
- # Plug in pre-operation on "uid uniquenes" /export.........
Disable UID Uniqueness
You should disable UID uniqueness, which is set by default to the root directory during installation, by using the following procedure:
Start the console application and open the directory server that contains your data.
Modifying the Membership Import Files
You need to modify the membership import files when you migrate a single organization structure to a multi-organization structure when you migrate membership data.To do so, complete the following steps to change the parent of the organization you are importing:
Use the Run Selected Modules screen to select the membership module to upgrade on the Run Selected Modules screen (see "Select Components to Upgrade Screen"). Do not select Express mode. Instead, select Run Module or Run Above Selected Modules.
Change to the destination directory that contains the import .imp files. For example:
- The Upgrade utility begins the upgrade process for the membership module. When the data export completes, leave your browser open. Do not click Next to proceed with the import
Open the following file in a text editor:
Search for the line that contains the word organization. For example,
- For example, open orgunits_2000_10_11_04_40.imp.
insert_overwrite, Organization
^name,parent_org,duns_number,legal_type,display_name,\
description,definable_id,status,effective_from_date,effective_to_da te,\
email_adresses,websites,telephone_number,fax_number,\
postal_address1,postal_address2,postal_address3,postal_address4,pos tal_address5,postal_address6
John Hancock,,99-999-1701,C_CORP,John Hancock Mutual Life Insurance Co.,,2000,\
enabled,01/02/1970,12/30/2036,\
,USA,^617^572-6000^,^617^572-7756^,\
Insert the following text o the right of the organization name, between the commas. For example:
[Organization name=name_of_parent_org]
Return to your browser window. Click Next to continue importing data.
Previous Contents Index Next
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2000 Netscape Communications Corp. All rights reserved.
Last Updated October 08, 2001