21
University of Wisconsin Hospital & Clinics Database / environment refresh steps

University of Wisconsin Hospital & Clinics

  • Upload
    rhys

  • View
    47

  • Download
    0

Embed Size (px)

DESCRIPTION

University of Wisconsin Hospital & Clinics. Database / environment refresh steps. PS Environment. PeopleSoft Financials 9 PeopleSoft Human Resources 8.9 Upgrade in progress from HR 8.9 to 9.1. Oracle Environment. Oracle 10.2.0.4 running on AIX 5.3 Oracle RMAN repository and console. - PowerPoint PPT Presentation

Citation preview

Page 1: University of Wisconsin Hospital & Clinics

University of Wisconsin Hospital & Clinics

Database / environment refresh steps

Page 2: University of Wisconsin Hospital & Clinics

PS Environment

• PeopleSoft Financials 9• PeopleSoft Human Resources 8.9• Upgrade in progress from HR 8.9 to 9.1

Page 3: University of Wisconsin Hospital & Clinics

Oracle Environment

• Oracle 10.2.0.4 running on AIX 5.3• Oracle RMAN repository and console

Page 4: University of Wisconsin Hospital & Clinics

PS Technical

• Process schedulers on both Windows and AIX

• Application servers on Windows• WebLogic web server on Windows• PeopleTools 8.46• PeopleTools 8.50

Page 5: University of Wisconsin Hospital & Clinics

Standards

• Server naming standards• Database naming standards

Page 6: University of Wisconsin Hospital & Clinics

Cloning Overview

• Initiated by developers• On demand, not on a schedule• Takes about 2 hours

Page 7: University of Wisconsin Hospital & Clinics

Cloning Steps

Source -> Target• Shut down target Application Servers

and Process Schedulers• Run a job in the OEM console• Delete caches• Start up target Application Servers and

Process Schedulers• Test and notify

Page 8: University of Wisconsin Hospital & Clinics

Cloning Step – AS & PS

Shut down target Application Servers and Process Schedulers

This is a manual step. Log in to the target machines and stop the services. It is possible it could be automated, but we have not automated it

Page 9: University of Wisconsin Hospital & Clinics

Cloning Step – OEM Console

Run a job in the OEM ConsoleIf the source database does not have a

current RMAN backup, you will need to perform a backup now. Most of our clones have the source databases as our production database, which means we can clone at any time without performing a backup first.

Page 10: University of Wisconsin Hospital & Clinics

Cloning Step – OEM Console

Make sure the database backup files are present.

Page 11: University of Wisconsin Hospital & Clinics

Cloning Step – OEM Console

Submit the clone job to the console

Page 12: University of Wisconsin Hospital & Clinics

Cloning Script Overview

1. Validate parameters (target not production)2. Blackout the target database using emctl3. Bounce the target database4. Attempt to perform an archivelog change5. Create the command line6. Run the script7. Check the log for errors and email results8. End the blackout

Page 13: University of Wisconsin Hospital & Clinics

Cloning Script

Page 14: University of Wisconsin Hospital & Clinics

Post Clone Script

This “post clone script” is where all of the customized SQL code gets runThere is a separate “post clone script” for each target

Page 15: University of Wisconsin Hospital & Clinics

Post Clone Script

Page 16: University of Wisconsin Hospital & Clinics

Post Clone Script

Page 17: University of Wisconsin Hospital & Clinics

Manual Steps

• Up to this point, everything has been run as part of a script. Now we start the manual steps.

Page 18: University of Wisconsin Hospital & Clinics

Manual Steps

• Change the SYSADM password in the target database.

• Log on to datamover in bootstrap mode• Log in as sysadm and the source

database’s sysadm password. Run the script: CHANGE_ACCESS_PASSWORD SYSADM <new_sysadm_password>

Page 19: University of Wisconsin Hospital & Clinics

Manual Steps

• Start the Application Server and Process Schedulers on the target database

• Test the new infrastructure– Log in– Submit jobs to the process schedulers– Interfaces

Page 20: University of Wisconsin Hospital & Clinics

Manual Steps

• Notify the developers

Page 21: University of Wisconsin Hospital & Clinics

Web Site

• Scripts and these PowerPoint slides are available on our OAUG PeopleSoft Technology SIG web site

• http://psofttechsig.oaug.org/