Oracle eMail Server Installation Guide Release 5.2 for Sun SPARC Solaris 2.6 Part Number A88649-01 |
|
This chapter describes the preinstallation procedures for eMail Server.
This chapter contains these topics:
eMail Server is a highly scalable messaging framework that provides complete messaging services. Prior to installation, you should plan your implementation strategy and be familiar with eMail Server system components, concepts, and terminology.
The installation process is composed of the following steps:
acme.com
as opposed to us.acme.com
and uk.acme
.com, for instance)
root.sh
script.
Once you have verified the installation, refer to the Oracle eMail Server Administration Guide for instructions on how to configure, maintain, and optimize eMail Server.
You must have the following items to install eMail Server:
This section describes the following:
For each server identified in your implementation strategy (node, dedicated protocol server, LDAP server, test system), you must determine the following hardware requirements:
The metric for CPU usage is the number of SPECint_rate95 points used during steady state activity. SPECint_rate95 is a benchmark designed to measure the possible throughput of integer calculations for a given system and is applicable for this database application.
The following rates are the SPECint_rate95 demands needed for the different eMail Server processes for 1000 users at sample light, medium, and heavy workloads.
Process | Corporate | ISP |
---|---|---|
Oracle8i Database Server |
260 |
120 |
IMAP4 |
80 |
40 |
POP3 |
20 |
12 |
SMTP/MIME Gateway processes |
80 |
45 |
Total demands |
440 |
217 |
The memory required for the background processes for Oracle8i Database Server and the eMail Server depend on the configuration of the database, features selected for eMail Server, and the number of concurrent users to be supported. The following table illustrates the memory usage for the base installation and the incremental memory demands as the work load increases.
Process | Base Memory Demand (MB) | Incremental Memory Demand Per User (MB) |
---|---|---|
UNIX OS |
30 MB |
5 MB per 1000 connected IMAP4 clients |
(if launched) |
15 MB |
0 |
Oracle8i Database Server + static IM background processes |
50 MB |
0 |
Database buffer Cache |
20 MB |
10 MB per 1000 usersFoot 1 |
SGA |
10 MB |
4.5 MB per 1000 users |
Database connections |
0 |
15 MB per 1000 usersFoot 2 |
Postman processes |
4 MB |
2 MB per 1000 users |
IMAP4 process |
10 MB |
120 MB per 1000 usersFoot 3 |
POP3 process |
10 MB |
5 MB per 1000 usersFoot 4 |
Sendmail and ofcuto |
2 MB |
23 MB per 1000 users connectedFoot 5 |
SMTP/MIME Gateway process |
10 MB |
3.5 MB per 250 users |
Consider the following factors when determining the disk requirements for an eMail Server:
See your operating system, application, and system maintenance documentation for information on the first three factors.
eMail Server Release 5.2 with Oracle 8.1.7 |
750 MB |
Oracle SPS Tier |
255 MB |
Oracle Email Administration |
44 MB |
The following tablespaces are required for an eMail Server system. Sizing information is based on a configuration where eMail Server is the only application.
SYSTEM |
40 MB minimum |
TOOLS |
default |
USERS |
default |
RBS (rollback) |
20 MB minimum |
TEMP |
5 MB + (100Kb * number of users) |
OFC_MAIN |
10 MB (minimum) |
OFC_INDS |
(size of OFC_MAIN) * 0.4 |
OFC_MESG |
5 MB + (quota * number of users) |
OFC_INDB |
(size of OFC_MESG) * 0.1 |
The number of disk I/O operations per second that a device can handle is highly dependent upon the types of disks, number of controllers, if RAID is used or any other striping strategy and the mix of I/O requests on the device. In general a modern single SCSI II drive can handle 40 disk I/O operations per second.
The following estimates show the number of disk I/O operations per second. Add disks to the hardware configuration to reduce the disk I/O operations per second on each disk.
Process | Corporate | ISP |
---|---|---|
Oracle8i Database Server |
105 |
45 |
IMAP4 |
2 |
2 |
POP3 |
2 |
2 |
SMTP/MIME Gateway processes |
60 |
20 |
Total I/O's per second |
169 |
69 |
The following estimates show average network bandwidth requirements for 100 users. These numbers should be added to the values for the existing network usage.
User profile | Bandwidth on Middle Tier | Bandwidth on Database Tier |
---|---|---|
ISP |
2.9 Mbps |
1.2 Mbps |
Corporate |
4 |
1.8 |
eMail Server requires the following software components and associated versions:
Perform the following preinstallation tasks described in this section to prepare for eMail Server installations and upgrades:
Perform a full backup of your existing Oracle8i Database Server before you perform any new installation or upgrade. A full backup ensures that you can recover from errors encountered during new installation or upgrade processes.
This backup should be performed with the database shut down cleanly. If you use SHUTDOWN IMMEDIATE or SHUTDOWN ABORT to force users off the system, be sure to restart the database in restricted mode, and then shut it down with normal priority.
For upgrades, also back up:
eMail Server requires reconfiguration of specific database parameters. Before starting this configuration, shut down the network listener and the database, and configure the init.ora
file located in the $ORACLE_HOME/dbs
directory.
% lsnrctl stop
% sqlplus Enter user-name: internal Connected. SQL> shutdown SQL> exit
init.ora
file, use the text editor to add or enable the following entry:
utl_file_dir = $ORACLE_HOME/office/log
Use the text editor to edit the init
sid
.ora
file located in the $ORACLE_HOME/dbs
directory to reflect the following minimum values for the following parameters.
Set the UNIX environment variables required to install and run eMail Server components. Add these settings to a .cshrc
(C shell) or .profile
(Bourne or Korn shell) for the eMail Server database owner.
root
user. Use the text editor to add the following two lines to the end of the system
file located in the /etc
directory if they do not already exist:
set rlim_fd_max=1024 set rlim_fd_cur=1024
This increases the file descriptor limit, which increases the maximum number of clients associated with each server.
ulimit
(Bourne or Korn shell) or limit
(C shell) to unlimited
to allow the root.sh
postinstallation script to complete without errors. Run the command appropriate for your shell environment to set the maximum file size that can be created on your machine.
See the UNIX man pages for more information on ulimit
and limit
.
Define the $ORACLE_HOME
environment variable in the .login
file (for the C shell) or the .profile
file (for the Bourne or Korn shell):
|
setenv
|
|
|
Execute the .profile
or .login
file.
Define the $ORACLE_BASE
environment variable in the .login
file or the .profile
file as the parent directory of the Java runtime environment that is shipped with the $ORACLE_HOME
database.
|
setenv $ORACLE_BASE directory_name |
|
$ORACLE_BASE=directory_name export $ORACLE_BASE |
In C shell, set DISPLAY as follows:
% setenv DISPLAY hostname
:0.0
In Bourne or Korn shell, set DISPLAY as follows:
$ DISPLAY=hostname
:0.0;export DISPLAY
xhost
, while physically located on the host machine, is set to enable access to the X server on your machine. Use the following command:
% /usr/openwin/bin/xhost + access control disabled, clients can connect from any host
See the UNIX man pages for more information on xhost
.
Start the database as follows:
%sqlplus
Enter user-name:internal
Connected to an idle instance. SQL>startup
SQL>exit
Start the network listener:
% lsnrctl start
If you are installing a DCN or Member node, configure Net8 to enable the new node to connect to the host server.
The following are methods for configuring Net8:
Use an Oracle Names server to simplify the setup and administration of global client/server computing networks by maintaining a central directory of service names for all the services on the network.
If you are not using an Oracle Names Server, then you must add entries to the tnsnames.ora
configuration file.
tnsnames.ora
file in the $ORACLE_HOME/network/admin
directory.
connect_string
= (DESCRIPTION= (ADDRESS=( PROTOCOL= TCP)(HOST=host_server_name
)(PORT= 1521)) (CONNECT_DATA= (SID=sid
)))
Follow these guidelines when adding entries:
tnsnames.ora
file must contain an entry for each eMail Server node to which you want to connect.
tnsnames.ora
file should be copied to each node that will be part of the network configuration.
The following is an example:
host1,io1,host1.us.oracle.com,io1.us.oracle.com = (DESCRIPTION = (ADDRESS = (PROTOCOL= TCP) (HOST= iosun-test1.us.oracle.com)(PORT=1521)) (CONNECT_DATA = (SID= io1)))
tnsnames.ora
file:
% tnsping host
% lsnrctl start
listener.ora
and tnsnames.ora
files are automatically configured during the installation of an Oracle database. They are located in the $ORACLE_HOME/network/admin
directory.
Verify that the listener.ora
file contains entries for an IPC key EXTPROC and a SID PLSExtProc.
(KEY=EXTPROC) (SID_NAME=PLSExtProc)
Verify that the tnsnames.ora
file contains an entry for
EXTPROC_CONNECTION_DATA which uses the IPC key EXTPROC and SID PLSExtProc.
Change the BEQUETH_DETACH variable setting in the sqlnet.ora
file to facilitate cleanup of defunct UNIX processes associated with eMail Server as follows:
|
Copyright © 1996-2001 Oracle Corporation. All Rights Reserved. |
|