Skip to content

Files

Latest commit

author
DelphixEdu
Jun 8, 2018
520c618 · Jun 8, 2018

History

History
896 lines (579 loc) · 35.1 KB

INSTRUCTIONS.md

File metadata and controls

896 lines (579 loc) · 35.1 KB

Delphix Admin for MS SQL Lab Guide

Table of Contents

Hands-On Lab Guides

Lab Exercises

Perform these exercises when instructed by your Delphix Instructor.

Prerequisite - Join the Delphix Domain

From your Student Desktop home screen, double click the RDP icon. This will open Remmina Remote Desktop client. Before we can continue these labs, you must connect to your Windows Source and Target and join them to the delphix.local domain.

Please note, it may take some time for the Windows servers to come online. If the Connecting dialog stays open for more than 5-10 seconds, cancel and try again in a few minutes.

Steps

  1. Double click on Windows Source
  2. When prompted, enter the password: delphix
  3. Once you are logged in, click on Start and then Run
  4. Type: sysdm.cpl
  5. Press Enter
  6. Click the Change button
  7. Under the Member of section, click the radio button next to Domain
  8. Enter the domain: delphix.local
  9. Click OK
  10. When prompted, enter the login details: * delphix_src * delphix
  11. Wait for the Welcome message and click OK, then click OK again to acknowledge the need to restart
  12. Click Close
  13. Click Restart Now

Once you have completed these steps, perform the following steps to set up the Windows Target :

  1. Go back to your Student Desktop click on Windows Target in your RDP application
  2. When prompted, enter the password: delphix
  3. Once you are logged in, click on Start and then Run
  4. Type: sysdm.cpl
  5. Press Enter
  6. Click the Change button
  7. Under the Member of section, click the radio button next to Domain
  8. Enter the domain: delphix.local
  9. Click OK
  10. When prompted, enter the login details: * delphix_trgt * delphix
  11. Wait for the Welcome message and click OK, then click OK again to acknowledge the need to restart
  12. Click Close
  13. Click Restart Now

See The RDP Client under Getting Started for more information on using the RDP application.

Optional Advanced Exercise - Perform a Storage Performance Test through the CLI

In this exercise, you will:

  • Log into the Delphix Engine prior to configuration via the Delphix Command Line Interface (CLI)
  • Perform a Storage Test
  • View the Storage Test results

Steps

  1. On your Lab Server desktop, double-click on Terminal
  2. Type: ssh sysadmin@10.0.x.10 ('x' is your Student Number assigned by your instructor) * If you receive a prompt asking you if you are sure you want to connect, enter: Yes * Enter the password: sysadmin * Escape to the standard CLI prompt by typing: discard * You are now at the root of the Delphix CLI as a System Administrator
  3. Create a storage test by typing: storage test create * List the default storage test parameters by typing: get * Override the duration and set it to 5 minutes: set duration=3 * Check all values by typing ls at the command prompt * Begin the storage test by typing: commit * Note that this test will take anywhere between 7-10 minutes to complete

images/download/attachments/90015915/worddavc276fac4332b81539a6114b6f823b7ec.png Example Storage Test Configuration

  1. View the storage test results * Get back to the storage test section of the CLI by typing: storage test * View a list of completed tests by typing: ls * Type "select" followed by the name of the test from the list. For example: select STORAGE_TEST-1 * Enter the result command by typing: result * Then type: commit * Scroll up to view the Test Grades section

images/download/attachments/90015915/worddav83df38c4c21b62a68a39b3286e9634f4.png Example Storage Test Results

Exercise 1 - Delphix Engine Configuration

In this exercise, you will:

  • Access the Delphix Engine GUI for the first time
  • Set up the Delphix SYSADMIN user
  • Configure Timezone Preferences
  • Configure Network Settings
  • Configure Disks
  • Complete the Delphix Engine configuration
  • Set up the DELPHIX_ADMIN user

Steps

  1. Connect to your Delphix Engine using Chrome on your lab server (see the Important IP Addresses section of the Getting Started guide above).
  2. Set the new sysadmin password to: delphix
  3. Configure the Delphix Engine with the following details: * NTP on using pool.ntp.org with your local timezone * Default network settings * Three 8GB volumes in the data pool * Default Serviceability options * Default Authentication Service options * Appliance marked registered (no support credentials are required for this lab) * Completed and saved System setup.
  4. Log in with the initial delphix_admin user credentials
  5. Set the new delphix_admin password to: delphix

You will know this is successful when you see the main Delphix UI screen with a single group (Untitled) on the left hand side.

Related Links The delphix_admin and sysadmin User Roles Setting Up the Delphix Engine

Exercise 2 - Configure the DB User on the Source

In this exercise, you will:

  • Connect to the Windows Source
  • Configure domain user privileges
  • Configure the local Delphix user

Steps

  1. Double click "RDP" icon on the Student Desktop
  2. Double click "Windows Source" icon
  3. Login as the delphix_src user (login details are in the Getting Started section of this guide)
  4. On the Windows Source machine, go to Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio

Note: You may need to scroll down on the right-hand side of the RDP window to see the Windows Start button. images/download/attachments/90015915/worddav1bc729235b8002f7001e71f93f5bb657.png * Under Authentication, select "SQL Server Authentication" * Log in as sa/delphix

images/download/attachments/90015915/worddav6bdc70f2145e7449d5af927b4aade4f7.png

  1. Configure the domain user privileges * Expand the Security folder, then Logins * Double Click on DELPHIX\delphix_src * Click on "User Mapping" * Check the box next to "master" * Select "db_datareader" for the database role membership * Click OK images/download/attachments/90015915/worddavdab58dcd241bf78681ef20fd35fb29ca.png

  2. Right click Logins

  3. Select New Login

  4. Fill in the following details on the General Screen: * Login Name: delphix_db * SQL Server Authentication * Password: delphix * Unclick "Enforce password expiration" * Unclick "User must change password at next login" * On the left, click "User Mapping" * Check master, then select "db_datareader" from the role list

images/download/attachments/90015915/worddav6aa444b271c421ba92d8494df29c80e6.png

* Check msdb, then select "db_datareader" from the role list

images/download/attachments/90015915/worddavae5eb8a15a987ee4539e6bbfc7ede08d.png

* Check AdventureWorks2008R2, then select "db_backupoperator" from the role list to allow copy only full backups

images/download/attachments/90015915/worddavee9552067446e2d322be3c53ec4cb20f.png

* Click OK

Exercise 3 - Take a Backup of the Source Database

In this exercise, you will:

  • Take a backup of the AdventureWorks2008R2 database
  • Verify the backup location share

Steps

  1. On the Windows Source machine, go to Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio * Under Authentication, select "SQL Server Authentication" * Log in as sa/delphix
  2. Expand "Databases"
  3. Right click AdventureWorks2008R2, then select Tasks -> Back Up...
  4. Note the backup destination in C:\Backups and click OK

images/download/attachments/90015915/worddav51f2df862ba552d46a1ef185ef61f657.png

  1. Click OK once the backup is complete
  2. Open Windows Explorer and navigate to C:\
  3. Right click "Backups" and select Properties
  4. Select the Sharing tab
  5. Click the "Share" button
  6. Ensure the Delphix Source user is the Owner and Delphix Target user has read/write privileges

images/download/attachments/90015915/worddavd6ca7fd647a60f9845420fe02b4e2b18.png

  1. Click Cancel

Exercise 4 - Configure the Windows Target/Staging Server

In this exercise, you will:

  • Download the Delphix Connector
  • Install the Delphix Connector
  • Enable Powershell scripts on the target

Before we start this exercise is important to mention that in Delphix, a Target and Staging server have the same configuration. It's a Delphix best practice to isolate the Staging workload from the VDB workload, so that's why we call them in a different way, but from a requirements point of view, they are the same.

Steps

  1. Double click "RDP" icon on the Student Desktop
  2. Double click "Windows Target" to connect to the Windows Target server
  3. Login as the delphix_trgt user (login details are in the Getting Started section of this guide)
  4. Open Google Chrome from your Windows Target desktop
  5. Navigate to your Delphix Engine at 10.0.x.10 ('x' is your Student Number ) * Log in as the delphix_admin user * Go to Manage -> Environments * Click the ellipses (…) and select Add Environment

images/download/attachments/90015915/worddava57004a26ec15405b106bc030428200a.png

* On the _Host and Server_ tab choose **Windows** as the _Host OS_ and **Target** as the _Host Type_ then click Next

images/download/attachments/90015915/worddav8207f96e2ec2346bb3593fca6d19d381.png

* Click the " _Download Delphix Connector Installer_ "

![images/download/attachments/90015915/worddav2cec493c04282a0948d461830f63e148.png](images/download/attachments/90015915/worddav2cec493c04282a0948d461830f63e148.png)

* Once it finishes downloading, click Keep
  1. Open Windows Explorer and go to Downloads
  2. Double click on DelphixConnectorInstaller
    • Click "Run"
    • Click "Next"
    • Agree to the terms and conditions and click Next
    • Accept the default Connector Port of 9100 by clicking Next
    • Accept the default location of C:\Program Files\Delphix\DelphixConnector\ by pressing Next
    • Click Next to install
    • Click Yes to allow the installation when the User Account Control (UAC) dialog pops up
    • Once it finishes, click Close
  3. Go to Start -> All Programs -> Accessories -> Windows PowerShell
  4. Right click on Windows PowerShell and select Run as Administrator

images/download/attachments/90015915/worddav37d0d98713699f10eccf388f0fa0efcd.png

  1. Click Yes to run with elevated privileges
  2. Type: Set-ExecutionPolicy Unrestricted at the Powershell prompt
  3. Press "Y" and enter

images/download/attachments/90015915/worddav415115917b3a7248c896f65fd5e67a0a.png

Exercise 5 - Create a Target Environment

In this exercise, you will:

  • Connect Delphix to your Windows Target server

Steps

  1. Navigate to your Delphix Engine at 10.0.x.10 ('x' is your Student Number )
  • Log in as the delphix_admin user
  • Go to Manage -> Environments
  • Click the ellipses (…) and select Add Environment images/download/attachments/90015915/worddava57004a26ec15405b106bc030428200a.png
  1. On the Host and Server tab choose Windows as the Host OS and Target as the Host Type then click Next

images/download/attachments/90015915/worddav8207f96e2ec2346bb3593fca6d19d381.png 3. Under the Environment Settings tab, enter the details:

  • Environment Name: WINTARGET
  • Host Address: 10.0.x.60 (x is your Student Number )
  • Delphix Connector port: 9100
  • OS Username: delphix\delphix_trgt
  • OS Password: delphix
  • Click Validate Credentials
  • Click Submit The creation is successful when "Create and discover environment 10.0.x.60" completes without error and WINTARGET appears on your Delphix Environments page

images/download/attachments/90015915/worddavb5ed0882a1929025813b0acc1a617a87.png

Exercise 6 - Add the Source Environment

In this exercise, you will:

  • Connect Delphix to your Windows Source Server

Steps

  1. Navigate to your Delphix Engine at 10.0.x.10 ('x' is your Student Number )
  2. Log in as the delphix_admin user
  3. Go to Manage -> Environments
  4. Click the ellipses (…) and select Add Environment
  5. On the Host and Server tab choose Windows as the Host OS, Source as the Host Type and Standalone as the Server Type then click Next
  6. Enter the details: * Environment Name: WINSOURCE * Host Address: 10.0.x.50 ('x' is your Student Number ) * Connector Environment: Click on WINTARGET * OS Username: delphix\delphix_src * OS Password: delphix
  7. Click Validate Credentials
  8. Click Submit

images/download/attachments/90015915/worddave7d4c3b1ae491d7bf599dd31fc8b7dce.png

The creation is successful when "Create and discover environment 10.0.x.50" completes without error and WINSOURCE appears on your Delphix Environments page

In this exercise, you will:

  • Add the AdventureWorks2008R2 dSource into Delphix and bring in the initial backup

Steps

  1. Navigate to Manage -> Datasets images/download/attachments/90015915/worddav9e7bebc06f9b20af064be6f7cfee8f08.png

  2. Click the Plus images/s/en_GB/7104/0e21dd459285e7b3b5e0deaa2193b2af8bbb7c8b/_/images/icons/emoticons/add.png and choose Add dSource from the drop-down

images/download/attachments/90015915/worddav2958c211ddad293eda939aee9835b88b.png

  1. On the Add dSource wizard, review the information and pre-requisites on the Preparation tab then click Next

  2. On the Source tab click the AdventureWorks2008R2 Data Source to select it and enter the information below

1. Environment User: **delphix\delphix_src**

2. Database Username: **delphix_db**

3. Database Password: **delphix**
  1. Click Verify Credentials

images/download/attachments/90015915/worddav8bb0df9f181973de20b59b9d42146c90.png

  1. Click Next

  2. Click the "Add Dataset Group" link

  3. Enter the Group Name: MS SQL Databases

images/download/attachments/90015915/worddave772fb62eb64e16a9377455a00dd0751.png

  1. Click OK and select the new group in the list

  2. Click Next

  3. Select "Use the most recent full or differential backup"

  4. For Backup Path, enter: \\10.0.x.50\Backups ('x' is your Student Number )

  5. For Staging Environment, select WINTARGET

  6. For Validated Sync Mode, select Transaction log backups and click Enabled next to LogSync

images/download/attachments/90015915/worddavc65a9f8c30a092fd185f8798cadb5538.png

  1. Click Next

  2. Click Next

  3. Verify your settings and click Submit

images/download/attachments/90015915/worddav7a7c7a2bfdf971568f777ebdb65cc8f0.png

  1. Go to the main Delphix page by clicking Delphix in the top left corner of the GUI

  2. Monitor the AdventureWorks dSource addition via the progress bar and the Actions pane

In this exercise, you will:

  • Create a VDB called devdb

  • Log into the VDB

Steps

  1. Click the AdventureWorks2008R2 dSource in the MS SQL Databases group

  2. Select the most recent snapshot and click Provision

images/download/attachments/90015915/worddav3085f064e4f8ef634a3e6b842d9d7a0b.png

  1. Select WINTARGET on the left pane of the wizard and click Next.

images/download/attachments/90015915/worddav7a064602a7e50c005324835caf52ca23.png

  1. Enter the Database Name: devdb

  2. Click Next

images/download/attachments/90015915/worddavb3b0808308ca79137738934d4a716d26.png

  1. Select the dataset group "MS SQL Databases group"

  2. Click Next

  3. Keep the defaults values for retention and click Next

  4. Keep the defaults for hooks and click Next

  5. Verify settings and click Submit

images/download/attachments/90015915/worddavedaf9dd2350c832578b57088bdf5261c.png images/download/attachments/90015915/worddavd168a0bfbee6ce0b7c49ad670fae3cfd.png It may take a couple minutes for the VDB creation to complete. You can monitor the progress on the left hand side of the screen next to the devdb object in the MS SQL Databases group. On the Actions pane on the right hand side of the screen, you should see the Provision virtual database "devdb" item move to the Recently completed pane without error. Once the VDB is created, you can verify that the VDB is operational by:

  1. Log into the Target via RDP

  2. Click Start and go to SQL Server Management Studio

  3. Click Connect to log in as delphix\delphix_trgt

  4. Expand Databases

  5. Note the "devdb" virtual database

  6. Note the validated sync database (named with a GUID)

images/download/attachments/90015915/worddavb25e4fbd60b085d4fe46430358b42272.png

In this exercise, you will:

  • Create a new table on your source database

  • Snapshot the dSource

  • Refresh your VDB - devdb

  • Verify the new table appears on the VDB

Steps

  1. Log into the Source via RDP

  2. Go to Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio

1. Under Authentication, select "SQL Server Authentication"

2. Log in as sa/delphix
  1. Expand "Databases"

  2. Right click AdventureWorks2008R2, then select New Query

  3. Run the following command:

select * into sourcetab from AdventureWorks2008R2.HumanResources.vEmployee;

  1. Take a transaction log backup (follow Exercise 3 and choose Backup type: Transaction Log in the "Back up Database" window

images/download/attachments/90015915/worddava5a77e557a0072bcfa9542d42a5b36c6.png

  1. Go back to the Delphix Engine GUI

  2. Within a couple of minutes a new timecard will appear for the dSource

images/download/attachments/90015915/worddavc66064a49de61163934a9d1167ea0bc6.png

  1. Select the devdb VDB and click the Refresh button

images/download/attachments/90015915/worddav5dbe8a0de8c6119dee9f219da2f3e034.png

  1. Refresh the devdb VDB using the latest snapshot from the AdventureWorks2008R2 dSource

images/download/attachments/90015915/worddav04258906537af6dfaccf142d87ec7bfc.png

  1. Click Submit button

Once the refresh has completed, you can log into devdb to confirm.

  1. Log into the Target via RDP

  2. Go to Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio

1. Under Authentication, select "SQL Server Authentication"

2. Log in as sa/delphix
  1. Expand "Databases"

  2. Right click devdb, then select New Query

  3. Run the following command:

select countimages/s/en_GB/7104/0e21dd459285e7b3b5e0deaa2193b2af8bbb7c8b/_/images/icons/emoticons/star_yellow.png from sourcetab; If this returns a count of rows, the snapshot/refresh was successful.

In this exercise, you will:

  • Take a snapshot of the devdb VDB

  • Delete a table

  • Rewind the devdb VDB to recover the table

Steps

  1. Take a snapshot of the devdb VDB and note the time

images/download/attachments/90015915/worddav85bed0f1f0f83ce8d92d2dd8f66dff40.png

  1. Log into the Target via RDP

  2. Go to Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio

1. Under Authentication, select "SQL Server Authentication"

2. Log in as sa/delphix
  1. Expand "Databases"

  2. Right click devdb , then select New Query

  3. Run the following commands:

drop table sourcetab; select countimages/s/en_GB/7104/0e21dd459285e7b3b5e0deaa2193b2af8bbb7c8b/_/images/icons/emoticons/star_yellow.png from sourcetab; You will receive an error "Invalid Object name 'sourctab'. Do not close the query window. Now we will rewind the VDB to the last good snapshot to recover the table.

  1. Select the devdb VDB

  2. Select the snapshot card associated with the date/time you recorded prior to dropping the table.

  3. Rewind the VDB to the snapshot card.

Once the rewind operation is complete, you can confirm the table has been recovered: Go to SQL Server Management Studio on Target SQL server and run the following command. select countimages/s/en_GB/7104/0e21dd459285e7b3b5e0deaa2193b2af8bbb7c8b/_/images/icons/emoticons/star_yellow.png from sourcetab; The should receive a count of the table.

There are four types of Policies in Delphix. In this exercise, you will:

  • Create a Retention Policy

  • Set the new policy to keep snapshots and logs for 30 days, along with 3 monthly snapshots

  • Apply the policy to the VDB we created in the previous exercise

Steps

  1. Navigate to Manage -> Policies

  2. Create a new retention policy for devdb with the following details:

1. Name: Long Term

2. 30 days of snapshot and log retention

3. 3 monthly snapshots taken on the 1st of the month
  1. To do this click on +Retention and then fill the fields as shown in the screenshot below:

images/download/attachments/90015915/worddav892f27227ee91e11f31c2a77d0808e3d.png

  1. Click Next and select devdb on the bottom of the pop up and then click Submit.

In this exercise, you will:

  • Create a Hook Operation Template called: CREATE APPUSER

  • Insert code into the template that will create a Login and database user named appuser

Steps

  1. Create a new Hook Operation Template called: Create APPUSER
1. Click on the **Manage** menu

2. Click on Operation Templates

images/download/attachments/90015915/worddavb87c766fa4287494644c3ccd91f0c354.png

  1. 1. Click on Plus sign
    
2. Name - CREATE APPUSER

3. Type - Powershell Script

4. Contents (enter exactly):

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac :macro-id="ca55a59d-af5a-4542-a9ee-0410936e41d6">ac:plain-text-body<![CDATA[

|

]]></ac:plain-text-body></ac:structured-macro> $sqlserver = "." $dbname = $env:VDB_DATABASE_NAME $name = "appuser" $Server = New-Object ('Microsoft.SqlServer.Management.Smo.Server') $sqlserver if (-Not $Server.Logins.Contains($name)) { $Login = New-Object -TypeName Microsoft.SqlServer.Management.Smo.Login -ArgumentList $Server, $name $Login.LoginType = 'SqlLogin' $Login.Create('delphix') } <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac :macro-id="2da4592c-e576-41bf-9411-2ab5384400cf"><ac:plain-text- body></ac:plain-text-body></ac:structured-macro> $user = new-object ('Microsoft.SqlServer.Management.Smo.User') $database, $name $user.Login = $name $user.Create()

---|---

The Hook Operation Template should look like the screenshot below images/download/attachments/90015915/worddav776c4bc8f6c814c302fb74e649b7599b.png

  1. Click Create

  2. Click Close

In this exercise, you will:

  • Create a VDB called qadb

  • Use the Hook Operation Template we created previously

  • Log into the Target Instance

  • Verify the Hook Operation Template was successful

Steps

  1. Click the AdventureWorks2008R2 dSource in the MS SQL Databases group

  2. Select the most recent snapshot and click Provision

  3. Select WINTARGET on the left pane of the wizard and click Next.

  4. Enter the Database Name: qadb

  5. Click Next

  6. Select the dataset group "MS SQL Databases group"

  7. Click Next

  8. Keep the defaults values for retention and click Next

  9. On the Hooks tab add a Configure Clone Hook

1. Click on the Plus ![images/s/en_GB/7104/0e21dd459285e7b3b5e0deaa2193b2af8bbb7c8b/_/images/icons/emoticons/add.png](images/s/en_GB/7104/0e21dd459285e7b3b5e0deaa2193b2af8bbb7c8b/_/images/icons/emoticons/add.png)

2. Click on _Create from Template_

images/download/attachments/90015915/worddav38749211acfde4eff7ac3bf7655f8a59.png

  1. 1. On the Hook Operation dialog box, verify that _Configure Clone_ is selected for the Hook Point
    
2. Enter a name - APPUSER

3. Click Create

images/download/attachments/90015915/worddav4582bd5da8fc427a3f271cfc84034e48.png

  1. Verify settings and click Submit

images/download/attachments/90015915/worddav3757b2259242a2385de9cf75736032ff.png It may take a couple minutes for the VDB creation to complete. You can monitor the progress on the left hand side of the screen next to the qadb object in the MS SQL Databases group. On the Actions pane on the right hand side of the screen, you should see the Provision virtual database qadb item move to the Recently completed pane without error. Once the VDB is created, you can verify that the VDB is operational by:

  1. Log into the Target via RDP

  2. Go to Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio

1. Under Authentication, select "SQL Server Authentication"

2. Log in as **appuser/delphix**
  1. Expand "Databases"

  2. Select qadb -> Security -> Users

This will verify that the VDB is online and that the APPUSER user was created by our hook.

  • Create a table

  • Delete the table

  • Backup transaction log

  • Recover the table from transaction log(log sync)

Steps

  1. Create a table as follows on source server

select * into Logsync_tab from AdventureWorks2008R2.HumanResources.vEmployee; ( Note the time )

  1. Wait for few mins

  2. Drop the table Logsync_tab

Drop table Logsync_tab; ( Note the time )

  1. Take a transaction log backup

  2. Wait until the dSource time flow reflects this Transaction log

  3. Create a VDB by selecting date and time from the Timeflow

Choose the transaction log prior to latest log (Latest log is the log that has create and drop table actions). images/download/attachments/90015915/worddav5e4ee402d32c897fd7e2fb7945d31400.png

  1. Expand the log by clicking on "Open LogSync" (second icon)

images/download/attachments/90015915/worddavb724a7df4d69bcc36f8720602c26756b.png

  1. Change the date time to the time after the table creation

images/download/attachments/90015915/worddave970119b2523181f35ef86d47d09389a.png

  1. Create VDB by clicking on "provision VDB "(First icon). Name the VDB - RecoverTable

images/download/attachments/90015915/worddav93cd80cb066e616d4d371544566a1b88.png

  1. After the VDB is created, look for the table on target server.
  • Log into the Target via RDP

  • Click Start and go to SQL Server Management Studio

  • Click Connect to log in as delphix\delphix_trgt

  • Expand Databases

  • Expand the " RecoverTable " virtual database

In this exercise you will

  • Delink a dSource

  • Note the changes to Timeline of the dSource caused by the delink operation

  • Note the VDB provisioned from the delinked dSource is unaffected.

Steps

  1. Login to the Delphix Admin UI as a user with Delphix_Admin privileges.

  2. Navigate to Manage  Datasets and click on the dSource "Adventureworks2008R2"

  3. Unlink the dSource - Click on the ellipses (…) next to snapshot button and click on "Unlink dSource"

images/download/attachments/90015915/worddav6ba203cca87a2644f98038d04e80ed11.png

  1. Click Unlink on the confirmation box that pops up.

  2. Once action completes note the status of the dSource on the right hand side has changed to Detached. You will be unable to take additional snapshots of a detached dSource.

  3. Note changes in the display. Click on Status and Configuration tabs and notice the changes.

  4. Connect to the target VDB and confirm it is still running.

In this exercise you will

  • Create new user

  • Assign delphix_admin privileges to the new user.

Steps

  1. Login to the Delphix UI as a delphix_admin

  2. Click on Manage  Users

images/download/attachments/90015915/worddav0cfd19785f03d75d5b881f05d5b0b4ff.png

  1. Click on + sign to add user

images/download/attachments/90015915/worddavc8de813d0445edcc9b398fd3aa9fbbbe.png

  1. Create a new Delphix Admin called DA_User (see the figure below)

images/download/attachments/90015915/worddav090fe932e979d863ee4d20f1cee70a1c.png

  1. Login to the Delphix UI as DA_User

In this exercise you will:

  • Explore options available to check the audit logs

  • Identify the record representing user creation of DA_User user from previous exercise

Steps :

  1. Navigate to the Audit page on Delphix UI

Login to the Delphix UI as a user with Delphix Admin privileges if not already logged in.

  1. Navigate to SystemAudit

images/download/attachments/90015915/worddavc69309b4d950f51776cbcff8279c019b.png

  1. Display audit records for the past week. From the Predefined Range drop down pick 1 Week to show Audit logs from the past week.

  2. Filter the records for USER. In the filter box on the top right hand side of the Audit page enter User , to filter out only the user action related records.

images/download/attachments/90015915/worddav175e8a59c1bc851decc6939484b4f0e2.png

  1. Look through the records displayed to identify logins by the DA_User