Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sap-samples/iq-to-hdl-migration
This is a utility for SAP IQ to SAP HANA Cloud, Data Lake migration. These sample utilities can be used to migrate existing schema and data of SAP IQ to SAP HANA Cloud Data Lake.
https://github.com/sap-samples/iq-to-hdl-migration
sample sample-code sap-hana-cloud-data-lake sap-iq
Last synced: about 1 month ago
JSON representation
This is a utility for SAP IQ to SAP HANA Cloud, Data Lake migration. These sample utilities can be used to migrate existing schema and data of SAP IQ to SAP HANA Cloud Data Lake.
- Host: GitHub
- URL: https://github.com/sap-samples/iq-to-hdl-migration
- Owner: SAP-samples
- License: apache-2.0
- Created: 2023-11-20T12:21:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-16T22:18:54.000Z (11 months ago)
- Last Synced: 2024-01-17T05:53:11.182Z (11 months ago)
- Topics: sample, sample-code, sap-hana-cloud-data-lake, sap-iq
- Language: Python
- Homepage:
- Size: 72.3 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SAP IQ to SAP HANA Cloud, Data Lake Migration Utility
[![REUSE status](https://api.reuse.software/badge/github.com/SAP-samples/iq-to-hdl-migration)](https://api.reuse.software/info/github.com/SAP-samples/iq-to-hdl-migration)## Description
This is a utility for SAP IQ to SAP HANA Cloud, Data Lake migration. These sample utilities can be used to migrate existing schema and data of SAP IQ to SAP HANA Cloud Data Lake. It has 2 different utilities.1. Pre-Migration utility - The pre-migration utility identifies incompatible features, artifacts, server options, users etc. in your existing on-premise SAP IQ database before migrating it to SAP HANA Cloud, Data Lake.
2. Migration Utility - The Migration utility has two scripts Where one scripts extracts the SAP IQ Schema and data to specific location and other script loads the extracted data to SAP Hana Cloud, Data Lake.
For more details on these utilities, please refer to individual utilities readMe files available on respective utilities folders (Pre_Migration and Migration folders).Utilities are spread across following folders:
1. **Common** :
It will have following files:
- DB_Artifacts.list: This file is used by the migration utility to identify different artifacts that are not supported in SAP Hana Cloud, Data Lake.- common.py: This file contains common functionalities used by the pre-migration, migration, and load utilities for example, it has methods to read different json configuration files.
- config_aws.json: Configuration options file to provide the options required to run the pre-migration, migration and load utilities. Use this file if your data lake instance is created on Amazon Web Services (AWS) Hyperscaler based Landscapes.
- config_azure.json: Configuration options file to provide the options required to run the pre-migration, migration and load utilities. Use this file if your data lake instance is created on Microsoft Azure Hyperscaler based Landscapes.
- dbopts_noncustomer.csv: This file is used by the pre-migration utility to identify different SQLAnywhere server options which are not supported in SAP Hana Cloud, Data Lake.
- hosparams_noncustomer.csv: This file is used by the pre-migration utility to identify different SAP IQ server options which are not supported in SAP Hana Cloud, Data Lake.
- login_policy.csv: This file is used by the migration utility to identify different login policy-related options which are not supported in data lake.
2. **Pre_Migration**
It will have following files:
- PreMigration_README.md: Readme file for Pre_Migration utility. Please refer to this README file to run Pre_Migration utility.
- pre_migration.py: The pre-migration utility identifies incompatible features, artifacts, server options, users etc. in your existing on-premise SAP IQ database before migrating it to SAP HANA Cloud, Data Lake.3. **Migration**
It will have following files:
- Migration_README.md: Readme file for Migration utility. Please refer to this README file to run migration and load utilities.
- load_schema.sh: Shell script used by load_schema_and_data.py utility to load database schema into SAP Hana Cloud, Data Lake.
- load_schema_and_data.py: Python utility to load SAP IQ extracted Schema and data into SAP Hana Cloud, Data Lake.
- load_table.sh: Shell script used by load_schema_and_data.py utility to load table data SAP Hana Cloud, Data Lake.
- migration.py: Migration utility to extract schema and data from SAP IQ.
## Requirements
- Python 3 (3.9 or higher version)
- Pyodbc## Download and Installation
Install python 3.9 or higher version and pyodbc.
Clone this repo
You can then run Pre_Migration and Migration utilities.## Known Issues
## Limitations
These utilities have been verified for migration to SAP Hana Clould, Data Lake in AWS and Azure Hyperscalers but not in GCP or any other supported Hyperscaler.## How to obtain support
[Create an issue](https://github.com/SAP-samples/iq-to-hdl-migration/issues) in this repository if you find a bug or have questions about the content.
For additional support, [ask a question in SAP Community](https://answers.sap.com/questions/ask.html).## Contributing
If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).## License
Copyright (c) 2023 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the [LICENSE](LICENSE) file.