/oracle-ai-data-platform-workbench-spark-connectors:aidp-exacsfrom oracle-ai-data-platform-workbench-spark-connectors
Connect from an AIDP notebook to Oracle Exadata Cloud Service (ExaCS) via Spark JDBC. Use when the user mentions ExaCS, Exadata, Exadata Cloud, RAC SCAN listener, or has a private-subnet Oracle DB. Auth is plain user/password on TCP 1521 with server-enforced AES256 Native Network Encryption (live-validated against Oracle 23ai). Wallet TCPS and IAM DB-Token are not supported by AIDP notebooks for ExaCS.
Ships in oracle-ai-data-platform-workbench-spark-connectors. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
aidp-exacs — Oracle Exadata Cloud Service via Spark JDBCaidp-alh.ExaCS sits in a customer private subnet; AIDP runs in its own VCN. Two pieces must be in place before any JDBC will work — neither is configurable from a notebook:
VCN routing AIDP→ExaCS (PE/RCE through PAGW). Workspaces created without private connectivity can't reach customer DBs.
Workspace scanDetails — required for RAC clusters. Without it, the SCAN listener's redirect to a node-local IP (10.x.x.x) is unreachable from the executor → ORA-17820. Configure once via the AIDP workspace REST API or console:
networkConfigurationDetails: {
"subnetId": "ocid1.subnet.oc1.iad.aaaa...",
"scanDetails": [
{"fqdn": "<scan-host>.clientsubnet.dns.oraclevcn.com", "port": "1521"}
]
}
This activates PE-ARCH 3c (RCE with SCAN Proxy) — the PAGW translates RAC node-redirect IPs to Class-E NAT addresses so the JDBC redirect lands on the right tunnel.
Smoke-test connectivity from a notebook before chasing JDBC errors:
import socket, ipaddress
ip = socket.gethostbyname(SCAN_HOST) # should be Class-E (255.x) or RFC-1918 — never public
with socket.create_connection((SCAN_HOST, 1521), timeout=15): pass
This is the only supported auth path for ExaCS from AIDP notebooks. Wallet/TCPS and IAM DB-Token are not workable in the AIDP notebook environment for ExaCS clusters and have been intentionally removed from this skill.
ExaCS deployments commonly enforce Oracle Native Network Encryption (NNE) server-side:
SQLNET.ENCRYPTION_SERVER=REQUIRED + SQLNET.ENCRYPTION_TYPES_SERVER=AES256. The Oracle thin
driver complies automatically — no client-side oracle.net.encryption_* options needed. The
encrypted session can be verified after connect via v$session_connect_info.network_service_banner
(see snippet below).
import os
from oracle_ai_data_platform_connectors.jdbc import (
build_oracle_jdbc_url, spark_jdbc_options_password,
)
url = build_oracle_jdbc_url(
host=os.environ["EXACS_HOST"], # SCAN FQDN or host
port=int(os.environ.get("EXACS_PORT", "1521")),
service_name=os.environ["EXACS_SERVICE_NAME"],
use_tcps=False, # plain TCP — encryption is via NNE, not TLS
)
opts = spark_jdbc_options_password(
url=url,
user=os.environ["EXACS_USER"],
password=os.environ["EXACS_PASSWORD"],
)
df = (spark.read.format("jdbc").options(**opts)
.option("dbtable", os.environ["EXACS_TABLE_FOR_TEST"]).load())
df.show(5)
SYS / SYSDBA logon (admin scripts only; not for app workloads):
opts["oracle.jdbc.internal_logon"] = "sysdba"
Verify in-transit encryption is active (run once per environment):
enc_q = ("SELECT network_service_banner FROM v$session_connect_info "
"WHERE sid = SYS_CONTEXT('USERENV','SID')")
banners = (spark.read.format("jdbc").options(**opts)
.option("query", enc_q).load().collect())
for r in banners:
print(r[0])
# Expect lines including:
# AES256 Encryption service adapter for Linux: Version ...
# Crypto-checksumming service for Linux: Version ...
scanDetails is the #1 cause of ORA-17820. If the JDBC URL points at the SCAN listener on a RAC cluster but the workspace doesn't have the SCAN FQDN registered, the redirect fails silently. See "Critical infrastructure prerequisites" above.v$session_connect_info after the first connect — don't assume.aidp-alh skill instead.oracle.jdbc.OracleDriver is canonical. The legacy alias oracle.jdbc.driver.OracleDriver also works but is deprecated.exacs_intransit_encryption_demo.ipynb on workspace exacs-private-test — proves AES256 NNE end-to-end on a customer ExaCS cluster running Oracle 23ai.oci_private_endpoint_design.md.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ahmedawan-oracle/claude-code-plugins --plugin oracle-ai-data-platform-workbench-spark-connectorsOther plugins' skills for the same job
25 skills in this plugin
/aidp-alh`aidp-alh` — Oracle AI Lakehouse / ADW / ATP via Spark JDBCConnect from an AIDP notebook to Oracle AI Lakehouse (ALH), Autonomous Data Warehouse (ADW), or Autonomous Transaction Processing (ATP) via Spark JDBC. Use when the user mentions ALH, AI Lakehouse, ADW, ATP, Autonomous Database, or wants to query a 26ai-backed Oracle Autonomous DB from Spark. Covers wallet (mTLS), IAM DB-Token (with on-executor refresh for long jobs), and API Key auth paths./aidp-aws-s3`aidp-aws-s3` — AWS S3 via the S3A connectorRead and write AWS S3 (`s3a://`) from an AIDP notebook. Use when the user mentions S3, AWS S3 bucket, s3a, or has AWS access keys. Auth is access key + secret key via the Hadoop S3A connector. boto3 is also available for non-Spark management operations (list, copy)./aidp-azure-adls`aidp-azure-adls` — Azure ADLS Gen2 via OAuth client-credentialsRead and write Azure Data Lake Storage Gen2 (`abfss://`) from an AIDP notebook. Use when the user mentions ADLS, Azure Data Lake, abfss, or wants to ingest from a multi-cloud Azure source. Auth is OAuth client-credentials (Service Principal client_id + secret + tenant).