on 2025 Apr 14 12:12 PM
Neo to Cloud Foundry Migration
Dear Integration Experts,
As we are aware that SAP Neo is going to be sunset on December 31, 2028, and there are many projects which are running on Neo and needs to be migrated to Multicloud environment or Cloud Foundry. I am writing this blog based on my real time experience about migration.
The multi-cloud foundation has become the strategic focus for SAP BTP because of its significant benefits as compared with the Neo environment, including its principles of openness and freedom of choice in terms of support for multiple infrastructure providers, data centers, and a wide range of runtimes and programming languages.
There are two options to perform the migration based on the requirements. One is SAP provided migration package to migrate the interfaces and other related objects. Other option is to use manual export and import to migrate the objects from Neo to Cloud Foundry.
In this blog I will be using SAP provided Migration pack to migrate the objects from Neo environment to Cloud Foundry.
Every migration project should have following stages:
In this blog I will explain step by step process to migrate from Neo to CF environment using SAP provided Migration pack.
Prerequisites:
Migration Process:
We perform the migration process by running several Postman requests. To execute these requests, we can use a set of Postman collections predefined by SAP. First, we need to prepare the environment file. In order to create an environment file, we should setup Oauth authentication in Neo and CF.
Set Up an Oauth in both NEO (for NEO make sure you generate Oauth on “tmn” node ) and CF (For CF make sure the plan selected is “api” )
Login to BTP Cockpit and Neo subaccount. Goto Securityà Oauth, click on Register new client.
Note down the client ID and Secret, this will be used as user id and password in migration.
Using the client ID from the previous step, navigate to Security->Authorizations and assign the user oauth_client_<client id> to the AuthGroup.IntegrationDeveloper and AuthGroup.Administrator roles.
Login to Cloud foundry tenant and navigate to the Space, Services->Service Marketplace and search for Process Integration. Click Create. Create a new Instance of plan type api. Then create a service key for the same instance.
Once Service key is created, we can note down the client id, secret, URLs for later use.
Now we are ready to create environment file for migration process.
Next, download the compressed file from SAP Note 2937549 and extract it to a local folder on your computer.
In the extracted folder, open the file CPI MIG Settings.postman_environment and configure the parameters with the hostnames from the previous steps:
Now we need to update following values in the environment file.
sourceHost, targetHost, sourceTokenHost, targetToeknHost, sourceOauthId, sourceOauthSecret, targetOauthId, targetOauthSecret.
Save the file.
Now launch Postman and Import the folder by choosing:
File->New->Import Folder and select the unpacked folder.
Make sure you have the correct environment selected so the proper hostnames and credentials are used.
Now open the first collection in postman CPI MIG010 Connects to Tenants and click on run.
Now run CPI MIG020 for readiness check.
We have multiple Postman collection to migrate objects like credentials, Certificates, Variables, data Store, Packages, Oauth to Client credentials, Number range, Value mapping. Now based on our requirement we run these postman collections to migrate the objects from Neo to CF tenant.
To migrate credentials, we will run CPI MIG 070 User Credentials.
All credentials migrated from Neo to CF. Now we need to update passwords manually in Cloud Foundry.
Run MIG080- OAuth credentials
Run CPI MIG030 for variable migration:
Run CPI MIG060 to migrate Custom public certificates:
Run CPI MIG120 to migrate custom content:
There is a field in environment file "key": "migratePackages", if we want to migrate all the custom packages then we can leave this field value empty, else we can specify the package IDs to be migrated.
We migrated successfully 3 packages which contains multiple Integration Flows from Neo to CF.
Once we migrate the Integration Flows to cloud foundry environment, we need to configure them and deploy them manually. After deployment we need to make a note of endpoints and share with the system that call Cloud Integration. We need to update the firewalls or IP address which are whitelisted in Neo environment to Cloud Foundry.
References:
https://me.sap.com/notes/3351844
Migrating SAP Cloud Integration to SAP Integration Suite | SAP Help Portal
Thanks & Regards,
Nisha Shrivansh
Request clarification before answering.
| User | Count |
|---|---|
| 13 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.