Installing an SAP Solution Manager Java System

Objective

After completing this lesson, you will be able to install an SAP Solution Manager Java System

Installing an SAP Solution Manager Java System

Installing SAP Solution Manager Java

SAP Solution Manager 7.2 needs two separate SAP systems to work as designed. One of those SAP systems is AS ABAP-based, the other on is AS Java-based. Both systems need to cooperate closely to offer all functions delivered with SAP Solution Manager 7.2. Therefore, during the installation of the SAP Solution Manager ABAP we will encounter elements that refer to SAP Solution Manager Java, and vice versa.

Start SAPinst

For this installation, we make use of the option SAPinst offers to install the SAP system using a virtual host name. On Windows, the usage of virtual host names requires certain preparation steps. Aside from other preparation steps (not further detailed here) we need to add a registry key to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0, named BackConnectionHostNames set to the values, in our case: smxhost.wdf.sap.corp and smxhost. This allows us to connect to our training server using the names listed.

Note

Please read SAP Note1564275: How to Install SAP Systems Using Virtual Host Names on Windows for further information on the required steps for using virtual host names on Windows.

Note

Please note, that you will encounter different versions of the tools used in this course. SWPM 1.0 is the tool to install SAP Solution Manager 7.2.

As we did not configure SSL communication for SAPinst, the browser will warn about an insecure connection. You need to authenticate with a sufficiently authorized user.

Select the Installation Option

The figure above shows the installation options offered by Software Provisioning Manager (SWPM). These options depend on the version of SWPM.

Within Software Provisioning Manager (started by calling the executable SAPinst), drill down to the installation that you would like to conduct.

The figure above highlights the selection (Standard System) that will install all AS Java-based elements of an SAP Solution Manager 7.2 Java Support Release 2 using the database SAP MaxDB.

Other installation options offer the distribution of components (Database, PAS, SCS) onto different hosts or provide options for installing an SAP system within a high-availability environment.

After choosing Next, you will enter the dialog phase of the installation process, in which you will provide/set many parameters required by the installation process.

Within Software Provisioning Manager (started by calling the executable SAPinst), navigate to the Prerequisites Check if you would like to prepare for the actual system installation in advance.

Parameter Mode Custom and SAP JVM

The figure above shows the selection of the parameter mode Custom. It allows for setting each parameter explicitly; you are guided through each step. We select this setting for this course.

The parameter mode Typical presents a reduced set of steps. The final parameter check allows for the revision of each parameter – even those side-stepped by choosing typical parameter mode. In most circumstances, typical parameter mode is sufficient.

You can see that the first installation archive that is asked for is SAP Java Virtual Machine (SAP JVM).

Provide Installation Media, set the SAP SID and set FQDN

SAPinst will ask for several installation media during the dialog-phase of the installation procedure.

You are prompted for the SAP System ID (SAPSID) that your system should use. Note that some SIDs cannot be used; for example, the SID SAP is always forbidden.

The SAP System ID needs to be chosen following specific rules. Find more information in SAP Note 1979280: Reserved SAP System Identifiers (SAPSID) with Software Provisioning Manager 1.0.

Also above, you find another screen asking for the DNS Domain Name for your SAP system. Set the flag for Full Qualified Domain Name (FQDN) and provide the domain name to which your SAP system belongs. If you do not provide values here, different functions of your SAP system might not be usable or may require additional work.

Provide Database Software and Set the Master Password

Above you see the request for installation media for SAP MaxDB - the installation of this database will be executed by SAPinst (SAP HANA and Oracle DB need to be installed before starting SAPinst).

The previous figure is of essential significance. Here you provide the so-called Master Password for this installation. The master password is used for standard users in the SAP system and for users on the operating system and database level, in case the database is installed by SAPinst — which is true for SAP MaxDB. We recommend that after installation, you set individual passwords for the different users.

Windows Domain Decision and Provide Password for OS Level Users

On operating system Windows you can decide on the Domain Model for this installation. Usually, SAP systems are installed with admin users created on Domain level. In this training environment we select a so-called Local Domain installation.

The figure above shows the setting of the passwords for two users created during installation on Windows OS: The default for this password is the master password you chose previously. You can specify a different password for these users.

Provide SID for the Database and the Path to Further Installation Media

On the upper screen shot in the figure above you find the setting of the SID for the DB system (DBSID).

The lower screen above asks you to enter the path to the kernel archives that should be used for the installation. Theoretically, SAPinst should be able to identify several different installation media stored in the same location. At least the kernel installation is required to be found at that location. Also, you are required to provide archives (as listed) for kernel components in the same location.

Prerequisites Checker Results

A Prerequisite Check is always performed, its results shown.

SAP Host Agent and Path for SAP MaxDB Software

There is the option to upgrade an existing SAP Host Agent using a newer archive, also you are asked to decide on the location of the SAP MaxDB Client Software.

Confirm Passwords for DB Users and Set Central DB Parameters

Later in this course, you will use the user control for SAP MaxDB.

Some important parameters for the database can be set during installation.

Decide on Location and Size for Log and Data Volumes for SAP MaxDB

Please adapt the location and size of the Log and Data Volumes to your needs.

SAP MaxDB Java Schema Password and Secure Store Settings
Set the Instance Numbers and Number of Java Server Nodes

The figure above shows the selection screen for setting the instance numbers for the Primary Application Server (PAS) instance and the Central Services (SCS) instance of your SAP system. The two-digit instance number needs to be chosen from the numbers between 00 and 97 and they must be unique on an individual host.

As you can see on the screen above, certain number are already in use: 80 and 81. The instance number defines several port numbers used for communication by your SAP system. For example, an ABAP dispatcher process communicates via port 32## where ## signifies the instance number. Therefore, in case any software on your SAP host uses ports in the range of 3200 to 3299 (for example), this need to be taken into consideration. SAPinst can only list ports used by SAP instances — so further restrictions need to be consider by you.

On the screen above, you can also decide on how the number of Java server nodes will be determined. When set to Manually, you can set the number of Java server nodes on this screen.

Java Message Server Port and webadm Password

The default value of the Internal Java message server port is determined by your previous entry for the Central Services Instance. The internal port number for the Java message server is 39##, where ## is the value that you specified for the SCS instance. You can choose different port numbers (even outside the 36## and 39## range) if those port numbers are not already in use.

When an installed component offers an Internet Communication Manager (ICM) process then you are prompted to enter a password for the user webadm. This user can access administration functions offered by ICM via Web interface.

Determine the User Management Engine Data Source

When installing an SAP Solution Manager 7.2 Java system, you are required to connect it to the SAP Solution Manager ABAP system. For this, you need to select Use External ABAP System.

Connection to SAP Solution Manager ABAP

When installing an SAP Solution Manager 7.2 Java system, you are required to connect it to the SAP Solution Manager ABAP system. For this, you need to provide connection data, as shown above and below. Remember that the passwords you provide here are passwords for users in another SAP system, the SAP Solution Manager ABAP system.

Decide on SLD Integration and Cryptographic Key

When installing a new SAP system, you are offered to connect it to an already existing System Landscape Directory (SLD) or to set up this connection at a later time — in which case you choose No SLD destination on the screen shown above.

Decide for the cryptographic key – but beware of legal restrictions!

Message Server ACL and Additional Components in SCS

To increase the security of your SAP system, you can create a Message Server Access Control List (ACL) that can be used to limit access to the Message Server. In this training, we do not create such an ACL because we would be required to delete it before installing an Additional Application Server. For more information, please read the SAP Notes mentioned on the screen shot above.

You decide on including an SAP Web Dispatcher into the SCS instance of your SAP Solution Manager Java system.

Set Parameters for SAP Web Dispatcher and NWDI Integration

If you decide to include SAP Web Dispatcher into the SCS instance of your SAP Solution Manager Java system, you can provide some central parameters on the screen shown above.

If you decide to create own applications for the SAP Solution Manager Java system, you might want to prepare the SAP Solution Manager Java system to be installed for NWDI (SAP NetWeaver Development Infrastructure) integration. If you choose this option, all installed software components archives will be copied the transport directory, for later use in the NWDI.

Parameter Summary

The screen above shows the first part of the Parameter Summary. You can select individual parameters and choose to revise them. If you don’t select at least one parameter, the button Revise will remain grayed out.

Installation finished

Congratulations: The installation of your SAP Solution Manager Java system finished successfully!

How to install SAP Solution Manager Java System

For the demonstration steps and data, see the exercise Installing SAP Solution Manager Java.

Installing an SAP Solution Manager Java System

You will install

You install an SAP Solution Manager Java system named SMJ as described in this exercise.

The SAP Solution Manager Java system 7.2 is based on AS Java 7.50 and will be installed with database SAP MaxDB on a Windows operating system.

Note

Ensure that you are using the user install to execute this installation.

Please note: for the installation activities on Windows, use the classical CMD-Shell, NOT the Windows PowerShell. To start the CMD shell: Open the directory you would like to work in using the Windows File Explorer. Then type cmd into the address bar of the Windows File Explorer. This will open the CMD shell for the selected directory.

Note

Please be aware that the current version of SWPM expects SAP NetWeaver 7.5 AS Java as the installation medium for the SAP Solution Manager 7.2 AS Java. In the past, this installation required an installation called SAP Solution Manager 7.2 Java Support Release 1 (that resulted in the installation of an AS Java 7.40).

Prerequisites

There are several prerequisites for being able to conduct the installation, most of those are already prepared on the training server, e.g. providing the installation media.

Steps

  1. There are different methods available for logging on to the training host from the training WTS. The following description assumes that you are using a Remote Desktop Connection.

  2. Log on to the server smxhost using the user install.

  3. Close the info.rtf document, if it pops up.

  4. Use a command prompt to start the registry editor regedit to check the existence of the following registry keys. If they do not exist, create them according to the following table:

    LocationRegistry KeyTypeValue

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0\

    BackConnectionHostNames

    REG_MULTI_SZsmxhost.wdf.sap.corp smxhost

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters\

    DisableStrictNameChecking

    REG_DWORD1

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters\

    SrvAllowedServerNamesREG_MULTI_SZsmxhost.wdf.sap.corp smxhost

    Note

    These registry keys need to exist with the correct names (see above) before starting SAPinst using virtual host names.
  5. Check the content of the directory D:\SWPM. It should contain sapinst.exe from an earlier exercise.

  6. Open a Command Prompt at

    D:\SWPM (see the first note at the start of this exercise).

  7. Start

    D:\SWPM\sapinst.exe SAPINST_USE_HOSTNAME=smxhost SAPINST_STACK_XML=D:\Media\Installation_SMJ\03_MP_Stack_XML\MP_Stack_1002005668_20240531_.xml
  8. A browser window will be opened automatically.

  9. Ignore the message in the browser window about the security certificate — SSL was not configured, therefore the browser deems the connection to the training host insecure. Choose Proceed to wdflbmt0910.wdf.sap.corp (unsafe).

  10. Sign in with user install.

  11. In the Software Provisioning Manager, expand Software Provisioning Manager 1.0 SP 41System SMJ (SAP NETWEAVER 7.5)SAP NetWeaver 7.5MaxDBInstallationApplication Server JavaStandard SystemStandard System, and choose Next.

    Note

    Please note that when using a stack XML file for starting an installation, the SID will be already known and also the product and version you wish to install. Also, when starting SAPinst using a stack XML file SAPinst won't offer the option to execute a separate Prerequisite Check. However, a Prerequisite Check will be always executed during the installation procedure.
  12. Continue the installation process screen-by-screen, entering the data as shown in the table.

    Parameters and Data for Installing an SAP Solution Manager Java System

    Screen NameField NameValue
    Parameter SettingsParameter ModeCustom
    Software Package BrowserPackage Path (SAPJVM8.SAR)D:\Media\Installation_SMJ\05_SAPJVM\SAPJVM8_83-80000211.SAR
    Software Package BrowserPackage PathConfirm that SAPJVM.SAR is shown as available
    Media BrowserJava Component NW750 (folder JAVA_J2EE_OSINDEP_UT)D:\Media\Installation_SMJ\06_Java_NW75\51055106
    General SAP System ParametersSAP System ID (SAPSID)SMJ
    DNS Domain NameSet FQDN for SAP systemselect this option, this is default
    DNS Domain NameDNS Domain Name for SAP Systemwdf.sap.corp
    Media BrowserRDBMS MaxDBD:\Media\Installation_SMJ\04_SAP_MaxDB\51054410_7\MaxDB_7.9___SP10_Build_05_
    Master PasswordPassword for All UsersMasterSMA80 (yes, we use here the same password as for system SMA)
    Windows DomainDomain ModelLocal Domain
    Operating System UsersPassword of SAP System Administratordo not change the default, will be the master password
    Operating System UsersPassword of SAP System Service Userdo not change the default, will be the master password
    SAP System DatabaseDatabase ID (DBSID)SMJ
    Software Package BrowserPackage Path (asks for kernel, but we will provide the path to everything not yet given)D:\Media\Installation_SMJ\02_MP_Download
    Software Package BrowserPackage Path (kernel found)You can see that the kernel elements have been found successfully
    Upgrade SAP Host AgentUpgrade SAP Host Agent ....Don't select the option to upgrade SAP Host Agent.
    MaxDB Client Software DestinationMaxDB Database Software Destinationleave as default (3 times D:)
    MaxDB Server Software DestinationMaxDB Server Software Destinationleave as default (3 times D:)
    MaxDB Database UsersPassword of superdbaleave as default (master password)
    MaxDB Database UsersPassword of controlleave as default (master password)
    MaxDB DatabaseCPUs Used Concurrentlyset to 2
    MaxDB DatabaseI/O Buffer Cache [MB]set to 4096
    MaxDB DatabaseNumber of Sessionsset to 100
    MaxDB Log VolumesLog Volume Locationschange the drive letter C:\ in Location to D:\ (keeping the remainder identical) and increase the Size to 8000 MB
    MaxDB Data VolumesData Volume LocationsConfirm the size of the data volume at 10000 MB
    SAP MaxDB Java SchemaPassword of Java Database Schemaleave as default (master password)
    Secure StoreKey Phrasedo not change the default, will be the Master Password
    Primary Application Server Instance and Central Services InstancePAS Instance Number91
    Primary Application Server Instance and Central Services InstancePAS Instance Host Namesmxhost
    Primary Application Server Instance and Central Services InstanceSCS Instance Number90
    Primary Application Server Instance and Central Services InstanceSCS Instance Host Namesmxhost
    Primary Application Server Instance and Central Services InstanceSelect how to determine the number of Java server nodesManually
    Primary Application Server Instance and Central Services InstanceNumber of Java Server Nodes1
    Java Message Server Port and Transport HostInternal Java Message Server Portdo not change the default (here: 3990)
    Java Message Server Port and Transport HostHost with Transport Directorysmxhost
    ICM User Management for the SAP Web DispatcherPassword for 'webadm'do not change the default, will be the master password
    User Management Engine ConfigurationUME Data SourceSelect Use External ABAP System
    UME Users in an External ABAP SystemApplication Server Instance Number81
    UME Users in an External ABAP SystemApplication Server Hostsmxhost (you can also use smxhost.wdf.sap.corp)
    UME Users in an External ABAP SystemSAP System Client001
    UME Users in an External ABAP SystemCommunication UserSAPJSF
    UME Users in an External ABAP SystemPassword of Communication Userdefault is the master password of SMJ, MasterSMA80 which is the same as the master password for SMA
    UME Users in an External ABAP SystemAdministrator UserChange the default to J2EE_ADMIN — this user needs to exist in the SAP Solution Manager ABAP system
    UME Users in an External ABAP SystemAdministrator RoleSAP_J2EE_ADMIN
    UME Users in an External ABAP SystemPassword of Administratordefault is the master password of SMJ, MasterSMA80 which is the same as the master password for SMA
    UME Users in an External ABAP SystemGuest UserChange the default to J2EE_GUEST — this user needs to exist in the SAP Solution Manager ABAP system
    UME Users in an External ABAP SystemGuest RoleSAP_J2EE_GUEST
    SAP System Java Runtime EnvironmentSelect JCE jurisdication policyselect Unlimited
    SLD Destination for the SAP System OS LevelRegister in System Landscape DirectoryNo SLD destination
    Message Server Access Control ListMessage Server Access Control Listselect Do not create Message Server Access Control List
    Additional Components to be Included in the SCS InstanceEnable Additional Componentsselect Install an SAP Web Dispatcher embedded in the SCS instance
    SAP Web Dispatcher ParametersSAP Web Dispatcher Configurationdo not change the default values on this screen
    NWDI LandscapePrepare SAP System for NWDI Integrationdo not change the default (unchecked)
    Parameter Summary select parameters/settings that you would like to change, choose Revise if required
    In case the installation stops with error Retry
    The installation now runs for about 35 minutes  
    Information select Ok
    Feedback to SAP select Close
    Execution of Service has been completed successfully select Exit
  13. Open the file D:\usr\sap\SMJ\SYS\profile\DEFAULT.PFL with a text editor (e.g. Notepad) and search for the line

    icm/HTTP/mod_0 = PREFIX=/,FILE=$(DIR_GLOBAL)/security/data/icm_filter_rules.txt

    Insert an "#" at the start of this line. Save the file.

  14. Restart the SAP system SMJ.

  15. After the restart of the SAP system SMJ, check the correct installation of SAP Solution Manager Java by opening the following URL http://smxhost.wdf.sap.corp:59100.

  16. You can use some functions here, such as System Information. Use the user J2EE_ADMIN to log on.

Result

You have successfully installed SAP Solution Manager Java with SAP MaxDB on Windows!

Log in to track your progress & complete quizzes