Zone Intro

62
Sun Ja va Enterpri seSystem 5 Ins tal lat ion Planni ng Gui de Sun Micr osys tems, Inc. 4150 Network Circl e Santa Cla ra, CA 95054 U.S.A. PartNo: 819–50 79–10 Febr uary 2007

Transcript of Zone Intro

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 1/62

Sun Java Enterprise System 5Installation Planning Guide

Sun Microsystems, Inc.4150 Network CircleSanta Clara, CA 95054U.S.A.

PartNo: 819–5079–10February 2007

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 2/62

Copyright2007 SunMicrosystems, Inc. 4150 Network Circle, Santa Clara,CA 95054 U.S.A. Allrightsreserved.

SunMicrosystems, Inc. hasintellectual property rightsrelatingto technology embodied in theproduct that is describedin this document.In particular, andwithoutlimitation, these intellectualpropertyrights mayinclude oneor more U.S. patents or pending patentapplications in theU.S. andin other countries.

U.S. Government Rights– Commercial sotware. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicableprovisionso theFARand itssupplements.

This distribution may include materials developed by thirdparties.Partso theproduct maybe derived rom Berkeley BSDsystems, licensed rom theUniversity o Caliornia. UNIXis a registered trademarkin theU.S. andothercountries, exclusivelylicensed through X/OpenCompany, Ltd.

Sun, SunMicrosystems, theSun logo, theSolaris logo, theJavaCofeeCup logo, docs.sun.com,Java,Java, andSolaris aretrademarks or registered trademarks o SunMicrosystems, Inc. in theU.S. andothercountries. AllSPARC trademarks areused under licenseand aretrademarks or registered trademarks o SPARCInternational, Inc. in theU.S. andothercountries. Products bearing SPARCtrademarks arebasedupon an architecturedeveloped by SunMicrosystems, Inc.

The OPENLOOKandSunTM GraphicalUser Interacewas developedby SunMicrosystems, Inc. orits users andlicensees. Sunacknowledges thepioneering efortso Xerox in researching anddeveloping theconcept o visualor graphicaluser interaces orthe computer industry.Sun holds a non-exclusive licenseromXeroxtotheXeroxGraphical UserInterace,whichlicense also coversSun'slicenseeswho implementOPEN LOOK GUIs andotherwise complywith Sun's written licenseagreements.

Products covered by andinormationcontained in this publication arecontrolled by U.S. ExportControl laws andmay be subjectto theexport or importlaws inother countries. Nuclear,missile,chemicalor biological weapons or nuclear maritime enduses or endusers,whether director indirect,are strictly prohibited. Exportor reexport to countriessubject to U.S. embargo or to entities identiedon U.S. exportexclusion lists,including, butnot limited to,the deniedpersons andspecially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIEDCONDITIONS, REPRESENTATIONSAND WARRANTIES, INCLUDINGANYIMPLIEDWARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED,EXCEPT TOTHEEXTENTTHAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Copyright2007 SunMicrosystems, Inc. 4150 Network Circle, Santa Clara,CA 95054 U.S.A. Tous droitsréservés.

SunMicrosystems, Inc. détient lesdroits de propriétéintellectuellerelatisà la technologie incorporée dans le produit quiest décritdans ce document.En particulier,

et ce sans limitation, cesdroits de propriétéintellectuellepeuvent inclure un ou plusieursbrevets américains ou desapplications de breveten attente auxEtats-Uniset dans d'autres pays.

Cette distribution peut comprendredes composants développéspar des tierces personnes.

Certainescomposants de ce produit peuvent être dérivées du logiciel Berkeley BSD, licenciéspar l'Universitéde Caliornie. UNIXest unemarque déposée auxEtats-Uniset dans d'autres pays; elle estlicenciée exclusivementpar X/OpenCompany,Ltd.

Sun, SunMicrosystems, le logo Sun, le logo Solaris, le logo Java Cofee Cup, docs.sun.com,Java,Javaet Solaris sont desmarques de abrique ou desmarques déposéesde SunMicrosystems, Inc. auxEtats-Uniset dans d'autres pays. Toutesles marques SPARCsont utiliséessous licence et sont desmarques de abrique ou desmarquesdéposées de SPARC International, Inc. auxEtats-Uniset dans d'autres pays. Les produits portant lesmarques SPARC sont basés surune architecturedéveloppée parSun Microsystems, Inc.

L'interace d'utilisation graphiqueOPEN LOOK et Suna étédéveloppée parSun Microsystems, Inc. pour ses utilisateurset licenciés. Sunreconnaît leseforts de

pionniersde Xerox pour la rechercheet le développement du concept desinteraces d'utilisation visuelle ou graphiquepour l'industrie de l'inormatique.Sun détientunelicence nonexclusive de Xerox surl'interaced'utilisation graphiqueXerox, cette licence couvrant égalementles licenciésde Sunqui mettent en place l'interaced'utilisation graphiqueOPEN LOOK et qui, en outre,se conorment auxlicencesécrites de Sun.

Les produits quiont l'objet de cette publication et lesinormations qu'il contient sontrégispar la legislation américaine en matière de contrôle desexportations etpeuvent être soumisau droit d'autres pays dans le domaine desexportations et importations. Les utilisationsnales, ou utilisateursnaux, pour desarmesnucléaires,des missiles, des armeschimiques ou biologiquesou pour le nucléaire maritime, directementou indirectement, sont strictementinterdites. Les exportations ouréexportations vers despays sous embargo desEtats-Unis,ou vers desentités gurantsur leslistes d'exclusion d'exportation américaines, y compris, mais de manièrenonexclusive, la liste de personnesqui ontobjet d'un ordre de ne pasparticiper,d'uneaçondirecte ou indirecte, auxexportations desproduitsou desservicesquisont régispar la legislationaméricaine en matière de contrôle des exportations et la listede ressortissants spéciquement designés, sont rigoureusement interdites.

LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONSET GARANTIES EXPRESSES OU TACITESSONT FORMELLEMENT EXCLUES, DANS LA MESUREAUTORISEE PAR LA LOIAPPLICABLE, Y COMPRISNOTAMMENTTOUTE GARANTIEIMPLICITERELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNEUTILISATION PARTICULIEREOU A L'ABSENCE DE CONTREFACON.

070226@16599

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 3/62

Contents

Preace .....................................................................................................................................................5

1 Introduction to InstallationPlanning ..............................................................................................11

Java ES Components Used in This Release ....................................................................................... 11

Java ES Installation Dened ............................................................................................................... 12

Installation Planning Tasks ................................................................................................................ 13

2 DevelopingYour Implementation Specifcations ..........................................................................15

Analyzing the Deployment Architecture ......................................................................................... 15

Developing Your Computer Hardware and Operating System Specication ............................. 17

Developing a Network Connectivity Specication ......................................................................... 18

Developing Your User Management Specications ....................................................................... 20

Speciying the LDAP Schema or a Solution ............................................................................. 20

Speciying the Directory Tree Structure or a Solution ........................................................... 21

3 PreparingYour InstallationPlan .......................................................................................................25

Installation Planning Issues ................................................................................................................ 25

Distributed Installations ............................................................................................................. 26

Component Dependencies ......................................................................................................... 26

Conguring or Interoperation .................................................................................................. 31Redundancy Strategies ................................................................................................................ 32

LDAP Schema and LDAP Directory Tree Structure ................................................................ 33

Java ES Installer Behavior ............................................................................................................ 34

Developing Your Installation Plan .................................................................................................... 38

A JavaES and Solaris 10Zones ............................................................................................................. 43What Are Zones? ................................................................................................................................. 43

3

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 4/62

Structure o a Multi-zone Environment .................................................................................... 44

Whole Root Zones vs. Sparse Root Zones ................................................................................. 44

Package Propagation ................................................................................................................... 45Why Use Zones or Java ES? ............................................................................................................... 45

Zones Limitations o Java ES Components ...................................................................................... 47

Java ES Shared Components and Zones .................................................................................... 47

Java ES Product Components and Zones .................................................................................. 48

Zone Support in the Java ES Installer ................................................................................................ 49

Java ES Propagation Policies ....................................................................................................... 49

Installation o Product Components ......................................................................................... 50

Upgrade o Product Components .............................................................................................. 50

Synchronize All Shared Components ....................................................................................... 51

Summary o Java ES Installer Behavior Regarding Shared Components .............................. 52

Recommended Use o Zones with Java ES ....................................................................................... 53

Recommended Practices ............................................................................................................. 55

Deployment Architectures ................................................................................... ...................... 56

Special Cases or Exceptions ................................................................................................................ 57

Product Component Special Cases ............................................................................................ 57

Shared Component Special Cases .............................................................................................. 57

An Illustrative Example: Install Application Server in a Sparse Root Zone ................................. 58

Index ......................................................................................................................................................61

Contents

Sun JavaEnterprise System 5 Installation Planning Guide • February 20074

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 5/62

Preace

Installing a Sun JavaTM Enterprise System (Java ES) solution is an extended process. In a typical

solution you install Java ES components on several networked computers, and then congurecomponent instances that interoperate. This book, Sun Java Enterprise SystemInstallationPlanningGuide, describes how to analyze a Java ES architecture and develop a plan or installingit.

Who Should UseThis Book 

Installation planning is one stage o the Java ES solution lie cycle. The InstallationPlanning Guide assumes that the earlier stages o the lie cycle covered inSunJavaEnterprise SystemDeploymentPlanningGuidehave been completed and the high-level technical description o the solution known as the deployment architecture has been developed.

The InstallationPlanningGuide is or the person who analyzes the deployment architecture anddetermines how the solution is installed and congured.

Beore You Read This Book The InstallationPlanningGuide does not assume that one person will carry out all stages o thesolution lie cycle. The person who develops an installation plan should have knowledge o theollowing:

■ General knowledge o the components that make up the Java Enterprise System and theservices provided by each component. For more inormation, see “Java ES Components” in

SunJavaEnterprise System5 Technical Overview.

■ Thorough understanding o IP networking, including network addressing, the use o loadbalancing hardware or sotware, the use o rewalls or securing networks, and setting upDNS servers.

■ Thorough knowledge o the operating system platorm on which you are installing thesolution, including installing the operating system, assigning network addresses, andconguring storage devices.

■ General knowledge o the Java ES installer. For more inormation, see “How the Java ESInstaller Works” in Sun JavaEnterprise System5 InstallationGuide orUNIX .

5

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 6/62

■ General knowledge o LDAP directories.

■ Sucient knowledge o hardware to estimate the disc space requirements or the solution.

You may nd that more than person is needed to develop the installation plan. For example, the

person with primary responsibility or the plan might need to consult with an LDAP expert todevelop some o the inormation required to install and congure a solution.

How This Book Is Organized

Chapter 1 provides an overview o the installation planning process.

Chapter 2 describes how to develop additional inormation, not included in the deployment

architecture, that is needed to install a Java ES solution.

Chapter 3 describes installation planning in general, and then describes how to develop an

installation plan or your specic Java ES solution.

Java ES Documentation Set

The Java ES documentation set describes deployment planning and system installation. TheURL or system documentation is http://docs.sun.com/coll/1286.2 . For an introduction toJava ES, reer to the books in the order in which they are listed in the ollowing table.

TABLE P–1 JavaEnterpriseSystem Documentation

Document Title Contents

SunJavaEnterprise System5Release

Notes orUNIX 

Contains the latest inormation about Java ES, including known

problems. In addition, components have their own release notes.

SunJavaEnterprise System5

TechnicalOverview

Introduces the technical and conceptual oundations o Java ES.

Describes components, the architecture, processes, and eatures.

Sun Java Enterprise System

Deployment PlanningGuide

Provides an introduction to planning and designing enterprise

deployment solutions based on Java ES. Presents basic concepts andprinciples o deployment planning anddesign, discusses the solution

lie cycle, and provides high-level examples andstrategies to use when

planning solutions based on Java ES.

SunJavaEnterprise System5

InstallationPlanningGuide

Helps you develop the implementation specications or the hardware,

operating system, andnetwork aspects o your Java ES deployment.Describes issues such as component dependencies to address in your

installation and conguration plan.

Preace

Sun JavaEnterprise System 5 Installation Planning Guide • February 20076

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 7/62

TABLE P–1 JavaEnterpriseSystem Documentation (Continued)

Document Title Contents

SunJavaEnterprise System5InstallationGuide orUNIX  Guides youthrough the process o installing Java ES on the SolarisOperating System or the Linux operating system. Also shows howto

congure components ater installation, and veriy that they unctionproperly.

SunJavaEnterprise System5InstallationReerence orUNIX 

Gives additional inormation about conguration parameters,provides worksheets to use in your congurationplanning, andlists

reerence material such as deault directories andport numbers.

SunJavaEnterprise System5Upgrade

Guide orUNIX 

Provides instructions orupgrading Java ES on the Solaris Operating

System or the Linux operating environment.

SunJavaEnterprise System5

Monitoring Guide

Gives instructions or setting up the Monitoring Framework oreach

product component andusing the Monitoring Console to view

real-time data andset threshold alarms.

Sun Java Enterprise SystemGlossary Denes terms that are used in Java ES documentation.

Related BooksThe manuals most likely to help you develop an installation plan are the ollowing:

■ SunJavaEnterprise System5 TechnicalOverviewdescribes the Java ES components and theservices they provide.

■ SunJavaEnterprise SystemDeployment PlanningGuidedescribes how business needs areanalyzed to develop a deployment architecture.

■ SunJavaEnterprise System5 Installation Guide orUNIX describes how to operate theJava ES installer.

■ SunJavaEnterprise System5 Installation Reerence orUNIX includes a complete list o Java ES installer input values.

■ Deployment planning guides or individual components, such as SunJava SystemCommunications Services 6 2005Q4Deployment PlanningGuidecontain detailedinormation about conguring the components.

■ For a complete list o terms that are used in this documentation set, reer to the Sun JavaEnterprise SystemGlossary.

Preace

7

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 8/62

Typographic ConventionsThe ollowing table describes the typographic changes that are used in this book.

TABLE P–2 TypographicConventions

Typeace Meaning Example

AaBbCc123 The names o commands, les, and

directories, and onscreen computeroutput

Edit your .login le.

Use ls -a to list all les.

machine_name% you have mail.

AaBbCc123 What youtype, contrasted with onscreen

computer output

machine_name% su

Password:

AaBbCc123 A placeholder to be replaced with a real

name or value

The command to remove a le is rm flename.

AaBbCc123 Booktitles,new terms, and terms to be

emphasized (note that some emphasized

itemsappear bold online)

ReadChapter 6 in theUser's Guide.

A cache is a copy that is stored locally.Do not save the le.

Shell Prompts in Command ExamplesThe ollowing table shows deault system prompts and superuser prompts.

TABLE P–3 Shell Prompts

Shell Prompt

C shellon UNIX and Linux systems machine_name%

C shell superuser on UNIX and Linux systems machine_name#

Bourne shell andKorn shell on UNIX andLinux systems $

Bourne shell andKorn shell superuser on UNIX and Linux systems #

Microsot Windows command line C:\

Preace

Sun JavaEnterprise System 5 Installation Planning Guide • February 20078

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 9/62

Symbol ConventionsThe ollowing table explains symbols that might be used in this book.

TABLE P–4 Symbol Conventions

Symbol Description Example Meaning

[ ] Contains optional arguments

and command options.ls [-l] The -l optionis not required.

{ | } Contains a seto choicesor a

required command option.

-d {y|n} The -d optionrequires that you use

either the y argument or the nargument.

${ } Indicates a variablereerence.

${com.sun.javaRoot} Reerences the value o the

com.sun.javaRoot variable.

- Joins simultaneous multiplekeystrokes.

Control-A Press t he C ontrol key while you pressthe A key.

+ Joins consecutive multiple

keystrokes.

Ctrl+A+N Press t he C ontrol key, r elease i t, and

then press the subsequent keys.

→ Indicates menu item

selection in a graphical user

interace.

File→New→Templates FromtheFile menu, chooseNew.

From the New submenu, choose

Templates.

Documentation, Support, andTrainingThe Sun web site provides inormation about the ollowing additional resources:

■ Documentation (http://www.sun.com/documentation/)■ Support (http://www.sun.com/support/)■ Training (http://www.sun.com/training/)

Searching Sun Product DocumentationBesides searching Sun product documentation rom the docs.sun.com web site, you can use asearch engine by typing the ollowing syntax in the search eld:

search-term site:docs.sun.com

For example, to search or “broker,” type the ollowing:

broker site:docs.sun.com

Preace

9

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 10/62

To include other Sun web sites in your search (or example, java.sun.com, www.sun.com,developers.sun.com),use“sun.com”inplaceo“docs.sun.com” in the search eld.

Third-Party Web Site ReerencesThird-party URLs are reerenced in this document and provide additional, related inormation.

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

Sun Welcomes Your CommentsSun is interested in improving its documentation and welcomes your comments andsuggestions. To share your comments, go to http://docs.sun.com and click Send Comments.In the online orm, provide the ull document title and part number. The part number is a7-digit or 9-digit number that can be ound on the book's title page or in the document's URL.For example, the part number o this book is 819-5079.

Preace

Sun JavaEnterprise System 5 Installation Planning Guide • February 200710

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 11/62

Introduction to Installation Planning

SunJavaEnterprise System5 Installation PlanningGuidedescribes how to prepare to install theSun JavaTM Enterprise System (Java ES) sotware. This chapter describes denes the scope andcontents o the Installation Planning Guide. This chapter contains the ollowing sections:

■ “Java ES Components Used in This Release” on page 11

■ “Java ES Installation Dened” on page 12■ “Installation Planning Tasks” on page 13

Java ES Components Used inThis ReleaseThe Java ES 5 release includes the ollowing components. These components can beindividually selected or installation.

Any alternate or abbreviated names used in this guide are in parentheses ollowing thecomponent name and version.

■ Access Manager 7.1■ Application Server 8.2 Enterprise Edition + patches (Application Server)■ Directory Preparation Tool 6.4■ Directory Proxy Server 6.0■ Directory Server Enterprise Edition 6.0 (Directory Server)■ High Availability Session Store 4.4 (HADB)■ Java DB 10.1■ Message Queue 3.7 UR1■ Monitoring Console 1.0■ Portal Server 7.1■ Portal Server Secure Remote Access 7.1■ Service Registry 3.1■ Sun Cluster 3.1 8/05 (Sun Cluster sotware)■ Sun Cluster Agents 3.1■ Sun Cluster Geographic Edition 3.1 2006Q4 (Sun Cluster Geographic)

1C H A P T E R 1

11

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 12/62

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 13/62

Installation Planning Tasks

The ollowing table lists the installation planning tasks that are common to all Java ES solutions.

The let column lists high-level tasks and subtasks, and the right column lists the location o 

instructions or perorming the tasks.

TABLE 1–1 Installation Planning Tasks

Task Location o Inormation

1.DevelopYourImplementation

Specifcations

Chapter 2

Analyze your deployment architecture “Analyzing the Deployment Architecture” on page 15

Develop a network connectivity specication “Developing a Network Connectivity Specication”

on page 18

Develop a computer hardware and operating

system specication

“Developing Your Computer Hardware and Operating

System Specication” on page 17

Develop a user management specication “Developing Your User Management Specications”

on page 20

2. LearnAbout Installation andConfguration

Issues

“Installation Planning Issues” on page 25

Learn how distributed installations afect an

installation plan

“Distributed Installations” on page 26

Learn how conguring or component

interoperation is part o an installation plan

“Conguring or Interoperation” on page 31

Learn how component dependencies afect an

installation plan

“Component Dependencies” on page 26

Learn how the redundancy strategies used in asolution afect an installation plan

“Redundancy Strategies” on page 32

Lean howLDAP directory issues afect aninstallation plan

“LDAP Schema and LDAP Directory Tree Structure”on page 33

Lean howthe installer operating modes afect aninstallation plan

“JavaES Installer Behavior” on page 34

3.DevelopYourInstallationPlan “Developing Your Installation Plan” on page 38

Determine the order in which component

instances should be installed and congured.

“Component Dependencies” on page 26

Determine the specic input values oreachcomponent instance.

“Conguring or Interoperation” on page 31

Installation Planning Tasks

Chapter 1 • Introduction to Installation Planning 13

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 14/62

It is important to approach the installation planning tasks in an orderly way, ollowing themethodology described in this guide.

Installation Planning Tasks

Sun JavaEnterprise System 5 Installation Planning Guide • February 200714

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 15/62

Developing Your Implementation

Specifcations

The deployment architecture is a high-level technical description o your Java ES solution, and

it does not have all o the inormation needed to install and congure the solution. This chapter

describes the process o analyzing a deployment architecture and developing a set o 

implementation specications. The reason you develop implementation specications is to help

you prepare the additional inormation you will need when you install and congure your

solution.

This chapter describes the implementation specications in the ollowing sections:

■ “Analyzing the Deployment Architecture” on page 15■ “Developing Your Computer Hardware and Operating System Specication” on page 17■ “Developing a Network Connectivity Specication” on page 18■ “Developing Your User Management Specications” on page 20

Analyzing the Deployment Architecture

A typical deployment architecture is illustrated in Figure 2–1. This deployment architecture

denes a Java ES solution that provides portal and communications services. This particular

architecture uses Access Manager to provide single sign-on to the communications services,

and it uses both Portal Server and Communications Express to deliver the messaging and

calendar services to end users. This architecture includes components rom the

Communications Suite.

2C H A P T E R 2

15

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 16/62

Figure 2–1 contains much inormation about the solution, including the ollowing:

■ The number o computers used in the solution

■ The number o CPUs and the amount o RAM required or each computer

■ The component instances installed on each computer

■ The number o instances o each component used in the solution

System: MTA2(2x4)

Messaging Server

Inbound MTA

System: MTA1(2x4)

Messaging Server

Inbound MTA

System: PS2(4x16)

Identity Server

(SDK)

Web Server

Portal ServerPortal Server

System: PS1(4x16)

Access Manager

(SDK)

Web Server

Portal ServerPortal Server

System: MTA4(2x4)

Messaging Server

Outbound MTA

System: MTA3(2x4)

Messaging Server

Outbound MTA

System: MMP2(2x4)

Messaging Server

(MMP)

System: MMP1(2x4)

Messaging Server

(MMP)

System: AM2(2x8)

Access Manager

Web Server

System: AM1(2x8)

Access Manager

Web Server

System: CX2(2x4)

Messaging Server

(MEM)

Identity Server

(SDK)

CommunicationsExpress

Web Server

System: CX1

(2x4)

Messaging Server

(MEM)

Access Manager

(SDK)

Communications

Express

Web Server

Load balancer

Hardware system

System component

External storage

LegendNetwork connection

2-CPU, 4-GB RAM

2-CPU, 8-GB RAM

4-CPU, 16-GB RAM

(2x4)

(2x8)

(4x16)

Calendar Store

Message Store

Sun Cluster Software

Failover

System: STR2(2x8)

Calendar Server(Store)

Messaging Server

(Store)

System: STR1(2x8)

Calendar Server

(Back-end)

Messaging Server

(Store)

Load BalancerLoad Balancer

Load Balancer

Load BalancerLoad Balancer

LDAP

Store

Load Balancer

System: DS2(2x4)

Directory Server

Master

System: DS1(2x4)

Directory Server

Master

FIGURE 2–1 Example DeploymentArchitecture

Analyzing the DeploymentArchitecture

Sun JavaEnterprise System 5 Installation Planning Guide • February 200716

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 17/62

■ The redundancy strategies used in the solution (load balancing, Directory Servermultimaster replication, and Sun Cluster technology) to meet quality-o-servicerequirements

■ The distributed installation o the Messaging Server subcomponents, another techniqueused to meet quality-o-service requirements

These characteristics o the example deployment architecture afect how the solution is installedand congured. You begin planning or your installation by analyzing your deploymentarchitecture in the same way, observing how many computer systems are used, how many component instances are installed on each computer system, which redundancy strategies areused, and so on.

Developing Your Computer Hardware and Operating SystemSpecifcation

In addition to the inormation that appears in the deployment architecture, you must speciy 

the operating system that will be used on each computer used in your solution. You must alsodevelop more inormation about the hardware on which you will install. Your decisions will bebased on your quality o service requirements, and represent your best guess at the hardwareand operating systems required to satisy your quality o service requirements.

To meet the quality o service requirements or the deployment architecture shown in Figure2–1the operating system and computer hardware specications in Table 2–1 were developed.

TABLE 2–1 Computer Hardware/OS Specication or the Sample DeploymentArchitecture

ComputerSystem HardwareModel NumberoCPUs RAM(inGigabytes) NumberoDisks OperatingSystem

mscs01

mscs02

Sun Fire V440

Server 4 16 4 Solaris 9

commx01

commx02

Sun Fire V240

Server

2 4 2

4

Solaris 10

ds01

ds02

Sun Fire V240

Server

2 8 4 Solaris 10

am01

am02

Sun Fire V240

Server

2 8 4 Solaris 10

ms-mmp01

ms-mmp02

Sun Fire V240

Server

2 4 2 Solaris 10

Developing Your Computer Hardware and Operating System Specifcation

Chapter 2 • Developing Your Implementation Specifcations 17

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 18/62

TABLE 2–1 Computer Hardware/OS Specication or the Sample Deployment Architecture(Continued)

ComputerSystem HardwareModel NumberoCPUs RAM(inGigabytes) NumberoDisks OperatingSystem

ms-mtai01

ms-mtai02

Sun Fire V240Server

2 4 2 Solaris 10

ms-mtao01

ms-mtao02

Sun Fire V240Server

2 4 2 Solaris 10

ps01

ps02

Sun Fire V440Server

4 16 4 Solaris 10

protect Sun Fire V240 2 4 2 Solaris 10

You must develop similar inormation about the computer systems used in your solution.

Tip– Once the Computer Hardware/OS specication is complete, the computer systems can be

set up. Memory and disk drives can be installed, operating system can be installed, and the

systems made ready or installation o Java ES components.

Developing a Network Connectivity Specifcation

The deployment architecture contains much o the inormation needed to connect all o the

hardware used in a solution. To help you develop the additional inormation you need toconnect your network, you need to prepare a network connectivity specication like the

example in Figure 2–2.

Developing a Network Connectivity Specifcation

Sun JavaEnterprise System 5 Installation Planning Guide • February 200718

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 19/62

The network connectivity specication or the example deployment architecture adds the

ollowing inormation that is not ound in the deployment architecture diagram:

■ IP addresses or every computer and hardware load balancer used in the solution

■ Load balancer port numbers that are used to connect the computers to the load balancers

FIGURE 2–2 Example Network Connectivity Specication

Developing a Network Connectivity Specifcation

Chapter 2 • Developing Your Implementation Specifcations 19

f

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 20/62

■ The IP addresses or the load balancers show the logical addresses that are used to access theservices provided by load-balanced computers

You must develop similar inormation about the connectivity required or your solution.

Tip – When the network connectivity specication is complete, the network can be connectedand made ready or the installation and conguration o your Java ES components.

Developing Your User Management SpecifcationsThe process o installing and conguring your Java ES solution congures your LDAPdirectory. Installing and conguring Java ES creates both an LDAP schema and an LDAPdirectory tree. The details o the schema and the directory tree are determined by values thatyou input during the installation and conguration process. Thereore, installation planningincludes developing specications or a schema and a directory tree structure that will supportyour Java ES solution.

Your directory tree structure and your schema must support the services your solutionprovides. This section provides basic descriptions o the options that are available, and theservices that each option supports. The main purpose o this section, however, is describinghow you select input values or the Java ES installer and the Java ES conguration tools in orderto create a schema and a directory tree structure that will support your Java ES solution.

For more inormation on choosing a schema and designing a directory tree, see additionaldocumentation, such as SunJava SystemDirectoryServer Enterprise Edition 6.0Deployment 

PlanningGuide.

Speciying the LDAP Schema or a Solution

Java ES solutions that use Directory Server can use either o two versions o a standard LDAPschema, which are known as Schema 1 and Schema 2. Your user management specicationmust speciy whether your solution uses Schema 1 or Schema 2.

Schema 2 supports the use o Access Manager, and Access Manager's single sign-on eature. I asolution uses Access Manager, it must use Schema 2.

The installation process congures the directory or the specied schema as ollows:

■ To establish a Schema 1 directory, simply install Directory Server. Schema 1 is the deaultschema version.

■ To establish a Schema 2 directory, install Directory Server and Access Manager. InstallingAccess Manager modies the directory and converts it to a Schema 2 directory.

Developing Your UserManagement Specifcations

Sun JavaEnterprise System 5 Installation Planning Guide • February 200720

D l i Y U M tS if ti

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 21/62

Tip – I Directory Server and Access Manager are installed on one computer in one installersession, the directory is congured or Schema 2.

I your solution is distributed, you install Directory Server rst, on one computer. You theninstall Access Manager on a second computer. When you install Access Manager you speciy the existing directory on the remote computer, and the directory's schema is congured orSchema 2.

Depending on your solution, the ollowing procedures or extending the schema might be

necessary:

■ I your solution uses components rom the Communications Suite (Messaging Server andor Calendar Server), your installation process must apply some additional schemaextensions with the Directory Preparation Tool. These extensions are applied beoreMessaging Server or Calendar Server are installed. They can be applied to either Schema 1 orSchema 2 directories. For an example o an installation plan that includes instructions orthe Directory Preparation Tool, seeSunJavaEnterprise System2005Q4Deployment 

Example: TelecommunicationsProvider Scenario■ I your solution uses Schema 2, the installation process must apply some additional schema

extensions with Delegated Administrator to support Access Manager authentication andauthorization or the messaging and calendar services. For an example o an installationplan that applies these schema extensions, seeSunJavaEnterprise System2005Q4DeploymentExample: TelecommunicationsProvider Scenario.

Your LDAP schema specication identies the schema used in your solution and any schema

extensions required by your solution.

Speciying the Directory Tree Structure or a Solution

The LDAP directory or a Java ES solution can be simple or complex, depending on thesolution's needs or organizing user data. LDAP directories are, by their nature, exible in

structure. Java ES does not impose structure on the directory, but the installation andconguration process does implement a directory tree structure. You must design yourdirectory tree beore you begin the installation and conguration process.

The installation and conguration process establishes the directory tree structure as ollows:

1. Running the installer to install Directory Server requires an input value or the directory'sbase sux (also reerred to as root sux or root DN). The Java ES installer uses the inputvalue to establish the directory's base sux. You must speciy the base sux name or yourdirectory tree.

Developing Your UserManagementSpecifcations

Chapter 2 • Developing Your Implementation Specifcations 21

Developing Your UserManagement Specifcations

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 22/62

Tip – Solutions with simple directory trees, that do not use Messaging Server or Calendar

Server, can store user and group data directly under the base sux.

2. Running the Messaging Server (a Communications Suite component) conguration wizard

to create a Messaging Server instance requires an input value or an LDAP organization DN.

The conguration wizard branches the directory tree and creates an LDAP organization

using the DN input in the wizard. This organization represents the email domain managed

by the Messaging Server instance. The wizard also congures the Messaging Server instance

to use the email domain organization or user and group data. The installation plan includes

the DN or the email domain organization. For an example o a directory tree structure

created by this process, see Figure 2–3. In the example, the base sux created by the installer

is o=examplecorp. The email domain organization created by the Messaging Server

conguration wizard is o=examplecorp.com,o=examplecorp .

3. The conguration wizards or Calendar Server, Communications Express, Instant

Messaging, and Delegated Administrator (Communications Suite components) require an

input value or an LDAP DN. (The names that appear in the wizards vary.) I a solution uses

single sign-on, the same value is input in all o the conguration wizards. The input value isthe email domain organization created by the Messaging Server wizard. The result o this

conguration is that all o the components store and look up user data in the same LDAP

organization. All o the inormation about a user can be stored in a single directory entry,

and the Access Manager single sign-on eature can be used.

An example o a directory tree structure created by this process is illustrated in Figure 2–3. In

this example, the Java ES installer established the base sux o=examplecorp and the Messaging

Server conguration wizard added the organization o=examplecorp.com,o=examplecorp . Thisorganization represents the email domain named examplecorp.com. The user data or the

email domain is stored in ou=people,o=examplecorp.com,o=examplecorp . The other Java ES

components in the solution are also congured to look up user data in

ou=people,o=examplecorp.com,o=examplecorp.

o=example.com

o=examplecorp.com,o=example.com

ou=people,o=examplecorp.com,o=example.com

FIGURE 2–3 Example LDAP DirectoryTree

Developing Your UserManagement Specifcations

Sun JavaEnterprise System 5 Installation Planning Guide • February 200722

Developing Your UserManagementSpecifcations

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 23/62

I the solution requires the directory tree shown in Figure 2–3, the names or the base sux andthe organization representing the email domain are added to the user managementspecication.

The example directory tree includes only one mail domain. Many solutions require morecomplex trees to organize user data. The same basic installation and conguration procedurecan establish more complex directory structures. For example, a directory can be congured tosupport multiple email domains i the solution requires it.

To establish multiple email domains, congure multiple instances o Messaging Server. Eachinstance manages one email domain. For an example, seeSunJavaEnterprise System2005Q4

DeploymentExample: TelecommunicationsProvider Scenario.It is possible to use other LDAP directories in a Java ES solution, i the solution uses AccessManager to interact with the directory. The directory server must be an LDAP version 3 (LDAPv3) compliant directory server.

Developing Your UserManagementSpecifcations

Chapter 2 • Developing Your Implementation Specifcations 23

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 24/62

24

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 25/62

Preparing Your Installation Plan

Ater you have developed your implementation specications, as described in Chapter 2, youhave the inormation you need to prepare your installation plan. An installation plan lists all o the steps needed to install and congure a Java ES solution. Your installation plan will list all o the steps needed to implement your specic Java ES solution.

This chapter explains how to prepare your installation plan. You begin with the inormation inthe deployment architecture and the implementation specications, which describe thedeployed state o your Java ES solution. You analyze the inormation in these documents, andyou determine how to use the Java ES installer and the conguration wizards to implement thesolution described in the specication documents.

This chapter describes how to develop an installation plan in the ollowing sections:

■ “Installation Planning Issues” on page 25■ “Developing Your Installation Plan” on page 38

Installation Planning IssuesThe goal o the installation and conguration process is the distributed system described in thedeployment architecture. The distributed system is composed o component instances that runon multiple computers and interoperate with each other. To achieve a unctioning distributed

system, you must install the component instances on multiple computers and perorm the basicconguration that establishes interoperation among the component instances.

The procedures or installation and conguration are determined by the behavior o the Java ESinstaller and the requirements o the individual components. To ensure that you achieve aunctioning distributed system, you must develop an installation plan that uses the installerappropriately and considers the requirements o the components used in the solution. Yourplan must describe the correct order or installing each component instance and perorming

basic conguration. The plan must also speciy the conguration values that congure thecomponent instances to interoperate.

3C H A P T E R 3

25

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 26/62

This section describes the major issues you must consider when developing an installation plan.

Distributed Installations

The quality-o-service requirements or production Java ES solutions lead to architectures thatplace component instances on more than one computer. For example, to achieve a reliableportal service the architecture might require two instances o Portal Server on two diferentcomputers and use load balancing to establish a ailover relationship between the two instances.

The Java ES installer, however, operates on only one computer at a time. Thereore, when youinstall a distributed solution, you must run the installer on every computer used in the solution.

In many cases, you must install a component or components on a computer and then runconguration wizards to perorm the basic conguration. You typically complete installationand conguration on one computer beore you proceed to install and congure another set o components on another computer. To install and congure distributed component instances,you might perorm a sequence o tasks similar to the one illustrated in Figure 3–1.

Component Dependencies

Some Java ES components cannot be installed and congured unless other components areinstalled and congured rst. Dependencies occur or several reasons:

■ Some components cannot unction unless certain other components are installed andcongured. For example, or Access Manager to operate properly, it must have access toinormation about users and services that is provided by an LDAP directory. Theinstallation and conguration procedure or Access Manager requires you to input URLsthat enable Access Manager to interoperate with an already unctioning directory service.Because o this dependency, you must install and congure Directory Server beore youinstall and congure Access Manager.

System 01:1. Run the Java ES installer to installMessaging Server and CalendarServer.2. Run the Messaging Server

configuration wizard.3. Run the Calendar Serverconfiguration wizard.

System 02:1. Run the Java ES installer to installMessaging Server and CalendarServer.2. Run the Messaging Server

configuration wizard.3. Run the Calendar Serverconfiguration wizard.

FIGURE 3–1 Distributed Installation Procedure Example

Sun JavaEnterprise System 5 Installation Planning Guide • February 200726

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 27/62

■ Some components modiy the conguration o an existing component. For example,installing and conguring Access Manager modies the LDAP directory schema. I yoursolution uses Access Manager, your installation plan must speciy that an LDAP directory is

installed and congured beore Access Manager is installed.■ A number o Java ES components are web applications. These components must be

deployed into web containers to unction. You must plan to install a web container and startit up beore you install and congure your web application components. You can use WebServer, Application Server, or some third-party web containers, but you must plan to have aweb container on the computer when you install the web application component.

Tip – I the solution uses Web Server or Application Server, the Java ES installer can installthe web container and the web application component at the same time and automatically deploy the web application component to the web container.

■ Your architecture may call or components to be installed in a high-availability clusterprovided by Sun Cluster sotware. The Sun Cluster sotware must be installed and runningbeore the other components are installed and congured. Additionally, the Sun ClusterAgents or the other components must be installed and congured.

Notice that some o these dependencies are solution-wide and some are local. You considersolution-wide dependencies and local dependencies diferently when you develop yourinstallation plan. The diference is described in the ollowing example:

The dependency o Access Manager on Directory Server is a solution-wide dependency. Whenyou install Access Manager, you supply a URL or a directory service provided by one or moreinstances o Directory Server. Once Directory Server is installed and congured, it provides a

directory service that is available to all o the components in the solution. This type o dependency determines the solution-wide sequence or installing and conguring componentinstances-you must install and congure Directory Server beore Access Manager. In yourinstallation plan, solution-wide dependencies determine the overall sequence o installationand conguration steps. You can plan to install Directory Server rst and then add componentssuch as Access Manager that depend on the directory service.

The dependency o Access Manager on a web container is a local dependency. To satisy this

dependency, a web container must be installed on the computer that runs Access Manager. Thisweb container, however, does not provide web container services or the entire solution. I yourdistributed architecture species that you install Portal Server on a diferent computer thanAccess Manager, you must plan to install a web container on both computers. Each webcontainer supports a diferent component locally. Thereore, in a distributed solution there isno single location or a web container to provide services or the entire solution, and you mustplan to install web containers several times during your overall installation sequence.

To develop an installation plan or your solution, you analyze the deployment architecture thatdescribes the solution and identiy dependencies among the components. Your plan must

Chapter 3 • Preparing Your Installation Plan 27

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 28/62

install and congure components in a sequence that satises all o the dependencies. In general,

you develop the overall installation sequence rom the solution-wide dependencies. Then you

consider the local dependencies that might exist on each computer.

The component dependencies are listed in Table 3–1. For more inormation about working

with these dependencies, see the descriptions o the individual components in “Developing

Your Installation Plan” on page 38.

TABLE 3–1 Java ES Component Dependencies

Product Component Dependencies Nature o DependencyMust beLocal?

Access Manager Directory Server To store conguration data;

to store andenable lookupo user data

No

J2EE web container, one o:

-Application Server

-Web Server

-BEA WebLogic Server

-IBM WebSphere Application Server

AccessManagermust bedeployed to one o these web

containers

Yes

Access Manager SDK Access Manager To provide the

underlyingAccess Managerservices

No

J2EE web container, one o:

-Application Server-Web Server

-BEA WebLogic Server

-IBM WebSphere Application Server

AccessManagerSDK must bedeployed to one o these web

containers

Yes

Access Manager

DistributedAuthentication

Access Manager To provide the

underlyingAccess Managerservices

No

J2EE web container, one o:

-Application Server

-Web Server

-BEA WebLogic Server

-IBM WebSphere Application Server

AccessManagerSDK must bedeployed to one o these web

containers

Yes

Sun JavaEnterprise System 5 Installation Planning Guide • February 200728

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 29/62

TABLE 3–1 Java ES Component Dependencies (Continued)

Product Component Dependencies Nature o DependencyMust beLocal?

Access Manager SessionFailover

Access Manager To provide theunderlyingAccess Manager

services

No

Message Queue To provide reliable

asynchronous messaging

No

Application Server Message Queue To provide reliable

asynchronous messaging

Yes

Web S erver ( optional) To p rovide load b alancingbetween Application Server

instances

Yes

HighAvailability Session Store

(optional)

To store session state, which

supports ailover betweenApplication Server instances

Yes

Directory P roxy S erver Directory S erver To p rovide underlying L DAPdirectory services

No

Directory S erver None

High Availability SessionStore

None

Java DB None

Message Queue Directory Server(Optional) To store administered objects

and persistent messages

No

J2EE web container, one o (Optional):

-Application Server

-Web Server

To support HTTP transport

between clients and MessageBroker

No

Sun C luster ( Optional) To s upport u se o MessageQueue in high availability 

solutions

No

Portal Server J2EE web container, one o:

-Application Server

-Web Server

-BEA WebLogic Server

-IBM WebSphere Application Server

Portal Server must bedeployed toone o these web

containers

Yes

Chapter 3 • Preparing Your Installation Plan 29

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 30/62

TABLE 3–1 JavaES Component Dependencies (Continued)

Product Component Dependencies Nature o DependencyMust beLocal?

Directory Server To store user data used orauthentication and

authorization

No

Access Manager or Access Manager

SDK

To provide Access Manager

services; a local Access

Manager SDK provides access

to a remote Access Manager

Yes

Service Registry Client To p rovide libraries needed

or compilation

No

Portal Server SecureRemote Access

Portal Server To provide the underlyingportal service.

No

Either Access Manager or AccessManager SDK

To provide Access Managerservices; a local Access

Manager SDK provides access

to a remote Access Manager

Yes

Rewriter Proxy Portal Server To provide the underlyingportal service.

No

Netlet Proxy Portal Server To provide the underlying

portal service.

No

Service Registry Application Server To provide the necessary  

container service.

Yes

Service R egistry C lient To p rovide t he necessary  

client interace

Yes

ServiceRegistry Client None

Sun ClusterSotware None

Sun Cluster Agents Sun Cluster To provide underlying

clustered services.

Yes

Sun Cluster Geographic

Edition

Sun Cluster To provide underlying

clustered services.

Yes

Web Proxy Server Web Server To provide remote access to

web applications running onWeb Server

Yes

Directory Server (Optional) To store user data usedorauthentication and

authorization

No

Sun JavaEnterprise System 5 Installation Planning Guide • February 200730

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 31/62

TABLE 3–1 Java ES Component Dependencies (Continued)

Product Component Dependencies Nature o DependencyMust beLocal?

Web S erver Directory Server (Optional) To store u ser data used orauthentication and

authorization

No

Confguring or Interoperation

The goal o the installation and conguration process is a system o interoperating component

instances. Since you install components and perorm basic conguration on one computer at a

time, you must determine in advance the conguration values that will result in successul

interoperation with components on other computers.

The conguration values that result in interoperation include such values as the URLs or port

numbers that one component instance uses to communicate with another component instance.

For example, i your solution uses Access Manager, you must rst install and congure an

LDAP repository, such as a Directory Server instance. Then, when you install and congure anAccess Manager instance, you must provide values that congure the Access Manager to

interoperate with the LDAP directory you have already installed and congured.

The Java ES installer does not know what components are installed on the other computers used

in the solution. For example, when you install Access Manager, the installer does not know

where the appropriate LDAP directory is located. To ensure the success o your installation and

conguration process, you must determine in advance which installation and conguration

values will lead to successul interoperation between your Access Manager instance and yourDirectory Server instance. You include these values in your installation plan. Then, when you

are installing and conguring components, you type the values in your plan, and you

successully congure your components to interoperate with each other.

You might perorm a sequence o installation and conguration tasks similar to the one

illustrated in Figure 3–2.

Chapter 3 • Preparing Your Installation Plan 31

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 32/62

Whatever the architecture o your solution, you must develop an installation plan that includes

all the conguration values needed to congure the components and achieve an interoperating,

distributed solution.

Redundancy StrategiesMost solutions intended or production use include some type o redundancy. Redundancy 

strategies use multiple instances o a component to provide a single service. Redundancy is used

to satisy quality o service requirements. For example, redundancy is used to increase

throughput in order to satisy perormance requirements, or to avoid a single point o ailure to

in order satisy reliability requirements.

Three strategies are available or using redundant instances o Java ES components: loadbalancing, clustering with Sun Cluster sotware, and Directory Server replication. The

recommended installation and conguration procedure or each o these strategies is outlined

briey in the ollowing paragraphs:

■ Load balancing can be implemented either in hardware or sotware. Load balancing is best

set up by installing and conguring one instance o the load-balanced component, and then

testing that the service provided by the rst instance is available through the load balancer.

Ater veriying that the service is available, you install and congure the additional instanceso the component required by your deployment architecture. This phased approach to

installing and conguring acilitates troubleshooting conguration problems.

■ Clustering is implemented in several steps. The rst step is to install the Sun Cluster

sotware and establish and congure the cluster. The next step is to install the components

that run in the cluster. For example, the rst step towards implementing the cluster shown

in Figure 2–1 is installing Sun Cluster sotware on computers STR1 and STR2, and

establishing and conguring the cluster. The second step is installing and conguring

Messaging Server and Calendar Server. The third, and nal, step is installing and

System 01:1. Install Directory Server. Youspecify directory service port,directory service aministratoraccount and password, anddirectory root DN.

System 02:1. Install Access Manager. Youidentify Directory Server instancewith directory service URL(http://system01:389), directoryservice administrator accountand password, and directoryroot DN.

FIGURE 3–2 Conguring Componentsto Interoperate

Sun JavaEnterprise System 5 Installation Planning Guide • February 200732

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 33/62

conguring the Sun Cluster data services or Messaging Server and Calendar Server. When

the Sun Cluster data services are congured, the cluster nodes recognize the Messaging

Server and Calendar Server instances.

■ Directory Server replication is also implemented in several steps. For example, when youimplement multimaster replication the rst step is installing, conguring, and veriying all

o the Directory Server instances. The second step is shutting down all but one o the

Directory Server instances. The third step is installing and conguring the other

components in the solution. Any changes to the schema or directory structure are made to

the single running Directory Server instance. The nal step, ater all component instances in

the solution are installed, congured, and veried, is restarting the other instances o 

Directory Server and using the replication eature to congure synchronization and ailover.This copies the modied and updated directory data to all o the Directory Server instances.

When your deployment architecture uses any o these redundancy strategies, your installation

plan must include procedures or installing multiple instances o a component and conguring

the instances to operate as a single service.

LDAP Schema and LDAP Directory Tree Structure

Most Java ES solutions include Directory Server. When you install and congure a solution with

Directory ServerDirectory Server you input values that establish both the directory schema and

the directory tree structure. Your installation plan must list the input values that result in the

correct LDAP schema and directory tree structure.

You speciy you LDAP schema and your directory tree structure beore you begin your

installation plan. Your installation plan includes the values you type in when running the

installer to create the specied schema and directory tree structure. For examples o schema and

directory tree specications, see “Developing Your User Management Specications” on page

20.

The LDAP schema is established by the ollowing installation and conguration processes:

1. Installing Directory Server automatically establishes a directory with Schema 1. No input is

required to select the schema.

2. Installing Access Manager automatically modies the directory, and converts it to Schema 2.

No input is required to select the schema.

3. In solutions that include Communications Suite components, running the Directory 

Preparation Tool extends the schema or use with Messaging Server, Calendar Server, and

Communications Express. The Directory Preparation Tool extends both Schema 1 and

Schema 2 directories. Input values or the Directory Preparation Tool are listed in your

installation plan.

Chapter 3 • Preparing Your Installation Plan 33

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 34/62

4. In solutions that include Communications Suite components, running DelegatedAdministrator extends the schema with object classes and attributes used to authorize andauthenticate users or specic services. The input values depend on the service provided by 

your solution. You list the input values in your installation plan.

The installation and conguration process also establishes the basic directory tree structure:

1. Installing Directory Server creates the base sux, or directory tree root. The base sux is arequired input value when the Java ES installer installs Directory Server. In your installationplan, you list the base sux as one o the input values or the installation process.

2. Installing and conguring Messaging Server branches the directory tree and creates anLDAP organization. This organization represents the email domain managed by the

Messaging Server instance. The name o the organization is a required input or theMessaging Server conguration wizard. In your installation plan, you list the organizationDN as one o the input values or the Messaging Server conguration process.

3. Installing and conguring Calendar Server, Communications Express, DelegatedAdministrator, and Instant Messaging species where in the directory these componentslook up user data. An LDAP DN is required input or each component's congurationwizard, and your installation plan lists the DN as an input value or each congurationwizard. I the solution uses Access Manager single sign-on, all o these components must becongured to use the same location or user data, which is the organization that theMessaging Server conguration wizard created. The same LDAP DN is input in all o theseconguration wizards. In your installation plan, you list the organization DN as one o theinput values or all o the conguration wizards.

You take the names or the LDAP base sux and email domain organization rom your usermanagement specication and add them to your installation plan. For more inormation aboutthe user management specication, see “Developing Your User Management Specications”

on page 20.

Java ES Installer BehaviorThis section describes some behaviors o the Java ES installer that afect installation planning.

The Installer is Local

The Java ES installer installs component sotware on one computer at a time. Most solutions aredistributed, and you must run the installer more than once. Your installation plan must includeprocedures or each time you run the installer. This section describe how to analyze adeployment architecture and determine how many times you must run the installer toimplement the architecture.

A ew solutions are installed on one computer only, and the installation plans or thesesolutions provide procedures or running the installer only once. The solutions that require

running the installer only once are the ollowing:

Sun JavaEnterprise System 5 Installation Planning Guide • February 200734

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 35/62

■ A number o components are installed on one computer to evaluate Java ES eatures.

■ One component instance is added to an established solution. This includes adding

component instances that have dependencies on existing components.

Most solutions are distributed across several computers. Installation plans or these solutions

must describe running the installer multiple times to install and congure the complete

solution. To analyze these solutions, use the ollowing guidelines:

■ In most cases, when you combine several components on one computer you run the

installer only once. This is particularly true i the installer runs in Congure Now mode,

because in Congure Now mode, the installer can install both a web container and the

component that runs in the web container. In these cases, your installation plan describesrunning the installer once on the computer and selecting all o the components specied or

the computer.

Tip – Some components cannot be congured by the installer, even in Congure Now mode.

When these components are installed on a computer, the conguration process is

completed by running a conguration wizard or each component. When these components

are installed in combination with components that are congured by the installer, you runthe installer rst. Ater you run installer, you complete the process by running the

conguration wizards or the components not congured by the installer. In these cases,

your installation plan must describe running the installer and the correct sequence or

running the conguration wizards.

■ Some combinations o components can only be installed by running the installer more than

once on a computer. These combinations include the ollowing:■ Some component combinations that include a web container. I Web Server or

Application Server is installed in Congure Later mode, you must congure an instance

o Web Server or Application Server beore you can install any other component that

will run in the web container. I your solution uses a third-party web container, you must

install, start, and veriy the web container, beore you install the web-based Java ES

components. Your installation plan must include procedures or running the installer

multiple times on each computer.■ Component combinations that use Sun Cluster sotware. I the components installed

into the cluster are installed on a cluster le system, the Sun Cluster sotware must be

installed and the cluster le system created beore other components can be installed in

the cluster nodes. Your installation plan must include procedures or running the

installer multiple times on each computer.

The purpose o this section is to introduce the idea that installation plans must sometimes

describe running the installer and the conguration wizards on one computer, or running the

Chapter 3 • Preparing Your Installation Plan 35

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 36/62

installer multiple times on one computer. For more inormation on the actual installationprocedures or diferent component combinations, see “Developing Your Installation Plan”on page 38.

Installer Operating Modes

The installer runs in two diferent modes, known as Congure Now and Congure Later. Themodes difer in the ollowing ways:

■ In Congure Now mode, the installer congures runnable instances o some, but not all,components. The components congured in Congure Now mode can be started andveried as soon as the installer completes. Runnable instances o the remaining components

are created ater the installer runs, by running component conguration wizards. Forcomponents congured by the installer, your installation plan must include theconguration values you will input when you run the installer. For components that arecongured ater the installer runs, your installation plan must include procedures orrunning the conguration wizards and the conguration values you will input when yourun the conguration wizards.

Tip – A signicant eature o Congure Now mode is its ability to install a web container andcomponents that run in the web container at the same time. The installer automatically deploys the components to the web container.

■ In Congure Later mode, the installer copies component sotware les to the computer butdoes not create runnable instances. You create the instances ater you run the installer, by running the component conguration wizards. Your installation plan must include

procedures or running the conguration wizards and the conguration values you willinput when you run the conguration wizards.

The conguration option you select applies to an entire installation session. I you want toinstall some components on the computer in Congure Now mode and some in CongureLater mode, you must run the installer more than once.

Installer Compatibility Checking

The Java ES installer perorms some dependency and compatibility checking. However, theinstaller can only check the local computer. For example, i you are installing Access Manager ina distributed solution, the installer cannot check whether the remote Directory Server iscompatible with the Access Manager you are installing.

Compatibility is unlikely to be an issue i you are installing and conguring an all-new solution,with all components rom the same Java ES release. It might become an issue i you are adding anew component to an established solution, or building a Java ES solution around existing

components. For example, i you are already using Directory Server, and you are building a

Sun JavaEnterprise System 5 Installation Planning Guide • February 200736

Installation Planning Issues

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 37/62

solution using Access Manager and Portal Server around the existing Directory Server,compatibility among the components becomes an issue. You need to conrm that thecomponents are compatible beore you begin to install and congure new components.

■ ComponentDependencyChecking.The Java ES installer will prevent you rom omittingcomponents that are required by other components you have selected or installation, butonly on the local host. In a distributed solution, the installer does not check the remote hostto veriy that the remote component is there. In this situation, you are responsible orveriying that the remote component is compatible and in the proper running state.

■ Upgrading.The Java ES installer will check installed Application Server, Message Queue,HADB, and Java DB or compatibility with the components you are installing and ask i you

want to upgrade the components during installation.The Java ES installer does perorm upgrade o shared components. For more inormation o this topic, see “Surveying Existing Hosts” in Sun JavaEnterprise System5 InstallationGuideorUNIX .

Other Installation Issues

This section lists a number o specic issues that occur in some solutions with reerences to

detailed inormation.

TABLE 3–2 Installation Issues to Consider

Solution Requires Guidelines or Instructions

Using Solaris 10 zones I you will be installing into Solaris 10 zones, reer to Appendix A.

Using Directory Server encryption Congure LDAPS (SSL over LDAP)on the DirectoryServerinstance.

Using a third-party web containerwith Access Manager

Third-partyweb containers (BEA WebLogic Server or IBM WebSphereApplication Server) can be used with Portal Server andAccessManager. These containers must be installed andrunning beore

installing any Java ES components that depend on them.

To use a third-party web container orAccess Manager SDK, youmustcongure Access Manager SDK manually ater installation. See “Access

Manager SDK With Container Conguration Example” in SunJava

Enterprise System5 InstallationGuide orUNIX 

Note: Portal Server can only use third-party web containers on SolarisOS.

Note: Access Manager and Portal Server should use the same type o 

web container.

Using Apache Web Server or load

balancing plug-in

The Apache Web Server canbe used with the Application Server load

balancing plug-in. In this case, the Apache Web Server must be

installed andrunning beore installing any Java ES components that

depend on it.

Chapter 3 • Preparing Your Installation Plan 37

Developing Your Installation Plan

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 38/62

TABLE 3–2 Installation Issues to Consider (Continued)

Solution Requires Guidelines or Instructions

Using Schema 1 LDAP For a Schema 1 deployment, you cannot use Access Manager.

Conguring single user entry andsingle sign-on

Access Manager is required orsingle sign-on.

Conguring High availability usingHADB

A summary o the procedures orsetting up HADB or high availability is contained in “Web andApplication Services Example” inSunJava

Enterprise System5 InstallationGuide orUNIX .

Application Server load balancing An summary o the procedures or using the Application Server load

balancing plug-in is contained in“Web and Application Services

Example” in SunJavaEnterprise System5 Installation Guide orUNIX .

Non-root ownership I non-root ownershipwillbe requiredor Application Server or WebServer, reer to “Non-Root Examples” inSunJavaEnterprise System 5

InstallationGuide orUNIX 

Developing Your Installation PlanYour deployment architecture and implementation specications describe the nal state o 

your solution. The deployment architecture shows you how many component instances are

installed, which computer systems the component instances are installed on, and how the

component instances interoperate. To reach the state described in the deployment architecture,

you must install and congure the component instances in your solution, one computer system

at a time, until you have installed and congured the complete solution. Your installation plan

must provide installation and conguration procedures or every component instance in yoursolution, in the correct order.

To develop an installation and conguration plan, you must apply your knowledge o 

component dependencies and other installation issues to your Java ES deployment architecture

and implementation specications. You must determine the correct sequence or installing and

conguring the component instances in your solution and the installation and the correct

conguration input values, which will achieve interoperation o the component instances.

This section is a guide to analyzing a deployment architecture and set o specications and

developing an installation plan. In general, you begin as ollows:

1. Open a text le, a blank sheet o paper, or some other medium or recording your plan.

2. In your deployment architecture, examine the components on each computer system and

determine what component dependencies exist.

Sun JavaEnterprise System 5 Installation Planning Guide • February 200738

3 Id i h i h h d d i h Th

Developing Your Installation Plan

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 39/62

3. Identiy the component instances that have no dependencies on other components. These

are typically instances o Directory Server. You begin your installation plan with

instructions or installing these component instances on the specied computer systems.

Begin your installation plan by recording these computer systems, and the componentinstances installed on them.

4. Determine the correct installation/conguration values in your solution or these

component instances on these specic computer systems. Add these conguration values to

your installation plan.

5. Among the remaining components, determine which components have dependencies only 

on Directory Server. These are typically the computer systems with Access Manager. List

these computer systems next in your installation plan.6. Continue analyzing your specications in order o component dependencies. Determine

the necessary conguration values, and record these component instances in your plan.

For example, i you use this process to analyze the deployment architecture illustrated in Figure

2–1, you develop an installation plan that looks like Table 3–3.

Table 3–3 shows the rst eight steps o the installation plan. In order to make the structure o 

this plan clear, the individual conguration values are not listed. In this plan, note the ollowing:

■ The plan lists the computers in the solution according to the order in which the component

instances will be installed and congured.

■ The sequence o installation is determined by applying both solution-level dependencies

and the local dependencies. Applying the solution-level dependencies gives a basic sequence

o Directory Server, Access Manager, Messaging Server, and then Calendar Server. Applying

the local Communications Express dependencies to this sequence adds Web Server

instances on computers AM1 and AM2, and also Sun Cluster sotware and the Sun Cluster

agents on computers mscs01 and mscs02.

■ The plan includes outlines o the installation and conguration procedures or all o the

redundancy strategies employed in Java ES solutions. The list o tasks or DS1 and DS2 is an

example o a plan or Directory Server multimaster replication. The list o tasks or AM1

and AM2 is an example o a plan or load balanced components. The list o tasks or STR1

and STR2 is an example o a plan or components that run in a Sun Cluster conguration.

■ The tasks or STR1 and STR2 provide an example o installing and conguring multiple

components on one computer. The rst time you run the installer, you install the Sun

Cluster core component. Ater you congure the Sun Cluster core component, you run the

installer again to install Messaging Server and Calendar Server. These components are

congured in order, according to their dependencies. The third time you run the installer on

the computer, it installs the Sun Cluster agents or Messaging Server and Calendar Server,

which depend on the presence o Messaging Server and Calendar Server.

Chapter 3 • Preparing Your Installation Plan 39

TABLE 3 3 S I t ll ti Pl th S l D l t A hit t

Developing Your Installation Plan

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 40/62

TABLE 3–3 Summary Installation Plan or the Sample Deployment Architecture

Computer InstallationandConfgurationTasks

DS1 1. Run the Java ES installer on this computer. Install andcongure a Directory Serverinstance, using the conguration values specied in the user management specication.

2. Start andveriythe DirectoryServer instance.

DS2 1. Run the Java ES installer on this computer. Install andcongure a Directory Server

instance with the conguration values specied in the user management specication.

2. Start andveriythe DirectoryServer instance.

3. Veriy that the load balancer is working properly orboth DirectoryServerinstances.

4. Shut down the DirectoryServerinstance in DS2. Leave the DirectoryServerinstance on

DS1 running.

AM1 1. Run the Java ES installer on this computer. Install andcongure an Access Manager

instance. Congure the Access Manager instance to interoperate with the logical

directoryservice created by the load balanced Directory Server instances.

2. Start andveriythe Access Manager instance.

3. Congure the Access Manager instance orload balancing.

AM2 1. Run the Java ES installer on this computer. Install andcongure an Access Manager

instance. Congure the Access Manager instance to interoperate with the logical

directoryservice created by the load balanced Directory Server instances.

2. Start andveriythe Access Manager instance.

3. Congure the Access Manager instance orload balancing.

4. Use the Access Manager console to modiy directoryentries or Access Manager.

5. Veriy that the two Access Manager instances are working correctly with load-balanced

operation.

STR1 1. Run the Java ES installer. Install the Sun Cluster core component.

2. Prepare the computer or Sun Cluster conguration. This step includes creating and

mounting le systems used by Sun Cluster sotware.

3. Run the Sun Cluster conguration wizard. Establish andcongure the cluster.

Sun JavaEnterprise System 5 Installation Planning Guide • February 200740

TABLE 3 3 Summary Installation Plan or the Sample DeploymentArchitecture (Continued)

Developing Your Installation Plan

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 41/62

TABLE 3–3 Summary Installation Plan or the Sample DeploymentArchitecture (Continued)

Computer InstallationandConfgurationTasks

STR2 1. Run the Java ES installer. Install the Sun Cluster core component.

2. Prepare the computer orSun Cluster conguration. This step includes creating and

mounting le systems used by Sun Cluster sotware.

3. Run the Sun Cluster conguration wizard. Establish and congure the cluster.

4. Complete the conguration o the Network Timing Protocol (NTP) on STR1 andSTR2.

5. Addthe quorumdevice to the cluster (connected to both computers).

6. Create cluster le systems, and resource groups, set up virtual host name and IP address.

7. Veriy the cluster's ailover capabilities.

STR1 1. Run the Java ES installer. Install Messaging Server andCalendarServer.

2. On computer DS1, run the Directory Server Preparation Tool.

3. Run the Messaging Server conguration wizardto create a Messaging Server instance.

Supplyconguration values that create a branch in the LDAP directory tree according to

the user management specication. Supply conguration values that congure the

Messaging Server instance to interoperate with the load-balanced Access Manager

instances and load-balanced Directory Server instances.

4. Congure Messaging Server or single sign-on.

5. Start and veriy the Messaging Server instance.

6. Run the Calendar Server congurationwizard to create a Calendar Server instance.

Supplyconguration values that congure the instance to use the LDAP branch created

by Messaging Servercongurationor user and group data. Supply conguration values

that congure the Calendar Server instance to interoperate with the load-balancedAccess Manager instances and load-balanced Directory Server instances.

7. On computer STR2 create a Calendar Server user, user group, anddirectory.

8. Edit the Calendar Server conguration le. Set conguration parameters to use the

virtual IP address instead o the computer's IP address.

9. Congure Calendar Server orsingle sign-on.

10. Start and veriy the Calendar Server instance.

STR1 1. Run the Java ES installer. Install Sun Cluster Agent orMessaging Server andSun

Cluster Agent or Calendar Server.

2. Using the Messaging Server agent, create andenable a Messaging Server resource.

3. Veriy ailover o the Messaging Server resource rom STR1 to STR2.

4. Using the Calendar Server agent, create andenable a Calendar Server resource.

5. Veriy ailover o the Calendar Server resource rom STR1 to STR2.

Chapter 3 • Preparing Your Installation Plan 41

TABLE 3–3 Summary Installation Plan or the Sample Deployment Architecture (Continued)

Developing Your Installation Plan

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 42/62

TABLE 3 3 Summary Installation Plan or the Sample Deployment Architecture (Continued)

Computer InstallationandConfgurationTasks

STR2 The instances you congured onmscs01 are automatically recognizedas sharedresources.

Sun JavaEnterprise System 5 Installation Planning Guide • February 200742

AA P P E N D I X A

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 43/62

Java ES and Solaris 10 Zones

This appendix describes the issues that arise when you install and congure Java ES

components in Solaris 10 zones, and recommends some practices regarding or addressing

those issues. This appendix contains the ollowing sections:

■ “What Are Zones?” on page 43■ “Why Use Zones or Java ES?” on page 45■ “Zones Limitations o Java ES Components” on page 47■ “Zone Support in the Java ES Installer” on page 49■ “Recommended Use o Zones with Java ES” on page 53■ “Special Cases or Exceptions” on page 57■ “An Illustrative Example: Install Application Server in a Sparse Root Zone” on page 58

What Are Zones?

Zones are an application and resource management eature o the Solaris 10 operating system.

This eature allows the operating system to be represented to applications as virtual operating

system environments (zones) that are isolated and secure. These zones provide the advantages

o operating system independence with some level o centralized resource management. Hence

applications can be isolated rom one another by being installed and run in diferent zones,

while at the same time certain operating system resources can be centrally allocated andadministered.

From the point o view o an operating system supporting multiple zones, operating system

resources include resources such as process management, memory, network conguration, le

systems, package registries, user accounts, shared libraries, and, in some cases, installed

applications.

AA P P E N D I X A

43

Structure o a Multi-zone Environment

WhatAre Zones?

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 44/62

Structure o a Multi zone Environment

A multi-zone environment consists o a global zone (the deault operating system) and one or

more non-global zones. The global zone contains resources that can be allocated amongnon-global zones by a global (zone) administrator. Non-global zones provide the ollowingeatures:

■ Security. By running distributed services in non-global zones, you limit the damage possiblein the event o a security violation. An intruder who successully exploits a security aw insotware within one zone is conned to that zone. The privileges available within anon-global zone are a subset o those available in the global zone.

■ Runtime isolation. Non-global zones allow or the deployment o multiple applications onthe same computer even i those applications require diferent levels o security, requireexclusive access to global resources, or require individualized conguration. For example,multiple applications running in diferent zones can bind to the same network port by usingthe distinct IP addresses associated with each non-global zone. The applications areprevented rom monitoring or intercepting each others network trac, le system data, orprocess activity.

■ Administrative isolation. The virtualized operating system environment allows or separate

administration o each non-global zone. Actions taken by a zone administrator (as opposedto the global administrator) in a non-global zone, such as creating user accounts, installingand conguring sotware, and managing processes, do not afect other zones.

There are two types o non-global zones: whole root zones and sparse root zones:

■ Whole root zones. Contain a read/write copy o the le system existing on the global zone.When a whole root zone is created, all packages that are installed on the global zone aremade available to the whole root zone: a package database is created and all les are copied

onto the whole root zone or the dedicated and independent use o the zone.■ Sparse root zones. Contain a read/write copy o only a portion o the le system existing on

the global zone (hence the name sparse root) while other le systems are mounted read-only rom the global zone as loop-back virtual le systems. When a sparse root zone is created,the global administrator selects which le systems to share with the sparse root zone (by deault, the /usr, /lib, /sbin, and /platform directories are shared as read-only lesystems). All packages that are installed on the global zone are made available to the sparseroot zone: a package database is created and all les in the mounted le system are shared

with the zone.

Whole Root Zones vs. Sparse Root Zones

The choice between using whole root non-global zones versus sparse root non-global zonesdepends upon a trade-of between resource eciencies and administrative control. Whole rootzones allow you to maximize administrative control (independence and isolation) at the cost o 

memory and other resources, while sparse root zones optimize the ecient sharing o 

Sun JavaEnterprise System 5 Installation Planning Guide • February 200744

executables and shared libraries (while using a much smaller disk ootprint) at the cost o 

WhyUse Zonesor Java ES?

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 45/62

administrative independence. There is currently no measure o the perormance advantage o sparse root zones over whole root zones; it is very likely to be sotware-specic.

Package Propagation

Packages installed in a global zone are (by deault) available to all non-global zones: a processcalled package propagation. (For propagation to take place, newly-created non-global zonesmust be ully booted, that is, be in a running state.) Propagation provides local (non-global)visibility and availability to packages that are installed in the global zone. Propagation allows or

application package lie-cycle management (installation, upgrade, un-installation) to beperormed centrally by a global administrator, while application conguration and runtimemanagement are perormed by (non-global) zones administrators.

For whole root zones, propagation is achieved through the automatic copying o installed lesrom the global zone to the whole root zones and through automatic synchronization o registry inormation. For sparse root zones, propagation is achieved through read-only le systems thatare shared between the global and sparse root zones and through automatic synchronization o registry inormation.

Propagation o packages to non-global zones is controlled at the package level using internalpackage attributes. For some values o these attributes (the deault values, at least), propagationcan be disabled at install time by using the pkgadd —G option, which overrides the attributevalues. Once installed, the propagation behavior o a package cannot be modied, except by uninstalling and reinstalling the package. Patches, or example, cannot change the propagationbehavior o a package; in act, patches must be applied in accordance with the propagationbehavior o the package they are upgrading.

Why Use Zones or Java ES?The isolation provided to applications running in diferent zones is similar to the isolationprovided by running applications in the operating systems o diferent computers. Hence,instead o installing, conguring, and running Java ES components on diferent computers inorder to isolate and secure them, those components can be installed, congured, or run in

diferent zones within the same computer.

This consolidation o Java ES components can also enable more ecient resource utilization.Java ES components running in dedicated, under-utilized computers, can be run instead indiferent non-global zones o a single computer. Global administrators can dynamically allocateresources among the diferent zones depending on the resource requirements o thecomponents running in those zones. (Note this possibility requires more knowledge andunderstanding o the resource requirements o diferent components than is generally available

at the present time.)

Appendix A • Java ES and Solaris 10 Zones 45

A multi-zone environment can help achieve other objectives as well:

WhyUse Zonesor Java ES?

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 46/62

■ Version Separation. Parallel sets o Java ES components o diferent versions can be run indiferent zones. This allows or migration rom one Java ES version to another over a period

o time. For example, Java ES Release 4 components in one non-global zone can be run inparallel with Java ES Release 5 components in another non-global zone. To achieve this typeo version separation, lie-cycle management (as well as conguration and runtimemanagement) is delegated to zone administrators.

■ Centralized Lie-cycle Management. While not ully supported due to Java ES limitations,zones make it possible to centralize lie-cycle management o Java ES components:components can be installed, upgraded, and uninstalled in the global zone but conguredand run in a number o non-global zones to provide or runtime isolation, security,scalability, and other needs. Centralization o lie-cycle management is advantageous whenthere are a number o instances o a component running in diferent zones, or when youwant to ensure that such instances are synchronized to the same release version.

For example, you would be able to install Application Server once in the global zone and runmultiple instances in diferent non-global zones. The various Application Server instancescould support Access Manager, Portal Server, or other Java ES components (these can be thesame or diferent components in diferent non-global zones). Or diferent Application

Server instances could be used by diferent development teams in diferent zones.To achieve this objective, lie-cycle management is perormed by a global administrator,while conguration and runtime management is delegated to the respective zoneadministrators. This approach requires broad coordination when lie-cycle managementtasks (such as upgrade) are perormed.

■ Organizational Independence. Diferent organizations can maintain separate deploymentso Java ES components, or separate runtime instances o Java ES components, all coexistingand running on the same computer. For example, diferent groups o developers can usetheir own distinct instances o Java ES components, or diferent organizations can usediferent deployments o Java ES or testing, pre-production staging, or production.Organizational independence can be achieved in various ways, depending on specicobjectives: either by centralizing Java ES lie-cycle management while delegatingconguration and runtime management to zone administrators, or by delegating allmanagement unctions (lie-cycle, conguration, and runtime) to zone administrators.

The diferent objectives you can achieve using Java ES in a multi-zone environment, and the

usage scenarios they imply, require diferent strategies or deploying and administering Java EScomponents across a multi-zone environment. Some objectives make use o the isolation o diferent zones to independently manage diferent Java ES components and their runtimeinstances, while other objectives make use o the propagation capabilities o the global zone tosimpliy lie-cycle management o Java ES components.

Installation and administration strategies or using Java ES in a multi-zone environment will berevisited ater discussing some o the multi-zone environment limitations imposed by the

nature o Java ES sotware.

Sun JavaEnterprise System 5 Installation Planning Guide • February 200746

Zones Limitations o Java ES Components

Zones Limitations o JavaES Components

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 47/62

pJava ES components are grouped into diferent types, as described in Sun Java Enterprise

System5 TechnicalOverview. Accordingly, system service components provide the main JavaES inrastructure services, while service quality components enhance those system services.These two types o Java ES components are together reerred to here as product components,components that are selectable within the Java ES installer.

Each product component depends on one or more locally shared libraries known as Java ESshared components. Shared components are installed automatically by the Java ES installerduring product component installation, depending on the product components that are beinginstalled. They are not individually selected, installed, or congured during deployment o JavaES product components.

Java ES Shared Components and Zones

The discussion in “Why Use Zones or Java ES?” on page 45 ocused on the use o zones by JavaES product components: those that can be explicitly selected in the Java ES installer andinstalled and congured in various zones to achieve a desired deployment architecture andunctional capability. However, the shared components upon which product componentsdepend set a number o limitations on how Java ES is deployed in a multi-zone environment.There are two issues regarding Java ES shared components and zones:

Synchronization o Shared Components

The diculty o testing and supporting the large number (around 30) and complex interactionsbetween Java ES shared components and Java ES product components mandates that all sharedcomponents within a single operating system instance be synchronized to the same Java ESversion. In other words, all Java ES shared components installed in a non-zone environment, orin any single zone within a Solaris 10 environment, must be o the same version. Thisrequirement sets certain restrictions on how Java ES can be used in a multi-zone environment.

This synchronization requirement has the ollowing implications:

■ Diferent versions o Java ES shared components can only reside in diferent zones. For

example, you can install Java ES Release 4 shared components in one zone and Java ESRelease 5 shared components in another zone, but you cannot combine them in the samezone.

■ I any shared component in a zone is upgraded or any new shared component o higherversion is introduced, then all shared components in that zone must also be upgraded at thesame time. (Shared components are required to be backwardly compatible, so there is noproblem or Release 4 product components to work with Release 5 shared components.) Forexample, suppose a Release 5 product component is installed in a zone in which one or more

Release 4 product components reside. Because the Release 5 product component requires

Appendix A • Java ES and Solaris 10 Zones 47

some number o Release 5 shared components, the synchronization requirement means thatall Release 4 shared components residing in that zone must be upgraded to Release 5 at the

Zones Limitations o JavaES Components

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 48/62

all Release 4 shared components residing in that zone must be upgraded to Release 5 at thesame time the Release 5 product component is installed. This is the case even i the Release 5product component being installed requires diferent shared components rom those thatare already installed in the zone.

■ When shared components are installed in and propagate rom the global zone (see “Java ESPropagation Policies” on page 49), then special care must be taken to maintainsynchronization o shared components in all zones. Otherwise it would be possible orshared components o an earlier version in a non-global zone to be mixed with Release 5shared components that have been propagated rom the global zone. (Special care normally means that shared component lie-cycle management takes place only in the global zone.

For more inormation see Table A–2, and “Shared Component Special Cases” on page 57.)

The shared component synchronization requirement imposes restrictions on what the Java ESinstaller is constrained to do in a multi-zone environment (or more inormation, see “ZoneSupport in the Java ES Installer” on page 49) and also impacts procedures or installing andupgrading Java ES product components in a multi-zone environment.

Shared Components and Sparse Root Zones

Another issue impacting the use o Java ES in a multi-zone environment is that a large numbero shared components cannot be installed in sparse root zones because o the read-only lesystems in sparse root zones. Hence, those shared components whose base directory is /usr (adirectory that by deault is shared by the global zone) must be installed in the global zone to beavailable in a sparse root zone.

The inability to install a number o Java ES shared components in sparse root zones means thatto successully install product components which have dependencies on such shared

components into sparse root zones, the shared components must rst be installed in the globalzone and propagated to non-global zones.

Java ES Product Components and ZonesSome o the objectives discussed in “Why Use Zones or Java ES?” on page 45 or using Java ESin a multi-zone environment, and the usage scenarios they imply, make use o the propagationcapabilities o the global zone to simpliy lie-cycle management o Java ES product

components. Such usage scenarios, or example, call or lie-cycle management o Java ESproduct components to be perormed in the global zone by the global administrator, while theconguration and runtime management o those components is perormed in non-global zonesby zone administrators.

In other words, product components would be installed and upgraded in the global zone, butinstances would be congured and run in non-global zones. This usage scenario wouldcombine the benets o centralized lie-cycle management with the isolation and security 

aforded by non-global zones.

Sun JavaEnterprise System 5 Installation Planning Guide • February 200748

This scenario, however, depends upon the ability o each product component to be installed inthe global zone but be congured and run in a non-global zone This separation depends upon

Zone Support in theJavaES Installer

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 49/62

the global zone, but be congured and run in a non global zone. This separation depends uponhow conguration o each product component is achieved, where conguration and dynamicapplication data is stored, how conguration data is located by executing binaries, and howupgrades are perormed. For example separation might depend upon what pre or post install orupgrade scripts do: whether they start or stop component instances, set up links toconguration data, or perorm other tasks that blur the distinction between lie-cycle andconguration management.

This separation can also depend upon whether conguration is perormed in a whole root orsparse root zone. For example, i a product component's conguration script writes to aread-only le system in a sparse root zone (or example /usr) or i non-deault le systems

(such as /opt) are shared with a sparse root zone, then the conguration o a component canail.

Note – Nearly all Java ES product components are installed under /opt, which by deault, iswritable in sparse root zones. For more inormation, seeSunJavaEnterprise System5InstallationReerence orUNIX 

At the current time, the ability o each o the roughly 20 Java ES product components to supportthe separation o lie-cycle management and conguration/runtime management betweenglobal and non-global zones has not been established. The various product components haveadopted diferent approaches to conguration and upgrade. Given this situation, propagationo Java ES product components (except or Message Queue) is not currently supported. Formore inormation, see “Java ES Propagation Policies” on page 49.

Zone Support in the Java ES InstallerBased on the usage scenarios discussed in “Why Use Zones or Java ES?” on page 45, and theJava ES component requirements and limitations discussed in “Zones Limitations o Java ESComponents” on page 47, the Java ES installer provides qualied zones support or installation(and upgrade) o Java ES product components and or synchronization o shared components.Policies have been implemented in the installer to help prevent problematic installation andupgrade scenarios.

Java ES Propagation PoliciesBased on the limitations discussed in Section 3, the Java ES installer implements two Java ESpropagation policies:

■ When product components are installed in the global zone, they are set by deault to notpropagate into non-global zones (Message Queue is an exception). Hence the non-global

zones do not see them in their registries nor have access to the installed components.

Appendix A • Java ES and Solaris 10 Zones 49

■ When shared components are installed in the global zone (or example, as part o theinstallation o product components), they are set to propagate into non-global zones. Hence

Zone Supportin theJavaES Installer

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 50/62

sta at o o p oduct co po e ts), t ey a e set to p opagate to o g oba o es. e cenon-global zones see them in their registries and have access to the installed sharedcomponents. This policy helps enorce the requirement that shared component versions besynchronized within any zone as described in “Java ES Shared Components and Zones”on page 47.

Installation o Product Components

The Java ES installer can install product components as well as the shared components neededto support each product component. Beore installing a selected product component, the

installer checks or the existence o current and previous versions o shared components. I theinstaller detects that a shared component required by the selected component is o a previousversion or is missing, the installer will upgrade all shared components currently installed andinstall any missing shared components required by the selected component. This behavior,which meets the requirements o “Synchronization o Shared Components” on page 47, appliesto non-zone operating systems, global zones, and all non-global zones.

However, there are two exceptions to this behavior:

■ In sparse root zones, some shared components cannot be installed or upgraded (see “SharedComponents and Sparse Root Zones” on page 48), and installation is halted until such timeas such shared components have been installed or upgraded in the global zone. The installerprovides the ollowing message: “The ollowing shared components, required by thecomponents you have selected, cannot be installed or upgraded in a sparse root zone. Pleaseinstall or upgrade these shared components in the global zone beore proceeding. Use theAll Shared Components option.” For more inormation see “Synchronize All Shared

Components” on page 51.■ In a global zone, i non-global zones are present, instead o upgrading all shared

components currently installed and installing any missing shared components required by aselected component, the installer synchronizes all Java ES shared components, whether ornot they are needed by any specic product component. This allows all shared componentsto be propagated to non-global zones, thus assuring that there is no intermixing o sharedcomponent versions in non-global zones.

Upgrade o Product Components

A new capability has been implemented in the Java ES Release 5 to upgrade productcomponents in a ew special cases: Application Server, Message Queue, HADB, and Java DB.When the Java ES installer detects the previously installed release versions o these productcomponents, it marks them as upgradable in the Component Selection page. I any o these ourproduct components are selected, the installer will upgrade them using logic similar to that used

or a resh installation.

Sun JavaEnterprise System 5 Installation Planning Guide • February 200750

In particular, beore upgrading a selected product component, the installer checks or theexistence o current and previous versions o shared components. I the installer detects that a

Zone Support in theJavaES Installer

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 51/62

p pshared component required by the selected component is o a previous version or is missing,the installer will upgrade all shared components currently installed and install any missingshared components required by the selected component. This behavior, which meets therequirements described in “Synchronize All Shared Components” on page 51, applies tonon-zone operating systems, global zones, and all non-global zones.

However, there are three exceptions to this behavior:

■ In sparse root zones, some shared components cannot be installed or upgraded and theupgrade operation is halted until such time as such shared components have been installed

or upgraded in the global zone. (For more inormation, see “Shared Components and SparseRoot Zones” on page 48) The installer provides the ollowing message: “The ollowingshared components, required by the components you have selected, cannot be installed orupgraded in a sparse root zone. Please install or upgrade these shared components in theglobal zone beore proceeding. Use the All Shared Components option.” (For moreinormation, see “Synchronize All Shared Components” on page 51.)

■ Both Application Server and Message Queue are bundled with the Solaris operating system.Neither o these versions can be directly upgraded in a sparse-root zone. For the details

regarding these two bundled components, see “Product Component Special Cases” on page57.

■ In a global zone, i non-global zones are present, instead o upgrading all sharedcomponents currently installed and installing any missing shared components required by acomponent selected or installation, the installer synchronizes all Java ES sharedcomponents, whether or not they are needed at that time or any o the components selectedor installation. This allows all shared components to be propagated to non-global zones,thus assuring that there is no intermixing o shared component versions in the non-global

zones.

Note – There are a number o special cases or exceptions that might interere with theinstallation or upgrade o product components in non-global zones. These cases are describedin “Special Cases or Exceptions” on page 57.

Synchronize All Shared ComponentsA shared component synchronization option is provided to meet situations in which all sharedcomponents must be synchronized. When the All Shared Components option is selected, theinstaller will upgrade all shared components currently installed and install any missing sharedcomponents, whether or not they are needed by any specic product component. This optionapplies to global zones and whole root zones, but not to sparse root zones.

The All Shared Components option, is needed in the ollowing two zone-based scenarios:

Appendix A • Java ES and Solaris 10 Zones 51

■ Manually upgrading product components. The All Shared Components option is needed to

perorm the shared component installation and upgrade needed when upgrading product

Zone Supportin theJavaES Installer

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 52/62

components that cannot be upgraded using the Java ES installer.

Installations or Upgrades in a Sparse Root Zone. Some shared components cannot beinstalled in deault sparse root zones. (For details, see “Installation o Product Components”

on page 50 and “Upgrade o Product Components” on page 50.) Hence when running the

installer in sparse root zones, you might rst be required to synchronize shared components

in the global zone, depending on the shared components involved. You use the All Shared

Components option in the global zone to perorm the shared component installation and

upgrade required in this case.

Summary o Java ES Installer Behavior RegardingShared Components

The behaviors described above are summarized in the ollowing table, which shows how the

Java ES installer's treatment o shared components depends on the zone context as well as what

has been selected in the component selection page.

TABLE A–1 Installer Behavior Regarding Shared Components

Zones Context Product Component Selected All Shared Components Selected

Non-zone operating System Upgrade all sharedcomponentscurrently installed

Install any missing shared

components required by theselected product component

Upgrade all shared componentscurrently installed

Install any missing shared

components, whether or notthey are needed by any specic productcomponent

Global zone: no non-global zones Upgrade all sharedcomponentscurrently installed

Install any missing shared

components required by theselected product component

Upgrade all shared componentscurrently installed

Install any missing shared

components, whether or notthey are needed by any specic product

component

Global zone: non-global zones exist Upgrade all shared components

currently installed

Install any missing shared

components, whether or not they are needed by any specic product

component

Upgrade all shared components

currently installed Install any 

missing shared components,whether ornot they are needed by 

any specic product component

Sun JavaEnterprise System 5 Installation Planning Guide • February 200752

TABLE A–1 Installer Behavior Regarding Shared Components (Continued)

Zones Context Product Component Selected All Shared Components Selected

RecommendedUse o ZoneswithJava ES

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 53/62

Whole root zone Upgrade all s hared components

currently installedInstall any missing shared

components required by theselected product component

Upgrade all shared components

currently installedInstall any missing shared

components, whether or not they are needed by anyspecic product

component

Sparse r oot zone Cannot upgrade or install s ome

shared components in read-only 

directories. I installer encounters

such shared components, it blocksand instructs user to manage

shared components in the globalzone.

Cannot upgrade or install some

shared components in read-only 

directories. Installer thereore

blocks andinstructs user to manageshared components in the global

zone.

Recommended Use o Zones with Java ES

While the deployment o Java ES in a multi-zone environment has the general objective o 

providing or product component runtime isolation and ecient resource utilization, there

area number o more specic objectives or which a multi-zone environment can be used. These

are discussed in as discussed in “Why Use Zones or Java ES?” on page 45. Installation and

administration strategies or Java ES in a multi-zone environment depend largely on which o 

these objectives you are trying to achieve.

Table A–2 compares ve scenarios, the installation and administration strategies to which they correspond, and the objectives that they are meant to achieve. While mixing o these scenarios

might be possible in some cases, the results can be problematic and are likely to cause

administrative mayhem. Hence, Java ES Release 5 generally does not support deployments that

mix these scenarios.

Also, Scenario 1 and Scenario 5 are problematic, so Java ES Release 5 does not currently support

them (though accommodation might be made or specic product components in the case o 

Scenario 5).

Appendix A • Java ES and Solaris 10 Zones 53

TABLE A–2 ZonesInstallation and Administration Strategies or Java ES

Objective(See “WhyUse Zones

Recommended Use o Zoneswith Java ES

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 54/62

Scenario (Installation Strategy) AdministrationStrategyObjective(See WhyUse ZonesorJavaES?”onpage45) Comments

1: Install productcomponents and sharedcomponents in the global

zone with propagation

enabled. No componentsinstalled in non-global

zones.*

Component lie-cyclemanagement: Globaladministrator

Conguration and

runtime management:

Zones administrators

Centralized productcomponent lie-cyclemanagement

Organizational

independence or product

component congurationand runtime management

Problematic: Not yetsupported or Java ESproduct components,

except or Message

Queue. Requires thatproduct components

support installation in

global zone but

conguration and

runtime management innon-global zones.

2: Install shared

components in the global

zone and productcomponents in whole

root zones

Shared component

lie-cycle management:

Global administrator

Product component

lie-cycle management:

Zones administrators

Conguration andruntime management:

Zones administrators

Centralized shared

component lie-cycle

management

Organizational

independence or product

component lie-cycle,

conguration, andruntime management

Mostly applicable when

all components are o the

same Java ES version, orwhen upgrading all

product components in

all whole root zones.

3: Install shared

components in the global

zone and productcomponents in sparse

root zones**

Sameas Scenario#2 Centralized management

o shared component lie

cycle.

Organizational

independence or productcomponent lie-cycle,

conguration, andruntime management

Increased resource

eciencies over Scenario#2 (See “Whole Root

Zones vs. Sparse Root

Zones” on page 44)

This scenario

recommended when

installing productcomponents in sparse

root zones. (Some sharedcomponents cant beinstalled in sparse root

zones and must thereore

be installed in globalzone.)

4: Install product

components and sharedcomponents in whole

root zones

Component lie-cycle

management: Zonesadministrators

Conguration and

runtime management:Zones administrators

Version separation No sharedcomponents or

product componentsshould be installed in the

global zone.

Recommended scenarioor whole root zones.

Sun JavaEnterprise System 5 Installation Planning Guide • February 200754

TABLE A–2 Zones Installation and Administration Strategies or Java ES (Continued)

Scenario (Installation Strategy) Administration StrategyObjective(See “WhyUse ZonesorJavaES?”onpage45) Comments

RecommendedUse o ZoneswithJava ES

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 55/62

5: Install product

components and sharedcomponents in sparse

root zones.

Same as Scenario#4 Organizational

independence or productcomponent lie-cycle,

conguration, and

runtime management

Increased resource

eciencies over Scenario

#4 (See “Whole RootZones vs. Sparse Root

Zones” on page 44)

Problematic. Cannot

generally be implementedbecause a number o 

shared components

cannotbe installed insparse root zones.

* Scenario 1 does not distinguish between whole root and sparse root zone environments; itassumes that no product components are installed in non-global zones. Installation o productcomponents in non-global zones is covered in Scenarios 2-5.

** Scenario 3 assumes that /opt has not been made a read-only directory in the sparse rootzone. I /opt were read-only, most Java ES product components could not be installed in sparse

root zones and would have to be installed in the global zone, as in Scenario 1, as an alternativeapproach.

Recommended Practices

With Table A–2 in mind, here are a number o recommended practices:

Plan your Java ES zones deployment strategy in advance depending on the objective in“Why Use Zones or Java ES?” on page 45that you are trying to achieve. Diferent objectivesrequire diferent installation and administration strategies, as shown by the diferentscenarios o Table A–2.

■ Avoid mixing scenarios. In particular:

■ Keep your Java ES zones deployment and administration strategy as simple as possible.Do not mix whole root and sparse root deployments o Java ES components on the samecomputer. (Procedures and practices needed to support sparse root zone deployments as

in Scenario 3 can interere with whole root zone deployments as in Scenario 4.)

■ Do not install the same Java ES product component in both the global zone andnon-global zones, even i they are o diferent versions. (Procedures needed to upgrade aglobal zone installation as in Scenario 1 can break the non-global zone installations as inScenario 4.)

■ When Release 4 (or earlier) Java ES components have been installed in a whole rootzone, do not install Java ES Release 5 components (neither product components nor

shared components) in the global zone, and do not upgrade Java ES components to

Appendix A • Java ES and Solaris 10 Zones 55

Release 5 in the global zone. In other words, Scenario 2 is not supported when there arepre-existing Java ES installations in a whole root zone. (Installation or upgrade in theglobal zone could result in a mixing o Release 4 and Release 5 les in the whole root

Recommended Use o Zoneswith Java ES

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 56/62

global zone could result in a mixing o Release 4 and Release 5 les in the whole rootzone.)

■ Recommended installation practices:

■ I you want to run diferent Java ES product components in diferent zones, install theproduct components in non-global zones (Scenario 2, 3, 4, 5).

■ I you want to run diferent Java ES product components in diferent zones but centrally manage shared component lie cycles, synchronize shared components in the globalzone, then install the product components in non-global zones (Scenario 2, 3). (This is arecommended practice whenever installing product components in sparse root zones.)

■ I you want to achieve version separation o Java ES product components or, or otherreasons to isolate deployments o Java ES product components (Scenario 4), then installand congure all Java ES components in whole root zones. Do not install any Java EScomponents in the global zone.

■ Recommended upgrade practices:

■ I you want to upgrade all installed Release 4 product components to Release 5,synchronize all Java ES shared components in the global zone, then perorm the upgradeo the desired product components in the zones where they have been installed. (Release5 shared components are backwardly compatible.)

■ I you have Release 4 or Release 5 product components installed in a non-zonesenvironment, and you wish to add non-global zones to the environment and installproduct components in the new non-global zones, be sure to do so in accordance withthe recommended practices above. This might mean uninstalling components in theglobal zone and reinstalling them in non-global zones.

Deployment Architectures

The scenario descriptions in Table A–2 and the recommended practices noted above do notinclude recommended Java ES deployment architectures or a multi-zone environment. Sucharchitectures would be an adaptation o deployment architectures created or multi-computernetwork environments. In other words, the availability o multi-zone environments does not

change the basic deployment design approaches or achieving high perormance, highavailability, scalability, security, and serviceability or Java ES deployment systems. What amulti-zone environment allows you to do is consolidate such deployment architectures intoewer computers.

Details o how to adapt a Java ES deployment architecture to a multi-zone environment,however, are highly dependent on the administrative strategies you desire, as discussed inprevious sections. Deployment architectures also depend on your strategy or achieving high

availability.

Sun JavaEnterprise System 5 Installation Planning Guide • February 200756

Note that Table A–2 and the recommended practices above do not include recommendedprocedures or implementing the scenarios that are described. In some cases the order in whichJava ES components are installed and the order in which non-local zones are created can be

Special Cases or Exceptions

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 57/62

Java ES components are installed and the order in which non local zones are created can beimportant.

Special Cases or ExceptionsThere are a number o special cases that arise mostly rom the act that some Java ES sharedcomponents and some Java ES product components are bundled with Solaris 10. By virtue o this bundling, these Java ES components exist in the global zone, and thereore in any 

non-global zone that is created rom the global zone.

Product Component Special Cases■ Message Queue is bundled with Solaris 10, and, as a result, is automatically propagated

when non-global zones are created (unless you have rst removed Message Queue rom theglobal zone). Message Queue cannot be installed in a sparse root zone. When installed orupgraded in a global zone by the Java ES installer, Message Queue, by deault, is propagatedto non-global zones, unlike other product components.

■ Application Server is bundled with Solaris 10, and, as a result, is automatically propagatedwhen non-global zones are created (unless you have rst removed Application Server romthe global zone). When propagated in this way, the bundled Application Server, which isinstalled in /usr, cannot be upgraded by the Java ES installer in a sparse root zone (by deault /usr is read-only). To address this problem, the bundled Application Server must be

manually removed rom the global zone beore installing the Release 5 Application Server ina sparse root zone.

■ Sun Cluster can only be installed in a global zone. Sun Cluster is not supported innon-global zones.

Shared Component Special Cases■ SJWC packages that are bundled with Solaris 10 (Update 1 and Update 2) cannot be

removed by the Java ES installer. These older SJWC packages have had theSUNW_PKG_ALLZONES set to True, which means the package must be identical in all zones andcan only be managed by the global administrator. As a result these packages must bemanually removed in the global zone to be replaced by the correct packages.

I the Java ES installer is attempting to install a selected component in a non-global zone anddetects that SJWC needs to be upgraded, the installer will block. This happens when

installing on Solaris 10, Update 1 and 2.

Appendix A • Java ES and Solaris 10 Zones 57

As a workaround, a special script has been developed that will remove the old packages o SJWC rom the global zone and replace them with SJWC 2.2.6, which has the correct zonespropagation attribute setting. As a result SJWC 2 2.6 is propagated to all non-global zones.

An Illustrative Example: Install Application Server in a Sparse RootZone

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 58/62

p p g g J p p g g

Common Agent Container. Version 1.1 is installed only when Sun Cluster, Sun Cluster GE,or Sun Cluster Agents are installed. It is not installed when the Synchronize All SharedComponents option is selected. Only version 2.0 is installed in that case.

■ Sun Explorer Data Collector. This shared component is installed only when Sun Cluster,Sun Cluster GE, or Sun Cluster Agents are installed. It is not installed when the All SharedComponents option is selected.

An Illustrative Example: Install Application Server in a SparseRoot Zone

The ollowing example is provided to draw out some o the complexities involved in Java ESzones support. In this example, the objective is to install Application Server in a Solaris 10sparse root zone. This installation is complicated by the act that Application Server (as well asMessage Queue, upon which Application Server depends), is bundled with Solaris 10, and

thereore the bundled version is installed in all non-global zones. For more inormation, see“Product Component Special Cases” on page 57.

To install Application Server in a sparse root zone, you must rst remove the bundled version.(You cannot simply upgrade the bundled version in the sparse root zone because it is installedin a read-only directory). To remove the bundled version rom the sparse root zone, you mustremove it in the global zone.

In addition, Message Queue is installed in the global zone, representing a departure romScenario 3 o Table A–2, in which only shared components (not product components) areinstalled in the global zone. However, Message Queue cannot be installed in a sparse root zone,because it installs in a read-only directory, so it must be installed and upgraded in the globalzone.

The procedure is as ollows:

1. Veriy Solaris 10 is running on your system.

This example assumes a clean version o Solaris 10 with no Java ES components having beenexplicitly installed in the global zone.

2. Create a sparse root zone (congure, install, and boot it).

This zone will include any Java ES components that are already installed in the global zone,namely the versions o Message Queue and Application Server bundled with Solaris 10.

3. Remove the bundled version o Application Server rom the global zone.

This must be perormed by manually removing Application Server packages:

Sun JavaEnterprise System 5 Installation Planning Guide • February 200758

pkgrm SUNWascmnse SUNWaslb SUNWasut ...

Where the ull set o packages can be obtained using the ollowing command:

k i f I| I li ti

An Illustrative Example: Install Application Serverin a Sparse RootZone

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 59/62

pkginfo -I|grep -I application server

The results would include packages such as:

SUNWascmnse, SUNWaslb, SUNWasut, SUNWasac, SUNWasdem, SUNWasman, SUNWaswbcr,

SUNWasacee, SUNWashdm, SUNWasmanee, SUNWascml, SUNWasJdbcDrivers, SUNWasu,

SUNWascmn, SUNWasjdoc, SUNWasuee

And might include localization packages as well:

SUNWLocaleasacee, SUNWLocaleascmnse, SUNWLocaleasu, SUNWLocaleasuee

The removal o Application Server rom the global zone is propagated to the sparse rootzone that was created in Step 2. (This step and Step 2 can be perormed in reverse order.)

4. Install Java ES 5 Shared Components in the global zone.

a. Run the Java ES installer in the global zone.

b. Select All Shared Components rom the component selection panel. Do not select any other component.

c. Complete the synchronization o shared components. All o the shared components are

now synchronized in the global zone and propagated to all non-global zones.

5. Upgrade Message Queue in the global zone.

The version o Message Queue bundled with Solaris 10 is already installed in the sparse rootzone by virtue o Step 2. To upgrade Message Queue in the sparse root zone, simply upgradeit in the global zone; the upgrade will propagate to the sparse root zone. (Message Queue isthe only product component which cannot be installed in a sparse root zone, but wheninstalled in the global zone, will propagate to non-global zones.)

a. Run the Java ES installer in the global zone.

b. Select Message Queue in the component selection panel. Do not select any othercomponent.

c. Complete the upgrade o Message Queue.

6. Install Application Server in the sparse root zone.

a. Run the Java ES installer in the sparse root zone.

b. Select Application Server in the component selection panel. Do not select any othercomponent or upgrade. De-select Message Queue i it is selected.

c. Complete the installation o Application Server.

Appendix A • Java ES and Solaris 10 Zones 59

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 60/62

60

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 61/62

Index

AAccess Manager

list o dependencies, 28modies LDAP schema, 20third-party web container, 37

Access Manager SDK, list o dependencies, 28Apache Web Server, 37Application Server, list o dependencies, 29

Bbase sux, established by installer, 21BEA WebLogic, 37BEA WebLogic Server

dependency o Portal Server, 29

CCalendar Server, LDAP schema extensions or, 21component interoperation

achieved by installation plan, 25conguring or, 31

CPU requirements, 17

Ddependencies

determine order o installation plan, 27on web containers, 27reasons or dependencies, 26

dependencies (Continued)solution-wide and local, 27

table o, 31deployment architecture

analyzing, 15-17example o, 15

Directory Preparation Toolextends LDAP schema, 21extends the LDAP schema, 33

Directory Proxy Server, list o dependencies, 29

Directory Serverdeault LDAP schema, 20-21, 33list o dependencies, 29multi-master replication, 33schema modied by Access Manager, 20, 33

disk requirements, 17

GGlossary, link to, 7

HHADB, 38High Availability Session Store (HADB), local

dependency o Application Server, 29

IIBM WebSphere, 37

61

IBM WebSphere Application Serverdependency o Portal Server, 29

installation, high-level tasks, 13installation plan

PPortal Server, list o dependencies, 29Portal Server Secure Remote Access, list o 

d d i 30

Index

8/7/2019 Zone Intro

http://slidepdf.com/reader/full/zone-intro 62/62

installation plan

example o, 40or component interoperation, 31or distributed installation, 26how to develop, 38need or, 25, 38sequence determined by component

dependencies, 27installer, how to use or distributed installation, 26

LLDAP directories

establishing the directory tree, 21provided by Directory Server, 21provided by other directory sotware, 23

LDAP directory treebase sux established by installer, 21established by Java ES installation, 20

LDAP schemadeault, 20-21established by Java ES installation, 20, 33extended with Delegated Administrator, 21extended with Directory Preparation Tool, 21, 33

modied with Access Manager, 33load balancing, installation procedures or, 32

MMessage Queue, local dependency o Application

Server, 29

Messaging Server, LDAP schema extensions or, 21multi-master replication, installation procedures

or, 33

Nnetwork connectivity specication, example o, 18

non-root installation, 38

dependencies, 30

Qquality o service requirements

choosing hardware to satisy, 17example o, 17using redundancy to satisy, 16, 32

RRAM requirements, 17

SSchema 1, 38single user entry, 38specications

computer hardware, 17network connectivity, 18operating system, 17

Sun Cluster Agents, list o dependencies, 30

Sun Cluster sotware, installation procedures or, 32

Ttasks or installation, 13third-party web container, 37

Wweb container, dependency on, 27Web Proxy Server, list o dependencies, 30Web Server, local dependency o Application

Server, 29

Sun JavaEnterprise System 5 Installation Planning Guide • February 200762