Seagate ST43401N/ND Guide d'installation Page 1

Naviguer en ligne ou télécharger Guide d'installation pour Logiciel de base de données Seagate ST43401N/ND. Seagate ST43401N/ND Installation guide Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 146
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - Enterprise 12.5

Migrating to Adaptive ServerEnterprise 12.5Adaptive Server Enterprise12.5

Page 2 - Oct 2001

Relating Documentation to Migration Phase 2 The chapters in this manual are described in the following table:Relating Documentation to Migration Phas

Page 3 - Contents

Test Cycle: Testing for Performance 92 Untimed BenchmarksIn multi-user mode, run untimed benchmarks as often as necessary, capturing response time an

Page 4

93APPENDIX AWorksheets for Your Current EnvironmentThis appendix provides guidelines and sample worksheets for gathering information that will help yo

Page 5

Adaptive Server Operational Worksheets 94 Backup and Restore ProceduresThis worksheet is helpful for a general survey of your backup and restore proc

Page 6

APPENDIX A Worksheets for Your Current Environment95Database Dump DetailsDetailed backup and restore information is helpful for defining success cr

Page 7

Adaptive Server Operational Worksheets 96 Maintenance Procedure DetailsUse the following worksheet to record detailed maintenance information:Databa

Page 8

APPENDIX A Worksheets for Your Current Environment97Data Architecture WorksheetDocumenting the flow of information is discussed in Chapter 2, “Anal

Page 9 - Resources

Data Architecture Worksheet 98 Production Performance MetricsMeasure current production performance metrics, using operating system monitors, for the

Page 10

APPENDIX A Worksheets for Your Current Environment99• Measure I/Os per second per disk and controller, and I/O queue lengths per “time window” per

Page 11 - Other Sources of Information

Adaptive Server Infrastructure Worksheets 100 Note To quickly identify response time problems, save showplan output for all critical transactions.Ad

Page 12

APPENDIX A Worksheets for Your Current Environment101Record this information for both the production and development environments. Host Configurati

Page 13 - Consulting Services

CHAPTER 1 Introduction and Guide to Resources3For additional information about Sybase database products, go to product manuals at http://manuals.sy

Page 14 - If You Need Help

Adaptive Server Infrastructure Worksheets 102 Physical Memory UsageList all the major processes and memory requirements running on each server. Other

Page 15 - Requirements

APPENDIX A Worksheets for Your Current Environment103Disk I/O ConfigurationGeneral disk information can help with firmware incompatibilities and ca

Page 16 - Diagramming the System

Adaptive Server Infrastructure Worksheets 104 The following disk layout information can help in case redistribution is required, for load balancing,

Page 17 - Availability Requirements

APPENDIX A Worksheets for Your Current Environment105Network ConfigurationNetwork layout information can help with firmware incompatibilities, MTBF

Page 18 - Maintenance Procedures

Adaptive Server Infrastructure Worksheets 106 Tape ConfigurationTape layout information can help with firmware incompatibilities, MTBF, and capacity

Page 19 - Service Level Requirements

APPENDIX A Worksheets for Your Current Environment107Adaptive Server ConfigurationDocument general information about the ASE configuration. Technic

Page 20 - Current Performance Metrics

Adaptive Server Infrastructure Worksheets 108 Run dbcc memusage on ASE during an off-peak time or in single-user mode. Database DevicesDatabase devic

Page 21

APPENDIX A Worksheets for Your Current Environment109Databases and SegmentsDatabase and segment information can help with load balancing and capaci

Page 22

Adaptive Server Infrastructure Worksheets 110 Dump DevicesDump device information can help with load balancing and capacity planning.Database Device

Page 23 - Analyze: Documenting Your

111APPENDIX BSample Migration Task ListsThis appendix provides the following samples:• Sample Task List Template• General Migration Task List Example•

Page 24 - Disk Configuration

Sybase Certifications on the Web 4 • Technical Library CD contains product manuals and is included with your software. The DynaText browser (download

Page 25

General Migration Task List Example 112 General Migration Task List ExampleThe following general task list shows typical migration tasks, with differ

Page 26 - Physical Memory Utilization

APPENDIX B Sample Migration Task Lists11313 Update configuration document.Gather Business Requirements1 Define business requirements.2 Define const

Page 27 - Software Configuration

General Migration Task List Example 114 5 Define migration downtime impact.6 Notify affected departments.7 Revise implementation plan.8 Obtain user s

Page 28 - Sybase Configuration

APPENDIX B Sample Migration Task Lists1152 Design and develop file system configuration for devices.3 Create database device scripts.4 Prepare secu

Page 29 - General Information

General Migration Task List Example 116 3 Configure file system.4 Complete installation/upgrade preparation from installation guide.5 Install Adaptiv

Page 30

APPENDIX B Sample Migration Task Lists1173 Analyze and correct application changes.4 Configure applications to access new server.5 Perform prelimin

Page 31 - Adaptive Server Objects

General Migration Task List Example 118 Migration Quality AssurancePerform System Tests1 Perform functional tests.2 Compare functional test results t

Page 32 - Use Sybase Tools

APPENDIX B Sample Migration Task Lists119Perform User Acceptance Tests1 Perform acceptance tests.2 Compare acceptance test results to baseline.3 An

Page 33 - Ready to Migrate

Parallel Migration Task List Example 120 • Define Test/Acceptance Criteria—Regression Test Suites• Set Up Target Production Environment• Set Up Repli

Page 34 - Review the Upgrade Process

APPENDIX B Sample Migration Task Lists121Set Up Target Production Environment1 Identify physical drive configuration for Server A (production) and

Page 35

CHAPTER 1 Introduction and Guide to Resources55 Click an EBF/Update title to display the report.❖ To create a personalized view of the Sybase Web s

Page 36 - Determine Migration Approach

Parallel Migration Task List Example 122 2 Iteratively perform back-end regression testing.3 Monitor and capture system dynamics (sp_who, sp_lock, st

Page 37 - Parallel With Replication

APPENDIX B Sample Migration Task Lists12310 Recycle ASE.Run Post-upgrade Regression Test Suites on ASE 12.5 (Server B)Back-end regression test suit

Page 38

Cutover Migration Task List Example 124 Shift Production Users to Adaptive Server 12.5 (Server B)1 Ensure that there is no production activity.2 Perf

Page 39 - Cutover Without Replication

APPENDIX B Sample Migration Task Lists125• Run Regression Test Suites on Older Release Test System• Upgrade Test System to Release 12.5• Run Regres

Page 40

Cutover Migration Task List Example 126 2 Capture and map SQL for target user functions.3 Encapsulate SQL for user functions.4 Create front-end simul

Page 41 - Phased Cutover

APPENDIX B Sample Migration Task Lists1273 Make the “go/no go” call for the test system.4 Verify and document the regression test.5 Verify performa

Page 42

Cutover Migration Task List Example 128 Front-End Regression Test Suite1 Perform user regression testing.2 Monitor and capture system dynamics (sp_wh

Page 43 - Write a Migration Plan

APPENDIX B Sample Migration Task Lists1293 Alter the sybsystemprocs database.4 Perform a pre-upgrade verification.5 Upgrade the production system t

Page 44 - Update Hardware Resources

Staged Cutover Task Overview 130 1 Configure ASE 12.5 on the development system, duplicating the earlier release development configuration.2 Migrate

Page 45 - Products

131APPENDIX CMigration Issue ChecklistsThe following checklists were produced by Sybase Consulting to use in writing migration plans for customers. Th

Page 46 - Create Migration Scripts

If You Need Help 6 If You Need HelpEach Sybase installation that has purchased a support contract has one or more designated people who are authorize

Page 47 - Application Changes

Logical Application Architecture 132 Logical Application ArchitectureDoes the logical application architecture include:• A list and brief description

Page 48 - If Your Version is 11.5

APPENDIX C Migration Issue Checklists133• Vendor-independent description (functions and features) and graphical representation of hardware and soft

Page 49

Migration Strategy Design 134 • Disaster recovery • Production approval and access control• New support organization, including roles and responsibil

Page 50 - Changes to Error Checking

135APPENDIX DPre-Upgrade ChecklistThis checklist can be used in addition to that found in the installation guide. It lists steps to prepare for upgrad

Page 51 - Changes in Error Numbers

Pre-Upgrade Checklist 136 7 Record size and device fragment information for all databases. You can query the sysdevices and sysusages tables for this

Page 52

APPENDIX D Pre-Upgrade Checklist1375 On NT, if server is an automatic service, change the service type for ASE to manual. 6 Stop mirroring.7 Disabl

Page 53

Pre-Upgrade Checklist 138

Page 54 - New and Changed Statistics

7CHAPTER 2Analyze: Documenting Business RequirementsIn This ChapterIn this chapter you begin the first phase of migration planning, documenting your e

Page 55

Diagramming the System 8 • Protocols• Gateways• Routers, brouters, bridgesFor example, you can create a diagram like the this high-level view of the

Page 56 - Trace Flag 302

CHAPTER 2 Analyze: Documenting Business Requirements9You can write a high-level business description in addition to or instead of a diagram.Operati

Page 57

Operational Business Requirements 10 Database Change MetricsFor all databases, record:• Database size• Transaction log growth• Table rowcounts and da

Page 58 - ANSI Joins

CHAPTER 2 Analyze: Documenting Business Requirements11Service Level RequirementsDocument application details and service requirements, as in this e

Page 59

DOCUMENT ID: 34982-01-1250-01LAST REVISED: Oct 2001Copyright © 1989-2001 by Sybase, Inc. All rights reserved.This publication pertains to Sybase datab

Page 60 - 12.0 Query Processing Changes

Current Performance Metrics 12 Note If you are upgrading from ASE 12.0, you can save abstract query plans for your critical queries. For more inform

Page 61 - Abstract Query Plans

CHAPTER 2 Analyze: Documenting Business Requirements13•Disk I/O:• Use operating system monitors to measure I/Os per second per disk and controller,

Page 62 - Increased Optimization Time

Additional Business Requirements 14 • Should the upgrade take place over the weekend• What staff is available: DBAs, system administrators?• What res

Page 63 - Changes to Transact-SQL

15CHAPTER 3Analyze: Documenting Your EnvironmentIn This ChapterThis chapter provides guidelines for documenting system hardware and software in the Ad

Page 64 - New Reserved Words

Hardware Configuration 16 General Server HardwareList the following hardware information for every server machine:• Make and model• Your customer ID

Page 65

CHAPTER 3 Analyze: Documenting Your Environment171 Sun Sparc 20 1.00 6 10000Controller Number Make and ModelFirmware RevisionMonths in ServiceTrans

Page 66 - Change in Truncation Behavior

Physical Memory Utilization 18 Network ConfigurationUse a worksheet like the one in the following example to show network interface card information

Page 67

CHAPTER 3 Analyze: Documenting Your Environment19Software ConfigurationDocument your software environment as described in the following sections:•

Page 68

Sybase Configuration 20 • High availability software installedYou may need to contact your operating system vendor to get system upgrades, recent pat

Page 69 - Implement: Making Database

CHAPTER 3 Analyze: Documenting Your Environment21General InformationRecord the following Sybase information:• Adaptive Servers and their SYBASE hom

Page 70

ContentsIntroduction and Guide to Resources 1In This Chapter 1Chapters in the Migration Guide 1Relating Documentation to Migration Phase 2Other Source

Page 71 - Optimizer Changes

Sybase Configuration 22 Databases and SegmentsList of all segments and the objects on them. Use a worksheet like that in the following example:Dump D

Page 72 - Trace Flag 326

CHAPTER 3 Analyze: Documenting Your Environment23Adaptive Server ObjectsDocument the objects in your current Adaptive Server as described in the fo

Page 73 - Backup Server

Adaptive Server Objects 24 Query Sybase System TablesThe following system tables contain object information that you can use to create installation s

Page 74 - Starting Backup Server

25CHAPTER 4Plan: Writing a Plan and Getting Ready to MigrateIn this ChapterNow that you have collected data about your current system, you can write a

Page 75 - Dump Format

Review the Upgrade Process 26 •The Release Bulletin at http://manuals.sybase.com:80/onlinebooks/group-as/asp1250e/@Generic__CollectionView;pt=asp1250

Page 76 - Changes to dbids

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate27Special Cases: Migrating to 64-bit Operating System or Larger Page SizeAs of release 1

Page 77 - The sybsyntax Utility

Determine Migration Approach 28 Determine Migration ApproachThe best migration strategy for you depends on such factors as the cost of the effort, th

Page 78 - System Database Sizes

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate29• Phased CutoverNote This migration guide does not cover other parallel migration app

Page 79 - Changes to System Tables

Determine Migration Approach 30 • The earlier server cannot read release 12.5 backup files. You need to create bcp or other scripts to move tables ba

Page 80 - New Database and Table Limits

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate31Be sure to account for any increased release 12.5 memory requirements that apply to yo

Page 81

iv Database Devices 7Databases and Segments 8Dump Devices 8Adaptive Server Objects 9Gather Scripts to Create Objects 9If You Don’t Have Scripts 9Plan

Page 82 - Configuration Parameters

Determine Migration Approach 32 You can use dump database or bcp out before an upgrade to prepare for fallback. Plan a way to capture transactions af

Page 83 - 86016 (84K) - 64-bit

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate33• Information on how to configure memory for performance in the Performance and Tuning

Page 84 - Increased Memory

Determine Migration Approach 34 See Chapter 7, “Test: Ensuring Stability and Performance” for more information on testing.BridgingThere should not be

Page 85

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate35Write a Migration PlanProduce a project plan which documents:• Migration strategy—Whic

Page 86

Build the Adaptive Server Environment 36 • Update Applications and System Administration Procedures• Create Migration Scripts• Create a test environm

Page 87 - Performance

CHAPTER 4 Plan: Writing a Plan and Getting Ready to Migrate37Note If you need to perform an operating system upgrade, do so before migrating. Test

Page 88 - Make Backups

Build the Adaptive Server Environment 38 Create Migration ScriptsUsing the scripts you located, wrote, or reverse engineered in Chapter 2, “Analyze:

Page 89

39CHAPTER 5Implement: Making Required Application ChangesIn This ChapterThis chapter and Chapter 6, “Implement: Making Database Administration Changes

Page 90

If Your Version is 11.5 40 If Your Version is 11.5This sections covers the following topics: • Changes to Locking• Changes to Error Checking• 11.9.2

Page 91 - Summary of Testing Techniques

CHAPTER 5 Implement: Making Required Application Changes41• Bulk copy into data-only-locked tables requires the version of bcp and the bulk copy li

Page 92

ChaptervWide Columns and Data Truncation 19Implement: Making Database Administration Changes 1In This Chapter 1If Your Version is 11.5 2New Rollback R

Page 93 - Writing Performance Scripts

If Your Version is 11.5 42 WorkaroundsIf deadlocks are creating problems, consider converting the table to use datarows locking.If deadlocks or exces

Page 94 - Deadlock Handling

CHAPTER 5 Implement: Making Required Application Changes43as select * from mary.sales_prospects However, this user cannot execute the procedure; th

Page 95 - Runtime Data Generation

If Your Version is 11.5 44 • Those permissions set with the grant command• Permissions that depend on roles (such as sa_role or SSO_role) or on statu

Page 96 - Test Cycle: Summary of Tests

CHAPTER 5 Implement: Making Required Application Changes453004 10302 Permission failure for dump database command3110 10302 Permission failure for

Page 97 - Pre-Upgrade Single-User Tests

If Your Version is 11.5 46 11.9.2 Query Processing ChangesRelease 11.9.2 introduced extensive changes in query processing and optimization. Statistic

Page 98 - Pre-Upgrade Multi-User Tests

CHAPTER 5 Implement: Making Required Application Changes47• Table/Index Level Statistics• Changes to the update statistics CommandColumn Level Stat

Page 99 - Post-Upgrade Multi-User Tests

If Your Version is 11.5 48 Aggregate OptimizationAggregate optimization was introduced in ASE 11.9.x. This allows the optimizer to factor in an index

Page 100 - Timed Benchmarks

CHAPTER 5 Implement: Making Required Application Changes49This trace flag is well-documented in New Functionality in 11.9.2 at http://manuals.sybas

Page 101 - Environment

If Your Version is 11.5 or 11.9.x 50 indid 2scan selectivity 0.983249, filter selectivity 0.983249590512 rows, 45991 pages, index height 2,Data Row C

Page 102 - Backup and Restore Procedures

CHAPTER 5 Implement: Making Required Application Changes51• Inner joins, in which the joined table includes only the rows of the inner and outer t

Page 103 - Database Dump Details

vi Developing Fallback Procedures 5Summary of Testing Techniques 5Writing Performance Scripts 7Write Benchmark Scripts 7Drivers 8Test Cycle: Summary

Page 104

If Your Version is 11.5 or 11.9.x 52 See the section New Unix File System Device Support in Chapter 6 of this manual. See also the sections on disk i

Page 105 - Data Architecture Worksheet

CHAPTER 5 Implement: Making Required Application Changes53select * from lineitem, partwhere ((p_partkey = l_partkey and l_quantity >= 10)or (p_

Page 106

If Your Version is 11.5 or 11.9.x 54 Adaptive Server can capture query text and save an abstract plan for a query in a new system table called sysque

Page 107 - Transaction Profile

CHAPTER 5 Implement: Making Required Application Changes55If a pattern match is found in the cell boundaries then the selectivity is estimated to b

Page 108

If Your Version is 11.5, 11.9.x, or 12.0 56 New Reserved WordsReserved words can only be used by ASE. New ASE objects and commands result in new rese

Page 109 - Host Configuration

CHAPTER 5 Implement: Making Required Application Changes57Note The Sybase procedures for detecting reserved words in object names cannot be used t

Page 110 - Physical Memory Usage

If Your Version is 11.5, 11.9.x, or 12.0 58 • Using New Wide Data Sizes with Open Client• Wide Columns and Optimizer Statistics• Wide Columns with co

Page 111 - Disk I/O Configuration

CHAPTER 5 Implement: Making Required Application Changes59To see whether you can enable wide data sizes for your client software, go to the section

Page 112

If Your Version is 11.5, 11.9.x, or 12.0 60 Wide Columns with col_length() and datalength()The commands col_length() and datalength() are “built-in”

Page 113 - Network Configuration

61CHAPTER 6Implement: Making Database Administration ChangesIn This ChapterThis chapter discusses changes to Adaptive Server system administration tha

Page 114 - Tape Configuration

ContentsParallel Migration Task List Example 9Define Test/Acceptance Criteria—Regression Test Suites 10Set Up Target Production Environment 11Set Up R

Page 115 - Adaptive Server Configuration

If Your Version is 11.5 62 If Your Version is 11.5This section covers the following topics:• New Rollback Records• Optimizer Changes• Trace Flag 326N

Page 116 - Database Devices

CHAPTER 6 Implement: Making Database Administration Changes63Optimizer ChangesASE 11.9.2 introduced major changes in the way the server keeps stati

Page 117 - Databases and Segments

If Your Version is 11.5 or 11.9.x 64 However, be cautious about adding new statistics to the production environment until you have determined your ne

Page 118 - Dump Devices

CHAPTER 6 Implement: Making Database Administration Changes65Documentation ChangesASE 12.0 includes several new manuals that describe separately-li

Page 119 - Sample Migration Task Lists

If Your Version is 11.5 or 11.9.x 66 StripesIn earlier versions, Backup Server could dump to a maximum of 32 stripes, either disk or tape. In 12.0, m

Page 120 - Migration Analysis

CHAPTER 6 Implement: Making Database Administration Changes67You must configure the local and remote Backup Servers at startup by providing the app

Page 121 - Develop Migration Strategy

If Your Version is 11.5 or 11.9.x 68 New Unix File System Device SupportIn release 12.0, Sybase introduced the dsync option of the disk init command.

Page 122 - Migration Preparation

CHAPTER 6 Implement: Making Database Administration Changes69CIS Proxy DatabasesIn 12.0, HA creates databases with names like “__pxy”. As a result,

Page 123 - Create Target Environment

If Your Version is 11.5, 11.9.x, or 12.0 70 • New Reserved Words• Configuration Parameters• Increased Memory• New Storage for text and image DataChan

Page 124 - Perform Application Migration

CHAPTER 6 Implement: Making Database Administration Changes71sybsystemdbThe sybsystemdb database is used for the spt_values table and two-phase com

Page 126 - Migration Quality Assurance

If Your Version is 11.5, 11.9.x, or 12.0 72 New Database and Table LimitsThis section covers changes in table and database limits:• Maximum Number of

Page 127 - Perform User Acceptance Tests

CHAPTER 6 Implement: Making Database Administration Changes73New Reserved WordsReserved words, or ASE keywords, can only be used by ASE and cannot

Page 128

If Your Version is 11.5, 11.9.x, or 12.0 74 You must change all object names that contain reserved words before you upgrade. You must also change tho

Page 129 - Run Regression Test Suites

CHAPTER 6 Implement: Making Database Administration Changes75stack sizeThe default value of the stack size parameter has increased over the last se

Page 130 - Upgrade Server B (Shadow)

If Your Version is 11.5, 11.9.x, or 12.0 76 Increased MemoryASE 12.5 uses more memory than previous releases. ASE now allocates more memory for the d

Page 131 - Other Testing

CHAPTER 6 Implement: Making Database Administration Changes77buildmaster Command ObsoleteASE 12.5 no longer uses the buildmaster command. Instead,

Page 132 - Perform Final Steps

If Your Version is 11.5, 11.9.x, or 12.0 78

Page 133

79CHAPTER 7Test: Ensuring Stability and PerformanceIn This ChapterThis chapter will help you evaluate testing methods and develop a testing plan. It c

Page 134

Setting Up the Test Environment 80 • The test and production systems are stable and the data is safe.• The upgrade is successful and does not adverse

Page 135

CHAPTER 7 Test: Ensuring Stability and Performance81Use backups or the bcp scripts to populate your test databases. Note When you create a new dat

Page 136

1CHAPTER 1Introduction and Guide to ResourcesIn This ChapterThis chapter gives an overview of the topics covered in this manual. In addition, it point

Page 137 - Staged Cutover Task Overview

Prioritizing Applications to be Tested 82 You need to make adjustments when you have less disk space or memory in the test system. Scale down databas

Page 138

CHAPTER 7 Test: Ensuring Stability and Performance83•A phased cutover is subject to the highest performance expectations. Some performance tuning o

Page 139 - Migration Issue Checklists

Summary of Testing Techniques 84 Technique Description Advantages DisadvantagesAd hoc testingManually walk through important application processes, s

Page 140

CHAPTER 7 Test: Ensuring Stability and Performance85Writing Performance ScriptsThis section discusses the basics of writing performance scripts:• W

Page 141 - Logical Support Architecture

Writing Performance Scripts 86 • Write code to process result set(s)• Name each transaction explicitly (for example, “begin tran cust_update”) to mak

Page 142 - Migration Strategy Design

CHAPTER 7 Test: Ensuring Stability and Performance87Result HandlingYou can capture query results by fetching the entire result set back to the clie

Page 143 - Pre-Upgrade Checklist

Test Cycle: Summary of Tests 88 Test Cycle: Summary of TestsThis section summarizes a complete test cycle, with tests that target specific issues, in

Page 144

CHAPTER 7 Test: Ensuring Stability and Performance89Test Cycle: Testing for PerformanceThis section expands on performance benchmarking before and

Page 145 - .cfg) file

Test Cycle: Testing for Performance 90 • Data and data distribution problems. Check data layout and be sure that these match the productions system.

Page 146

CHAPTER 7 Test: Ensuring Stability and Performance91Test System UpgradePerform the upgrade on the test system following the instructions in the ins

Commentaires sur ces manuels

Pas de commentaire