Hi Rahim,
It is not a requirement or mandatory to add VDBs to oratab for provisioning. Oratab is used to set environment variables when using dbstart / dbstop or your own DB startup / stops scripts to handle boot / reboots of the server.
Delphix has a feature for auto restart of a vdb for this specific purpose but in my experience best to list all databases in oratab whether they are all physical, all virtual or a blend of both. Since the Y and N flags are meaningful, one workaround maybe to put the letter V for VDB and allow Delphix to handle the auto startup when it detects the server was offline.
Once consideration, in my experience, is there maybe routine maintenance on the OS or DB binaries itself where you do not want the VDBs to constantly auto start and would need to disable the VDBs beforehand and re-enable after. Your own start / stop scripts could also have the logic to handle Y / N / V and treat everything the same.
Hope this helps!
------------------------------
Robert Henning
Principal Solutions Engineer
Delphix
------------------------------
Original Message:
Sent: 08-28-2023 06:00:49 AM
From: Rahim Cetinel
Subject: Oracle VDBs in /etc/oractab file
Hello,
I would like to ask, is there a requirement for putting entries into oratab file for provisioned virtual databases?
Does anyone have such experiences around needing or not needing puttting a manual entry into oratab file for a provisioned VDB?
Since Delphix is registering a VDB to the listener during the provision operation I believe it is not a "must" but would like to hear about your feedback as well.
BR,
------------------------------
Rahim Cetinel
Lead Dataops Architect | Delphix Blackbelt
------------------------------