Professional Documents
Culture Documents
Installation OS400 - Double Take - AS400 - IBM I
Installation OS400 - Double Take - AS400 - IBM I
6
May, 2008
Replicate1 Version 4.0.6 Installation Guide
Copyright Vision Solutions® , Inc. 1994–2008
All rights reserved.
The information in this document is subject to change without notice and is furnished under a license agreement. This
document is proprietary to Vision Solutions, Inc., and may be used only as authorized in our license agreement. No
portion of this manual may be copied or otherwise reproduced without the express written consent of Vision Solutions,
Inc.
Vision Solutions provides no expressed or implied warranty with this manual.
The following are trademarks or registered trademarks of their respective organizations or companies:
• Vision Solutions is a registered trademark and ORION, Integrator, Director, Data Manager, Vision Suite,
ECS/400, OMS/400, ODS/400, SAM/400, Replicate1, EchoCluster, EchoStream, and iTERA HA are trademarks
of Vision Solutions, Inc.
• DB2, IBM, i5/OS, iSeries, System i, System i5, Informix, AIX 5L, System p, System x, and System z, and
WebSphere—International Business Machines Corporation.
• Adobe and Acrobat Reader—Adobe Systems, Inc.
• Double-Take, GeoCluster, and NSI—NSI Software, Inc.
• HP-UX—Hewlett-Packard Company.
• Intel—Intel Corporation.
• Java, all Java-based trademarks, and Solaris—Sun Microsystems, Inc.
• Linux—Linus Torvalds.
• Microsoft and Windows—Microsoft Corporation.
• Mozilla and Firefox—Mozilla Foundation.
• Netscape—Netscape Communications Corporation.
• Oracle—Oracle Corporation.
• Red Hat—Red Hat, Inc.
• Sybase—Sybase, Inc.
• Symantec and NetBackup—Symantec Corporation.
• UNIX and UNIXWare—the Open Group.
All other brands and product names are trademarks or registered trademarks of their respective owners.
If you need assistance, please contact Vision Solutions’ SCP Certified CustomerCare team at:
CustomerCare
Vision Solutions, Inc.
Telephone: 1.630.282.8300
Email: mimixsupport@visionsolutions.com
Web Site: www.visionsolutions.com/Support/Contact-CustomerCare.aspx
Contents ...................................................................................................................iii
Introduction ..............................................................................................................1
Overview .................................................................................................................... 1
Sample Configurations ............................................................................................... 1
Setup .........................................................................................................................3
Overview .................................................................................................................... 3
Preparing your OS/400 Environment ......................................................................... 3
Preparing your DB2/400 Environment ........................................................................ 8
Upgrading ...............................................................................................................39
Upgrade Steps ......................................................................................................... 39
Replicate1 Director Steps ......................................................................................... 42
Monitoring and Control Steps ................................................................................... 43
Uninstalling ............................................................................................................. 45
Overview
The installation package includes the Replicate1 CD in DOS format. You can read the
Replicate1 CD in Windows environments that support the ISO-9660 standard for
CD-ROMs.
The package includes installation software and the following documentation:
• Documentation List
• Release Notes
• Installation Guide
• OS/400 Installation Guide (this guide)
• Getting Started Guide
• Advanced User Guide
• System Reference
• Support Policy
Use Adobe Acrobat® Reader to view documentation online and print it, if desired. If
you need to download a copy of Adobe Acrobat® Reader, go to:
http://www.adobe.com/products/acrobat/
If you need to contact Vision Solutions, you may need your customer number. If you
ordered software directly from Vision Solutions, your installation package should con-
tain a letter with your unique customer number. If you ordered software from a Vision
Solutions Product Provider, contact your provider for your customer number.
Sample Configurations
As described in the following sections, the location of the Replicate1 Director in your
system configuration is optional; the choice and placement of JDBC is not.
Overview
Before you can begin installation, you must prepare your environment as described in
the following sections:
• Preparing your OS/400 Environment
• Preparing your DB2/400 Environment
where offset is in the form +hhmm or -hhmm, that is, hours (maximum 24) and
minutes ahead of or behind UTC, respectively. A sample offset for New York, for
example, is -0500. Locations east of Greenwich are preceded by a positive sign
(+).
You can obtain the current GMT online by accessing the U.S. Naval Observatory
web site, for example, at:
http://tycho.usno.navy.mil
For more information about GMT in general, you can search on UT (universal
time) on the Astronomical Applications Department of the U.S. Naval Observatory
website:
http://aa.usno.navy.mil/AA
6. Create the file SystemDefault.Properties file.
SystemDefault.Properties is not supplied with your OS/400. Optionally, this
file may contain many defaults to be used by the Java Virtual Machine (JVM)
running under OS/400.
Use one of the following ways to create this file:
– On your PC workstation,
Add a network drive to the target iSeries server to the shared root directory
(folder).
Open the Java400 subdirectory, using, for example, Windows Explorer:
/QIBM/UserData/Java400
Click File > New > Text Document. Name the file SystemDefault.txt.
Rename the file to SystemDefault.Properties. Click OK when you
receive the warning message about changing the file extension.
– Alternately, you could create and rename the file on your Windows machine
and FTP it to the proper directory. Please make sure no file already exists
before doing this.
– You could also use an editor in the qsh window on the AS/400 to create or edit
and rename the file directly on the AS/400.
The SystemDefault.properties file must be in $Home directory of the user
doing install on OS/400. This file indicates what version of Java to use if the
version of Java is different than system default, as the following example shows:
os400.runtime.exec.mode=SHELL
java.version=1.4
Edit the SystemDefault.properties file to add the timezone property. Java
applications using timestamps require this timezone property since Java uses
QTIME, QUTCOFFSET, and the user.timezone property together.
– Open the file with the Windows-provided Notepad (or equivalent) editor
– Add the timezone statement, using the setting appropriate for your locale, for
example:
user.timezone=EST
7. Set up journaling.
One or more database tables can be journaled to each environment, and multiple
journal environments can exist at the same time on an individual OS/400
machines.
Note: Replicate1 does not support remote journals or dual receivers.
Note: The Replicate1 Change Selector is not able to open and read journal
records from a journal that has more than 2945 receivers. If this maximum
is ever exceeded, then the Change Selector terminates with MSS
CPF7053.
You must create or specify existing journals for:
– All replication source tables
Source tables are journaled to provide the records of the data changes that
Replicate1 captures for distribution to the target.
– All replication and copy target tables
Target tables are journaled to provide transaction control for committing or
rolling back a series of changes.
The tables must be journaled with before-images as well as after-images. In
addition to providing control for committing or rolling back, before-images are
required to detect distribution key changes and for data enhancement as well as
for collision reporting in protected replication.
To create a journal, you must first define or have available one or more journal
receivers and a journal message queue. Table 1 describes first the OS/400
commands to create a receiver and a message queue, followed by the command
to create a journal definition and to assign a table to the journal. The descriptions
include usage comments and related commands.DB2/400 databases support
logging of database transactions within a journal environment. The environment
includes a journal definition (*JRN object), one or more journal receivers (*JRNRCV
object), and a journal message queue (*MSGQ object).
Command Comment
CRTJRNRCV Creates a journal receiver (*JRNRCV object), the first of a series (chain) of physical
storage containers for the journal.
You must create a receiver before you create the journal definition object. The
receiver and journal may belong to different libraries.
Related commands:
DLTJRNRCV Deletes a journal receiver.
DSPJRNRCVA Displays journal receiver attributes.
CRTMSGQ Creates a journal message queue (*MSGQ object), a persistent queue attached to
the journal for receiving messages about the state of receivers.
You must create a message queue before you create the journal definition object.
Using QSYSOPR, the system message queue, is not recommended for Replicate1
distribution: its typical heavy usage makes it subject to operator maintenance that
risks loss of required data.
Related command:
DLTMSGQ Deletes a journal message queue.
CRTJRN Creates a journal definition (*JRN object), which contains management information
for the journal environment and associates the receiver(s) and message queue with
the journal.
It is recommended that you set the command option Manage receivers
(MNGRCV) to *SYSTEM (let the operating system change the receivers), and set
Delete receivers (DLTRCV) to *NO.
If this journal is for tables on a target-only DB2/400 server, journals are necessary
for commitment control only, and Replicate1 change management is not available.
You may want to specify *SYSTEM for Manage receivers and *YES for Delete
receivers.
Changes to user data are recorded as entries in the journal receiver, each of which
is identified by a sequence number. You can display the entries in the journal
receiver by issuing the DSPJRN command.
Related commands:
DLTJRN Deletes a journal definition object.
CHGJRN Changes a journal definition object. For example, attaches a new
receiver if receivers are user-managed and not system-managed.
WRKJRNA Works with journal attributes, including the files that are journaled
by the journal.
DSPJRN Displays journal entries in detail.
DSPOBJAUT Displays authorities.
GRTOBJAUT Grants authorities to an object.
STRJRNPF Starts journaling for a table (physical file) that is not currently being journaled.
Specify *BOTH for the Journal images option; this journals both before-images
and after-images of the changed data. *BOTH is not the default.
Do not assign a table to the QAUDJRN journal (the system audit journal) in the QSYS
library or to the Replicate1 metabase journal, if it exists.
Related command:
ENDJRNPF Ends journaling on a physical file.
Set up a journal on the source server and the target server, as described below:
– Prepare a journal on the source server.
For all DB2/400 tables from which you replicate data, you must create or have
available one or more journals and accompanying receivers.
A single journal is often sufficient for all the tables, but you can use multiple
journals. A unique Replicate1 process (DB2/400 Change Selector) reads each
journal. A table cannot be assigned to more than one journal.
You can create new journal objects or use existing ones. To create a new
journal object and assign tables to it, see Table 1 on page 6, which briefly
describes the basic OS/400 commands to do so.
The journal you use for your tables must be distinct from the journal that
Replicate1 creates for its metabase tables. For more information about the
metabase journal, see the Getting Started Guide.
If you use an existing journal:
• Do not use QSYS/QAUDJRN, the system audit journal.
• You may use a QSQJRN journal, a library’s default SQL journal, but be
aware that it can grow very large: all tables created within that library using
the SQL CREATE TABLE statement are automatically assigned to QSQJRN
(as long as the table creator has sufficient authority to write to the journal).
• Make sure the journal’s authorization is *ALL for those users who may
start or end journaling for tables that you want journaled.
• Special examples of this requirement are the user profiles that sign on to
OS/400 machines on sending and receiving server connections from
Replicate1 Director. To use the Replicate1 Director to journal tables for
you, the journals’ authorizations must permit access to these users. You
can use the OS/400 DSPOBJAUT command to display a journal’s
authorities, and the GRTOBJAUT command to grant authorities to a journal.
• Review the journal definition’s settings for change management and delete
management of journal receivers.
It is important that these receivers, which are the buffers that contain the
data-change records that Replicate1 captures and replicates, are not
deleted until some time after all their entries are captured and committed.
To help ensure this, assign the task (using the journal definition) of
changing receivers to IBM, and assign the task (using Replicate1 Director)
of deleting receivers to Replicate1.
Even if your site has an existing method of change management in place,
it is highly recommended that you assign delete management to
Replicate1 to safeguard the data to be replicated.
To display or change your journal’s definition, issue the CHGJRN command.
If the system is to do change management, set Manage receivers to
a. The checkbox label you select in Replicate1 Director when you retrieve that
object’s data from the DB2 system catalog into your Replicate1 model.
Internet Host
Opt Address Name
127.0.0.1 INTRA
LOOPBACK
LOCALHOST
Overview
Installing and using Replicate1 on an OS/400 system differs from installing and using
Replicate1 on another type of system because you must install a Change Selector.
Note: This guide gives the process for OS/400 only. See the separate Installation
Guide for other systems, even if you are using these systems to install
remotely onto the OS/400 system.
To run Replicate1 on OS/400, you must install the following:
• Replicate1 Director on each Windows host where modeling will be done
Replicate1 Director is the GUI modeling tool that runs on a Windows
NT/2000/XP/2003 host and is used to create and maintain an Enterprise Data
Movement Model (EDMM).
Refer to “Windows Installer” in the Installation Guide.
• DB2 Change Selector on the OS/400 platform whose database server is a source
of data movement
A DB2 Change Selector captures changed data on a DB2 database server. The
Change Selector must be installed before you install the Java components.
Refer to “The steps to install the Change Selector, described in detail in
subsequent pages, are as follow:” on page 15.
You must install the Change Selector before running the Java
Installer. An installation or reconfiguration modifies OMNIL and
needs a to write it.
• Java data movement components and Replicate1 Listener, on each host, whether
a source, target or intermediate host, that participates in data movement
These components collect and replicate data. Replicate1 Listener runs on each
host, initializes and communicates with the other data movement components on
the host and with client components.
Refer to “How to Install Replicate1” on page 17.
• Java client components on each host that will monitor and control data movement
Java client components monitor and control data movement. Replicate1 MonCon
is a GUI application and may be installed on Windows and UNIX. Replicate1
Console is a command-line application and may be installed on OS/400,
described in this guide, or on Windows, UNIX, and Linux, described in the
separate Installation Guide.
Refer to “How to Install Replicate1” on page 17.
• Delete journal receiver exit program on each iSeries source host that has an
Replicate1 installation library.
• Install one exit program on each iSeries source host that has an Replicate1
installation library, if you want Replicate1 to automatically delete journal receivers
once it is finished processing them.
Issue a green screen command to activate the exit program. Once the exit, which
is a standard executable iSeries program (ORDLTRCV *PGM), is copied into the
Omni install library, a user with *SECOFR privileges enables or activates it by
issuing the ADDEXITPGM at the green screen.
Note: When the Java Installer runs, it automatically issues the ADDEXITPGM
command if the appropriate box is checked.
Run the exit as OMNIENT. By default, the exit runs with QUSER authority, but
instead you should use an optional "program data" parameter in the
ADDEXITPGM command which enables the exit to run under the privileges of the
user name specified in the program data.
You must install the Change Selector before running the Java Installer.
The Change Selector is a process, that is, an executable component, used for replica-
tion on DB2 servers only. The Change Selector captures SQL row operation changes,
specifically INSERT, UPDATE, and DELETE in the context of an SQL transaction.
See the Getting Started Guide for more information on how the Change Selector
works and how the OMNIREP subsystem works.
The Change Selector is installed before the Java components. Install a Change
Selector on all OS/400 machines in your Enterprise Data Movement Model (EDMM)
that host DB2/400 source servers.
You may need the cooperation of a systems programmer, security administrator, DB2
administrator, and a network administrator.
Note: If you are upgrading the AS400 Change Selector installation from a Replicate1
version prior to V4.0.4, the Change Selector installation fails with V4.0.4 if the
*OMNIENT license code is bad or expired. To avoid this, issue the following
command from STRSQL on the OS/400:
DELETE FROM LAKEVIEW/LM0100P WHERE LMPROD LIKE ’O%’
The installation process includes unpacking the compressed installation library. Trace
information about the entire installation job is stored in a spool file (QPJOBLOG) in your
user output queue.
Important: You must install the Change Selector before running the Java Installer.
The steps to install the Change Selector, described in detail in subsequent pages, are
as follow:
1. Sign on.
2. Load the CD or Copy the STM file from the Replicate1 CD.
3. Install INSMMX, if not already installed.
4. Enter the INSMMX command to start the install.
5. Install License Manger, if not already installed.
6. Choose 1 Install/Upgrade.
7. Accept or choose new lnstallation Library name.
8. Press [Enter] to start the installation process.
9. Press [F12] to return to the command line.
Note: If it does not exist, the installation creates the OMNIENT user profile, which
owns all product executables. You must not use or modify the OMNIENT profile.
1. Sign on.
Use the QSECOFR user profile or a user profile that has security officer authority.
The end of the installation process automatically generates a job log. By signing
on just before starting the installation, you limit the job log to only the installation
process.
2. Load the CD or Copy the STM file from the Replicate1 CD.
• If you are installing from a CD, load the CD into the device and make the
device ready. Using the name of the device from which you are installing for
device-name, enter the following command:
LODRUN DEV(device-name)
Once completed go to Step 5.
• If you are copying the STM file, locate the STM file in the iseries folder on the
CD. The file name is:
<version number>.REP1.STM
Copy this file to the following location:
/replicate1/<version number>.REP1.STM
3. Install INSMMX, if not already installed.
Vision Solutions provides the Install MIMIX (INSMMX) tool in version 5 License
and Availability Manager for users that are installing from a streamfile (STMF).
The INSMMX tool simplifies the install process.
If either of the following conditions apply, you must obtain the tool manually during
the installation:
– You are using the STMF format for a new install, where License and Availability
Manager is not installed.
– You are using the STMF format to upgrade to version 5 from V4R4 service
pack SP070.00.0 or greater for the first time and License and Availability
Manager is not at version 5.
The INSMMX STMF and manual are on the CD in:
iseries/INSMMX
4. Enter the INSMMX command to start the install.
Issue the following command from the OS/400:
LAKEVIEW/INSMMX STMF('/replicate1/<version
number>.REP1.STM’) INSTLIB(*SELECT)
5. Install License Manger, if not already installed.
If you do not have a License Manager installed, you are prompted to install it when
you attempt to install the Change Selector. License Manager must be installed
before you install the Change Selector. If you have already installed License
Manager, go to Step 6.
See Table 3 on page 19 to access the License Manager Main Menu.
6. Choose 1 Install/Upgrade.
On the Lakeview Technology Common Install screen, input 1
Install/Upgrade in the Opt column next to Replicate1 and press Enter. For
online help, press F1 when the cursor is at the top of the display or, for a specific
option or item, press F1 when the cursor is on that option or item.
If you are installing multiple products, repeat Step 7 and Step 8 for each product.
9. Press [F12] to return to the command line.
You must install the Change Selector before running the Java
Installer. For more information see “The steps to install the Change
Selector, described in detail in subsequent pages, are as follow:” on
page 15.
– install.log
Along with the log file created during the installation, this file serves as a record
of the installation. Subsequent runs of the Installer attempt to locate this file.
Modes of Installation
You must choose whether the installation performs a full install or reconfigures an
existing installation and whether it is done in batch or interactive mode.
Full or reconfiguration
Full installation is a complete installation of all files.
Once Replicate1 has been installed, Reconfiguration is offered as a choice for all
changing parameters except the installation directory and the host where it is
installed.
Installation Files
Installing Replicate1 on a remote OS/400 host entails issuing OS/400 commands
from the Installer connected to the host as a client. The procedure involves doing a
binary transfer of a number of files to a target installation directory on the mainframe.
When the Installer is run remotely in this manner it runs on the host in the queue QUS-
RWRK under the user QUSER with a job name of QZRCSRVS.
The installation files, listed below, are packaged together in one file, named
install.zip. To list the contents of install.zip without unpacking, enter the fol-
lowing command:
jar tvf install.zip
File Description
omni.zip Replicate1 packaged into a .zip file
File Description
inetfactory.jar Library, provided by jScape, required for installation
networking tasks and for installing the Replicate1 Listener
start and kill scripts in the boot area
installer.jar Java Installer program for both the GUI and Batch Installer
programs
jt400.jar Library from IBM required for FTP installation tasks and
running Replicate1 after it is installed
JT400offbox.properties .properties file used if you use the remote hosting feature
described in the Getting Started Guide where you model a
remote OS/400 server on a Windows or UNIX host.
JTopen400.properties File used to enable FOR BIT DATA (OS/400 only translation
to treat binary data values as character values.
Described below are the GUI windows and the information requested for installing
Replicate1. The appearance of the window varies slightly depending on the platform.
The installation steps are as follow
1. Start the GUI installer.
When the originating host is UNIX, execute the GUI installer with the command:
sh ginstaller.sh
When the originating host is Windows, execute the command:
ginstaller.cmd
.
2. Click Next to display the Welcome window, in which you set constants for the
operating system.
Field Description
Host Defaults to the local machine. For remote install, enter the name or IP
address of the remote host.
Operating System Defaults to the operating system on the local machine. Select the operating
system type that matches the installing host machine.
User ID (Remote installs only) Enter the userid for logging on to the remote host.
User Password (Remote installs only) Enter the password for logging on to the remote
hosts.
4. Enter the path where the Java program is located, for example:
/qibm/proddata/java400
-or-
/qibm/proddata/java400/jdk14/
Note: For the Java installer, all paths specified during install should use the
forward slash,
Then click Next.
the installation and must be created in the AS/400 UNIX interface strqsh or
iSeries Navigator™ under the integrated file system “Root” structure.
The Browse button does not appear because this is a remote install. Click Next.
If you intend to have the system to delete receivers using the Delete Journal
Receiver exit program, check Install Delete Journal Receiver Exit Program and
specify the library in which it is to be installed. This exit program is described in
the Getting Started Guide chapter “OS/400 Journals.”
You must install one exit program for each Replicate1 installation library on each
iSeries source host where you want the journal receiver to be controlled by the
Delete Journal Receiver exit program.
Note: You are not required to have the system delete receivers. You could delete
the receivers manually or rely on another program (such as the MIMIX
Journal Manager) to delete the receivers.
Installation may fail to activate the Delete Journal Receiver exit program if the
user is not using a user profile that allows execution of this command on the
iSeries host to which you are connecting. However, if activation fails due to
privileges, the install will still continue and you can issue the ADDEXITPGM
command later to activate the exit program:
– After the exit program has been installed, check whether it was installed and
activated properly. You can issue the WRKREGINF command:
WRKREGINF EXITPNT(QIBM_QJO_DLT_JRNRCV)
Alternately, you can inspect the install.log.
– Then, if the exit was not enabled by the installer, issue the ADDEXITPGM. This
command should use the optional "program data" parameter so that you run
the exit as OMNIENT.
By default, the exit runs with QUSER authority, but instead you should run the
exit program under the privileges of the user name specified in the program
data:
ADDEXITPGM EXITPNT(QIBM_QJO_DLT_JRNRCV)
FORMAT(DRCV0100)PGMNBR(*LOW) PGM(OMNIENT/ORDLTRCV) PGMDTA(65535
10 OMNIENT)TEXT('Omni Delete Receiver exit')
Reconfiguration The command library fills in with whatever was set during the previous
installation or reconfiguration.
8. Select the database types that will participate in data movement on this recipient
host.
Then click Next.
Reconfiguration The database type selected is set according to what was chosen in
the previous install.
9. Normally, you would set the path for the JDBC driver. However, the JDBC driver
for OS/400 is automatically installed and does not require a driver path.
Click Next.
Reconfiguration The driver path contains the value provided in the previous install or
reconfiguration.
10. Specify an available TCP/IP port number for use by Replicate1 Listener. The
installer assumes the port is free if the port is not active.
Click Next.
Reconfiguration The port number contains the value specified in the previous
installation or reconfiguration.
When reconfiguring an installation, Replicate1 Listener must be shut
down prior to installing or the Installer assumes the port is in use by
another service.
11. The next window is used to specify the amount of memory in megabytes to use for
data movement. The minimum memory is the threshold at which the Java Virtual
Machine begins collecting allocated memory no longer referenced and setting the
memory as free and available. In the Max. Memory field, if you enter any other
value than *NOMAX, it is interpreted as a maximum memory setting.
Click Next.
Reconfiguration The memory minimum and maximum parameters contain the values
specified in fill in the previous installation or reconfiguration.
12. Select the Secure Socket Layer options to use in all network communications with
the recipient host.
Click Next.
Reconfiguration The SSL option selected is the one chosen in the previous installation
or reconfiguration.
13. The summary window reviews your selections. If correct, click the Install button. If
incorrect, click Back and make changes.
14. If the install is successful, you will receive the following successful message. Click
OK to close.
15. The final window shows the installation results. Click Finish to end the installation
process.
To run the batch installer, do the following steps, each of which is described in a
sub-section:
1. Create the host.list File containing entries for installing to one or more
hosts.
2. Create the <host_name>.properties File for each host listed in the host.list file
where HOSTNAME is the name of the host machine to install Replicate1.
3. Execute the Batch Installer.
Create the host.list File: Create the host.list file containing entries for
installing to one or more hosts.
The host.list file identifies one or more hosts on which to install Replicate1. The
file must be located in the current directory where the Installer is running. Below is a
sample host.list file:
remote=N
reconfigure=N
vector=UNIX
remote=Y
reconfigure=Y
mountain=OS400
This example asks the Batch Installer to install on two hosts:
• A local, initial full install onto the UNIX host named vector
• A remote, reconfigure install onto the OS/400 host named mountain
Keywords and input parameters may be in mixed case. The order of the input param-
eters is important. Comments are denoted by a ‘#’ in the first column of a line. Com-
ments are not allowed on the right side of a key=value property specification.
current directory where the installer is running. Below is a sample .properties file
named mountain.properties for the host named mountain:
# Sample OS400 install parameters file
# HOST_NAME is the name of the OS400 host to install
HOST_NAME=mountain
HOST_USER=rpuser
HOST_PASS=rpuser
JAVA_PATH=/usr/java/bin
INSTALL_CD=/common/users/rpuser/v405/
INSTALL_DIRECTORY=/common/users/rpuser/v405/OmniRep
LISTENER_PORT=1780
INITIAL_MEMORY=256
SSL_AUTH=N
SSL_ENCR=N
NUM_DRIVERS=0
COMMAND_LIBRARY=OMNICOMM
TARGET_ONLY=N
TRANSLATE_BINARY=N
INSTALL_JETTY=N
INSTALL_LIBRARY=OMNIENT
Keyword Description
HOST_NAME Network name or IP address of the host to be installed on.
JAVA_PATH Directory where the Java executables are located on the recipient host.
JAVA_PATH is required when installing to a remote host .
LISTENER_PORT TCP/IP port number to be reserved for Replicate1 Listener. Enter NONE
if the installer is to skip the installation of the data movement kernel and
Replicate1 Listener.
INITIAL_MEMORY Initial memory setting of the Java heap memory (default, 32).
On OS/400, the number specifies the threshold at which the Java Virtual
Machine begins collecting allocated memory no longer referenced and
setting the memory as free and available.
MAXIMUM_MEMORY If you enter any other value than *NOMAX, it is interpreted as a maximum
memory setting.
Keyword Description
SSL_AUTH Flag of either “Y” or “N” that indicates whether SSL authentication is to be
used. A “Y” value means that –Dssla will be passed to Replicate1
Listener.
SSL_ENCR Flag of either “Y” or “N” that indicates whether SSL encryption is to be
used. A “Y” value means that –Dssle will be passed to Replicate1
Listener.
INSTALL_CLIENT Flag of either Y for yes or N for No, indicating whether to install the
Replicate1 Console and Replicate1 Console tools.
INSTALL_LIBRARY Library where the Delete Journal Receiver exit program is to be installed.
This library MUST be the same as the Change Selector install library (for
example, OMNIENT). The Change Selector install library is specified on
the server Properties window.
Execute the Batch Installer: Once the input files, the host.list file and
<host_name>.properties file, are created, the next step is to run the batch
installer. The Installer always writes an “install.log” file in the current working
directory of the Installer. This detailed log documents the installation.
• When the originating host is UNIX, execute the Batch Installer with the command:
sh binstaller.sh
• When the originating host is Windows, execute the command:
binstaller.cmd
Overview
After installation, you begin modeling. Refer to the Getting Started Guide, which con-
tains information on the Change Selector and the OMNIREP subsystem.
Other topics of interest are described in the following sections:
• Licensing
• Starting Replicate1 Listener
• Stopping Replicate1 Listener
• Resizing DB2/400 Target Files for Replicate1 Console
• Reconfiguration
• Creating User Spaces
Licensing
You usually receive by email what you need to license Replicate1 in the form of a
license file.
If you are FTPing the licensing file, you must specify that it is binary. The initial instal-
lation may be done without the license file. It is, however, required before you can
commit a model. Rename this file to “omnilicense” and save it in every kernel
directory where Replicate1 components are installed. See the following example:
/home/V406/kernel/omnilicense
where omnilicense is the licensing file name.
Note: The license file has no extension.
Replicate1 automatically reminds you if your license is within 30 days of expiring. This
message displays at startup and at the beginning of each subsequent day.
The license file must be populated across all kernel directories in order for the data
movement components to work correctly. .
Note: If you do not have a license file in the kernel directory, you get an error that
contains the following:
2004-04-01 09:09:16,528 [main] ERROR:-Exception obtaining
Replicate1 license information=java.io.FileNotFoundException:
omnilicense (No such file or directory)
Replicate1 Listener has been terminated.
When Replicate1 deletes target records, the deleted record slot is not reused, so the
target file may grow to its maximum and cause Replicate1 to receive an error or hang
in a message wait state. Copy's default apply mode is the most likely to encounter this
problem, since it immediately deletes all specified target records before inserting their
copies.
Before using Replicate1, do one of the following:
• Adjust the size of any at-risk target files using the CHGPF SIZE(*NOMAX)
command.
• Create new target tables with SQL and not CRTPF.
Otherwise, you must monitor the target file sizes and use RGZPFM as necessary to
reorganize files to reclaim space.
Reconfiguration
In addition to doing a full install, you can reconfigure an existing installation. The steps
for running the GUI Installer or the Batch Installer are the same as for an initial, full
install. All parameter values may be changed except the recipient Host and the instal-
lation directory.
• The GUI Installer attempts to detect an existing installation of Replicate1 on the
installing host by creating a 'file' in a well-known writeable system directory. The
directory is the “temporary I/O” directory provided by the Java system property
java.io.tmpdir. The 'file' is either a link to the <host_name>.properties
file in the host installation directory, or a copy.
Table 7.
The Installer checks for the last installation done on the host being installed. It
does not check for Replicate1 installations on the same host done prior to the last.
It displays the parameter values specified on the prior install in all windows except
the initial window where the recipient host is defined.
• The Batch Installer reconfigures a host installation if the reconfigure keyword
parameter in the host.list file is Y.
Upgrade Steps
In general, use the following steps to upgrade the software when you are upgrading
from a previous 4.0.x release:
1. Stop the following:
– In a monitoring and control tool, stop the Change Selector. For example, In
Replicate1 MonCon, this is done in the Process view.
– In a monitoring and control tool, shut down the Replicate1 Kernel. For
example, in Replicate1 MonCon, this is done in the Process view.
– Stop the Replicate1 Listener. For more information, see “Stopping Replicate1
Listener” on page 36.
– Stop the omnirep subsystem by issuing the command:
ENDSBS SBS(OMNIREP) OPTION(*IMMED) DELAY(10)
2. Install into the existing OMNIENT library (recommended approach) as described
in Table 8. You do not need to modify the shadow tables in any way with this
approach. If you are reinstalling the product in an existing library, the installation
job replaces the objects that were initially installed but does not affect existing
logs, configuration files, or Replicate1 metabase files. The OEINST320 file in the
product library lists the objects that are installed.
Or, install into a separate OMNIENT library as described in Table 9.
The procedure for doing each of these is summarized in the following sections.
OS/400 command line 1. Execute the install command: Lakeview Technology Common
<driver name>/qinstecs Install screen displays.
OS/400 command line 1. Execute the install command: Lakeview Technology Common
<driver Name>/qinstecs Install screen displays.
Install Lakeview
Product screen
c. Import rpv4methods.rsl.
You will receive an error for each existing method; these may be ignored. The
list of messages is output in a text file since it is too long to be displayed in a
single window.
Any new data enhancement methods are imported into the model.
Note: If you are using a model that was defined using 3x and if you do not
have any V4 servers, you would not see any V4 methods.
3. Install the metabase. If you receive a message asking if you want to go from 40A
to 40B, respond Yes.
4. Perform a full commit of the model to take advantage of the latest features of the
new release.
– Right click on the Model or Host branch.
– Select Full Commit.
Uninstalling does not remove user-created files, such as models and logs.
Use the following procedure to remove Replicate1 on a computer using OS/400.
Overview
This section provides reference material related to the OS/400.
The principal topics in this section are:
• Product-level Security
• Changing or Displaying Messaging Defaults
• Changing the Product Library for Selected Object Types
• Converting Stream Files and Save Files
Product-level Security
Product-level security allows an administrator to limit product access. An administra-
tor can set a default authority level for *PUBLIC users and control access to levels of
function by setting authority levels for specific user profiles. For these authority levels
to take affect, product-level security must be turned on. Note the following:
• The user profile you use to perform these procedure must have *ADM authority to
License Manager.
• The change does not affect users running functions until the next time they access
a function that product-level security protects.
• To display authorized user profiles for a product library, see “Changing Authority of
User Profiles” on page 50.
• For information about granting, revoking, or changing an authority level for a user
profile, see “Changing Authority of User Profiles” on page 50.
Lakeview Technology 1. Input 9 next to the License License Manager Main Menu
Installed Products Manager product in the displays.
screen library you want.
2. Press [Enter].
Lakeview Technology 1. Type 31 (for Grant Product Grant Product Authority screen
Installed Products Authority) next to the product displays.
screen library you want.
2. Press [Enter].
Grant Product Authority 1. Specify the name of the user Authority is granted to the user profile.
screen profile for which you are
granting authority.
2. Specify the highest authority
level that you want the user
profile to access. See
Table 12.
To set a default value for all
user profiles, specify
*PUBLIC.
3. Press [Enter].
*MGT Management rights Authorizes the user profile to functions that creates or
changes the configuration of the product. This
authorization level also has *OPR and *DSP rights.
*OPR Operational rights Authorizes the user profile to functions that controls the
operation of the product, such as starting or stopping
readers and reissuing failed requests. This authorization
level also has *DSP rights.
*DSP Display rights Authorizes the user profile to use menus and other
display functions.
*EXCL Exclude Prevents the user profile from accessing the product.
Use the method in Table 13 to grant authority to a user profile to all products in the
library or if you know the product library.
Table 13. Granting authority to a user profile for all products in the library
Grant Product Authority 1. Specify the type of product Authority is granted to the user profile.
screen and the name of the library to
which you want to grant
access.
2. At the User profile prompt,
specify the name of the user
profile to which you are
granting authority.
3. At the Authority level prompt,
specify the highest level you
want the user profile to
access.
4. Press [Enter].
Lakeview Technology 1. Enter 5 (for Display Product Display Product Authority lists user
Installed Products Authority) next to the product profiles that have access to this product
screen libraries that you want. library with an “X” in the column for
2. Press [Enter]. which the user profile has been
authorized. The entry for *PUBLIC
indicates the authority of all user
profiles that are not explicitly listed.
Use the method in Table 15 if you know the name of the product library or want to
change all products in the library.
Lakeview Technology 1. Enter 32 (for Revoke Product Revoke Product Authority screen
Installed Products Authority). displays.
screen 2. Press [Enter].
Revoke Product 1. Specify the name of the user Authority level change is revoked.
Authority screen profile for which you are
revoking authority.
2. Specify the authority level that
you want to revoke.
3. Press [Enter].
Use the method in Table 17 to revoke authority to all products in the library or if you
know the name of the product library.
Revoke Product 1. Specify the type of product Authority level change is complete.
Authority screen and the name of the library to
which you want to revoke
access.
2. At the User prompt, specify
the user profile from which you
are revoking authority.
3. Press [Enter].
Use the method in Table 18 to re-grant the authority to a user profile on one or more
product libraries or if you do not know the name of the product library.
Lakeview Technology 1. Type 30 next to the product Change Product Level Security
Installed Products libraries that you want. displays.
screen Note: If you select multiple
product libraries, you see
the Change Product
Level Security display for
each of the libraries you
select.
2. Press [Enter].
Change Product Level 1. Specify the value you want for Authority level change is complete.
Security screen product-level security at the
State prompt.
2. Press [Enter].
Change License Mgr 1. Specify the value you want for Change License Manager Messaging
Messaging the Product prompt. displays with the current settings for all
(CHGLMMSG) screen 2. Press [Enter]. libraries that contain this product.
Change License Change the default values for all Message handling change is complete.
Manager Messaging libraries containing the specified
screen product.
1. For the Enable message
handling prompt, specify
whether to send warning
messages to the specified
message queues when the
access code is about to
expire.
2. For the Enable on new access
code prompt, specify whether
to enable message handling
when the access code is
updated.
3. Specify the number of days
before expiration to begin
sending warning messages in
the Days before expiration
prompt.
4. Specify the name and library
of the primary message queue
to which to send warning
messages.
5. Specify the name and library
of the secondary message
queue to which to send
messages. If you do not want
to have messages sent to a
secondary message queue,
specify *NONE.
6. Press [Enter].
Change Product 1. Specify the name of the library Product library type changes are
Library (CHGPRDLIB) that contains the objects to be complete.
screen changed.
This value is also used as the
name of the product library.
2. Specify which type of object to
change.
3. Press [Enter].