Prepare for Migration Using File Storage in the Cloud
Provision Oracle Database Exadata Cloud Service and Oracle Cloud Infrastructure File Storage. Then, create a data pump directory on the source database and on the target database.
Provision an Exadata DB System
Provision an Exadata DB System in an existing compartment and availability domain in an Oracle Cloud region.
The container database (CDB) or system identifier (SID) name in the cloud must be the same as the source database CDB or SID name.
Before you begin, the compartment must have a Virtual Cloud Network (VCN) setup with a private subnet to provision the Database System. To access the database, you must either provision a bastion host in a public subnet in the VCN (so that it has a public IP), or you'll need direct access to the private network through VPN or Oracle Cloud Infrastructure FastConnect. Create a Security List rule on the database private subnet giving access to the database port (1521) from the public subnet CIDR block.
Create a SQL*Net Connection Between On-Premises and the Cloud
Set up SQL*Net connectivity between the on-premises database and Oracle Database Exadata Cloud Service.
Create an SCP Connection Between On-Premises and the Cloud
Upload the API signing public key to Oracle Cloud Infrastructure and create
an SCP connection between the on-premises database and Oracle Cloud Infrastructure File
Storage. The connection is needed to move the expdp
dump file.
- Log into the Console and view the details for the user who will be calling the API with the key pair.
- If you're the signed as the user who will be calling the API with the key pair,
then perform the following steps:
- Open the Profile menu.
- Click User Settings.
- If you're an administrator adding the key for another user, then perform the
following steps:
- Open the navigation menu.
- Under Governance and Administration, go to Identity and click Users.
- Select the user from the list.
- Click Add Public Key.
- Paste the contents of the PEM public key in the dialog box and click Add.
Configure VCN Security List Rules for File Storage
When you create a VCN, a default security list is also created. Rules in the security list are used to allow or deny traffic to a subnet. Before you can mount a file system, you must configure security list rules to allow traffic to the mount target subnet.
- In the Console, expand the navigation menu. Under Core Infrastructure, click Networking, then click Virtual Cloud Networks.
- In the Scope section in the menu on the right, select the compartment that contains the subnet to be associated with your file system, then click the cloud network to be associated with your file system.
- On the details page for the cloud network, click Security Lists, and then click the security list used by the subnet to be associated with your file system.
- On the details page of the security list, click Edit All Rules.
- In the Resources menu on the left, click Ingress Rules. Click Add Ingress Rule button, then click Edit All Rules.
- Add an ingress rule allowing SCP traffic.
- ClickAdd Ingress Rules.
Create a File System and Mount Target
Provision a shared file system in the cloud using the Oracle Cloud Infrastructure File Storage service and mount target.
Network access to your file system is provided through a mount target. Exports control how NFS clients access file systems when they connect to a mount target. File systems must have at least one export in one mount target for any instance to mount and use the file system. Typically, you create your first mount target when you create your first file system.
When you use the Console to create a file system, it also creates a mount target that your compute instances use to access and write to the file system. Once a mount target is created, multiple file systems can be associated with the target.