Oracle® Retail Demand Forecasting Installation Guide Release 14.1.2 E70806-01 |
|
Previous |
Next |
Before patching an CPEM domain, confirm that the necessary RPAS client, server and Configuration Tools patch updates have been successfully applied. Refer to the Oracle Retail Predictive Application Server Installation Guide for RPAS installation instructions.
Note: When patching an CPEM domain, you need the same -rf arguments of rpasInstall as a full install of the domain.For example: - |
Complete the following steps to patch your CPEM domain.
Extract the CPEM patch.
Create a directory to store the RDF/CPEM Media Pack on the target server. This directory will be referred to as [CPEM Installation]. It is the location where the CPEM installation routine is run.
Download the package from My Oracle Support (https://support.oracle.com
). Using FTP in binary mode, transfer the RDF/CPEM Media Pack to the [CPEM Installation] directory on the target server.
Extract the package to the folder [CPEM Installation] directory.
cd [CPEM Installation]
unzip [CPEM Package]
Extract the CPEM Installer.
cd CDROM
unzip CPEM.zip
Delete or rename old activities before running regeneration.
Locate the taskflow in the Configuration Tools.
In the Taskflow Manager, right-click on each taskflow and change the name for each one to include ”_old
”.
Using the Configuration Tools on a Windows machine, auto-generate the CPEMsolutions that are implemented.
It is necessary to open the configuration in the patched version of the RPAS Configuration Tools and autogenerate each of the existing solution extension configurations on a Windows machine. This auto-generation step is also required if you are making a change to your existing configuration of a CPEM solution.
Copy the configuration files to the domain server.
Copy the updated configuration files from the Windows machine to the domain server. The location on the domain server should have the same structure as the Windows machine used to autogenerate the solution extensions.
If you are using WinZip to archive the configuration files, you must use unzip -a
to unzip the archive on the UNIX server.
If you do not specify domain paths during the RPAS patching process, then run the RPAS upgradeDomain
utility.
For information on the upgradeDomain
utility, refer to either the Classic Client or Fusion Client version of the Oracle Retail Predictive Application Server Administration Guide.
To patch the CPEM domain:
Set $CPEM_HOME
export CPEM_HOME=$RPAS_HOME
Verify BSA/bsa folder exists within $RPAS_HOME/bin
Edit the following path parameters, then copy/paste entire section on the command line (selecting either patch or build).
Note: Run the script from the $RPAS_HOME/bin directory. For additional information about thebuildCPEM.sh parameters, refer to Table B-1. |
Note: The case for the script has changed frombuildcpem.sh and is now buildCPEM.sh . |
[Patch]
(m = # of maxProcesses) (p = indicates patchInstall)
buildCPEM.sh \
-c /configPath \
-i /inputPath \
-l /logPath \
-f patch_domain.log \
-d /domainPath \
-m 2 \
-p
[Build]
buildCPEM.sh \
-c /configPath \
-i /inputPath \
-l /logPath \
-f build_domain.log \
-d /domainPath \
-m 2
Table B-1 Flags Descriptions for buildCPEM.sh
Flag | Where: | Is the Path for the: | Default Value* |
---|---|---|---|
-c |
<config path> |
configurations |
$PWD/../config |
-i |
<input path> |
input files |
$PWD/../input |
-l |
<log path> |
log file |
$PWD/../ |
-d |
<domain path> |
domain |
$PWD/../domain |
-m |
<max process#> |
number of max processes for loading measures |
1 |
-f |
<log file > |
log file |
build_domain.log |
-p |
<make patch build > |
domain patching |
none |
-u |
<show usage of this script> |
show usage of this script |
none |
-n |
<configName> |
configuration name |
CPEM |
* Where $PWD is the current directory |
Note: The-r parameter which is supported for RDF and other applications, is unavailable for CPEM. |
CD to BSA log file path, then tail to verify running successfully:
/home/user/temp/logs
Verify that the rpasInstall script is called within the BSA log
CD to log file specified in script parameters, then tail to verify successful run:
$ tail -f patch_domain.log