oracle solaris cluster data service for agfa impax guide · oracle solaris cluster data service for...

24
Oracle® Solaris Cluster Data Service for Agfa IMPAX Guide SPARC Platform Edition Part No: 821–1572 September 2010, Revision A

Upload: others

Post on 03-Apr-2020

16 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Oracle® Solaris Cluster Data Service for AgfaIMPAX GuideSPARC Platform Edition

Part No: 821–1572September 2010, Revision A

Page 2: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectualproperty laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software,unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this is software or related software documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the followingnotice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are“commercial computer software” or “commercial technical data” pursuant to the applicable Federal Acquisition Regulation and agency-specific supplementalregulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicableGovernment contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, CommercialComputer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherentlydangerous applications, including applications which may create a risk of personal injury. If you use this software or hardware in dangerous applications, then youshall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim anyliability for any damages caused by use of this software or hardware in dangerous applications.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. Intel and Intel Xeon aretrademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARCInternational, Inc. UNIX is a registered trademark licensed through X/Open Company, Ltd.

This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation andits affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporationand its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

110714@25097

Page 3: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Contents

Preface .....................................................................................................................................................5

1 Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX ........................................11Oracle Solaris Cluster HA for Agfa IMPAX Overview .................................................................... 11Overview of Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX ................ 12Planning the Oracle Solaris Cluster HA for Agfa IMPAX Installation and Configuration ........ 13

Configuration Restrictions ......................................................................................................... 13Configuration Requirements ...................................................................................................... 13Configuration Planning Questions ............................................................................................ 14

Enabling Agfa IMPAX to Run in a Cluster ....................................................................................... 15▼ How to Enable Agfa IMPAX to Run in a Cluster ...................................................................... 15

Installing the Oracle Solaris Cluster HA for Agfa IMPAX Packages ............................................. 16▼ How to Install the Oracle Solaris Cluster HA for Agfa IMPAX Packages .............................. 16

Configuring Oracle Solaris Cluster HA for Oracle to Support Oracle Solaris Cluster HA for AgfaIMPAX .................................................................................................................................................. 18Registering and Configuring Oracle Solaris Cluster HA for Agfa IMPAX ................................... 19

▼ How to Register and Configure Oracle Solaris Cluster HA for Agfa IMPAX as a FailoverData Service .................................................................................................................................. 19

Verifying the Oracle Solaris Cluster HA for Agfa IMPAX Installation and Configuration ....... 20▼ How to Verify the Oracle Solaris Cluster HA for Agfa IMPAX Installation and

Configuration as a Failover Data Service .................................................................................. 21

Index ......................................................................................................................................................23

3

Page 4: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

4

Page 5: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Preface

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide explains how to install and configureOracle Solaris Cluster HA for Agfa IMPAX.

Note – This Oracle Solaris Cluster release supports systems that use the SPARC and x86 familiesof processor architectures: UltraSPARC, SPARC64, AMD64, and Intel 64. In this document, x86refers to the larger family of 64-bit x86 compatible products. Information in this documentpertains to all platforms unless otherwise specified.

This document is intended for system administrators with extensive knowledge of Oraclesoftware and hardware. Do not use this document as a planning or presales guide. Beforereading this document, you should have already determined your system requirements andpurchased the appropriate equipment and software.

The instructions in this book assume knowledge of the Oracle Solaris Operating System andexpertise with the volume-manager software that is used with Oracle Solaris Cluster software.

Using UNIX CommandsThis document contains information about commands that are specific to installing andconfiguring Oracle Solaris Cluster data services. The document does not containcomprehensive information about basic UNIX commands and procedures, such as shuttingdown the system, booting the system, and configuring devices. Information about basic UNIXcommands and procedures is available from the following sources:

■ Online documentation for the Oracle Solaris Operating System■ Oracle Solaris Operating System man pages■ Other software documentation that you received with your system

5

Page 6: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Typographic ConventionsThe following table describes the typographic conventions that are used in this book.

TABLE P–1 Typographic Conventions

Typeface Meaning Example

AaBbCc123 The names of commands, files, and directories,and onscreen computer output

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123 What you type, contrasted with onscreencomputer output

machine_name% su

Password:

aabbcc123 Placeholder: replace with a real name or value The command to remove a file is rmfilename.

AaBbCc123 Book titles, new terms, and terms to beemphasized

Read Chapter 6 in the User's Guide.

A cache is a copy that is storedlocally.

Do not save the file.

Note: Some emphasized itemsappear bold online.

Shell Prompts in Command ExamplesThe following table shows the default UNIX system prompt and superuser prompt for shellsthat are included in the Oracle Solaris OS. Note that the default system prompt that is displayedin command examples varies, depending on the Oracle Solaris release.

TABLE P–2 Shell Prompts

Shell Prompt

Bash shell, Korn shell, and Bourne shell $

Bash shell, Korn shell, and Bourne shell for superuser #

C shell machine_name%

C shell for superuser machine_name#

Preface

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide • September 2010, Revision A6

Page 7: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Related DocumentationInformation about related Oracle Solaris Cluster topics is available in the documentation that islisted in the following table. All Oracle Solaris Cluster documentation is available athttp://docs.sun.com.

Topic Documentation

Data serviceadministration

Oracle Solaris Cluster Data Services Planning and Administration Guide

Individual data service guides

Concepts Oracle Solaris Cluster Concepts Guide

Overview Oracle Solaris Cluster Overview

Software installation Oracle Solaris Cluster Software Installation Guide

System administration Oracle Solaris Cluster System Administration Guide

Hardware administration Oracle Solaris Cluster 3.3 Hardware Administration Manual

Individual hardware administration guides

Data service development Oracle Solaris Cluster Data Services Developer’s Guide

Error messages Oracle Solaris Cluster Error Messages Guide

Command and functionreference

Oracle Solaris Cluster Reference Manual

For a complete list of Oracle Solaris Cluster documentation, see the release notes for yourrelease of Oracle Solaris Cluster at http://docs.sun.com.

Related Third-Party Web Site ReferencesThird-party URLs that are referenced in this document provide additional related information.

Note – Oracle is not responsible for the availability of third-party web sites mentioned in thisdocument. Oracle does not endorse and is not responsible or liable for any content, advertising,products, or other materials that are available on or through such sites or resources. Oracle willnot be responsible or liable for any actual or alleged damage or loss caused or alleged to becaused by or in connection with use of or reliance on any such content, goods, or services thatare available on or through such sites or resources.

Preface

7

Page 8: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Documentation, Support, and TrainingSee the following web sites for additional resources:

■ Documentation (http://docs.sun.com)■ Support (http://www.oracle.com/us/support/systems/index.html)■ Training (http://education.oracle.com) – Click the Sun link in the left navigation bar.

Oracle Welcomes Your CommentsOracle welcomes your comments and suggestions on the quality and usefulness of itsdocumentation. If you find any errors or have any other suggestions for improvement, go tohttp://docs.sun.com and click Feedback. Indicate the title and part number of thedocumentation along with the chapter, section, and page number, if available. Please let usknow if you want a reply.

Oracle Technology Network (http://www.oracle.com/technetwork/index.html) offers arange of resources related to Oracle software:

■ Discuss technical problems and solutions on the Discussion Forums(http://forums.oracle.com).

■ Get hands-on step-by-step tutorials with Oracle By Example (http://www.oracle.com/technology/obe/start/index.html).

■ Download Sample Code (http://www.oracle.com/technology/sample_code/index.html).

Getting HelpIf you have problems installing or using Oracle Solaris Cluster, contact your service providerand provide the following information:

■ Your name and email address (if available)■ Your company name, address, and phone number■ The model number and serial number of your systems■ The release number of the Oracle Solaris Operating System (for example, Oracle Solaris 10)■ The release number of Oracle Solaris Cluster (for example, Oracle Solaris Cluster 3.3)

Use the following commands to gather information about each node on your system for yourservice provider.

Preface

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide • September 2010, Revision A8

Page 9: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Command Function

prtconf -v Displays the size of the system memory and reportsinformation about peripheral devices

psrinfo -v Displays information about processors

showrev –p Reports which patches are installed

prtdiag -v Displays system diagnostic information

/usr/cluster/bin/clnode show-rev Displays Oracle Solaris Cluster release and packageversion information

Also have available the contents of the /var/adm/messages file.

Preface

9

Page 10: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

10

Page 11: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Installing and Configuring Oracle Solaris ClusterHA for Agfa IMPAX

This chapter explains how to install and configure Oracle Solaris Cluster HA for Agfa IMPAX.

This chapter contains the following sections.

■ “Oracle Solaris Cluster HA for Agfa IMPAX Overview” on page 11■ “Overview of Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX” on

page 12■ “Planning the Oracle Solaris Cluster HA for Agfa IMPAX Installation and Configuration” on

page 13■ “Enabling Agfa IMPAX to Run in a Cluster” on page 15■ “Installing the Oracle Solaris Cluster HA for Agfa IMPAX Packages” on page 16■ “Configuring Oracle Solaris Cluster HA for Oracle to Support Oracle Solaris Cluster HA for

Agfa IMPAX” on page 18■ “Registering and Configuring Oracle Solaris Cluster HA for Agfa IMPAX” on page 19■ “Verifying the Oracle Solaris Cluster HA for Agfa IMPAX Installation and Configuration” on

page 20

Oracle Solaris Cluster HA for Agfa IMPAX OverviewTo eliminate single points of failure in an Agfa IMPAX system, Oracle Solaris Cluster HA forAgfa IMPAX provides automatic failover for the Agfa IMPAX application. Oracle SolarisCluster HA for Agfa IMPAX is a failover data service.

For conceptual information about failover data services, see the Oracle Solaris Cluster ConceptsGuide.

Oracle Solaris Cluster HA for Agfa IMPAX requires an Oracle database made available byOracle Solaris Cluster HA for Oracle. Oracle Solaris Cluster HA for Agfa IMPAX provides faultmonitoring for the database only. Configure the database resource so that it does not attempt alocal restart of the database.

1C H A P T E R 1

11

Page 12: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Each component of the Agfa IMPAX application has a data service that protects the componentwhen the component is configured in Oracle Solaris Cluster. See the following table.

TABLE 1–1 Protection of Agfa IMPAX Components by Oracle Solaris Cluster Data Services

Agfa IMPAX Component Data Service

Oracle database Oracle Solaris Cluster HA for Oracle

Agfa IMPAX Oracle Solaris Cluster HA for Agfa IMPAX

NFS file system Oracle Solaris Cluster HA for NFS

Overview of Installing and Configuring Oracle Solaris ClusterHA for Agfa IMPAX

The following table summarizes the tasks for installing and configuring Oracle Solaris ClusterHA for Agfa IMPAX and provides cross-references to detailed instructions for performing thesetasks. Perform the tasks in the order that they are listed in the table.

TABLE 1–2 Tasks for Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX

Task Instructions

Plan the Agfa IMPAX installation. Refer to the Agfa IMPAX documentation and contactyour Agfa consultant for planning Agfa IMPAXinstallation.

“Planning the Oracle Solaris Cluster HA for AgfaIMPAX Installation and Configuration” on page 13

Enable Agfa IMPAX to run in a cluster. “Enabling Agfa IMPAX to Run in a Cluster” onpage 15

Install the Oracle Solaris Cluster HA for Agfa IMPAXpackages, together with the HA for Oracle packages.

“Installing the Oracle Solaris Cluster HA for AgfaIMPAX Packages” on page 16

Register the Oracle Solaris Cluster HA for Oracle dataservice and configure the cluster for the data service.

“Configuring Oracle Solaris Cluster HA for Oracle toSupport Oracle Solaris Cluster HA for Agfa IMPAX”on page 18

Register the Oracle Solaris Cluster HA for AgfaIMPAX data service and configure the cluster for thedata service.

“Registering and Configuring Oracle Solaris ClusterHA for Agfa IMPAX” on page 19

Verify the Oracle Solaris Cluster HA for Agfa IMPAXinstallation and configuration.

“Verifying the Oracle Solaris Cluster HA for AgfaIMPAX Installation and Configuration” on page 20

Overview of Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide • September 2010, Revision A12

Page 13: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Planning the Oracle Solaris Cluster HA for Agfa IMPAXInstallation and Configuration

This section contains the information that you need to plan your Oracle Solaris Cluster HA forAgfa IMPAX installation and configuration.

Note – Before you begin, refer to your Agfa IMPAX documentation and contact your Agfaconsultant for configuration restrictions and requirements that are not imposed by OracleSolaris Cluster software.

Configuration RestrictionsThe configuration restrictions in this section apply only to Oracle Solaris Cluster HA for AgfaIMPAX.

Caution – If your data service configuration does not conform to these restrictions, the dataservice configuration might not be supported.

For restrictions that apply to all data services, see the Oracle Solaris Cluster Data ServicesPlanning and Administration Guide.

Connections between the database and Agfa IMPAX are not resilient. To ensure integrity, donot configure Oracle for a local failover. Instead, use the capacity of the Solaris Cluster to failover to another cluster node.

For performance — related reasons, install the database files on a highly available local filesystem. Do not install database files on the cluster file system. The resulting degradedperformance could affect the functionality of not only the Agfa IMPAX application, but also thefunctionality of the connected modalities and viewing stations.

Configuration RequirementsThe configuration requirements in this section apply only to Oracle Solaris Cluster HA for AgfaIMPAX.

Caution – If your data service configuration does not satisfy these requirements, the data serviceconfiguration might not be supported.

Planning the Oracle Solaris Cluster HA for Agfa IMPAX Installation and Configuration

Chapter 1 • Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX 13

Page 14: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

For requirements that apply to all data services, see “Configuration Guidelines for OracleSolaris Cluster Data Services” in Oracle Solaris Cluster Data Services Planning andAdministration Guide.

Installation RequirementsAgfa IMPAX must be installed according to the installation notes that are supplied by Agfa foryour specific version of Agfa IMPAX. You must contact an Agfa consultant to install the AgfaIMPAX software. This is a requirement for the cluster to be supported by Agfa and Sun.

Dependency on Oracle Solaris Cluster HA for OracleOracle Solaris Cluster HA for Agfa IMPAX depends on the Oracle Solaris Cluster HA for Oracledata service and uses an HAStoragePlus resource to synchronize startup of this databaseresource. When your Agfa engineer installs the Agfa IMPAX software, the engineer also installsthe Oracle software. “Configuring Oracle Solaris Cluster HA for Oracle to Support OracleSolaris Cluster HA for Agfa IMPAX” on page 18 contains details about the requirements forconfiguring Oracle Solaris Cluster HA for Oracle.

Additional LibrariesOracle Solaris Cluster HA for Agfa IMPAX requires the libraries that are provided in the/opt/SUNWscpax/impaxapp/util/ directory. These libraries enable the Agfa IMPAXapplication to be used in a cluster. Additionally, some scripts must be replaced in theinstallation. The Agfa documentation contains the details about these scripts.

Caution – In Oracle Solaris Cluster 3.2, the libraries are changed. A similar library is included inthe Oracle Solaris Cluster 3.2 distribution that has a better coverage of the functionalitiesneeded to obtain the hostname and translate it into the logical hostname needed to operate inOracle Solaris Cluster.

Configuration Planning QuestionsUse the questions in this section to plan the installation and configuration of Oracle SolarisCluster HA for Agfa IMPAX. Write the answers to these questions in the space that is providedon the data service worksheets in “Configuration Worksheets” in Oracle Solaris Cluster DataServices Planning and Administration Guide.■ Which resource groups will you use for the Oracle Solaris Cluster HA for Agfa IMPAX

application resource and the logical hostname resource?■ What is the logical hostname for the Oracle Solaris Cluster HA for Agfa IMPAX resource?

Clients access the data service through this logical hostname.■ Where will the system configuration files reside?

Planning the Oracle Solaris Cluster HA for Agfa IMPAX Installation and Configuration

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide • September 2010, Revision A14

Page 15: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

See “Configuration Guidelines for Oracle Solaris Cluster Data Services” in Oracle SolarisCluster Data Services Planning and Administration Guide for the advantages anddisadvantages of using the local file system instead of the cluster file system.

Enabling Agfa IMPAX to Run in a ClusterBefore you begin, contact your Agfa consultant to install the Agfa IMPAX application. Yourconsultant installs and configures Oracle at the same time as installing the IMPAX software.

▼ How to Enable Agfa IMPAX to Run in a ClusterBecome superuser on one cluster node.

Create a resource group for the Agfa IMPAX resource.# clresourcegroup create impax-rg

impax-rg The name of the resource group you are adding

Note – You add the Oracle resources to this group. See “Configuring Oracle Solaris Cluster HAfor Oracle to Support Oracle Solaris Cluster HA for Agfa IMPAX” on page 18 for moreinformation.

If necessary, add an entry to /etc/hosts for each node on which Agfa IMPAX can run.# Echo "address host" >>/etc/hosts

address The IP address of the node

host The host name, which is the name of the Agfa IMPAX service

Add a logical host name resource to the resource group that you created in Step 2.# clreslogicalhostname create -g impax-rg -h hostname

impax-rg The resource group

hostname A logical host name. Use the Agfa IMPAX service name.

Bring online the resource group that you created in Step 2.# clresourcegroup online impax-rg

1

2

3

4

5

Enabling Agfa IMPAX to Run in a Cluster

Chapter 1 • Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX 15

Page 16: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Installing the Oracle Solaris Cluster HA for Agfa IMPAXPackages

If you did not install the Oracle Solaris Cluster HA for Agfa IMPAX packages during your initialOracle Solaris Cluster installation, perform this procedure to install the packages. To install thepackages, use the installer program.

Note – You need to install the Oracle Solaris Cluster HA for Agfa IMPAX packages in the globalcluster and not in the zone cluster.

▼ How to Install the Oracle Solaris Cluster HA for AgfaIMPAX PackagesPerform this procedure on each cluster node where you are installing the Oracle Solaris ClusterHA for Agfa IMPAX packages.

You can run the installer program with a command-line interface (CLI) or with a graphicaluser interface (GUI). The content and sequence of instructions in the CLI and the GUI aresimilar.

Ensure that you have the Oracle Solaris Cluster installation media.

If you intend to run the installer program with a GUI, ensure that your DISPLAY environmentvariable is set.

On the cluster node where you are installing the data service packages, become superuser.

Load the Oracle Solaris Cluster installation media into the CD-ROM drive.If the Volume Management daemon vold(1M) is running and configured to manage CD-ROMdevices, the daemon automatically mounts the CD-ROM on the /cdrom directory.

Change to the installation wizard directory of the CD-ROM.

■ If you are installing the data service packages on the SPARC platform, type the followingcommand:# cd /cdrom/cdrom0/Solaris_sparc

■ If you are installing the data service packages on the x86 platform, type the followingcommand:# cd /cdrom/cdrom0/Solaris_x86

Before You Begin

1

2

3

Installing the Oracle Solaris Cluster HA for Agfa IMPAX Packages

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide • September 2010, Revision A16

Page 17: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Start the installation wizard.# ./installer

When you are prompted, accept the license agreement.

From the list of Oracle Solaris Cluster agents under Availability Services, select the data servicefor Agfa IMPAX.

If you require support for languages other than English, select the option to install multilingualpackages.English language support is always installed.

When prompted whether to configure the data service now or later, choose Configure Later.Choose Configure Later to perform the configuration after the installation.

Follow the instructions on the screen to install the data service packages on the node.The installation wizard displays the status of the installation. When the installation is complete,the wizard displays an installation summary and the installation logs.

(GUI only) If you do not want to register the product and receive product updates, deselect theProduct Registration option.The Product Registration option is not available with the CLI. If you are running the installationwizard with the CLI, omit this step.

Exit the installation wizard.

Unload the installation media from the CD-ROM drive.

a. To ensure that the CD-ROM is not being used, change to a directory that does not reside onthe CD-ROM.

b. Eject the CD-ROM.# eject cdrom

Go to “Configuring Oracle Solaris Cluster HA for Oracle to Support Oracle Solaris Cluster HAfor Agfa IMPAX” on page 18.

4

5

6

7

8

9

10

11

12

Next Steps

Installing the Oracle Solaris Cluster HA for Agfa IMPAX Packages

Chapter 1 • Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX 17

Page 18: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Configuring Oracle Solaris Cluster HA for Oracle to SupportOracle Solaris Cluster HA for Agfa IMPAX

Oracle Solaris Cluster HA for Agfa IMPAX depends on a highly available Oracle database.When configuring Oracle Solaris Cluster HA for Oracle to support Agfa IMPAX, add the Oracleserver resource and the Oracle listener resource to the same resource group that you created forthe IMPAX service. For details about how to install, configure, and register resources for OracleSolaris Cluster HA for Oracle, refer to Oracle Solaris Cluster Data Service for Oracle Guide.

In addition to registering the resources, add the oramon user to Oracle and allow it to probe thedatabase.

EXAMPLE 1–1 Registering Oracle Solaris Cluster HA for Oracle Resources

The following example assumes that you created a resource group called impax-rg for theOracle Solaris Cluster HA for Agfa IMPAX data service.

# clresource create -g impax-rg -t SUNW.oracle_listener \

-x ORACLE_HOME=/global/export/oracle -x LISTENER_NAME=LISTNRname oralnsr-rs

EXAMPLE 1–2 Adding an Oracle Server Resource to the Agfa IMPAX Resource Group

The following example assumes that you created a resource group called impax-rg for theOracle Solaris Cluster HA for Agfa IMPAX data service.

# clresource create -g impax-rg -t SUNW.oracle_server \

-x CONNECT_STRING=oramon/monitor -x ORACLE_SID=oraSID \

-x ORACLE_HOME=/global/export/oracle \

-x ALERT_LOG_FILE=/global/export/oracle/admin/oraSID/bdump \

/alert_oraSID.log oraserver-rs

EXAMPLE 1–3 Configuring the oramonUser

The following example illustrates the necessary oramon configuration.

su - mvf

sqlplus "/ as sysdba"grant connect, resource to oramon identified by "monitor";alter user oramon default tablespace system quota 1m on system;

grant select on v_$sysstat to oramon;

grant create session to oramon;

grant create table to oramon;

exit;

Configuring Oracle Solaris Cluster HA for Oracle to Support Oracle Solaris Cluster HA for Agfa IMPAX

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide • September 2010, Revision A18

Page 19: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Registering and Configuring Oracle Solaris Cluster HA for AgfaIMPAX

To enable Oracle Solaris Cluster HA for Agfa IMPAX to make Agfa IMPAX highly available,configure the Oracle Solaris Cluster HA for Agfa IMPAX data service as a failover data service.

Before you perform this procedure, ensure that the Oracle Solaris Cluster HA for Agfa IMPAXdata service packages are installed. Perform all the steps in “Installing the Oracle Solaris ClusterHA for Agfa IMPAX Packages” on page 16.

▼ How to Register and Configure Oracle Solaris ClusterHA for Agfa IMPAX as a Failover Data Service

Add an impaxscripts resource.This resource enables Oracle Solaris Cluster to perform certain tasks before Oracle starts and toclean up afterward if necessary.

a. Edit the registration configuration file,/opt/SUNWscpax/impaxscripts/util/impaxscripts_config and change the resourceand resource group names according to your configuration.The following list shows the contents of the impaxscripts_config file. If the contents areappropriate for your configuration, you can use the default values for RS and RG.# These parameters can be customized in (key=value) form

#

# RS - name of the resource for the application

# RG - name of the resource group containing RS

# PORT - name of the port number

# LH - name of the LogicalHostname SC resource

# HAS_RS - name of the HAStoragePlus SC resource

#

RS=impaxscripts-rs

RG=impax-rg

PORT=

LH=

HAS_RS=

b. Verify that the /opt/SUNWscpax/impaxscripts/etc/config configuration file contains thecorrect variable settings.These variables are provided by the Agfa IMPAX installation. They should read as follows:USERID=mvf

# default userid for impax installations

CLEANKILL="/usr/mvf/bin/sun_cluster_impax_kill"ORACLEPRE="/usr/mvf/bin/sun_cluster_oracle_prestart"

1

Registering and Configuring Oracle Solaris Cluster HA for Agfa IMPAX

Chapter 1 • Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX 19

Page 20: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

c. Create the resource and register it in the cluster by gaining root access and using theimpaxscripts_register utility.# /opt/SUNWscpax/impaxscripts/util/impaxscripts_register

If this utility fails, return to Step b and verify that the configuration file is correct.

Register the SUNW.gds resource type.# clresourcetype register SUNW.gds

Register the SUNW.HAStoragePlus resource type.# clresourcetype register SUNW.HAStoragePlus

Create an HAStoragePlus resource for the file system on which the database files reside.# clresource create -g impax-rg -t SUNW.HAStoragePlus \

-x FileSystemMountPoints=/dbase, /cache1 ora-ds

To optimize the data path, manage the global file system in the same manner as you managethe disk groups.This approach makes the system local to the base services, although the files are available onboth nodes.# clresource create -g impax-rg -t SUNW.HAStoragPlus -x \

FileSystemMountPoints=/global/export

Edit the /opt/SUNWscpax/impaxapp/util/impax_config file to match the following:

■ Your configuration■ The name of your resource group, as specified in Step 1■ Your dependencies

Register the resource in the cluster framework by using the impax_register utility.# /opt/SUNWscpax/impaxapp/util/impax_register

Verifying the Oracle Solaris Cluster HA for Agfa IMPAXInstallation and Configuration

Use the service tools to verify that an Agfa IMPAX instance is available on the logical IP address.

2

3

4

5

6

7

Verifying the Oracle Solaris Cluster HA for Agfa IMPAX Installation and Configuration

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide • September 2010, Revision A20

Page 21: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

▼ How to Verify the Oracle Solaris Cluster HA for AgfaIMPAX Installation and Configuration as a FailoverData Service

Switch the Agfa IMPAX resource to another node to verify that the stop and start methods work.

Disable the Agfa IMPAX resource and then try to start the application manually.This step ensures that no cluster-related interaction fails.

Disable all resources except the logical host name resource and data service resource.

Manually start the Agfa IMPAX application.

1

2

3

4

Verifying the Oracle Solaris Cluster HA for Agfa IMPAX Installation and Configuration

Chapter 1 • Installing and Configuring Oracle Solaris Cluster HA for Agfa IMPAX 21

Page 22: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

22

Page 23: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Index

AAgfa IMPAX application

installing, 15protection by data services, 12–13resource group planning, 14

Cclnode command, 9commands, node information, 8configuring

Oracle Solaris Cluster HA for Agfa IMPAXplanning, 13–15

requirements, 13–14restrictions, 13

Ddatabase, configuration, 13

Ffault monitoring, restrictions, 11files, system configuration, 14

HHAStoragePlus, 14help, 8–9

IIMPAX, See Agfa IMPAX applicationinstalling

Agfa IMPAX application, 15Oracle, 14Oracle Solaris Cluster HA for Agfa IMPAX, 16–17

Llibraries, required, 14logical hostnames, planning the resource group for, 14

Mmessages file, 9

OOracle

Oracle Solaris Cluster HA for Agfa IMPAXdependency on, 14

oramon user, 18Oracle Solaris Cluster HA for Agfa IMPAX

overview, 11–12configuration planning, 13–15installing, 16–17software packages, installing, 16–17verifying the installation, 21

Oracle Solaris Cluster HA for Oracle, configuring, 18oramon Oracle user, 18

23

Page 24: Oracle Solaris Cluster Data Service for Agfa IMPAX Guide · Oracle Solaris Cluster Data Service for Agfa IMPAX Guide Author: Oracle Corporation Subject: Oracle Solaris Cluster Data

Ppackages, 16–17planning, for installation and configuration, 13–15protection, Agfa IMPAX application, 12–13prtconf -v command, 9prtdiag -v command, 9psrinfo -v command, 9

Rrequirements

configuration, 13–14libraries, 14

resource groupslogical hostname planning, 14Oracle Solaris Cluster HA for Agfa IMPAX

planning, 14Oracle Solaris Cluster HA for Oracle, 18

resources, logical hostname planning, 14restrictions

configuration, 13fault monitoring, 11

Sshow-rev subcommand, 9showrev –p command, 9software packages, 16–17system configuration files, location, 14

Ttechnical support, 8–9

V/var/adm/messages file, 9verifying, Oracle Solaris Cluster HA for Agfa IMPAX

installation, 21

Index

Oracle Solaris Cluster Data Service for Agfa IMPAX Guide • September 2010, Revision A24