Professional Documents
Culture Documents
Introduction
This document describes how you install, upgrade and remove an Identity Center database. The roles and users that the Identity Center installation creates are described on page 2. The following description uses the variable <prefix> to indicate that the database name can be modified for each installation. The default prefix is mxmc. If you want several Identity Center databases within the same SQL Server, each Identity Center database must have a different <prefix>. For details, see page 5. This description applies to both Microsoft SQL Server 2000 and Microsoft SQL Server 2005. Make sure the necessary configuration is done on the server running the database. See page 3 for details.
Script files
The following scripts are used to install, upgrade or remove the Identity Center database: Script mxmc-install.cmd Description Creates an Identity Center database. Calls the script mxmc-xinstall.cmd with default values for database prefix, host name and user name (sa). Updates an Identity Center database. Calls the script mxmc-xupdate.cmd with default values for database prefix, host name and user name mxmc_oper. Removes an Identity Center database. Calls the script mxmc-xremove.cmd with default values for database prefix, host name and user name (sa). Creates an Identity Center database with a given prefix. Requires the parameters database prefix, host name, user name (sa) and password. Updates an Identity Center with a given prefix. Requires the parameters database prefix, host name, user name <Prefix>_oper) and password. Removes an Identity Center database with a given prefix. Requires the parameters database prefix, host name, user name (sa) and password. Account (run as) The script prompts for the password for sa and the passwords for the database users created during the installation. The script prompts for the password for the mxmc_oper user. The script prompts for the passwords for sa. Runs as sa (system administrator) Run the script without parameters to see what is required. Runs as <prefix>_oper. Run the script without parameters to see what is required. Runs as sa. Run the script without parameters to see what is required.
mxmc-update.cmd
mxmc-remove.cmd
mxmc-xinstall.cmd
mxmc-xupdate.cmd
mxmc-xremove.cmd
When you have run one of the scripts, a log file is created. The name of the log file is <prefix>_logfile.log.
Page 2 of 12
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
<prefix>_user_role
<prefix>_rt_role
<prefix>_prov_role
to
alter database [mxmc_db] COLLATE Japanese_CI_AS
3.
Continue with the installation as described in "SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)".
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
Page 3 of 12
Page 4 of 12
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
If you do not specify the password on the command line, you are prompted for it when you run the command file. 3. The result of the command file is a list of available databases or an error message. If you receive an error message, there is a problem with your database installation or configuration, and the Identity Center database installation scripts will not be able to access the database. You need to correct the problem before you continue. Please see the SQL Server documentation for details.
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
Page 5 of 12
You are prompted for the password for sa. You are also prompted for the password for all logins created by the Identity Center installation scripts. You must confirm all passwords to ensure that you do not accidentally enter the wrong password. When the file completes without error messages, the database is installed correctly. You can also check the log file <prefix>_logfile.log. 3. Close the command prompt window.
The database is now installed and ready for use by the Identity Center. See the "SAP NetWeaver Identity Management Identity Center: Installing Management Console & Runtime Components" and "SAP NetWeaver Identity Management Identity Center: Installation overview" for more information.
Page 6 of 12
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
3.
Start the Identity Center configuration interface and add an Identity Center configuration for the database. See the Identity Center help file for details.
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
Page 7 of 12
3.
Page 8 of 12
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
If you do not provide the password for the <prefix>_oper user on the command line, you are prompted for it when you run the command file. 3. Close the command prompt window.
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
Page 9 of 12
Upgrading from MaXware Identity Center 7 to SAP NetWeaver Identity Management Identity Center 7.0
To upgrade from MaXware Identity Center 7 to SAP NetWeaver Identity Management Identity Center 7.0, you may need to do that in two steps. 1. 2. If necessary, upgrade to build 63 as described below. Upgrade to the current build. See page 7.
Upgrading to build 63
The \updates directory contains all updates to the Identity Center database. Each update is a separate file with a sequence number, where the newest update has the highest sequence number. First you have to identify and install any necessary updates before you upgrade the database procedures. To upgrade the Identity Center database schema: 1. 2. Start the SQL Query Analyzer and log in as "<prefix>_oper". Open and run the script file \updates\show-updates.sql.
3. 4.
Identify all updates with a higher update number than the highest update number returned from the database. Run each update script in SQL Query Analyzer, for instance Updates\Update-00035.sql. Note: If you changed the prefix of the database when you installed it, you must replace the original prefix with the prefix of the database in all relevant update-xxxxx.sql files.
The updates must be run in sequence starting with the update with the lowest update number. 5. When all updates are installed, open and run the file 4-create-procs.sql to update the database procedures.
Page 10 of 12
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
3.
If you do not provide the password for sa on the command line, you are prompted for this password. 3. Close the command prompt window.
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
Page 11 of 12
The full-text search is enabled by running the script described below. If you run the script on a large database, it may take some time to complete. For performance reasons, you should disable full-text search while doing a bulk load in the database. This is done by stopping the service "SQL Server FullText Search" in the Control Panel (Administrative Tools/Services) before the bulk load and enabling it again when the bulk load is complete. The full-text index is created with the language defined for the database server. If you need to specify another language for the full-text index, use the database tool to create the full-text index, where you can specify the language option. For details about how to administer the full-text search, see the documentation for the Microsoft SQL Server.
Page 12 of 12
SAP NetWeaver Identity Management Identity Center: Installing the database (Microsoft SQL Server)
3.
Enabling full-text search for an Identity Center database with a given prefix
To enable full-text search: 1. 2. Open a command prompt and navigate to the directory containing the Identity Center script files. Run the command file mxmc-xenable-fulltext.cmd. The command file has four parameters: Prefix Host name of the computer running the SQL Server User name for the <prefix>_oper account Optional: Password for <prefix>_oper
If you do not provide the password for <prefix>_oper on the command line, you are prompted for this password. 3. Full-text is enabled on the database.