- Using Oracle WebLogic Server for OKE
- Managing Resources
- About Data Sources
- Create a Data Source for an ATP Database
- Download the ATP Wallet
Download the ATP Wallet
The download script unpacks and copies the ATP wallet contents to a node.
- Open an SSH connection to the stack's Administration Server node as the
opc
user.ssh -i <path_to_private_key> opc@<node_public_ip>
- Download the ATP wallet to the administration host using the following wallet
script:
python3 /u01/scripts/utils/download_atp_wallet.shutils/oci_api_utils.py <atp_database_ocid> <atp_wallet_password> <path_to_extract_wallet_files>
Example:
python3 /u01/scripts/utils/oci_api_utils.py download_atp_wallet_with_pwd ocid1.autonomousdatabase.oc1.phx.abyhqljtzrr25tfpdyzbjq5udz3lz2hkb5txvtfejckwd25z6hjg6qbxm4ta <password> /u01/shared/atp_wallet
Eight files are extracted to the subdirectory. The following is an example of the script response:
<Apr 29, 2021 09:51:35 PM GMT> <INFO> <oci_api_utils> <(host:ly2-admin.okeworkdersregi.paasdevjcsphx.oraclevcn.com) - <WLSOKE-VM-INFO-0100> : ATP Wallet downloaded> Archive: /tmp/atp_wallet.zip inflating: /u01/shared/atp_wallet/README inflating: /u01/shared/atp_wallet/cwallet.sso inflating: /u01/shared/atp_wallet/tnsnames.ora inflating: /u01/shared/atp_wallet/truststore.jks inflating: /u01/shared/atp_wallet/ojdbc.properties inflating: /u01/shared/atp_wallet/sqlnet.ora inflating: /u01/shared/atp_wallet/ewallet.p12 inflating: /u01/shared/atp_wallet/keystore.jks