Sun Java Enterprise System 5 Installation Planning Guide

Recommended Use of Zones with Java ES

While the deployment of Java ES in a multi-zone environment has the general objective of providing for product component runtime isolation and efficient resource utilization, there area number of more specific objectives for which a multi-zone environment can be used. These are discussed in as discussed in Why Use Zones for Java ES?. Installation and administration strategies for Java ES in a multi-zone environment depend largely on which of these objectives you are trying to achieve.

Table A–2 compares five scenarios, the installation and administration strategies to which they correspond, and the objectives that they are meant to achieve. While mixing of 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 for specific product components in the case of Scenario 5).

Table A–2 Zones Installation and Administration Strategies for Java ES

Scenario (Installation Strategy) 

Administration Strategy 

Objective (See Why Use Zones for Java ES?)

Comments 

1: Install product components and shared components in the global zone with propagation enabled. No components installed in non-global zones.* 

Component life-cycle management: Global administrator  

Configuration and runtime management: Zones administrators 

Centralized product component life-cycle management  

Organizational independence for product component configuration and runtime management 

Problematic: Not yet supported for Java ES product components, except for Message Queue. Requires that product components support installation in global zone but configuration and runtime management in non-global zones. 

2: Install shared components in the global zone and product components in whole root zones 

Shared component life-cycle management: Global administrator  

Product component life-cycle management: Zones administrators  

Configuration and runtime management: Zones administrators 

Centralized shared component life-cycle management  

Organizational independence for product component life-cycle, configuration, and runtime management 

Mostly applicable when all components are of the same Java ES version, or when upgrading all product components in all whole root zones. 

3: Install shared components in the global zone and product components in sparse root zones** 

Same as Scenario #2 

Centralized management of shared component life cycle.  

Organizational independence for product component life-cycle, configuration, and runtime management  

Increased resource efficiencies over Scenario #2 (See Whole Root Zones vs. Sparse Root Zones)

This scenario recommended when installing product components in sparse root zones. (Some shared components cant be installed in sparse root zones and must therefore be installed in global zone.) 

4: Install product components and shared components in whole root zones 

Component life-cycle management: Zones administrators Configuration and runtime management: Zones administrators 

Version separation  

No shared components or product components should be installed in the global zone. Recommended scenario for whole root zones. 

5: Install product components and shared components in sparse root zones. 

Same as Scenario #4 

Organizational independence for product component life-cycle, configuration, and runtime management 

Increased resource efficiencies over Scenario #4 (See Whole Root Zones vs. Sparse Root Zones)

Problematic. Cannot generally be implemented because a number of shared components cannot be installed in sparse root zones. 

* Scenario 1 does not distinguish between whole root and sparse root zone environments; it assumes that no product components are installed in non-global zones. Installation of product components 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 root zone. If /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 alternative approach.

Recommended Practices

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

Deployment Architectures

The scenario descriptions in Table A–2 and the recommended practices noted above do not include recommended Java ES deployment architectures for a multi-zone environment. Such architectures would be an adaptation of deployment architectures created for multi-computer network environments. In other words, the availability of multi-zone environments does not change the basic deployment design approaches for achieving high performance, high availability, scalability, security, and serviceability for Java ES deployment systems. What a multi-zone environment allows you to do is consolidate such deployment architectures into fewer computers.

Details of 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 in previous sections. Deployment architectures also depend on your strategy for achieving high availability.

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