+ All Categories
Home > Documents > Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not...

Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not...

Date post: 18-Jul-2019
Category:
Upload: vuanh
View: 219 times
Download: 0 times
Share this document with a friend
140
Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail Safe to make resources highly available.
Transcript
Page 1: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Oracle® Fail Safe

Tutorial

Release 3.3.1 for Windows

April 2002

Part No. Not Orderable

This tutorial provides step-by-step instructions on using Oracle Fail Safe to make resources highly available.

Page 2: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Oracle Fail Safe Tutorial, Release 3.3.1 for Windows

Part No. Not Orderable

Copyright © 1999, 2002, Oracle Corporation. All rights reserved.

The Programs (which include both the software and documentation) contain proprietary information of Oracle Corporation; they are provided under a license agreement containing restrictions on use and disclosure and are also protected by copyright, patent, and other intellectual and industrial property laws. Reverse engineering, disassembly, or decompilation of the Programs, except to the extent required to obtain interoperability with other independently created software or as specified by law, is prohibited.

The information contained in this document is subject to change without notice. If you find any problems in the documentation, please report them to us in writing. Oracle Corporation does not warrant that this document is error free. Except as may be expressly permitted in your license agreement for these Programs, no part of these Programs may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Oracle Corporation.

If the Programs are delivered to the U.S. Government or anyone licensing or using the programs on behalf of the U.S. Government, the following notice is applicable:

Restricted Rights Notice Programs delivered subject to the DOD FAR Supplement are "commercial computer software" and use, duplication, and disclosure of the Programs, including documentation, shall be subject to the licensing restrictions set forth in the applicable Oracle license agreement. Otherwise, Programs delivered subject to the Federal Acquisition Regulations are "restricted computer software" and use, duplication, and disclosure of the Programs shall be subject to the restrictions in FAR 52.227-19, Commercial Computer Software - Restricted Rights (June, 1987). Oracle Corporation, 500 Oracle Parkway, Redwood City, CA 94065.

The Programs are not intended for use in any nuclear, aviation, mass transit, medical, or other inherently dangerous applications. It shall be the licensee's responsibility to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of such applications if the Programs are used for such purposes, and Oracle Corporation disclaims liability for any damages caused by such use of the Programs.

Oracle is a registered trademark, and Oracle9i and JInitiator are trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners.

Page 3: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

iii

Contents

Send Us Your Comments .................................................................................................................. ix

Preface............................................................................................................................................................ xi

Intended Audience ................................................................................................................................ xiDocumentation Accessibility ............................................................................................................... xiStructure................................................................................................................................................. xiiRelated Documents............................................................................................................................... xiiiConventions.......................................................................................................................................... xiv

1 Using This Tutorial

2 Invoking Oracle Fail Safe Manager and Verifying the Cluster

2.1 Invoking Oracle Fail Safe Manager..................................................................................... 2-22.2 Populating the Tree View..................................................................................................... 2-32.3 Adding a Cluster to a Populated Tree View ..................................................................... 2-42.4 Using the Add Cluster to Tree Dialog Box ........................................................................ 2-52.5 Connecting to the Cluster..................................................................................................... 2-62.6 Using the Connect to Cluster Dialog Box .......................................................................... 2-72.7 Verifying the Cluster............................................................................................................. 2-82.8 Viewing the Results of the Verify Cluster Operation ...................................................... 2-9

3 Creating a Group

3.1 Invoking the Create Group Wizard.................................................................................... 3-2

Page 4: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

iv

3.2 Naming and Describing the Group .................................................................................... 3-33.3 Specifying the Failback Policy ............................................................................................. 3-43.4 Specifying the Preferred Nodes........................................................................................... 3-53.5 Finishing Creating a Group ................................................................................................. 3-63.6 Responding to the Virtual Address Question ................................................................... 3-7

4 Adding a Virtual Address to a Group

4.1 Opening the Add Resource to Group Wizard................................................................... 4-24.2 Specifying the Resource Type and Group ......................................................................... 4-34.3 Describing the Network........................................................................................................ 4-44.4 Finishing Adding the Virtual Address............................................................................... 4-54.5 Viewing the Group Properties............................................................................................. 4-6

5 Creating a Sample Single-Instance Database

5.1 Opening the Create Sample Database Dialog Box............................................................ 5-25.2 Using the Create Sample Database Dialog Box................................................................. 5-35.3 Starting the Default Oracle Intelligent Agent.................................................................... 5-45.4 Viewing the Progress of the Clusterwide Operation ....................................................... 5-5

6 Verifying a Standalone Single-Instance Database

6.1 Using the Verify Standalone Database Command ........................................................... 6-26.2 Using the Verify Standalone Database Dialog Box .......................................................... 6-36.3 Viewing the Progress of the Clusterwide Operation ....................................................... 6-4

7 Adding a Single-Instance Database to a Group

7.1 Invoking the Add Resource to Group Wizard .................................................................. 7-27.2 Using the Add Resource to Group Wizard........................................................................ 7-37.3 Specifying the Database Identity......................................................................................... 7-47.4 Selecting a Database Authentication Method ................................................................... 7-57.5 Adding the Account to the Windows ORA_<SID>_DBA Group ................................. 7-67.6 Specifying a Password File................................................................................................... 7-77.7 Finishing Adding the Database ........................................................................................... 7-87.8 Shutting Down the Database ............................................................................................... 7-97.9 Viewing the Progress of the Clusterwide Operation ..................................................... 7-10

Page 5: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

v

8 Verifying a Group

8.1 Using the Verify Group Command .................................................................................... 8-28.2 Viewing Progress................................................................................................................... 8-3

9 Balancing the Workload

9.1 Initial Set Up for Performing a Planned Failover ............................................................. 9-29.2 Moving the Sales Group....................................................................................................... 9-39.3 Confirming the Move Group Operation............................................................................ 9-49.4 Finishing Moving the Group ............................................................................................... 9-59.5 Moving the Marketing Group ............................................................................................. 9-69.6 Moving the Customers Group............................................................................................. 9-79.7 Checking the Preferred Owner Nodes List ....................................................................... 9-89.8 Rearranging the Preferred Nodes List ............................................................................... 9-99.9 Viewing the Balanced Workload ...................................................................................... 9-10

10 Identifying the Location of Fail-Safe Databases to Client Applications

10.1 Updating the tnsnames.ora File ........................................................................................ 10-2

11 Creating and Adding a Forms Server and an Oracle HTTP Server to a Group

11.1 Using the Add Resource to Group Wizard ..................................................................... 11-311.2 Specifying the Resource and Group ................................................................................. 11-411.3 Specifying the Forms Server Identity ............................................................................... 11-511.4 Specifying the Forms Server Parameters ......................................................................... 11-611.5 Specifying the Forms Server Path ..................................................................................... 11-711.6 Specifying the Database Used by the Forms Server....................................................... 11-811.7 Finishing Creating and Adding the Forms Server ......................................................... 11-911.8 Monitoring the Clusterwide Operation ......................................................................... 11-1011.9 Adding an Oracle HTTP Server to the Group............................................................... 11-1111.10 Specifying the Resource and Group ............................................................................... 11-1211.11 Specifying the Oracle HTTP Server Name .................................................................... 11-1311.12 Specifying Default Files.................................................................................................... 11-1411.13 Specifying the Virtual Directory ..................................................................................... 11-1511.14 Specifying the Virtual Address ....................................................................................... 11-17

Page 6: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

vi

11.15 Finishing Creating and Adding the Web Server........................................................... 11-1811.16 Monitoring the Clusterwide Operation ......................................................................... 11-1911.17 Adjusting the WebForm.htm File.................................................................................... 11-2011.18 Viewing the Fail-Safe Form, Part One ............................................................................ 11-2111.19 Viewing the Fail-Safe Form, Part Two ........................................................................... 11-22

12 Creating and Adding a Reports Server and an Oracle HTTP Server to a Group

12.1 Invoking the Add Resource to Group Wizard ................................................................ 12-312.2 Specifying the Resource and Group ................................................................................. 12-412.3 Specifying the Reports Server Identity............................................................................. 12-512.4 Specifying the Reports Server Disks and Directories..................................................... 12-612.5 Specifying the Database Used by the Reports Server .................................................... 12-712.6 Specifying an Account for the Reports Server to Use .................................................... 12-812.7 Finishing Creating and Adding a Reports Server........................................................... 12-912.8 Monitoring the Clusterwide Operation ......................................................................... 12-1012.9 Adding an Oracle HTTP Server to the Group............................................................... 12-1112.10 Specifying the Resource and Group ............................................................................... 12-1212.11 Specifying the Oracle HTTP Server Name..................................................................... 12-1312.12 Specifying Default Files .................................................................................................... 12-1412.13 Specifying the First Virtual Directory............................................................................. 12-1512.14 Specifying the Second Virtual Directory........................................................................ 12-1612.15 Specifying the Virtual Address ....................................................................................... 12-1712.16 Finish Creating and Adding the Oracle HTTP Server ................................................. 12-1812.17 Monitoring the Clusterwide Operation ......................................................................... 12-1912.18 Adjusting the WebReport.htm File ................................................................................. 12-2012.19 Viewing the Fail-Safe Report, Page One ........................................................................ 12-2112.20 Viewing the Fail-Safe Report, Page Two........................................................................ 12-22

13 Removing a Resource from a Group

13.1 Using the Remove from Group Command ..................................................................... 13-213.2 Confirmation Request ......................................................................................................... 13-313.3 Monitoring the Clusterwide Operation ........................................................................... 13-4

Page 7: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

vii

14 Deleting a Standalone Resource from the Cluster

14.1 Using the Delete Standalone Command.......................................................................... 14-214.2 Confirming the Delete Standalone Command................................................................ 14-3

15 Deleting a Sample Database from the Cluster

15.1 Using the Delete Sample Database Command ............................................................... 15-215.2 Confirming the Delete Sample Database Command ..................................................... 15-315.3 Authenticating Your Privileges to Delete the Database ................................................ 15-415.4 Starting the Default Oracle Intelligent Agent ................................................................. 15-515.5 Viewing the Progress of the Clusterwide Operation ..................................................... 15-6

16 Deleting a Group from the Cluster

16.1 Using the Delete Group Command .................................................................................. 16-216.2 Confirming the Delete Group Command........................................................................ 16-3

Page 8: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

viii

Page 9: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

ix

Send Us Your Comments

Oracle Fail Safe Tutorial, Release 3.3.1 for Windows

Part No. Not Orderable

Oracle Corporation welcomes your comments and suggestions on the quality and usefulness of this publication. Your input is an important part of the information used for revision.

■ Did you find any errors?■ Is the information clearly presented?■ Do you need more information? If so, where?■ Are the examples correct? Do you need more examples?■ What features did you like most about this manual?

If you find any errors or have any other suggestions for improvement, please indicate the title and part number of the documentation and the chapter, section, and page number (if available). You can send comments to us in the following ways:

■ Electronic mail: [email protected]■ FAX: 603.897.3825. Attn: Oracle Fail Safe Documentation■ Postal service:

Oracle Corporation Oracle Fail Safe DocumentationOne Oracle DriveNashua, NH 03062-2804USA

If you would like a reply, please give your name, address, telephone number, and electronic mail address (optional).

If you have problems with the software, please contact your local Oracle Support Services.

Page 10: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

x

Page 11: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

xi

Preface

Oracle Fail Safe supports a wide variety of high-availability business solutions on Windows clusters. Oracle Fail Safe support includes Oracle databases, Web servers, Oracle Forms and Reports Servers, and all applications that can be configured as a Windows service.

This guide provides step-by-step procedures to help you learn how to implement high-availability solutions with Oracle Fail Safe.

Intended AudienceThis guide is intended for anyone who wants to learn the basic operations of Oracle Fail Safe on Windows systems.

Documentation AccessibilityOur goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle Corporation is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at

http://www.oracle.com/accessibility/

Page 12: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

xii

StructureThis guide contains 16 lessons:

Chapter 1This chapter contains an introduction and configuration information.

Chapter 2This chapter contains instructions on verifying a cluster.

Chapter 3This chapter contains instructions on creating a group.

Chapter 4This chapter contains instructions on adding a virtual address to a group.

Chapter 5This chapter contains instructions on creating a sample single-instance database.

Chapter 6This chapter contains instructions on verifying a standalone single-instance database.

Chapter 7This chapter contains instructions on adding a single-instance database to a group.

Chapter 8This chapter contains instructions on verifying a group.

Chapter 9This chapter contains instructions on balancing the workload across the cluster nodes.

Chapter 10This chapter contains instructions on updating the tnsnames.ora file.

Page 13: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

xiii

Chapter 11This chapter contains instructions on adding an Oracle Forms Server and an Oracle HTTP Server to a group.

Chapter 12This chapter contains instructions on adding an Oracle Reports Server and an Oracle HTTP Server to a group.

Chapter 13This chapter contains instructions on removing a resource from a group.

Chapter 14This chapter contains instructions on deleting a standalone resource from the cluster.

Chapter 15This chapter contains instructions on deleting a sample database.

Chapter 16This chapter contains instructions on deleting a group from the cluster.

Related DocumentsIn addition to this document, the Oracle Fail Safe documentation set includes the following:

■ Oracle Fail Safe Release Notes

■ Oracle Fail Safe Concepts and Administration Guide

■ Oracle Services for MSCS Error Messages

■ Oracle Fail Safe Installation Guide

■ For online assistance, Oracle Fail Safe Manager provides online help topics, a quick tour, and this tutorial. On the Help menu in Oracle Fail Safe Manager, click "Search for Help on" to access the online help topics.

Refer to the following documentation for information about related products:

■ For more information about cluster systems, see the Microsoft Cluster Server (MSCS) documentation.

Page 14: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

xiv

■ For more information about other related products, see the documentation for those products.

ConventionsThe following conventions are also used in this manual:

Convention Meaning

. . .

Vertical ellipsis points in an example mean that information not directly related to the example has been omitted.

. . . Horizontal ellipsis points in statements or commands mean that parts of the statement or command not directly related to the example have been omitted

boldface text Boldface type in text indicates a term defined in the text.

< > Angle brackets enclose user-supplied names.

[ ] Brackets enclose optional clauses from which you can choose one or none.

Page 15: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using This Tutorial 1-1

1Using This Tutorial

This chapter provides information that you need to know before using this tutorial.

Intended UsesThis tutorial is designed to be used in one of two ways:

■ As a quick overview of the steps needed to configure resources (such as single-instance databases, Oracle Forms Servers, Oracle Reports Servers, and Oracle HTTP Servers) to be highly available using Oracle Fail Safe

■ As a step-by-step introduction to using Oracle Fail Safe Manager

If you intend to use the tutorial this way, first ask your cluster administrator for at least five IP addresses that you can use on the cluster for virtual addresses. In addition, it is best to follow the lessons in order.

This tutorial provides the basic steps for configuring resources to make them highly available; it does not provide detailed information on the concepts behind high availability. You may find it helpful to refer to the Oracle Fail Safe Concepts and Administration Guide while using this tutorial.

Cluster SetupThis tutorial is intended to be run on a two-node cluster.

TerminologyThe following terminology is frequently used in this tutorial:

■ Cluster: A group of independent computing systems that operates as a single virtual system.

Page 16: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

1-2 Oracle Fail Safe Tutorial

■ Failover: The process of taking cluster resources offline on one node and bringing them back online on another node. This process can either be planned (upgrades or maintenance) or unplanned (system failure).

■ Group: A logical collection of cluster resources that forms a minimal unit of failover. In a failover situation, the group is moved to a failover node. A group resides on only one cluster node at a time.

■ Resource: A physical or logical component that is available to a computing system. For example, disks, the network IP address, Forms Servers, Reports Servers, and Web servers are resources.

■ Virtual address: A network address at which the resources of a group can be accessed, regardless of the hardware server hosting those resources.

■ Virtual server: A group with one or more virtual addresses.

RequirementsThe following lists specify the requirements for the lessons of the tutorial. See the Oracle Fail Safe Release Notes for a list of supported software releases.

Creating a Sample Single-Instance Database■ A supported release of the Oracle database software is installed.

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group■ Oracle9i Application Server is installed on both cluster nodes. (The installation

must be an enterprise deployment installation.)

■ Oracle JInitiator release 1.1.8.7 or higher is installed on the client where you intend to view the form served by the Oracle Forms Server. (To install this version of JInitiator, double-click <Oracle_Home>\fs\fsmgr\jinit1187.exe, where <Oracle_Home> is the Oracle home where you installed Oracle Fail Safe.

■ Oracle HTTP Server is installed on both cluster nodes.

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group■ Oracle9i Application Server is installed on both cluster nodes. (The installation

must be an enterprise deployment installation.)

■ Oracle JInitiator release 1.1.8.7 or higher is installed on the client where you intend to view the form served by the Reports Server. (To install this version of JInitiator, double-click <Oracle_Home>\fs\fsmgr\jinit1187.exe, where <Oracle_Home> is the Oracle home where you installed Oracle Fail Safe.

Page 17: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using This Tutorial 1-3

■ Oracle HTTP Server is installed on both cluster nodes.

Page 18: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

1-4 Oracle Fail Safe Tutorial

Page 19: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Invoking Oracle Fail Safe Manager and Verifying the Cluster 2-1

2Invoking Oracle Fail Safe Manager and

Verifying the Cluster

This chapter describes the steps necessary to invoke Oracle Fail Safe Manager and to verify the cluster.

Page 20: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Invoking Oracle Fail Safe Manager

2-2 Oracle Fail Safe Tutorial

2.1 Invoking Oracle Fail Safe ManagerTo invoke Oracle Fail Safe Manager from the taskbar, click the Start button, select Programs, then the Oracle home into which you installed Oracle Fail Safe Manager, then select Oracle Fail Safe Manager.

In this example, the Oracle home is Ofs.

Page 21: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Populating the Tree View

Invoking Oracle Fail Safe Manager and Verifying the Cluster 2-3

2.2 Populating the Tree ViewWhen you invoke Oracle Fail Safe Manager, the Manager opens and if no clusters have been added to the tree view previously, the Add Cluster to Tree dialog box opens. If this dialog box opens, enter the cluster alias of the cluster you want to manage. If the tree view is already populated, but the cluster you want to manage is not in the tree view, see Section 2.3.

Page 22: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Adding a Cluster to a Populated Tree View

2-4 Oracle Fail Safe Tutorial

2.3 Adding a Cluster to a Populated Tree ViewIf the tree view already contains a list of clusters, but not the one you want to manage, you can add a cluster to the populated tree view. On the File menu, select Add Cluster to Tree.

Page 23: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Add Cluster to Tree Dialog Box

Invoking Oracle Fail Safe Manager and Verifying the Cluster 2-5

2.4 Using the Add Cluster to Tree Dialog BoxEnter the alias for the cluster that you want to manage in the Cluster Alias field, then click OK.

Page 24: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Connecting to the Cluster

2-6 Oracle Fail Safe Tutorial

2.5 Connecting to the ClusterAfter the tree view is populated with one or more cluster aliases, you must connect to the cluster or clusters before you can manage them with Oracle Fail Safe Manager.

In the tree view, select the cluster to which you want Oracle Fail Safe Manager to connect. Then, on the File menu, select Connect to Cluster. Oracle Fail Safe opens the Connect to Cluster dialog box.

Page 25: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Connect to Cluster Dialog Box

Invoking Oracle Fail Safe Manager and Verifying the Cluster 2-7

2.6 Using the Connect to Cluster Dialog BoxEnter a user name and password for a domain account that has Administrator privileges on all nodes of the cluster to which you want to connect. Next, enter the account domain name. Select Save As Local Preferred Credentials if you want Oracle Fail Safe Manager to save the connection information in a file on the local system (the password will be encrypted). If you save local preferred credentials, the next time you open Oracle Fail Safe Manager, you can automatically connect to the cluster by expanding the tree view for that cluster.

Page 26: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Verifying the Cluster

2-8 Oracle Fail Safe Tutorial

2.7 Verifying the ClusterBefore beginning work with Oracle Fail Safe Manager, verify that the cluster hardware and software are correctly configured by using the Verify Cluster command.

If this is your first time using Oracle Fail Safe with this cluster, a window asking you to verify the cluster opens immediately after you connect to the cluster. To verify the cluster, click the Verify Cluster button.

If this is not your first time using Oracle Fail Safe with this cluster, on the Troubleshooting menu, select Verify Cluster.

Page 27: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Results of the Verify Cluster Operation

Invoking Oracle Fail Safe Manager and Verifying the Cluster 2-9

2.8 Viewing the Results of the Verify Cluster OperationOracle Fail Safe displays the progress of the Verify Cluster operation.

Page 28: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Results of the Verify Cluster Operation

2-10 Oracle Fail Safe Tutorial

Page 29: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Creating a Group 3-1

3Creating a Group

This chapter describes the steps necessary to create a group with Oracle Fail Safe Manager. Creating a group is the first step in making most resources (such as single-instance databases, Forms Servers, Reports Servers, and Oracle HTTP servers) highly available.

Page 30: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Invoking the Create Group Wizard

3-2 Oracle Fail Safe Tutorial

3.1 Invoking the Create Group WizardIn the tree view, select the cluster on which you want to create a group. Then, on the Groups menu, select Create to open the Create Group Wizard.

Page 31: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Naming and Describing the Group

Creating a Group 3-3

3.2 Naming and Describing the GroupThe Create Group Wizard steps you through the process of creating a group. Enter FSTutorial as the name of the group, and if you want, enter a description of the group.

Page 32: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Failback Policy

3-4 Oracle Fail Safe Tutorial

3.3 Specifying the Failback PolicyThe Failback policy determines whether a group that has previously failed over is returned to the node on which you prefer it to run when that node comes back online. Select "Allow failback." Then select "Fail back between" and enter 2 and then 3. This specifies that if a previously unavailable node comes back online, failback will be scheduled to occur between the hours of 2 a.m. and 3 a.m.

See the Oracle Fail Safe Concepts and Administration Guide for more information on the various failback policy options.

Page 33: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Preferred Nodes

Creating a Group 3-5

3.4 Specifying the Preferred NodesA preferred node is the node on which you want the group to run when all cluster nodes are running. When a previously unavailable node comes back online, the cluster software reads the preferred nodes list to determine if the group should be failed back to a preferred node. The first running node in the preferred nodes list is the one to which the group will fail back. If you do not specify a preferred nodes list, failback is disabled and the group will never fail back.

Move one of the nodes in the Available Nodes list to the Preferred Nodes list.

Page 34: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Finishing Creating a Group

3-6 Oracle Fail Safe Tutorial

3.5 Finishing Creating a GroupBefore the group is created, you have an opportunity to review the properties you have selected. If the properties are incorrect, click Cancel and then Back to make corrections. If the properties are correct, click OK, and Oracle Fail Safe will create the group.

Page 35: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Responding to the Virtual Address Question

Creating a Group 3-7

3.6 Responding to the Virtual Address QuestionAfter creating the group, Oracle Fail Safe asks if you want to add a virtual address to the group. When a group contains a virtual address, the group is accessible by clients at the same network address, regardless of which cluster node is hosting the group.

If you click Yes, Oracle Fail Safe opens the Add Virtual Address Wizard immediately. Typically, you would click Yes. However, for the purposes of this tutorial, click No.

In Chapter 4, the tutorial will show you how to create a virtual address as a separate step.

Page 36: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Responding to the Virtual Address Question

3-8 Oracle Fail Safe Tutorial

Page 37: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Adding a Virtual Address to a Group 4-1

4Adding a Virtual Address to a Group

This chapter describes the steps necessary to add a virtual address to a group with Oracle Fail Safe Manager. Oracle Fail Safe Manager does not allow you to add any other resources (other than a generic service) to a group until at least one virtual address has been added to the group. Without a virtual address, clients cannot connect to resources that have been added to a group.

Page 38: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Opening the Add Resource to Group Wizard

4-2 Oracle Fail Safe Tutorial

4.1 Opening the Add Resource to Group WizardIn the tree view, select the group to which you want to add a virtual address. Next, on the Resources menu, select Add to Group to open the Add Resource to Group Wizard.

Page 39: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Resource Type and Group

Adding a Virtual Address to a Group 4-3

4.2 Specifying the Resource Type and GroupOn the first page of the wizard, select the Virtual Address resource type, the FSTutorial group, and then click Next.

Page 40: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Describing the Network

4-4 Oracle Fail Safe Tutorial

4.3 Describing the NetworkWhen you add a virtual address to a group, you need to define the network on which the virtual address runs. If you do not know which addresses are available as virtual addresses on your cluster, ask your cluster administrator.

Enter the data on the wizard page as follows:

1. In the Network section of the page, select "Show networks accessible by clients," and in the Network box, select Public.

2. In the Virtual Address section of the page, enter the host name for the virtual address that you want to create in the Host Name box (your value will be different than the one shown in the image), and then press the Tab key.

When you press the Tab key, Oracle Fail Safe resolves the host name to an IP address.

Your values for the virtual address will be different from the ones shown in the image. Also, do not use the cluster alias; in this example, the cluster alias is ntclu-150.

3. Click Finish.

Page 41: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Finishing Adding the Virtual Address

Adding a Virtual Address to a Group 4-5

4.4 Finishing Adding the Virtual AddressOracle Fail Safe asks you to check the properties you have selected for the virtual address. If they are correct, click OK. Otherwise, click Cancel and then Back to change the properties.

After you add at least one virtual address to the group, you are ready to add a resource to the group (such as an Oracle single-instance database, Oracle Forms Server, Oracle Reports Server, Web server, or other resource).

Page 42: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Group Properties

4-6 Oracle Fail Safe Tutorial

4.5 Viewing the Group PropertiesFrequently, you will need the virtual address or addresses of a group when you are adding resources to the group. These addresses are displayed in the wizard you use to add a resource to a group. You can also see a list of these addresses in the Virtual Addresses property page. This property page shows the virtual address that you just added to the group.

Page 43: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Creating a Sample Single-Instance Database 5-1

5Creating a Sample Single-Instance

Database

This lesson shows you how to create a sample single-instance database called SAMPLEDB. The rest of this tutorial assumes you have created this database.

Page 44: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Opening the Create Sample Database Dialog Box

5-2 Oracle Fail Safe Tutorial

5.1 Opening the Create Sample Database Dialog BoxIn the tree view, select the cluster (or an object on the cluster) on which you want to create the sample database. Then, on the Resources menu, select Create Sample Database to open the Create Sample Database dialog box.

Page 45: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Create Sample Database Dialog Box

Creating a Sample Single-Instance Database 5-3

5.2 Using the Create Sample Database Dialog BoxEnter a service name of SAMPLEDB, select a disk and node combination on which to build the sample database, and then select the version of the Oracle database that you want to create and the Oracle home in which to create it. For the disk resource, Oracle Corporation recommends you select a disk other than that which is used for the quorum resource. (To view the disk used for the quorum resource, select the cluster alias in the tree view, then click the Quorum tab.) Click OK.

The sample database always uses the SYS account with a password of change_on_install. Do not use the sample database as a production database.

Page 46: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Starting the Default Oracle Intelligent Agent

5-4 Oracle Fail Safe Tutorial

5.3 Starting the Default Oracle Intelligent AgentOracle Fail Safe opens a Creating Sample Database window to display the progress of the operation. This may take a few minutes. During the operation, Oracle Fail Safe opens a Clusterwide Operation Query window to ask if you want to restart the default Oracle Intelligent Agent. Click Yes.

Page 47: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Progress of the Clusterwide Operation

Creating a Sample Single-Instance Database 5-5

5.4 Viewing the Progress of the Clusterwide OperationWhen the operation completes, Oracle Fail Safe opens a Clusterwide Operation Status window to let you know whether the operation has completed successfully.

Click OK.

Page 48: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Progress of the Clusterwide Operation

5-6 Oracle Fail Safe Tutorial

Page 49: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Verifying a Standalone Single-Instance Database 6-1

6Verifying a Standalone Single-Instance

Database

If you add a standalone database (that you did not create using Create Sample Database) to a group, you should verify the database before adding it to a group. When you verify a standalone database, Oracle Fail Safe uses data that you supply to attempt to fix any problems it finds clusterwide.

Because Oracle Fail Safe created it, you do not need to verify the database that you created in Chapter 5. However, for the purpose of demonstration, you will do so in this lesson.

Page 50: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Verify Standalone Database Command

6-2 Oracle Fail Safe Tutorial

6.1 Using the Verify Standalone Database CommandIn the tree view, select the SAMPLEDB.us.oracle.com database. Then, in the Troubleshooting menu, select Verify Standalone Database.

Page 51: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Verify Standalone Database Dialog Box

Verifying a Standalone Single-Instance Database 6-3

6.2 Using the Verify Standalone Database Dialog BoxThe contents of the database information fields are retrieved automatically. If a value is too long for a field, you may not see the entire value.

In the Account box, select the "Use operating system authentication" option. (If a window opens with a question similar to the following, click Yes: "To use operating system authentication, the user, domain\administrator must be added to the dba group ORA_OFS1_DBA. Should Oracle Fail Safe add this user for you?")

Page 52: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Progress of the Clusterwide Operation

6-4 Oracle Fail Safe Tutorial

6.3 Viewing the Progress of the Clusterwide OperationOracle Fail Safe displays the results of the Verify Standalone Database operation. (During the operation, a message window may ask if you want to start the SAMPLEDB instance. If this message is displayed, click Yes.)

Page 53: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Adding a Single-Instance Database to a Group 7-1

7Adding a Single-Instance Database to a

Group

This lesson shows how to add a single-instance database to a group. When you add a single-instance database to a group, you make that database highly available. If the node on which the database is currently running is taken offline or fails, the database is restarted on a surviving cluster node.

In this lesson, you will add the sample database that you created in Chapter 5 to the FSTutorial group that you created in Chapter 3.

Page 54: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Invoking the Add Resource to Group Wizard

7-2 Oracle Fail Safe Tutorial

7.1 Invoking the Add Resource to Group WizardIn the tree view, select the SAMPLEDB.us.oracle.com database, then on the Resources menu, select Add to Group.

Page 55: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Add Resource to Group Wizard

Adding a Single-Instance Database to a Group 7-3

7.2 Using the Add Resource to Group WizardThe Add Resource to Group Wizard steps you through the process of adding the database to the group. On this page, select Oracle Database (if it is not already selected) and then select the FSTutorial group from the Group Name pull-down menu.

Click Next.

Page 56: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Database Identity

7-4 Oracle Fail Safe Tutorial

7.3 Specifying the Database IdentityTypically, the Service Name, Instance Name, Database Name, and Parameter File fields are retrieved automatically. However, if the parameter file disk is not on the same node as the database instance, then the database name will not be prefilled. If this is the case, enter the database name in the Database Name field.

Click Next.

Page 57: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Selecting a Database Authentication Method

Adding a Single-Instance Database to a Group 7-5

7.4 Selecting a Database Authentication MethodOracle Services for MSCS must have access to the database. Oracle Services for MSCS accesses the database from two accounts, the account running the Oracle Services for MSCS service and the account running the Cluster Server service. The account running the Oracle Services for MSCS service accesses the database during configuration and verification operations; the account running the Cluster Server service accesses the database when monitoring database status and when placing the database online or taking it offline.

You can choose for the services to access the database using the account or accounts under which they are running (which is called operating system authentication) or to access the database using the SYS account.

Select the "Use operating system authentication" option.

Note: This page will not be presented if the account (or accounts) under which the services are running is already a member of either the ORA_DBA or ORA_<SID>_DBA Windows operating system group.

Page 58: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Adding the Account to the Windows ORA_<SID>_DBA Group

7-6 Oracle Fail Safe Tutorial

7.5 Adding the Account to the Windows ORA_<SID>_DBA Group When you select the "Use operating system authentication" option, Oracle Fail Safe opens a window to confirm that you want to add the account or accounts under which the Oracle Server for MSCS and Cluster Server services are running to the ORA_<SID>_DBA group. Click Yes. Then click Next in the Database Authentication Wizard page.

In this example, Oracle Services for MSCS and MSCS are both running under the nedcdomain\cluadmin account and OFS1 is the SID of the SAMPLEDB database. If they were running under different accounts, both would be added to the ORA_OFS1_DBA group. (The values presented to you when you follow this tutorial may be different.)

Page 59: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying a Password File

Adding a Single-Instance Database to a Group 7-7

7.6 Specifying a Password FileOn this page, you can choose whether or not Oracle Services for MSCS will create a password file for the database on each cluster node. If you choose not to have Oracle Services for MSCS create a password file on each cluster node, then database administrators who want to access the database must be members of the ORA_DBA or ORA_<SID>_DBA Windows operating system group and will only be able to perform database administration tasks from the node on which the database resides; applications such as Recovery Manager will not be able to access the database from a noncluster node.

This lesson specifies that Oracle Services for MSCS will create a password file. Select the "Yes, create the password file" option, and enter and confirm the password for the SYS account. The default password for the SYS account is change_on_install.

Page 60: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Finishing Adding the Database

7-8 Oracle Fail Safe Tutorial

7.7 Finishing Adding the DatabaseOracle Fail Safe asks you to check the properties you have selected for the database. If they are correct, click OK. Otherwise, click Cancel and then click Back to change the properties.

Page 61: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Shutting Down the Database

Adding a Single-Instance Database to a Group 7-9

7.8 Shutting Down the DatabaseIf the database is running, Oracle Fail Safe displays a window to warn you that it must shut down the database. Click Yes to shut down the database and continue the process.

Page 62: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Progress of the Clusterwide Operation

7-10 Oracle Fail Safe Tutorial

7.9 Viewing the Progress of the Clusterwide OperationOracle Fail Safe displays the progress of the Add Database to Group operation.

Page 63: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Verifying a Group 8-1

8Verifying a Group

A group verification checks that the selected group is configured correctly. Over time, as your system becomes more complex and hardware and software configurations change, you may find that resource dependencies have changed. The Verify Group command makes it easy to restore the configuration to working order. When you use a Verify Group command, Oracle Fail Safe attempts to correct any configuration problems it finds. It is not necessary to verify a group immediately after you create it, but it is done in this lesson to demonstrate the operation.

Page 64: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Verify Group Command

8-2 Oracle Fail Safe Tutorial

8.1 Using the Verify Group CommandIn the tree view, right-click the FsTutorial group name, then select Verify Group.

Page 65: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing Progress

Verifying a Group 8-3

8.2 Viewing ProgressBecause the Verify group operation is applied clusterwide and involves numerous steps, it can take a few minutes to complete. Oracle Fail Safe Manager displays the progress of the operation to you.

When the operation is complete, click OK in the Cluster Operation Status window and Close in the Verifying Group FsTutorial window.

Page 66: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing Progress

8-4 Oracle Fail Safe Tutorial

Page 67: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Balancing the Workload 9-1

9Balancing the Workload

Oracle Fail Safe Manager makes it easy to balance the workload across the nodes in the cluster using a process called planned failover. You can use planned failover to adjust the initial setup of the cluster, or to adjust the setup if the cluster environment changes.

Page 68: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Initial Set Up for Performing a Planned Failover

9-2 Oracle Fail Safe Tutorial

9.1 Initial Set Up for Performing a Planned FailoverCreate three groups: Sales, Marketing, and Customers. Create Sales and Marketing on one node (NTCLU-151 is used in this example); create Customers on the other node (NTCLU-152 is used in this example).

Enable failback for each group, and set the current node of each group at the top of the Preferred Owner Nodes list. See Chapter 3 for instructions on creating a group. For the purposes of this example, you do not need to add virtual addresses to the new groups.

The following figure shows the initial configuration of the cluster:

Suppose that you have recently added more CPUs to NTCLU-152. Node NTCLU-152 can better handle the load of the Sales and Marketing groups, and NTCLU-151 would now be a better place for the Customers group. You can move the groups to the new, more capable system with minimal interruption in service to your users.

Page 69: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Moving the Sales Group

Balancing the Workload 9-3

9.2 Moving the Sales GroupBecause NTCLU-152 is the more robust system, the first step is to move Sales and Marketing groups to NTCLU-152.

To move the Sales group from NTCLU-151 to NTCLU-152, right-click on the Sales group and select Move to a Different Node. (Your node names will be different.)

Page 70: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Confirming the Move Group Operation

9-4 Oracle Fail Safe Tutorial

9.3 Confirming the Move Group OperationA confirmation window asks if you want to move the Sales group to NTCLU-152. Click Yes.

Page 71: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Finishing Moving the Group

Balancing the Workload 9-5

9.4 Finishing Moving the GroupThe Moving Group window displays the progress of the move operation. When the move is finished, click Yes in the Clusterwide Operation Status window, then click Close in the Moving Group window.

Page 72: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Moving the Marketing Group

9-6 Oracle Fail Safe Tutorial

9.5 Moving the Marketing GroupTo move the Marketing group from NTCLU-151 to NTCLU-152, right-click on the Marketing group and select Move to a Different Node.

Complete the move operation as described in Section 9.3 and Section 9.4.

Page 73: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Moving the Customers Group

Balancing the Workload 9-7

9.6 Moving the Customers GroupTo move the Customers group from NTCLU-152 to NTCLU-151, right-click on the Customers group and select Move to a Different Node.

Complete the move operation as described in Section 9.3 and Section 9.4.

Page 74: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Checking the Preferred Owner Nodes List

9-8 Oracle Fail Safe Tutorial

9.7 Checking the Preferred Owner Nodes ListCheck the Preferred Owner Nodes list. Select the Sales group from the tree view and click the Nodes tab. The data on this page indicates that NTCLU-151 is the preferred owner node. However, now that you have rearranged the configuration, you probably want NTCLU-152 to be the preferred owner node. With the current settings, if NTCLU-152 fails and the Sales group fails over to NTCLU-151, the Preferred Nodes list indicates that you prefer the Sales group to reside on NTCLU-151; failback will not occur when NTCLU-152 comes online.

Page 75: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Rearranging the Preferred Nodes List

Balancing the Workload 9-9

9.8 Rearranging the Preferred Nodes ListRearrange the Preferred Nodes list so that NTCLU-152 is first in the list and NTCLU-151 is second. Select NTCLU-152 from the Available Nodes list and click the right-arrow button, then select NTCLU-152 from the Preferred Nodes list and click the up-arrow button. The Preferred Nodes list should list NTCLU-152 first and NTCLU-151 second.

Repeat this process for Customers and Marketing, ensuring that the node on which you want each group to reside when both cluster nodes are up is first in their respective Preferred Nodes list.

Page 76: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Balanced Workload

9-10 Oracle Fail Safe Tutorial

9.9 Viewing the Balanced WorkloadWhen you finish the planned failover, the Oracle Fail Safe Manager tree view should appear similar to the following image when you expand both of the Nodes folders for NTCLU-150 and the Groups folder below each Nodes folder in the tree view, then click any one of the Groups folders.

Page 77: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Identifying the Location of Fail-Safe Databases to Client Applications 10-1

10Identifying the Location of Fail-Safe

Databases to Client Applications

Ordinarily, end-user applications identify the location of a database by its physical node address. When you add a database to a group, the location of the database in the group is identified by the virtual address of the group.

Page 78: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Updating the tnsnames.ora File

10-2 Oracle Fail Safe Tutorial

10.1 Updating the tnsnames.ora FileIf your end-user applications use tnsnames.ora to locate databases, use a tool such as Oracle Net Assistant to change the host value in tnsnames.ora on client systems from the physical node address to the virtual address of the group. Oracle Fail Safe makes this update for you on the server systems and the client system from which you are running Oracle Fail Safe Manager.

Page 79: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-1

11Creating and Adding a Forms Server and an

Oracle HTTP Server to a Group

This lesson demonstrates how to make an Oracle Forms application deployed on the Web highly available. This is done by making both the Oracle Forms Server and the Oracle HTTP Server highly available.

Oracle Fail Safe can add an existing Forms Server to a group, or it can create and add a Forms Server to a group; both are done using the Add Resource to Group Wizard. This lesson will first create and add a Forms Server to a group, then create and add an Oracle HTTP Server to the same group so that the form can be viewed on the Web.

Because this lesson requires preparation, you might find it helpful to print this introduction before continuing.

Use the following table to record data that is specific to your configuration. The first column lists the items needed for this lesson. The second column lists the values used in this tutorial. In the third column, enter the values that correspond to your configuration.

Item Tutorial Value Your Value

Virtual address of Forms_Group: IP address 138.2.26.156

Virtual address of Forms_Group: Node name NTCLU-156

Directory specification for Forms Server files V:\Forms

Oracle home where Oracle HTTP Server is installed

ORADB

Directory specification for Oracle home of Oracle iAS

D:\Oracle\806\

Page 80: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

11-2 Oracle Fail Safe Tutorial

Before running this lesson, perform the following operations:

1. Make sure the system software requirements have been met, as described in Chapter 1.

2. Create a group called Forms_Group and add a virtual address to it, as described in Chapter 3 and Chapter 4.

3. If you have not already done so, install the demo database objects that ship with Oracle Fail Safe, using the database that you created in Chapter 5, by performing the following operation:

a. Connect to your database as system/manager.

b. Run <Oracle_Home>\fs\fssvr\demos60.sql using a tool such as SQL Worksheet.

4. Create a \Forms directory on a cluster disk that you have designated for the Forms Server.

5. Create an \HTTPServer directory on a cluster disk. In this directory, create an \htdocs directory.

6. Copy calcform.fmx from <Oracle_Home>\fs\fssvr on one of the cluster nodes to the \Forms directory.

7. Copy WebForm.htm from <Oracle_Home>\fs\fssvr on one of the cluster nodes to the \HTTPServer\htdocs directory. This will be the default page for the Web server.

Directory specification for HTTP Server files V:\HTTPServer\htdocs

Item Tutorial Value Your Value

Page 81: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Add Resource to Group Wizard

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-3

11.1 Using the Add Resource to Group WizardIn the tree view, select the Forms_Group, then on the Resources menu, click Add to Group.

Page 82: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Resource and Group

11-4 Oracle Fail Safe Tutorial

11.2 Specifying the Resource and GroupSelect Oracle Forms Server as the resource type and select Forms_Group as the group to which to add the Forms Server. Click Next.

Page 83: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Forms Server Identity

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-5

11.3 Specifying the Forms Server IdentityEnter the name Forms_Tutorial in the Forms Server Name box and 9010 in the Port Number box. Click Next.

Page 84: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Forms Server Parameters

11-6 Oracle Fail Safe Tutorial

11.4 Specifying the Forms Server ParametersAccept the default values of Socket for the connection mode and 1 for the pool value. Click Next.

Page 85: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Forms Server Path

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-7

11.5 Specifying the Forms Server PathClick Add and enter the directory specification for the location where you copied the calcform.fmx file earlier, then click OK. If the disk you specify is not on the same node as the Forms_Group, Oracle Fail Safe will open a window to ask if the group containing the disk can be moved to the same node as the Forms_Group. Click Yes. Then, in the Add Resource to Group - Forms Path Wizard page, click Next.

Page 86: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Database Used by the Forms Server

11-8 Oracle Fail Safe Tutorial

11.6 Specifying the Database Used by the Forms ServerSpecify the database or databases that the forms using the Forms Server will access. In the Available box, select the database you created in Chapter 5 and click the right arrow. Click Finish.

Page 87: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Finishing Creating and Adding the Forms Server

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-9

11.7 Finishing Creating and Adding the Forms ServerOracle Fail Safe asks you to check the properties you have selected for the Forms Server. If they are correct, click OK. Otherwise, click Cancel and then Back to change the properties in the wizard.

Page 88: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Monitoring the Clusterwide Operation

11-10 Oracle Fail Safe Tutorial

11.8 Monitoring the Clusterwide OperationAfter you complete the wizard, Oracle Fail Safe begins to configure the resources in the group. You can watch the progress of this operation and view the status of the individual resources within the group as Oracle Fail Safe configures and tests the cluster environment.

Page 89: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Adding an Oracle HTTP Server to the Group

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-11

11.9 Adding an Oracle HTTP Server to the GroupTo view forms through a Web browser, you need a Web server. In this portion of the lesson, you will add an Oracle HTTP Server to Forms_Group.

Select Forms_Group from the tree view, then on the Resources menu, select Add to Group.

Page 90: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Resource and Group

11-12 Oracle Fail Safe Tutorial

11.10 Specifying the Resource and GroupSelect Oracle HTTP Server as the resource type and select Forms_Group as the group to which to add the Oracle HTTP Server. Click Next.

Page 91: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Oracle HTTP Server Name

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-13

11.11 Specifying the Oracle HTTP Server NameEnter Forms_Site in the Oracle HTTP Server Name box. The Version/Home box should be filled in automatically. In the Cluster Disk box, enter the cluster disk on which you created the HTTP Server directory at the beginning of this lesson. Click Next.

Page 92: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying Default Files

11-14 Oracle Fail Safe Tutorial

11.12 Specifying Default FilesIn the Document Root field, enter the path to the \htdocs directory that you created at the beginning of the lesson.

Click the top Add button in the wizard window to open the Enter a File Name dialog box. In the File Name box, enter WebForm.htm and click OK. Do not click Next.

Page 93: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Virtual Directory

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-15

11.13 Specifying the Virtual DirectoryA virtual directory maps a name to a physical directory specification. You specify virtual directories to hide your file structure from end users. If a physical directory changes, the URL specified by end users does not change.

Follow these steps to add the virtual directory needed to run the applet:

1. Click the lower Add button in the wizard window to open the Virtual Directory Mapping dialog box.

2. In the Virtual Directory box, enter /web_code.

3. In the Physical Directory box, enter the directory where you installed Oracle iAS, followed by \Forms60\java.

4. Select "Allow CGI execution" to ensure that CGI can be executed in the virtual directory.

5. Click OK.

Oracle Fail Safe warns you to make sure that the files are installed in the same location on all possible owner nodes for the resource. If Oracle iAS was installed in the same location on both cluster nodes, you can safely ignore this warning.

6. Click Next.

Page 94: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Virtual Directory

11-16 Oracle Fail Safe Tutorial

Page 95: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Virtual Address

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-17

11.14 Specifying the Virtual AddressOn this page, you specify the virtual address at which users can access the Web site where the form will be displayed. In the top portion of this page, select the available IP address, click the right arrow, and specify a port of 1067. (If port 1067 is already in use by another application on your cluster, enter a different port.) Click Finish.

Page 96: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Finishing Creating and Adding the Web Server

11-18 Oracle Fail Safe Tutorial

11.15 Finishing Creating and Adding the Web ServerOracle Fail Safe asks you to check the properties you have selected for the Oracle HTTP Server. If they are correct, click OK. Otherwise, click Cancel and then Back to change the properties in the wizard.

Page 97: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Monitoring the Clusterwide Operation

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-19

11.16 Monitoring the Clusterwide OperationAfter you complete the wizard, Oracle Fail Safe begins to configure the resources in the group. You can watch the progress of this operation and view the status of the individual resources in the group as Oracle Fail Safe configures and tests them in the cluster environment.

Page 98: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Adjusting the WebForm.htm File

11-20 Oracle Fail Safe Tutorial

11.17 Adjusting the WebForm.htm FileThe WebForm.htm file that you copied to the \Forms directory must be customized with your data before you can view the form on the Web. If necessary, edit the following values in WebForm.htm:

■ Replace the value of the serverPort parameter ("9000") with the value of your Forms Server port number (in this tutorial, "9010").

■ Replace the version number of the type parameter ("1.1.8.7") with the version number of your version of Jinitiator.

Page 99: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Fail-Safe Form, Part One

Creating and Adding a Forms Server and an Oracle HTTP Server to a Group 11-21

11.18 Viewing the Fail-Safe Form, Part OneIn a Web browser, enter the virtual address and port number of the Oracle HTTP Server as the URL. When prompted, enter the user name and password for the database system account, and the full database name of the database where you installed the sample database objects. (By default, the user name and password are system and manager, respectively.) Click Connect.

Page 100: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Fail-Safe Form, Part Two

11-22 Oracle Fail Safe Tutorial

11.19 Viewing the Fail-Safe Form, Part TwoYou can now test the high availability of the configuration by performing the following operations:

1. After the form loads, alter some data in the form. Click the Action menu of the Java applet, and click Save.

2. Using Oracle Fail Safe, perform a planned failover and move Forms_Group to the other node. See Chapter 9 for instructions on performing a planned failover.

3. In the Web browser, click Reload to refresh the form and display the changes you made to the data.

Page 101: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-1

12Creating and Adding a Reports Server and

an Oracle HTTP Server to a Group

This lesson demonstrates how to make an Oracle Reports application deployed on the Web highly available. This is done by making both the Oracle Reports Server and an Oracle HTTP Server highly available.

If you want to deploy a non-Web Oracle Reports application, you need only follow this lesson to Section 12.8. If you schedule jobs for the Reports Server using the Reports Queue Manager, the job scheduling will be highly available.

Because this lesson requires preparation, you might find it helpful to print this introduction before continuing.

Use the following table to record data that is specific to your configuration. The first column lists the items needed for this lesson. The second column lists the values used in this tutorial. In the third column, enter the values that correspond to your configuration.

Item Tutorial Value Your Value

Virtual address of Reports_Group: IP address

138.2.26.157

Virtual address of Reports_Group: Network name

ntclu-157

Directory specification for Reports Server source files

W:\Reports_Source

Directory specification for Reports Server cache files

W:\Reports_Cache

Directory specification for Reports Server scheduled jobs

W:\Reports_Jobs

Page 102: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

12-2 Oracle Fail Safe Tutorial

Before running this lesson, perform the following operations:

1. Make sure the system software requirements have been met, as described in Chapter 1.

2. Create a group called Reports_Group and add a virtual address to it, as described in Chapter 3 and Chapter 4.

3. If you have not already done so, install the demo database objects that ship with Oracle Fail Safe, using the database that you created in Chapter 5, by performing the following operations:

a. Connect to your database as system/manager.

b. Run <Oracle_Home>\fs\fssvr\rdemos60.sql using a tool such as SQL Worksheet.

4. Create a \Reports_Source directory, a \Reports_Cache directory, and a \Reports_Jobs directory on a cluster disk.

5. Create an \HTTPServer directory on a cluster disk. In this directory, create an \htdocs directory.

6. Copy sample.rdf file from <Oracle_Home>\fs\fssvr on one of the cluster nodes to the \Reports_Source directory.

7. Copy WebReport.htm from <Oracle_Home>\fs\fssvr on one of the cluster nodes to the \HTTPServer\htdocs directory. This will be the default page for the Web server.

Directory specification for HTTP Server files

W:\HTTPServer\htdocs

User account (including user name, password, and domain) on the cluster configured for printing

AllyninternalNEDCDOMAIN

Directory specification for Oracle Developer release 6i home directory

D:\Oracle\806

Oracle home where Oracle HTTP Server is installed

ORADB

Item Tutorial Value Your Value

Page 103: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Invoking the Add Resource to Group Wizard

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-3

12.1 Invoking the Add Resource to Group WizardIn the tree view, select the Reports_Group, then on the Resources menu, select Add to Group.

Page 104: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Resource and Group

12-4 Oracle Fail Safe Tutorial

12.2 Specifying the Resource and GroupSelect Oracle Reports Server as the resource type and select Reports_Group as the group to which to add the Reports Server. Click Next.

Page 105: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Reports Server Identity

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-5

12.3 Specifying the Reports Server IdentityEnter Reports_Tutorial as the name for the Reports Server. Accept the default port of 1949. Click Next.

Page 106: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Reports Server Disks and Directories

12-6 Oracle Fail Safe Tutorial

12.4 Specifying the Reports Server Disks and DirectoriesEnter the directory specifications for the Reports Server cache directory, source directory, and jobs directory that you created before beginning the lesson. Click Next.

Page 107: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Database Used by the Reports Server

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-7

12.5 Specifying the Database Used by the Reports ServerSelect the database that you created in Chapter 5 from the Available box, then click the right arrow to move the database to the Selected box. This tells Oracle Fail Safe that the reports served by the Reports_Tutorial server access the selected database. Click Next.

Page 108: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying an Account for the Reports Server to Use

12-8 Oracle Fail Safe Tutorial

12.6 Specifying an Account for the Reports Server to UseFor the Reports Server to run properly, it must have access to one or more printers. By default, the Windows SYSTEM user does not have access to printers. Therefore, specify a user account and password that the Reports Server can use to access a printer. Click Finish.

Page 109: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Finishing Creating and Adding a Reports Server

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-9

12.7 Finishing Creating and Adding a Reports ServerOracle Fail Safe asks you to check the properties you have selected for the Reports Server. If they are correct, click OK. Otherwise, click Cancel and then Back to change the properties in the wizard.

Page 110: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Monitoring the Clusterwide Operation

12-10 Oracle Fail Safe Tutorial

12.8 Monitoring the Clusterwide OperationAfter you complete the wizard, Oracle Fail Safe configures the resources in the group. You can watch the progress of this operation and view the status of the individual resources within the group as Oracle Fail Safe configures and tests them in the cluster environment. If you were using the Reports Server to generate text files, you would now be ready to schedule jobs with the Reports Queue Manager.

The rest of this lesson shows how to configure a Web server so that your reports will be highly available on the Web.

Page 111: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Adding an Oracle HTTP Server to the Group

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-11

12.9 Adding an Oracle HTTP Server to the GroupTo view reports through a Web browser, you need to add a Web server to the group. In this portion of the lesson, you will add an Oracle HTTP Server to Reports_Group.

Select Reports_Group from the tree view, then on the Resources menu, select Add to Group.

Page 112: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Resource and Group

12-12 Oracle Fail Safe Tutorial

12.10 Specifying the Resource and GroupSelect Oracle HTTP Server as the resource type and select Reports_Group as the group to which to add the Oracle HTTP Server. Click Next.

Page 113: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Oracle HTTP Server Name

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-13

12.11 Specifying the Oracle HTTP Server NameEnter Reports_Site in the Oracle HTTP Server Name box. Select the Version/Home that reflects the version and home of the Oracle HTTP Server software that you want to use. In the Cluster Disk box, enter the cluster disk on which you created the HTTPServer directory at the beginning of this lesson. Click Next.

Page 114: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying Default Files

12-14 Oracle Fail Safe Tutorial

12.12 Specifying Default FilesAt the top of the wizard window, enter the path to the \htdocs directory that you created at the beginning of the lesson.

Click the top Add button in the wizard window. In the File Name box, enter WebReport.htm and click OK. The WebReport.htm file is the file that you copied from <Oracle_Home>\fs\fssvr to the \htdocs directory earlier. It contains the URL needed to present the report on the Web. Do not click Next.

Page 115: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the First Virtual Directory

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-15

12.13 Specifying the First Virtual DirectoryA virtual directory maps a name to a physical directory specification. You specify virtual directories to hide your file structure from end users. If a physical directory changes, the URL specified by end users does not change.

Follow these steps to specify the first virtual directory:

1. Click the lower Add button in the wizard window to open the Virtual Directory Mapping dialog box.

2. In the Virtual Directory box, enter /web_cgi.

3. In the Physical Directory box, enter the directory specification for the bin directory of the Oracle home where you installed Oracle Developer release 6i. This directory contains the rwcgi60.exe cgi file that you need to run your report on the Web.

4. Select "Allow CGI execution" to ensure that CGI can be executed in the virtual directory.

5. Click OK.

Oracle Fail Safe warns you to make sure that the files are installed in the same location on both cluster nodes. If Oracle Developer 6i was installed in the same location on both cluster nodes, you can safely ignore this warning.

6. Do not click Next.

Page 116: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Second Virtual Directory

12-16 Oracle Fail Safe Tutorial

12.14 Specifying the Second Virtual DirectoryFollow these steps to add the second virtual directory:

1. Click the lower Add button in the wizard window to open the Virtual Directory Mapping dialog box.

2. In the Virtual Directory box, enter /output.

3. In the Physical Directory box, enter the directory specification for the \Reports_Cache directory that you created earlier. This is the directory where the Oracle Reports Server output files will be written.

4. Click OK.

5. Click Next.

Page 117: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Specifying the Virtual Address

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-17

12.15 Specifying the Virtual AddressOn this page, you specify the virtual address at which users can access the Web site where the report will be displayed. In the top portion of this page, select the available IP address, click the right arrow, and enter a port of 4001. (If port 4001 is already in use by another application on your cluster, enter a different port.) Click Finish.

Page 118: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Finish Creating and Adding the Oracle HTTP Server

12-18 Oracle Fail Safe Tutorial

12.16 Finish Creating and Adding the Oracle HTTP ServerOracle Fail Safe asks you to check the properties you have selected for the Oracle HTTP Server. If they are correct, click OK. Otherwise, click Cancel and then Back to change the properties in the wizard.

Page 119: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Monitoring the Clusterwide Operation

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-19

12.17 Monitoring the Clusterwide OperationAfter you complete the wizard, Oracle Fail Safe begins to configure the resources in the group. You can watch the progress of this operation and view the status of the individual resources in the group as Oracle Fail Safe configures and tests them in the cluster environment.

Page 120: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Adjusting the WebReport.htm File

12-20 Oracle Fail Safe Tutorial

12.18 Adjusting the WebReport.htm FileThe WebReport.htm file that you copied to the Reports_Source directory must be customized with your data before you can view the report on the Web. If necessary, edit the following values in WebReport.htm:

■ Replace "ntclu-157:4001" with the network name and port you specified in the Add Oracle HTTP Server to Group Wizard.

■ Replace "system/[email protected]" with the user name, password, and database name for the database account that you used to install the demo database objects.

Page 121: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Fail-Safe Report, Page One

Creating and Adding a Reports Server and an Oracle HTTP Server to a Group 12-21

12.19 Viewing the Fail-Safe Report, Page OneAfter you configure a Reports Server and an Oracle HTTP Server for high availability, you can view the report. In a Web browser, enter the virtual address and port number of the Oracle HTTP Server as the URL.

Click the text in the window browser as directed.

Page 122: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Fail-Safe Report, Page Two

12-22 Oracle Fail Safe Tutorial

12.20 Viewing the Fail-Safe Report, Page TwoYou can now test the high availability of the configuration by performing the following operations:

1. Note the date and time in the report presented in the Web browser.

2. Using Oracle Fail Safe, perform a planned failover and move Reports_Group to the other node. See Chapter 9 for more information.

3. In the Web browser, click Reload to reload the report. The date and time will show the current time.

Page 123: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Removing a Resource from a Group 13-1

13Removing a Resource from a Group

When you are done experimenting with a resource, you probably want to delete it from the cluster. Before you can delete it from the cluster, you must first remove it from the group to which you added it. Note that you can only use the Remove from Group command to remove those resources from a group that you added with the Add Resource to Group Wizard.

Page 124: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Remove from Group Command

13-2 Oracle Fail Safe Tutorial

13.1 Using the Remove from Group CommandIn the tree view, select Forms_Tutorial. Then, on the Resources menu, select Remove from Group.

Page 125: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Confirmation Request

Removing a Resource from a Group 13-3

13.2 Confirmation RequestWhen you remove the Forms_Tutorial from the group, Oracle Fail Safe asks, "Are you sure you want to remove the resource Forms_Tutorial from the group?" Click Yes.

(Note that when you remove a database from a group, Oracle Fail Safe warns you that the database will be shut down and all users will be disconnected.)

Page 126: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Monitoring the Clusterwide Operation

13-4 Oracle Fail Safe Tutorial

13.3 Monitoring the Clusterwide OperationOracle Fail Safe opens a window and begins the remove operation. The upper portion of the window displays the status of individual resources in the group, and the lower portion of the window displays the progress of the remove operation.

Because the Forms_Tutorial and the Forms_Site use the same cluster disk, Oracle Fail Safe reports a warning to indicate that the cluster disk used by the Forms_Tutorial cannot be removed from the group because it is also used by the Forms_Site. This is expected. Click OK in the Clusterwide Operation Status window, then click Close in the Removing Resource window.

Page 127: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Deleting a Standalone Resource from the Cluster 14-1

14Deleting a Standalone Resource from the

Cluster

You can use the Delete Standalone command to delete any standalone resource (except a standalone sample database) from the cluster. See Chapter 15 for information on deleting a sample database from the cluster.

Page 128: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Delete Standalone Command

14-2 Oracle Fail Safe Tutorial

14.1 Using the Delete Standalone CommandIn the tree view, under Standalone Resources, select Forms_Tutorial. Then, in the Resources menu, select Delete Standalone.

Page 129: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Confirming the Delete Standalone Command

Deleting a Standalone Resource from the Cluster 14-3

14.2 Confirming the Delete Standalone CommandOracle Fail Safe asks you to confirm that you want to delete the resource permanently. Click Yes to delete the resource.

Page 130: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Confirming the Delete Standalone Command

14-4 Oracle Fail Safe Tutorial

Page 131: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Deleting a Sample Database from the Cluster 15-1

15Deleting a Sample Database from the

Cluster

Use the Delete Sample Database command to delete any database that you created with the Create Sample Database command. Do not use the Delete Sample Database command to delete databases created using other means. For those databases, use the Delete Resource command, as described in Chapter 14.

Page 132: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Delete Sample Database Command

15-2 Oracle Fail Safe Tutorial

15.1 Using the Delete Sample Database CommandIf the database is still in a group, remove it, using the method described in Chapter 13. Then, in the tree view, select SAMPLEDB.us.oracle.com. On the Resources menu, select Delete Sample Database.

Page 133: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Confirming the Delete Sample Database Command

Deleting a Sample Database from the Cluster 15-3

15.2 Confirming the Delete Sample Database CommandOracle Fail Safe asks you to confirm that you want to permanently destroy the sample database. Click Yes to delete the database resource.

Page 134: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Authenticating Your Privileges to Delete the Database

15-4 Oracle Fail Safe Tutorial

15.3 Authenticating Your Privileges to Delete the DatabaseDepending on the privileges you have, Oracle Fail Safe may open a window to confirm that you have privileges to delete the sample database. If this window opens, enter and confirm the password for the SYS account.

Page 135: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Starting the Default Oracle Intelligent Agent

Deleting a Sample Database from the Cluster 15-5

15.4 Starting the Default Oracle Intelligent AgentOracle Fail Safe opens the Deleting Sample Database SAMPLEDB.us.oracle.com window to display the progress of the operation.

During the operation, Oracle Fail Safe opens a Clusterwide Operation Query window to ask if you want to restart the default Oracle Intelligent Agent. Click Yes.

Page 136: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Viewing the Progress of the Clusterwide Operation

15-6 Oracle Fail Safe Tutorial

15.5 Viewing the Progress of the Clusterwide OperationWhen the operation completes, Oracle Fail Safe opens a Clusterwide Operation Status window to let you know whether the operation has completed successfully.

Click OK in the Clusterwide Operation Status window, then click Close in the Deleting Sample Database window.

Page 137: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Deleting a Group from the Cluster 16-1

16Deleting a Group from the Cluster

If you created a group using Oracle Fail Safe Manager, you can delete that group using Oracle Fail Safe Manager. Oracle Fail Safe requires that all resources, except the virtual address (network name and IP address), be removed from the group first. Groups created by MSCS Cluster Administrator cannot be deleted using Oracle Fail Safe Manager.

Page 138: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Using the Delete Group Command

16-2 Oracle Fail Safe Tutorial

16.1 Using the Delete Group CommandAfter removing the resources from the FsTutorial group, delete the group from the cluster by right-clicking FsTutorial and selecting Delete Group.

Page 139: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Confirming the Delete Group Command

Deleting a Group from the Cluster 16-3

16.2 Confirming the Delete Group CommandOracle Fail Safe asks you to confirm that you want to delete the group from the cluster. Click Yes to delete the group.

Page 140: Oracle® Fail Safe · Oracle® Fail Safe Tutorial Release 3.3.1 for Windows April 2002 Part No. Not Orderable This tutorial provides step-by-step instructions on using Oracle Fail

Confirming the Delete Group Command

16-4 Oracle Fail Safe Tutorial


Recommended