You can take a new snapshot of the dSource by clicking the Camera icon on the dSource card. Once the snapshot is complete you can provision a new VDB from it. This topic describes how to provision a virtual database (VDB) from a POSTGRES dSource.

Prerequisites

Procedure

  1. Navigate to Manage, and select Datasets.
  2. Select a dSource and a snapshot from which you want to provision. Click the provision VDB icon to open the provision VDB wizard.
  3. Select a target environment from the left pane, and an Installation to use from the dropdown list of available PostgreSQL instances on that environment.

  4. Set the Environment User to be the Instance Owner. Note: The picking of instance owner is only possible if you have multiple environment users set on that host.

  5. You will see the Target Configuration section where you need to specify Mount Path and Virtual Postgres Port Number.


  6. Optionally, set the database configuration parameters for the VDB, then click Next.

    By default, the VDB gets created in an inaccessible mode because the parameter "listen_addresses" is set to "localhost". However, a customer can change the value of this parameter using "Config Settings" when creating a VDB.

  7. On the configuration page enter the PostgreSQL database name as the vFiles Name value.

  8. Select a Target Group for the VDB and click the green Plus icon to add a new group, if necessary.

  9. Select a Snapshot Policy for the VDB then click Next.

  10. Specify any desired hook operations. 
  11. Review the Provisioning Configuration and Data Management information.
  12. Click Submit.
    Once the VDB provisioning has successfully completed, if the source and target instance ids are not the same, you may want to grant secadm and dbadm on the database to the target instance id. Please refer to Database Permissions for Provisioned PostgreSQL VDBs for more information.

Related Topics