Detect Lock-in Extension wrapper introduce as part of conversion tool
Project description
Installation
Extension Migration Assistant requires Python version 3.11.4 or above to run. Post cloning the assessment tool, we will need to install the dependencies.
Minimal Database Privileges on RDS or Amazon Aurora PostgreSQL Compatible
Minimal required privileges to run on RDS/Amazon Aurora PostgreSQL Databases.
CREATE USER sctanalyzer WITH LOGIN PASSWORD 'YourPassword';
GRANT CONNECT ON DATABASE <<YourDatabase>> TO sctanalyzer;
REVOKE CREATE ON SCHEMA public FROM sctanalyzer;
--Provide Grants to Extensions related tables, if it failes it implies no dependency with AWS SCT Extensions
grant usage on schema aws_oracle_ext to sctanalyzer;
GRANT SELECT ON table aws_oracle_ext.versions TO sctanalyzer;
Extension assesment tool installation
Steps to run extensionmigrationassistance on compute machine for RDS or Amazon Aurora PostgreSQL Databases.
-install dcg-extensionmigrationassistant Python packages
pip3 install dcg-extensionmigrationassistant
Running Assessment tool
Extension Migration Assistant tool will need access to PostgreSQL databases, primarily on RDS or Amazon Aurora.
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD [--pg-schema PG_SCHEMA] [--outputpath OUTPUTPATH]
You can see the details of every argument required by using following steps
extension-assessment --help
--host HOST RDS/Amazon Aurora PostgreSQL Compatible Database endpoint
--port PORT Database port number (Default - 5432)
--database DATABASE Database name (Default - postgres)
--user USER Database user
--password PASSWORD Database password
--pg-schema PG_SCHEMA List of Comma separated list of schema name(Optional)
--outputpath OUTPUTPATH Provide output path of report (Optional)
pg-schema is optional. To see the result according to schema provide single or comma separated list.If pg-schema is not provided it will assume to run for all schema within specified database.
Sample 1 - running Extension Migration Assistant on specific shcema.
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD --pg-schema PG_SCHEMA1
Sample 2 - running Extension Migration Assistant on multiple list of schema's.
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD --pg-schema PG_SCHEMA1,PG_SCHEMA2
Sample 3 - running Extension Migration Assistant for all schema.
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD
Sample 4 - running Extension Migration Assistant for all schema with output to specific path
extension-assessment --host HOST [--port PORT] [--database DATABASE] --user USER --password PASSWORD --outputpath <<OUTPUT_PATH>>
Assessment Output
Once Extension Migration Assistant Assessment is completed, you will find newly created reports within a directory (SCTExtensionAssessment) as below
AWS SCT Extension Assessment Report created successfully
Report : ....\extensionassessmentreport.html
Report zip file is created successfully
You will also get a zip file which contains the html report, charts (.png) and csv file with additional dependencies details.
SCTExtensionAssessment.zip
Check out sample report generated on sample schema migrated using AWS Schema Conversion Tool to RDS PostgreSQL with its underlying Extension packs(AWS_ORACLE_EXT).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dcg-extensionmigrationassistant-1.0.1.tar.gz.
File metadata
- Download URL: dcg-extensionmigrationassistant-1.0.1.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e92309e05473598d3e36179034231529d41e683b074335e3920cb95e9949ba8
|
|
| MD5 |
685d4096934ba56017012ada1d191ebf
|
|
| BLAKE2b-256 |
a8a4d9f83bb70912d6e4027eac6d2041e23352c061d0e5dcc558a3596a1fc9ba
|
File details
Details for the file dcg_extensionmigrationassistant-1.0.1-py3-none-any.whl.
File metadata
- Download URL: dcg_extensionmigrationassistant-1.0.1-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8991d9b878da2652b1c579c861f496c0eec05f96beb416a2b020a41ee19e5b6d
|
|
| MD5 |
996ad675a6ea67d5924c005e73c554d8
|
|
| BLAKE2b-256 |
ff371b4c48fcceefc067cd6c752d300ed38fc399545aaebf173ef3c554b2a827
|