Skip to Content
Technical Articles
Author's profile photo Sumit Patel

Solution Manager 7.2 SP 08,NW 7.4 Migration Using SWPM – IX– Import Java Stack

Solution Manager 7.2 SP 08,NW 7.4 Migration Using SWPM – IX– Import Java Stack

 

This blog explains about the Installation of a new Java system on the target database(in my scenario it is Hana database) using the export file which created in the previous blog-Solution Manager 7.2 SP 08,NW 7.4 Migration Using SWPM – VIII – Export Java Stack

Import DB to HANA: Install a new Java system on the target database using the export file

make sure that the Hana Database Client installed on the java system.

You can also cross check the Hana Database Client installation from the standard path /usr/sap/<SID>/hdbclient

Before starting with import steps: installation of java system, make sure below steps are performed on the java system

->Disable the instance profile parameter:

 #j2ee/dbdriver = /oracle/client/10x_64/instantclient/ojdbc7.jar 

And add the parameter j2ee/dbdriver = /usr/sap/<SID>/hdbclient/ngdbc.jar

-> Change the default profile parameters:

  •  j2ee/dbtype = HDB
  • SAPDBHOST = <hostname>
  • j2ee/dbhost = <hostname>

->Stop the Oracle DB and JAVA instance,Only SCS should be running.

Now start SWPM (Software Provisioning Manager) tool using command   ./sapinst

https://<FQDN Host name>:4237/sapinst/docs/index.html

Navigate to below option on SWPM tool

SAP NW 7.2 SR2->SAP Hana Database>System Copy->target System->Distributed System->Based On AS Java->Database Instance

Click Next

Select Custom and Next

Click on the highlighted link in above screen, it will directly redirect to software download center.

Download the latest SAPJVM6 patch file from SAP Support Portal and upload to the respective path.

here I have downloaded sapjvm6.1 file related to Linux on X86_64 64 BIT

Now select the package from the respective path and click Next

Next

For above error, start SCS instance (startsap SCS<instance no>

Now go back and click OK in SWPM tool

Click Next

Copy Method – Standard System Copy / Migration (Load-Based)

Click Next

Click Next

Click OK

Click Next

Click Next

For above conditions, Maintain values as below in file /etc/security/limits.conf

# SAP Settings

@sapsys hard nofile 32800

@sapsys soft nofile 32800

@dba hard nofile 32800

@dba soft nofile 32800

After adding parameters, execute command sysctl -p

Click Next on SWPM tool

Click YES, it will repeat the checks

Click Next

Click Next

Click next

Provide Migration Export Path and click Next

Provide Java component Path and click Next

Click Next

Provide Hana database details and Click next to proceed further.

Click Next

Provide Hana database schema details

Click Next

Use the below standard command to check key Phrase

>/sapmnt/<SID>/global/sltools/checkKeyPhrase.sh -f /sapmnt/<SID>/global/security/data/SecStore.properties

Once you execute above command , it will ask for the key phrase.

It verifies and show whether it is correct or not.If it is correct we can proceed with the next step

Click Next

Click Next

Installation of new java system with Hana database completed successfully.In the next blog , I have explained post steps for Java system , please follow the below link for the same

Solution Manager 7.2 SP 08,NW 7.4 Migration Post Steps – X– Java Stack

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.