# Deployment Guide

# Component-Host Templates

This appendix provides example worksheets that characterize host requirements for typical deployment scenarios.

## Guidelines

### Components Required for all Deployments

You must install the following components:

- Administrative Portal
- Portal
- Image Service
- Plumtree Search
- Automation Service
- ALUI Database

Optionally, install the following additional components to add specific functionality:

ALI API Service | Required for access to the ALI SOAP API.
Document Repository Service | Required to support document upload, Publisher, and Collaboration.
Publisher Publisher Database | Required to provide template-based branding for portal communities and the full set of Publisher features and portlets.
Collaboration Collaboration Database | Required for Collaboration features and portlets.
Studio, Studio Database | Required for Studio features and portlets.
Analytics Analytics Database | Required for Analytics features and portlets.

### General Principles

- All machines should have multiple CPUs.
- More RAM generates better performance for all products.
- Disk speed is more important for the Database Server, Document Repository Service, and Search.

## One-Host Portals

### Usage

Demonstration, proof of concept, development, or test environment.

### Configuration Worksheet

Host | Portal | Image Service | Automation Service | ALI API Service | Administrative Portal | Database Server | Document Repository Service | Search | Collaboration | Publisher | Studio | Analytics
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Host1 | X | X | X | X | X | X | X | X | X | X | X | X

###

## Two-Host Portals

### Usage

Demonstration, proof of concept, development, or testing environment.

### Configuration Worksheet

Host | Portal | Image Service | Automation Service | ALI API Service | Administrative Portal | Database Server | Document Repository Service | Search | Collaboration | Publisher | Studio | Analytics
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Host1 | X | X | X |  | X |  |  |  |  |  |  |
Host2 |  |  |  | X |  | X | X | X | X | X | X | X

###

### Risks and Mitigation

A two-machine configuration might be suitable for user acceptance testing for 100-200 users, where system availability is not a priority. If you plan to deploy a two-host portal for a small number of users, consider the following risks and mitigating factors.

Risks | Suggestions
The Automation Service might draw CPU and memory from the Portal component during crawls, maintenance operations, and user synchronization. | Schedule the Automation Service to run its jobs at night.
Collaboration, Publisher, Studio, Search, Analytics, and the database compete for memory, slowing performance. | Do not index a large number of documents, host many Studio databases, or publish a lot of content. Increase the amount of RAM on the second machine. Set all components to use a smaller memory footprint. If performance is still unacceptable, move the database to a separate server and follow the three-machine configuration option.

## Three-Host Portals

### Usage

Minimum host requirements for a production portal.

If you plan to deploy Publisher, Collaboration, Studio, or Analytics, BEA recommends a three-host portal only for demonstration, proof of concept, development, or testing environment.

### Configuration Optimized for a Large Amount of Content

Host | Portal | Image Service | Automation Service | ALI API Service | Administrative Portal | Database Server | Document Repository Service | Search | Collaboration | Publisher | Studio | Analytics
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Host1 | X | X |  | X | X |  |  |  | X | X | X |
Host2 |  |  | X |  |  |  |  | X |  |  |  | X
Host3 |  |  |  |  |  | X | X |  |  |  |  |

###

Caution: | If you deploy on Oracle databases, install the database servers on a host separate from all other portal components. For a three-host deployment, follow the template for a two-host deployment and install only the database servers on the third host.

### Configuration Optimized for a Large Number of Users

Host | Portal | Image Service | Automation Service | ALI API Service | Administrative Portal | Database Server | Document Repository Service | Search | Collaboration | Publisher | Studio | Analytics
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Host1 | X | X |  |  | X |  |  |  |  |  |  |
Host2 |  |  |  | X |  |  |  |  | X | X | X | X
Host3 |  |  | X |  |  | X | X | X |  |  |  |

###

## Four-Host Portals

### Usage

Minimum host requirements for a production portal that includes Publisher, Collaboration, Studio, or Analytics.

### Configuration Optimized Equally for Content and Users

Host | Portal | Image Service | Automation Service | ALI API Service | Administrative Portal | Database Server | Document Repository Service | Search | Collaboration | Publisher | Studio | Analytics
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Host1 | X | X |  |  | X |  |  |  |  |  |  |
Host2 |  |  |  | X |  |  |  |  | X | X | X | X
Host3 |  |  | X |  |  |  |  | X |  |  |  |
Host4 |  |  |  |  |  | X | X |  |  |  |  |

###

### Configuration Optimized for a Large Amount of Content

Host | Portal | Image Service | Automation Service | ALI API Service | Administrative Portal | Database Server | Document Repository Service | Search | Collaboration | Publisher | Studio | Analytics
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Host1 | X | X |  | X | X |  |  |  | X | X | X | X
Host2 |  |  | X |  |  |  |  |  |  |  |  |
Host3 |  |  |  |  |  |  |  | X |  |  |  |
Host4 |  |  |  |  |  | X | X |  |  |  |  |

###

### Configuration Optimized for a Large Number of Users

Host | Portal | Image Service | Automation Service | ALI API Service | Administrative Portal | Database Server | Document Repository Service | Search | Collaboration | Publisher | Studio | Analytics
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Host1 | X | X |  |  | X |  |  |  |  |  |  |
Host2 | X | X |  | X |  |  |  |  |  |  |  |
Host3 |  |  |  |  |  |  |  |  | X | X | X | X
Host4 |  |  | X |  |  | X | X | X |  |  |  |

###