DBMaintPlus August 23, 2012. DBMaintPlus SQL Database Maintenance Utility for RB-ERP Version V9.3 and above Disclaimer The DBMaintPlus Utility is designed.

Slides:



Advertisements
Similar presentations
CC SQL Utilities.
Advertisements

© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
Data Transfer Data Import Data Export Database Backup and Restore Uninstalling and re-installing LIMS.
Presentation Heading – font Arial
Operating System Customization
POP QUIZ!!! What kind of software is Medisoft? Name ONE of the 4 things that you can do to data in Medisoft. What is the Medisoft Program Date? What key.
Unauthorized Reproduction Prohibited SkyPoint Alarm Integration Add-On Using OnGuard Alarms to create events in SkyPoint Also called ‘SkyPoint V0’ CR4400.
CHAPTER © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 2 Introduction to Medisoft.
Chapter 9 Auditing Database Activities
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
1 Distributed File System, and Disk Quotas (Week 7, Thursday 2/21/2007) © Abdou Illia, Spring 2007.
Technical Support: (989) GIS and Mapping Procedures in ArcMap 9.x Creating an ArcMap Project Editing an ArcMap Project Printing an ArcMap Project.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
ShelterPoint™ Data-Entry Workflows. ShelterPoint v5.2.3.
Incident Response Updated 03/20/2015
Ch 8-3 Working with domains and Active Directory.
Hosted Exchange The purpose of this Startup Guide is to familiarize you with ExchangeDefender's Exchange and SharePoint Hosting. ExchangeDefender.
1 Introducing Windows Backup There are different methods for starting Windows 2000 Backup. Requirements for running Windows 2000 Backup All users can back.
CHAPTER © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 3 Introduction to Medisoft.
© 2009 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Career Education Computers in the Medical Office Chapter 3: Introduction to.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
FireRMS SQL Audit, Archiving & Purging Presented by Laura Small FireRMS Quality Assurance.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
How KeePass password safe can save you time and energy
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 4 Microsoft Windows XP.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
Updating FireRMS Presented by Dan Cook Implementation Team Lead ZOLL.
1. Insert the Resource CD into your CD-ROM drive, click Start and choose Run. In the field that appears, enter F:\XXX\Setup.exe (if “F” is the letter of.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
TxEIS Security A role-based solution October 2010.
IS 221: DATABASE ADMINISTRATION Lecture 6:Create Users & Manage Users. Information Systems Department 1.
Duty Log and Chat Setup SSG Frese, Jerome S. Sensor Manager Cell 12 MDD.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Upgrade Process. GL Adjustments Create Backup Restore from a Backup Download & Install.
Publishing Your Web Pages Ann Emmanuel SIUE Web Administrator
Trustee Efficiency Options In this session we will discuss reconciling ACV’s, importing mortgage company files, mortgage company batches, and Ad Valorem.
Chapter 10 Chapter 10: Managing the Distributed File System, Disk Quotas, and Software Installation.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Darek Sady - Respondus - 3/19/2003 Using Respondus Beginner to Basic By: Darek Sady.
How to Create an Address How to Create a Free Account, Read and Answer your s. Yahoo! provides FREE . To create a free .
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
ProjectWise 101 Chapter 5 – Reference Files Gary Cochrane – Technical Director Geospatial Sales – North America.
Managing File Resource Using File Server Resource Manager Chapter 9 Advance Computer Network Lecture Sorn Pisey
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
12/5/071 How to Connect to the CAP Server & Convert MS Access Databases from RDB to ORACLE (CAP server environment) Marshall Silberstein (with additions.
Collaborate. Coordinate. Evaluate. Connecting Communities > Demonstrating Outcomes ™ / I&R Housing Youth & Family Services Older Adult Services ShelterPoint™
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Your current Moodle 1.9 Minimum Requirements Ability to do a TEST RUN! Upgrading Moodle to Version 2 By Ramzan Jabbar Doncaster College for the Deaf By.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Proctor Caching and System Check September 4, 2014 Becky Hoeft Conference Number: (877) Conference Pin:
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
Joomla Awdhesh Kumar Singsys Pte Ltd. What is Joomla? Joomla is an award-winning content management system (CMS), which enables you to build Web sites.
Upgrading PD² Archiving Utility Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
Setting up data redundancy on DSS V6 with Asynchronous Data Replication and local Backup Software Version: DSS ver up50 Presentation updated: October.
Presentation Heading – font Arial
Archiving and Document Transfer Utilities
Database application MySQL Database and PhpMyAdmin
Computers in the Medical Office
Administering Your Network
NAVIGATING THE MINEFIELD
Introduction to Medisoft
Presentation transcript:

DBMaintPlus August 23, 2012

DBMaintPlus SQL Database Maintenance Utility for RB-ERP Version V9.3 and above Disclaimer The DBMaintPlus Utility is designed for use by staff familiar with RB-ERP and the SQL database versions of RB-ERP. Use of this program and the procedures included in this document are at the risk of the user. WorkWise is not responsible for misapplication or misinterpretation of the procedures included in this document. DBMaintPlus and the procedures contained require that you have made sufficient backups and have a verified restore capability should issues arise. The end user of this utility and these procedures is responsible for such backups and verified restore capability. This document contains procedures which will modify both the RB-ERP SQL Database and associated ISAM “cache” files on the RB-ERP Application Server. Care to insure data integrity is of the utmost priority in the use of this document.

DBMaintPlus SQL Database Maintenance Utility for RB-ERP Version V9.3 and above Recommendations It is STRONGLY recommended that the use of this tool be done off-hours, with no users on the system. These procedures should only be done AFTER SUFFICIENT BACKUPS are made of the current RB-ERP SQL database and ISAM files. Multi-RB-ERP Environments - Caution !! Be VERY careful if multiple RB-ERP environments are on your servers. You must ensure you are referencing the correct environment when following any of the procedures in this document. Requirements for usage of this document: RB-ERP V9.3 or above DBMaintPlus.exe dated 8/3/2012 or better

DBMaintPlus Documentation Location on WW network:

DBMaintPlus Documentation Location on WW network:

DBMaintPlus on RB-ERP Server

DBMaintPlus on SQL Server

DBMaintPlus Learn by Examples #1 Copy Existing RB-ERP Company (Schema) to New RB-ERP Company (Schema) #2 Copy Existing RB-ERP Company (Schema) to Existing RB-ERP Company (Schema) #3 Create New Company (Schema) ‘abc’ #4 Delete an Existing RB-ERP Company/Schema #5 Refresh Test Environment W94 Data from Live Environment V94 Data #6 Copy selected tables from one DB to another

DBMaintPlus Exercise #1 Copy Existing RB-ERP Company (Schema) to New RB-ERP Company (Schema) – Make a copy of company 'tst' to non-existing 'new' – Steps starting on Page 8 Copy existing ISAM files from 'tst' to 'new' Edit the EMS_REGISTRY.NEW file Create the logical RB-ERP company 'new' Verify “connection string”  NEW TERM Create xfODBC connection file for 'new'

DBMaintPlus Exercise #1 On SQL Server - Create schema for ‘new’ – RB-ERP Server – DCM to Obtain DCM Version On SQL Server – Verify Linked Server Working RB-ERP Server – DCM Tool to Update Schema RB-ERP Server – DBMaintPlus – Copy Schema RB-ERP Server – Delete/Create Cache Files RB-ERP Server – Verify Sync’ed Cache Files Additional tasks – Background Scheduler and DC Services and process configurations as required

DBMaintPlus Exercise #1 Copy existing ISAM files from 'tst' to 'new' Note – this will copy cache files etc from the DSQ folder! Bad news – it takes more time ! Good news – it verifies that there is enough space for the copies! The “ED” application files are the ONLY ones that need to be copied. If you want to only copy “ED” files, use the command: copy_tcmdata X:\tcm\W94_DATA0\ED tst new

DBMaintPlus Exercise #1 Copy existing ISAM files from 'tst' to 'new'

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file Note – I always use: ‘spaceCMPspace’ NOTE – Do the above replace using the “Match Case” selection and do it twice: TST  NEW and then tst  new

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file

DBMaintPlus Exercise #1 Edit the EMS_REGISTRY.NEW file CTRL_Z to finish !

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new'

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Add Company Code

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Add Company Code Select a blank entry (6) Enter ‘new’

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Add Company Code Select a blank entry (6) Enter ‘new’ 99% use (C)opy

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Add Company Code Select a blank entry (6) Enter ‘new’ 99% use (C)opy Warning Message - YES

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Add Company Code Select a blank entry (6) Enter ‘new’ 99% use (C)opy Warning Message – YES Company code to copy

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Add Company Code Select a blank entry (6) Enter ‘new’ 99% use (C)opy Warning Message – YES Company code to copy

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Change Company Name

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Change Company Name Enter ‘new’

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Change Company Name Enter ‘new’ Enter new company name

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Company Maintenance Select Change Company Name Enter ‘new’ Enter new company name

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Password/Device Maint

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Password/Device Maint Add a new password

DBMaintPlus Exercise #1 Create the logical RB-ERP company 'new' Using Navigator Password/Device Maint Add a new password SUPERPASS | new ‘M’ for all files ‘R’ for all files

Using Navigator Company Maintenance Connection String Maint DBMaintPlus Exercise #1 Verify “connection string”  NEW TERM

Using Navigator Company Maintenance Connection String Maint Enter new company ‘new’ DBMaintPlus Exercise #1

Verify “connection string”  NEW TERM Using Navigator Company Maintenance Connection String Maint Enter new company ‘new’ Hitting enter on field to chg will verify the string DBMaintPlus Exercise #1

Verify “connection string”  NEW TERM Using Navigator Company Maintenance Connection String Maint Enter new company ‘new’ Hitting enter on field to chg will verify the string DBMaintPlus Exercise #1

Verify “connection string”  NEW TERM DBMaintPlus Exercise #1 SQL DB USERNAME | PW

Verify “connection string”  NEW TERM DBMaintPlus Exercise #1 SQL DB USERNAME | PW

Verify “connection string”  NEW TERM DBMaintPlus Exercise #1 SQL SERVER DSN NAME

Verify “connection string”  NEW TERM DBMaintPlus Exercise #1 SQL SERVER NAME

Verify “connection string”  NEW TERM DBMaintPlus Exercise #1 SQL DB NAME

Create xfODBC connection file for 'new' DBMaintPlus Exercise #1 Copy ‘tst’ con file to ‘new’ new_W94.con X:\var\tcm\connect

Create xfODBC connection file for 'new' DBMaintPlus Exercise #1 Edit ‘new’ con file

Create xfODBC connection file for 'new' DBMaintPlus Exercise #1 Replace ‘.tst’ with ‘.new‘

DBMaintPlus Exercise #1 On SQL Server - Create schema for ‘new’

DBMaintPlus Exercise #1 On SQL Server - Create schema for ‘new’

SQL Server Name DBMaintPlus Exercise #1 On SQL Server - Create schema for ‘new’

SQL Server Name DBMaintPlus Exercise #1 On SQL Server - Create schema for ‘new’

SQL Server Name DBMaintPlus Exercise #1 On SQL Server - Create schema for ‘new’

SQL Server Name DBMaintPlus Exercise #1 On SQL Server - Create schema for 'new' SQL DB Name Schema Code ‘new’

DCM Version DBMaintPlus Exercise #1 On SQL Server - Create schema for 'new'

DCM Version DBMaintPlus Exercise #1 What DCM Version do I use ? Where can I find out?

On SQL Server - Create schema for 'new' DCM Version DBMaintPlus Exercise #1 What DCM Version do I use ? Where can I find out?

RB-ERP Server – DCM to Obtain DCM Version DCM Tool DBMaintPlus Exercise #1

RB-ERP Server – DCM to Obtain DCM Version

DBMaintPlus Exercise #1 RB-ERP Server – DCM to Obtain DCM Version Verify Environment

DBMaintPlus Exercise #1 RB-ERP Server – DCM to Obtain DCM Version Verify Environment Verify SQL Server Verify SQL DB Name

DBMaintPlus Exercise #1 RB-ERP Server – DCM to Obtain DCM Version Instance Name if Required

DBMaintPlus Exercise #1 RB-ERP Server – DCM to Obtain DCM Version

DBMaintPlus Exercise #1 RB-ERP Server – DCM to Obtain DCM Version

On SQL Server - Create schema for 'new' DCM Version DBMaintPlus Exercise #1 Create Schema – NOT UPGRADE SCHEMA

RB-ERP Server Name DBMaintPlus Exercise #1 On SQL Server - Create schema for 'new' xfODBC Connection File Name Data used for creation of a Linked Server which allows access back to the RB-ERP Application Server for access to ISAM Files.

RB-ERP Server Name DBMaintPlus Exercise #1 On SQL Server - Create schema for 'new' xfODBC Connection File Name Data used for creation of a Linked Server which allows access back to the RB-ERP Application Server for access to ISAM Files.

DBMaintPlus Exercise #1 On SQL Server - Create schema for 'new'

DBMaintPlus Exercise #1 On SQL Server - Create schema for 'new' Progress logged here… This step will take awhile !!

DBMaintPlus Exercise #1 On SQL Server - Create schema for 'new' Done – Check for error messages

DBMaintPlus Exercise #1 On SQL Server – Verify Linked Server Working Using SSMS Server Objects Linked Servers

DBMaintPlus Exercise #1 On SQL Server – Verify Linked Server Working Using SSMS Server Objects Linked Servers Locate new linked server Right-Click – Test

DBMaintPlus Exercise #1 On SQL Server – Verify Linked Server Working Using SSMS Server Objects Linked Servers Locate new linked server Right-Click – Test

DCM Tool DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema Verify Environment Verify SQL Server Verify SQL DB Name

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema Although the schema was created at V9.4, it needs to have any addendum updates and changes added to the vanilla V9.4 schema to be at the latest patch level.

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema Check EVERYONE FULL on the share W94_DATABASE permissions !

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema This step can take awhile !

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema

DBMaintPlus Exercise #1 RB-ERP Server – DCM Tool to Update Schema This DCM process ran from 13:15 to 13:30 (15 minutes) on an empty schema! Execution of this process on a LARGE data base against multiple schemas can take some time !!

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema And FINALLY we are actually going to “copy a schema !!

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema Verify Correct Environment

DBMaintPlus Exercise #1 Verify SQL Server Name RB-ERP Server – DBMaintPlus – Copy Schema Verify SQL DB Name Select source schema ‘tst’

DBMaintPlus Exercise #1 Verify SQL Server Name RB-ERP Server – DBMaintPlus – Copy Schema Verify SQL DB Name Select destination schema ‘new’

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema There is a pause at this point ! Don’t panic – it is going to run !!

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema This step can take awhile !

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema

DBMaintPlus Exercise #1 RB-ERP Server – DBMaintPlus – Copy Schema

DBMaintPlus Exercise #1 RB-ERP Server – Delete/Create Cache Files Change directory to DSQ Delete existing ‘new’ cache

DBMaintPlus Exercise #1 RB-ERP Server – Delete/Create Cache Files Change directory to DSQ Delete existing ‘new’ cache Build ‘new’ cache files

DBMaintPlus Exercise #1 RB-ERP Server – Delete/Create Cache Files On a company with a HUGE amount of data, this can take a LONG TIME !!

DBMaintPlus Exercise #1 RB-ERP Server – Delete/Create Cache Files Use dir *.ne* /p Verify that all cache files got built – look for file 673.

DBMaintPlus Exercise #1 RB-ERP Server – Verify Sync’ed Cache Files User isqlvcount to verify

DBMaintPlus Exercise #1 RB-ERP Server – Verify Sync’ed Cache Files Check tcm_logger.log file In folder: X:\var\tcm\logger\logs

DBMaintPlus Exercise #1 RB-ERP Server – Verify Sync’ed Cache Files First ISQLVCOUNT From the bottom find the first ISQLVCOUNT and search for “FAILED” to the bottom of the log file.

DBMaintPlus Exercise #1 RB-ERP Server – Verify Sync’ed Cache Files First ISQLVCOUNT From the bottom find the first ISQLVCOUNT and search for “FAILED” to the bottom of the log file.

DBMaintPlus Exercise #1 RB-ERP Server – Verify Sync’ed Cache Files

DBMaintPlus Exercise #1 Additional Tasks – Setup services for background processes as required RB-ERP Services – Background Scheduler – DC Services – Including configuration within RB-ERP » DCM1MA » DCSRVR

DBMaintPlus Learn by Examples #1 Copy Existing RB-ERP Company (Schema) to New RB-ERP Company (Schema) QUESTIONS ?

DBMaintPlus Exercise #2 Copy Existing RB-ERP Company (Schema) to Existing RB-ERP Company (Schema) – Make a copy of company 'tst' to existing 'new' – Steps starting on Page 32 Remove existing ISAM files for ‘new’ Copy existing ISAM files from 'tst' to 'new' Edit the EMS_REGISTRY.NEW file RB-ERP Server – DBMaintPlus – Copy Schema RB-ERP Server – Delete/Create Cache Files RB-ERP Server – Verify Sync’ed Cache Files

DBMaintPlus Exercise #2 Copy Existing RB-ERP Company (Schema) to Existing RB-ERP Company (Schema) – Make a copy of company 'tst' to existing 'new' – Steps starting on Page 32 Remove existing ISAM files for ‘new’ Copy existing ISAM files from 'tst' to 'new' Edit the EMS_REGISTRY.NEW file RB-ERP Server – DBMaintPlus – Copy Schema RB-ERP Server – Delete/Create Cache Files RB-ERP Server – Verify Sync’ed Cache Files

DBMaintPlus Learn by Examples #2 Copy Existing RB-ERP Company (Schema) to Existing RB-ERP Company (Schema) QUESTIONS ?

DBMaintPlus Exercise #3 Create New Company (Schema) ‘abc’ – Create a new company code ‘abc' – Steps starting on Page 50 Create the logical RB-ERP company ‘abc' Verify “connection string” Create xfODBC connect file ‘abc_VXX.con’ Create base ISAM files (copy or initialize) – DUT:UT_CURR_CODE.abc – DUT:EMS_REGISTRY.abc – DCM:TABLES.abc

DBMaintPlus Exercise #3 Set ‘abc’ Schema Device Table Entries to RDB On SQL Server - Create schema for ‘abc’ – RB-ERP Server – DCM to Obtain DCM Version On SQL Server – Verify Linked Server Working RB-ERP Server – DCM Tool to Update Schema RB-ERP Server – Initialize all applications / files RB-ERP Server – Create Cache Files RB-ERP Server – Verify Sync’ed Cache Files Additional tasks – Background processes configurations as required

DBMaintPlus Exercise #3 Create New Company (Schema) ‘abc’ – Create a new company code ‘abc' – Steps starting on Page 50 Create the logical RB-ERP company ‘abc' Verify “connection string” Create xfODBC connect file ‘abc_VXX.con’ Create base ISAM files (copy or initialize) – DUT:UT_CURR_CODE.abc – DUT:EMS_REGISTRY.abc – DCM:TABLES.abc

DBMaintPlus Exercise #3 Set ‘abc’ Schema Device Table Entries to RDB On SQL Server - Create schema for ‘abc’ – RB-ERP Server – DCM to Obtain DCM Version On SQL Server – Verify Linked Server Working RB-ERP Server – DCM Tool to Update Schema RB-ERP Server – Initialize all applications / files RB-ERP Server – Create Cache Files RB-ERP Server – Verify Sync’ed Cache Files Additional tasks – Background processes configurations as required

#3 Create New Company (Schema) ‘abc’ QUESTIONS ? DBMaintPlus Learn by Examples

DBMaintPlus Exercise #4 Delete an Existing RB-ERP Company/Schema – DEM Company not needed – training / testing – Steps starting on Page 46 Delete the logical company ‘dem’ from RB-ERP application RB-ERP Server – Delete ‘dem’ ISAM / Cache Delete the ‘dem’ schema using DBMaintPlus Additional tasks – Remove background processes as required

DBMaintPlus Exercise #4 Delete the logical RB-ERP company ‘dem' Using Navigator Company Maintenance

DBMaintPlus Exercise #4 Delete the logical RB-ERP company ‘dem' Using Navigator Company Maintenance Select Delete Company Code

DBMaintPlus Exercise #4 Delete the logical RB-ERP company ‘dem' Using Navigator Company Maintenance Select Delete Company Code Locate ‘dem’ (2) Enter ‘2’

DBMaintPlus Exercise #4 Delete the logical RB-ERP company ‘dem' Using Navigator Company Maintenance Select Delete Company Code Locate ‘dem’ (2) Enter ‘2’ After checking for users, message of if you really want to do this appears. Select YES – logical company is deleted.

DBMaintPlus Exercise #4 RB-ERP Server – Delete ‘dem’ ISAM / Cache Files Change directory to DATA0 Delete ALL ISAMs for ‘dem’

DBMaintPlus Exercise #4 RB-ERP Server – Delete ‘dem’ ISAM / Cache Files Change directory to DATA1 Delete ALL ISAMs for ‘dem’

DBMaintPlus Exercise #4 On SQL Server - Delete schema for ‘dem’

DBMaintPlus Exercise #4 On SQL Server - Delete schema for ‘dem’

DBMaintPlus Exercise #4 On SQL Server - Delete schema for ‘dem’

SQL Server Name DBMaintPlus Exercise #4 On SQL Server - Delete schema for ‘dem' SQL DB Name Select Schema ‘dem’

DBMaintPlus Exercise #4 On SQL Server - Delete schema for ‘dem'

DBMaintPlus Exercise #4 On SQL Server - Delete schema for ‘dem'

DBMaintPlus Exercise #4 On SQL Server - Delete schema for ‘dem' This step can take awhile !

DBMaintPlus Exercise #4 On SQL Server - Delete schema for ‘dem'

#4 Delete an Existing RB-ERP Company/Schema QUESTIONS ? DBMaintPlus Learn by Examples

DBMaintPlus Exercise #5 Refresh Test Environment W94 Data from Live Environment V94 Data – Copy all company/schema data from V94 to W94 – Steps starting on Page 67 Make a FULL backup of all data (static system) – V94 SQL DB  V94_SQL_DB_BACKUP.BAK (Using SSMS) – V94_DATA0  V94_DATA0_COPY – V94_DATA1  V94_DATA1_COPY Note values in current W94 SQL DB ‘dbo.parameters’ table – Row 39 and Row 44 Note W94 SQL DB users / schemas under security

DBMaintPlus Exercise #5 Optionally make backups first then delete – Current W94 SQL DB – Current W94_DATA0 and W94_DATA1 – NOTE – you may want to save DC configuration ‘.DAT’ files in DUT Restore Data from V94 to W94 – Using SSMS Restore SQL DB from Backup » V94_SQL_DB_BACKUP.BAK  SQL DB TCMW94 – Copy / Replace » V94_DATA0_COPY  W94_DATA0 » V94_DATA1_COPY  W94_DATA1 – Set ‘dbo.parameters’ Row 39 and 44 back to noted values – Create users for all schemas in W94 SQL DB (DBMaintPlus ) Verify xfODBC connection files for W94 environment

DBMaintPlus Exercise #5 Verify xfODBC connection files for W94 environment Verify/correct connection strings for ALL schemas Run DCM tool against all schemas in W94 Delete all cache files Rebuild all cache files Remove all non-standard triggers (DBMaintPlus) – CRM – Others Additional Tasks – Restore Background processes as required – DC Config Files from DUT TEST - TEST - TEST - TEST – Make SURE you are hitting the correct SQL DB from the W94 Environment » Make minor changes – verify using SSMS to see data changes

DBMaintPlus Exercise #5 Verify xfODBC connection files for W94 environment Verify/correct connection strings for ALL schemas Run DCM tool against all schemas in W94 Delete all cache files Rebuild all cache files Remove all non-standard triggers (DBMaintPlus) – CRM – Others Additional Tasks – Restore Background processes as required – DC Config Files from DUT TEST - TEST - TEST - TEST TEST - TEST - TEST - TEST – Make SURE you are hitting the correct SQL DB from the W94 Environment » Make minor changes – verify using SSMS to see data changes

DBMaintPlus Exercise #5 Backup of SQL DB using SSMS

DBMaintPlus Exercise #5 Backup of SQL DB using SSMS

DBMaintPlus Exercise #5 Backup of SQL DB using SSMS

DBMaintPlus Exercise #5 Backup of SQL DB using SSMS

DBMaintPlus Exercise #5 Copy origin V94_DATA0 and V94_DATA1

DBMaintPlus Exercise #5 Copy origin V94_DATA0 and V94_DATA1

DBMaintPlus Exercise #5 Note values in W94 SQL DB ‘dbo.parameters’ – Row 39 and 44

DBMaintPlus Exercise #5 Note W94 SQL DB users/schemas under security

DBMaintPlus Exercise #5 Delete current W94 SQL DB

DBMaintPlus Exercise #5 Delete current W94 SQL DB

DBMaintPlus Exercise #5 Delete current W94 SQL DB

DBMaintPlus Exercise #5 Delete current W94 SQL DB

DBMaintPlus Exercise #5 Delete current W94 SQL DB

DBMaintPlus Exercise #5 Delete current W94_DATA0 and W94_DATA1 SQL DB Change directory to DATA0 Delete ALL ISAMs Change directory to DATA1 Delete ALL ISAMs

DBMaintPlus Exercise #5 Delete current W94_DATA0 and W94_DATA1

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – V94_SQL_DB_BACKUP.BAK  SQL DB TCMW94

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – V94_SQL_DB_BACKUP.BAK  SQL DB TCMW94

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – V94_SQL_DB_BACKUP.BAK  SQL DB TCMW94

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – V94_SQL_DB_BACKUP.BAK  SQL DB TCMW94

DBMaintPlus Exercise #5 Restore V94_DATA0 & V94_DATA1 copies to W94

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Set ‘dbo.parameters’ Row 39 and 44 back to noted values

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Set ‘dbo.parameters’ Row 39 and 44 back to noted values

Users are from TCM94_tenuser DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Create users for all schemas in W94 SQL DB (DBMaintPlus)

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Create users for all schemas in W94 SQL DB (DBMaintPlus)

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Create users for all schemas in W94 SQL DB (DBMaintPlus) SQL Server Name SQL DB Name Select ‘All Schemas’

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Create users for all schemas in W94 SQL DB (DBMaintPlus) Verify Environment

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Create users for all schemas in W94 SQL DB (DBMaintPlus) Verify RB-ERP App Server Enter for each schema

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Create users for all schemas in W94 SQL DB (DBMaintPlus)

DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Create users for all schemas in W94 SQL DB (DBMaintPlus) WARNING Message about non-standard triggers appears!!

After DBMaintPlus Processing DBMaintPlus Exercise #5 Using SSMS Restore SQL DB from Backup – Create users for all schemas in W94 SQL DB (DBMaintPlus)

DBMaintPlus Exercise #5 Run DCM tool against all schemas in W94 Verify Environment Verify SQL Server Verify SQL DB Name

DBMaintPlus Exercise #5 Run DCM tool against all schemas in W94

Verify “connection string” for ALL schemas Using Navigator Company Maintenance Connection String Maint Enter new company ‘new’ Hitting enter on field to chg will verify the string DBMaintPlus Exercise #5

RB-ERP Server – Delete/Create All Cache Files Change directory to DSQ Delete cache files !! Build cache for ‘tst’ Continue to rebuild all cache files for all schemas !

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus)

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus) Verify SQL Server Name Verify SQL DB Name

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus)

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus)

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus) Verify SQL Server Name Verify SQL DB Name

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus)

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus)

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus)

DBMaintPlus Exercise #5 Remove Non-Standard Triggers (DBMaintPlus) After Trigger Remove

#5 Refresh Test Environment W94 Data from Live Environment V94 Data QUESTIONS ? DBMaintPlus Learn by Examples

DBMaintPlus Exercise #6 Copy selected tables from one DB to another

DBMaintPlus Exercise #6 Copy selected tables from one DB to another Verify Environment

DBMaintPlus Exercise #6 Copy selected tables from one DB to another SQL Server Name SQL DB Name Select FROM ‘dem’

DBMaintPlus Exercise #6 Copy selected tables from one DB to another SQL Server Name SQL DB Name Select TO ‘tst’

DBMaintPlus Exercise #6 Copy selected tables from one DB to another

DBMaintPlus Exercise #6 Copy selected tables from one DB to another

DBMaintPlus Exercise #6 Copy selected tables from one DB to another

DBMaintPlus Exercise #6 Copy selected tables from one DB to another NOTE – after copying tables: Rebuild Z-Tables Rebuild Cache Files

#6 Copy selected tables from one DB to another QUESTIONS ? DBMaintPlus Learn by Examples

RB-ERP – Background Processes Shop Floor Background scheduler Data Collection (DC) Processes – DCM1MA – DCSRVR Two Steps – Setup of services – Configuration of DC Services

RB-ERP – Background Processes Setup of Services – From RB-ERP Cmd Line – Starting up the services installer Change dir to the ‘dcsf_services’ folder in the correct environment

Setup of Services – From RB-ERP Cmd Line – Starting up the services installer RB-ERP – Background Processes Enter ‘setup’

Setup of Services – From RB-ERP Cmd Line – Starting up the services installer Possible problem – SETUP.EXE will not run SETUP.EXE wants to install a new “srvany.exe” file. Current one is in use. – Solution #1: Rename this file srvany.exe  srvany.exe_old – Solution #2: Stop all RB-ERP DC and B’grnd services RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – Starting up the services installer RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – Starting up the services installer

Setup of Services – From RB-ERP Cmd Line – What to setup ? RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – Background Scheduler

RB-ERP – Background Processes Setup of Services – From RB-ERP Cmd Line – Background Scheduler TCM Services User TCM Services PW Manual Startup

RB-ERP – Background Processes Company Code ‘tst’ Setup of Services – From RB-ERP Cmd Line – Background Scheduler

RB-ERP – Background Processes Setup of Services – From RB-ERP Cmd Line – Background Scheduler

RB-ERP – Background Processes Setup of Services – From RB-ERP Cmd Line – Prompt for setup of another service?

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Control Files RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Control Files RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Startup RB-ERP – Background Processes RB-ERP Main Menu Manufacturing Shopfloor Control Other Functions Scheduler Startup

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Startup RB-ERP – Background Processes Options for startup or Checking current status.

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Startup RB-ERP – Background Processes Options for startup or Checking current status. Current status shows all companies in the environment.

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Startup RB-ERP – Background Processes Selecting Start… Shows configuration for the process. Select OK to start…

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Startup RB-ERP – Background Processes Two DOS windows will appear as the bat files are processed.

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Startup RB-ERP – Background Processes Checking current status.

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Shutdown RB-ERP – Background Processes RB-ERP Main Menu Manufacturing Shopfloor Control Other Functions Scheduler Shutdown

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Shutdown RB-ERP – Background Processes Prompt for continue the shutdown is displayed.

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Shutdown RB-ERP – Background Processes Followed by a prompt for if you want an immediate shutdown.

Setup of Services – From RB-ERP Cmd Line – Background Scheduler – Log Files RB-ERP – Background Processes

RB-ERP Background Scheduler QUESTIONS ?

RB-ERP – Background Processes Setup of Services – From RB-ERP Cmd Line – Prompt for setup of another service?

RB-ERP – Background Processes Setup of Services – From RB-ERP Cmd Line – Data Collection

Setup of Services – From RB-ERP Cmd Line – Data Collection RB-ERP – Background Processes TCM Services User Manual Startup TCM Services PW

Setup of Services – From RB-ERP Cmd Line – Data Collection – DCM1MA RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – Data Collection – DCM1MA RB-ERP – Background Processes Company Code ‘tst’

Setup of Services – From RB-ERP Cmd Line – Data Collection – DCM1MA RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – Prompt for another service to setup? RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – DCM1MA - Control Files RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – DCM1MA – Control Files RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes RB-ERP Main Menu Other Special Functions Application Mfg Dist Special Functions Data Collection DC SubSystems DCW Configuration Maintenance

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes It appears that DCM1MA configurations already exist? How can that be?

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes The configurations came over from the V94 Environment that we moved into out W94 environment.

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration File Location RB-ERP – Background Processes

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes Be VERY CAREFUL about checking configurations that were inherited from other environments!

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes The Host ID is from the old V94 environment !

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes MUST be changed to the correct W94 HOST ID !

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes If no configurations were in the environment, a prompt for new configurations would appeared.

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes Fill in the fields as appropriate for the new configuration.

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Configuration RB-ERP – Background Processes On saving the configuration, the existing configurations now appear. To add new, hit ‘INSERT”, to remove hit ‘DELETE’.

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes RB-ERP Main Menu Other Special Functions Application Mfg Dist Special Functions Data Collection DC Workstation Startup & Shutd

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Options to check current status or START or STOP processes.

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Show current status

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Select process to start by Double-Click on the process. Start DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Select process to start by Double-Click on the process. Once selected an asterisk will appear on the process. Start DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Select process to start by Double-Click on the process. Once selected an asterisk will appear on the process. Start by hitting F1 Start DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Confirmation messages will appear. Start DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Confirmation messages will appear. Option to start now or at a later time will appear. Start DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Two DOS windows will appear as the bat files are processed. Start DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Startup RB-ERP – Background Processes Show current status

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Shutdown RB-ERP – Background Processes RB-ERP Main Menu Other Special Functions Application Mfg Dist Special Functions Data Collection DC Workstation Startup & Shutd

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Shutdown RB-ERP – Background Processes Options to check current status or START or STOP processes.

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Shutdown RB-ERP – Background Processes Select process to stop by Double-Click on the process. Stop DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Shutdown RB-ERP – Background Processes Select process to stop by Double-Click on the process. Once selected an asterisk will appear on the process. Stop by hitting F1 Stop DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Shutdown RB-ERP – Background Processes Confirmation messages will appear. Stop DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DCM1MA – EB-ERP Shutdown RB-ERP – Background Processes Confirmation messages will appear. Option to stop now or at a later time will appear. Stop DCM1MA process

Setup of Services – From RB-ERP Cmd Line – DC Services – Log Files RB-ERP – Background Processes

RB-ERP DCM1MA QUESTIONS ?