Data containers can be shared between multiple users. In this situation, users should coordinate with their co-owners when performing data operations that could disrupt other users' workflow such as stopping or refreshing the data container.
Activity One: How to Start and Stop a Data Container
- Starts the data sources
- This means that each data source listed in the Source Details section of the Data Container page will start using CPU and network resources on the target system it is running on
- Makes the data in the active branch available
- Once the container has been started, the data represented by the active branch is available
Stopping a Data Container does the following:
- Shuts down the data sources
- This means each data source listed in the Source Details section of the Data Container page will stop using CPU and network resources on the target system.
To start a data container, click Start on the Self-Service Toolbar.
To stop a data container, click Stop on the Self-Service Toolbar.
Working with a Branch, a Branch Timeline, and the Self-Service Toolbar
Activity Two: Using Reset from a Bookmark to Facilitate Destructive Testing
Afterwards, you can then run destructive tests on the data. When you are done, you can click the Reset icon, which will automatically restore the state of the container to the last operation – in this case, the bookmark. This workflow ensures that each test has a clean copy of the data and is not impacted by the results of other tests. You only need to create a bookmark and click Reset on the Self-Service Toolbar.
Create a Bookmark
- Select a Data Point on a branch's timeline.
- On the Self-Service Toolbar, click the Bookmark icon.
- In the Bookmark Window, enter a new name.
Name a Created Bookmark
- Optionally, fill in a description.
- Optionally, set an expiration date. The bookmark will be automatically deleted at the end of this day.
- Optionally, add one or more tags.
You can use these to help filter a set of bookmarks.
- Click Create.
After the bookmark has been created, you will see the bookmark icon appear on the timeline. When you click the Reset button, all data will be reset to that point in time.
Reset to Data from a Bookmark
Click the Reset icon.
This action reflects the moment of data marked by the closest operation bubble (Refresh, Restore, Reset, or Bookmark) into a new timeline segment on the active branch. It also copies the moment of data into the data sources.
Update Data with Reset
Click the Undo Data icon for an operation.
Undo the given operation. This is only valid for RESET, RESTORE, UNDO, and REFRESH operations.
Activity Three: Using Refresh to Get the Latest Data From a Data Template
- Start a new timeline segment with the most recent point of data from the data container's data template.
- Click the Refresh icon.
Refresh creates a new timeline segment on the active branch. This refreshes each source in the data container to the latest data in the corresponding source of the data template.
Update Data with Refresh
Activity Four: Using Restore to Return Data Back to a Point in Time
- Select one of the following:
- A point of data on a timeline.
- A bookmark on a timeline.
- A bookmark under the Bookmarks tile in the Data Container Report Panel.
- Click the Restore icon.
If you restore data back to a point in time on the data template master timeline, you will be asked which data container to restore into. It will then:
- Reflect the selected point of data into a new timeline segment on the active branch
- Copy the moment of data into the data sources
If the timeline segment on a branch timeline was created by a Restore operation, then the segment starts with the moment of data from the branch that was selected when the Restore operation was done. This is illustrated below.
The parent branch for this segment can be the same branch of which this segment is a part. It is possible to restore the active branch from a point in time on the same branch.
Update Data with Restore
The source branch for this segment can be the same branch of which this segment is a part. It is possible to restore the active branch from a point in time on the same branch.
Activity Five: Restoring to a Point on the Parent Template
Data templates serve as the parent for a set of data containers, and as a data user, you have the flexibility to restore your container to any point on the template.
- Choose the container tab and select the template by clicking on the template name located at the top of the screen.
- Select one of the following:
- A point of data on the timeline
- A bookmark on the timeline
- A bookmark under the Bookmarks tile in the Data Container Report Panel
- Click the restore icon .
- A dialog will pop up. Use it to select the container you'd like to restore.
Because forceOption does not take a snapshot of the VDB before refreshing/resetting/restoring, you cannot undo the operation afterward.
From the CLI:
- Go to the Delphix Self-Service container endpoint.
- Select the container.
- Select the desired operation (refresh, reset, restore).
- Set forceOption parameter to true.
- Commit the change.
The operation will now perform without taking a snapshot first.
Activity Six: Create a New Branch and Switch Between Branches
- A point of data time on a data timeline within the Delphix Self-Service data container, or
- A bookmark bubble on the timeline, or
- A bookmark in the Bookmarks tile in the Data Container Report Panel
- Click the Branch icon to create a new branch.
- Enter a name for the new branch.
- Click OK.
- On the Self-Service Toolbar, click the Activate icon.
If the inactive branch is not showing in the data container workspace:
- Find the branch in the Branch tab.
Selection of Branches in Branch Tab
- Click the Activate icon.
- After a moment, the branch will become active.
Within a single data container, only one branch is active at any given time. The data located at the red star of the active branch's timeline is the newest copy of the data from the data container's data sources.
The active branch is distinguished by a red star, which appears at the far right of the timeline, alongside its name in the Branch Name area, and in the Branch tab.
|Active branch||Inactive branch|
Activity Seven: Rename and/or Delete a Branch
Rename the Default Branch
- Select the Default Branch in the Branch tab.
- Click the Pencil icon to the right of the name.
- Enter the new name.
- Click the Checkmark icon.
Delete a Created Branch
- Select the branch in the Branch tab.
- Click the Delete icon to the right of the name.
- Click Delete in the confirmation window that appears.
Activity Eight: Restoring a Data Container to a Consistent State with the Recovery Operation
Data Containers Consistency
Delphix Self-Service allows you to group multiple datasets in the same data container. This makes it easy for you to access entire applications such as PeopleSoft, including binaries and code. If a data container represents an application, then there are likely to be dependencies between the application's datasets. For example, the vFiles data source containing the code will depend on a specific version of the database's schema. Therefore, it is important that all dataset sources are drawn from the same point in time. If they are, the data container is in a "consistent" state; if they are out of sync, or "inconsistent," errors will occur. For example, if the vFiles data source containing the code has been updated more recently than the the database's schema, the dependency cannot work.
Delphix Self-Service currently has no way to determine whether the application is consistent. However, it attempts to minimize the chance that dataset sources are out of sync whenever it performs a data operation such as refresh, restore, or reset. When performing a data operation, Delphix Self-Service attempts to snapshot all dataset sources from a point in time as close as possible to the desired time. If at least one of the data sources fails to go to the desired point, then Delphix Self-Service considers the data container to be in an inconsistent state. The application as a whole may still be working, but Delphix Self-Service assumes that the failed dataset's data is not the correct version. To return to a consistent state, you must perform a recovery operation on the data container.
Data Container Recovery
Prior to performing any data operation, Delphix Self-Service takes snapshots of all datasets. Recovery is the process of rolling back a data container to a snapshot, thereby restoring it to a consistent state. When a failure occurs, you will see the following screen:
You can either perform recovery or use a different data container. Whether the recovery will fail or succeed depends on exactly why the data operation failed in the first place. If the problem was intermittent, such as a temporary network problem causing SSH failure, then performing recovery should work. If the problem is persistent – for example, the target host is out of space – then intervention is required; recovery will not succeed until you address the underlying root cause of the failure.
Admins can see the underlying failure in the Actions sidebar or the Job History dashboard. The Actions sidebar is the preferred place to view the failure; it has a hierarchical display that makes diagnosing the failure more straightforward (see screenshots).
The Actions sidebar
Activity Nine: Working with Container Locks
You can lock a container by clicking the Lock button in order to prevent other users from operating on it.
The information on who locked the container is available in three places:
- In the history below the timeline
- In the tooltip on the locked container’s name in the container selector
- In the tooltip on the locked container’s name in the container label above the timeline
If an action such as refresh fails, a dialog box will give you further information. The Error Details field will
The copy button enables you to copy and paste error details, which you can then send to your Delphix administrator for further assistance.