Updating SAP ABAP Systems on UNIX and Linux: SAP MaxDB

Important Entries for the Shadow Instance Installation

This chapter deals with the shadow Instance installation.

The Software Update Manager creates the profiles, directories, and further prerequisites for the shadow instance.

In the following, we go into detail of some important phases:

Reusing Shadow Instance Profiles (Phase SHDINST_CPY)

If you have made a backup of the save directory from a previous upgrade, you can now use the profiles for the shadow instance that have been stored in the directory.

If you want to use the shadow instance profiles, make sure that the save directory has been copied to the SUM directory and confirm the prompt with Yes.

SAP MaxDB Parameters (Phase SHDINST_SDB_CHK)

The Software Update Manager checks the SAP MaxDB database parameters. If the parameters do not match the specified values, the update might terminate due to insufficient database resources. The database parameter MAXLOCKS must be greater than 800000.

The database parameter PACKET_SIZE must have a value of 131072.

You receive a warning if the parameter sizes are too small. The database parameter MAXUSERTASKS must be set so that the shadow system and another 15 database users can log on to the database.

The Software Update Manager informs you of the minimum additional USERTASKS.

If at least one of your application servers was stopped when the check was made, you have to include the number of stopped disp+work processes when you set the MAXUSERTASKS parameter.

The Software Update Manager also checks if there are bad indexes in the database. You can reactivate (re-create) the relevant indexes using the Database Manager GUI or the Database Studio (as of version 7.8):

Procedure for Database Manager GUI
  1. To display the bad indexes, choose Start of the navigation pathRecovery Next navigation step Index Next navigation step SelectEnd of the navigation path.

  2. In the index display of the Database Manager GUI, select the relevant indexes. You can use the Select all button.

  3. Choose Recreate.

Procedure for Database Studio
  1. To display the bad indexes, log on to the database (explorer view) as database schema user.

    1. In the explorer view, expand the schema to which the indexes belong.

    2. In the context menu of the Indexes folder, choose Show Indexes.

    3. Specify the display criteria Only Bad Indexes and choose Refresh.

  2. In the context menu of each damaged index, choose Recreate.