USING TIME MACHINE AND MICROSOFT SQL SERVER



Similar documents
CONFIGURING IIS WEB APPLICATIONS FOR USE WITH TIME MACHINE

Virtual Contact Center. Release Notes. Version Revision 1.0

Configuring Microsoft Active Directory for Oracle Net Naming. An Oracle White Paper April 2014

An Oracle White Paper July Introducing the Oracle Home User in Oracle Database 12c for Microsoft Windows

An Oracle White Paper March Integrating Microsoft SharePoint Server With Oracle Virtual Directory

Oracle FLEXCUBE Direct Banking Release Retail Credit Card User Manual. Part No. E

Configuring Microsoft Active Directory 2003 for Net Naming. An Oracle White Paper September 2008

Data Services and Web Applications

SIMPLIFY MICROSOFT CRM AND QUICKBOOKS INTEGRATION Microsoft Dynamics CRM Online to QuickBooks Bidirectional

An Oracle White Paper October BI Publisher 11g Scheduling & Apache ActiveMQ as JMS Provider

Virtual Contact Center

Using Symantec NetBackup with VSS Snapshot to Perform a Backup of SAN LUNs in the Oracle ZFS Storage Appliance

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

Oracle Insurance General Agent Hardware and Software Requirements. Version 8.0

How To Load Data Into An Org Database Cloud Service - Multitenant Edition

Engineering Change Management

An Oracle White Paper December Advanced Network Compression

Virtual Contact Center

An Oracle White Paper April How to Install the Oracle Solaris 10 Operating System on x86 Systems

An Oracle White Paper November Oracle Business Intelligence Standard Edition One 11g

Monitoring and Diagnosing Production Applications Using Oracle Application Diagnostics for Java. An Oracle White Paper December 2007

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

Deliver Oracle BI Publisher documents to Microsoft Office SharePoint Server An Oracle White Paper July 2008

An Oracle White Paper September Oracle Database and the Oracle Database Cloud

Active Directory Change Notifier Quick Start Guide

Configuring and Monitoring SharePoint Servers

Configuring and Monitoring Event Logs

Oracle Enterprise Manager

An Oracle Technical White Paper June Oracle VM Windows Paravirtual (PV) Drivers 2.0: New Features

Enabling Remote Management of SQL Server Integration Services

Virtual Contact Center

Oracle FLEXCUBE Direct Banking Release Corporate Foreign Exchange User Manual. Part No. E

Sun ZFS Storage Appliance Rule-Based Identity Mapping Between Active Directory and Network Information Services Implementation Guide

ChangeAuditor. Migration Guide CA-MG

Oracle Business Intelligence Enterprise Edition Plus and Microsoft Office SharePoint Server. An Oracle White Paper October 2008

Next Generation Siebel Monitoring: A Real World Customer Experience. An Oracle White Paper June 2010

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

Load Balancing Oracle Web Applications. An Oracle White Paper November 2004

Digipass Plug-In for IAS. IAS Plug-In IAS. Microsoft's Internet Authentication Service. Installation Guide

QUANTIFY INSTALLATION GUIDE

Oracle Enterprise Manager

4.0. Offline Folder Wizard. User Guide

Virtual Contact Center

An Oracle White Paper May Distributed Development Using Oracle Secure Global Desktop

Oracle Real-Time Scheduler Benchmark

Virtual Contact Center

Oracle Business Intelligence ADF Custom Visualizations and Integration. An Oracle White Paper November 2012

An Oracle White Paper February Oracle Data Integrator 12c Architecture Overview

Exploring AlwaysOn Failover Cluster Instances

An Oracle White Paper May Creating Custom PDF Reports with Oracle Application Express and the APEX Listener

Vyom SSO-Edge: Single Sign-On for BMC Remedy

G Cloud 7 Pricing Document

Oracle Business Intelligence Enterprise Edition LDAP-Security Administration. White Paper by Shivaji Sekaramantri November 2008

OfficeConnect Internet Firewall 25 Internet Firewall DMZ. QuickStart Guide (3C16770, 3C16771)

Oracle FLEXCUBE Direct Banking Release Retail Mutual Funds User Manual. Part No. E

Feature for India (Third-party invoice)

formerly Help Desk Authority Upgrade Guide

Achieving Sarbanes-Oxley Compliance with Oracle Identity Management. An Oracle White Paper September 2005

INSTALLING MICROSOFT OFFICE 2010 USER S GUIDE

One View Report Samples Financials

EMC ViPR Controller Add-in for Microsoft System Center Virtual Machine Manager

How to Use Microsoft Active Directory as an LDAP Source with the Oracle ZFS Storage Appliance

An Oracle White Paper June Security and the Oracle Database Cloud Service

Oracle VM Manager Template. An Oracle White Paper February 2009

Installation Guide Supplement

Deploying Oracle Database 12c with the Oracle ZFS Storage Appliance

Scribe Demonstration Script Web Leads to Dynamics CRM. October 4,

Oracle FLEXCUBE Direct Banking Release Corporate E-Factoring User Manual. Part No. E

New 11g Features in Oracle Developer Tools for Visual Studio. An Oracle White Paper January 2008

An Oracle White Paper September Oracle WebLogic Server 12c on Microsoft Windows Azure

Disaster Recovery. Websense Web Security Web Security Gateway. v7.6

Oracle Easy Connect Naming. An Oracle White Paper October 2007

Dell Statistica Statistica Enterprise Installation Instructions

Virtual Contact Center

An Oracle Benchmarking Study February Oracle Insurance Insbridge Enterprise Rating: Performance Assessment

An Oracle White Paper March Integrating the SharePoint 2007 Adapter with WebCenter Spaces ( & )

Privileged Access Management Upgrade Guide

Océ Repro Desk Professional

Database Assistant. Once Database Assistant is installed you must login to gain access to the database. Copyright 2009

An Oracle White Paper June How to Install and Configure a Two-Node Cluster

An Oracle White Paper July Oracle Desktop Virtualization Simplified Client Access for Oracle Applications

An Oracle White Paper March Oracle s Single Server Solution for VDI

Configuring and Monitoring SNMP Generic Servers. eg Enterprise v5.6

.CRF. Electronic Data Capture and Workflow System for Clinical Trials

2.0. Quick Start Guide

Symantec Enterprise Vault Technical Note. Administering the Monitoring database. Windows

Oracle Enterprise Single Sign-on Logon Manager How-To: Configuring ESSO-LM Event Logging with Microsoft SQL Server 2005 Release

APPLICATION MANAGEMENT SUITE FOR ORACLE E-BUSINESS SUITE APPLICATIONS

Manage Oracle Database Users and Roles Centrally in Active Directory or Sun Directory. Overview August 2008

SIMPLIFY SALEFORCE AND QUICKBOOKS INTEGRATION: Salesforce.com to QuickBooks Bidirectional

One View Report Samples Warehouse Management

Oracle Hyperion Financial Management Virtualization Whitepaper

Dell One Identity Cloud Access Manager How to Configure for High Availability

Oracle SQL Developer Migration. An Oracle White Paper September 2008

An Oracle White Paper June, Provisioning & Patching Oracle Database using Enterprise Manager 12c.

Dell Statistica Document Management System (SDMS) Installation Instructions

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

HPSM Integration Guide

An Oracle White Paper January, Enterprise Manager Cloud Control 12c: Configuring External User Authentication Using Microsoft Active Directory

Transcription:

USING TIME MACHINE AND MICROSOFT SQL SERVER The following guide is intended as a basic outline for using Time Machine with Microsoft SQL Server for performing date and time based software tests, time-lapsed simulations, or training new application users how to handle the date-triggered events within applications that are tied to a SQL Server database back-end. There are many applications that rely on Microsoft SQL Server to provide a back-end data store. In order to run simulations or test these applications with future or past dates, time zone differences or even simple leap year events it is necessary to use Time Machine to provide virtual clocks to the applications and the SQL Server. If applications are running in a user address space, you will need to provide a virtual clock for the logged in user s account as well as the account for the SQL Server Windows services. This paper shows how to setup and/or verify the SQL Server services are running either with a suitable managed service account or with a username defined by a system administrator. Additionally, the procedures in this paper can be followed as a rough guide for configuring other Windows services that may be part of the application software stack. THIS PROCESS WAS PERFORMED WITH THE FOLLOWING MACHINE PROFILE: Operating System: Windows Server 2012 R2 Database: SQL Server 2014 Click *Start+ then Administrative Tools and select Services. 1) In the right pane of the Service applet locate SQL Server (MSSQLSERVER). 2) Right-click on the entry for SQL Server (MSSQLSERVER) and select Properties.

3) On the Log On tab, if you have a SQL Server managed service account, as in the following screen capture, that will work. Press Cancel. 4) If Local System account is selected, click the This account radio button and enter a user name 5) other than NETWORK or LOCAL SERVICE.

VERIFYING THE CHANGE 1) Verify the change has been accepted by restarting all changed services. To do this just right click the entries for each and select Restart. 2) From a command line, assign a virtual date to the SQL Server account. 3) Verify the virtual date is running for the SQL Server account by listing the running virtual clocks and by executing a SQL Server function to return the current timestamp. tmuser -a -u NT SERVICE\MSSQLSERVER -y 5 or tmuser -a -u SQL -y 5 tmuser -l Listing all virtual clocks: ACCOUNT/pid CLOCK INFORMATION ------------------------------------------------------------------------------------------ (U) NT SERVICE\MSSQLSERVER Sun Sep 29 2019 21:21:37 (UTC-08:00) Pacific Time (US & Canada) Virtual date and time in system's time zone. Clock runs in normal speed. ------------------------------------------------------------------------------------------ C:\Users\Administrator>sqlcmd -d "AdventureWorks2014" -Q "select getdate()" ----------------------- 2019-09-29 21:21:47.970 (1 rows affected)

SETTING UP A SECOND INSTANCE With one instance of SQL Server installed, all users connecting to that instance will see the same virtual clock. It is sometimes useful to have multiple SQL instances so that different users can test concurrently with different virtual clocks or one group of users can see a virtual clock and other group can see the system clock. To set up a second instance for concurrent time testing, install SQL under a different user with a different SID. Remember to change the Log On As in Services for the second instance of SQL under the new SID so that the instances are controlled by difference accounts. Then different virtual clocks can be set against different SID to enable concurrent testing of different virtual clocks.

This document is provided for information purposes only, and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Time Machine and Solution-Soft are registered trademarks of SolutionSoft Systems, Inc. All other trademarks are properties of their respective owners. 2015 SolutionSoft Systems, Inc. All rights reserved. SolutionSoft Systems, Inc. 2350 Mission College Blvd. Suite #777 Santa Clara, CA 95054 U.S.A. Worldwide Inquiries: Toll Free: 1.888.884.7337 Phone: 1.408.346.1400 Fax: 1.408.346.1499 www.solution-soft.com