Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dcg-extensionmigrationassistant-1.0.1.tar.gz (23.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dcg_extensionmigrationassistant-1.0.1-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file dcg-extensionmigrationassistant-1.0.1.tar.gz.

File metadata

File hashes

Hashes for dcg-extensionmigrationassistant-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4e92309e05473598d3e36179034231529d41e683b074335e3920cb95e9949ba8
MD5 685d4096934ba56017012ada1d191ebf
BLAKE2b-256 a8a4d9f83bb70912d6e4027eac6d2041e23352c061d0e5dcc558a3596a1fc9ba

See more details on using hashes here.

File details

Details for the file dcg_extensionmigrationassistant-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dcg_extensionmigrationassistant-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8991d9b878da2652b1c579c861f496c0eec05f96beb416a2b020a41ee19e5b6d
MD5 996ad675a6ea67d5924c005e73c554d8
BLAKE2b-256 ff371b4c48fcceefc067cd6c752d300ed38fc399545aaebf173ef3c554b2a827

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page