Customer Relationship Management 6.7.2
>
Install Guide
>
Installation
>
Deploying QAD CRM
>
Copying QAD Backend Programs on the Application Server
Copying QAD Backend Programs on the Application Server
1 On the QAD CRM AppServer machine, create the folder <QADERPInstallDir>/qadcrm/<environment name>; for example: /qadea/qadcrm/prod
2 Create the following subdirectories under qadcrm/<environment name>:
• system
• dataexch
• progs
• report
• triggers
• integration\mfgpro
3 Copy programs to respective folders on your CRM AppServer environment that you have just created:
Copy the source code files, which are copied in QADCRMInstallDir\Webclient\backend folder as a result of splitting the CRM frontend and backend code in the previous section, to respective folders on your CRM AppServer environment. For example:
|
Copy source code files from the directory...
|
... to this directory
|
|
QADCRMInstallDir\Webclient\backend\dataexch
|
qadcrm/prod/dataexch
|
|
QADCRMInstallDir\Webclient\backend\integration\ mfgpro
|
qadcrm/prod/integration/mfgpro
|
|
QADCRMInstallDir\Webclient\backend\progs
|
qadcrm/prod/progs
|
|
QADCRMInstallDir\Webclient\backend\report
|
qadcrm/prod/report
|
|
QADCRMInstallDir\Webclient\backend\system
|
qadcrm/prod/system
|
|
QADCRMInstallDir\Webclient\backend\si
|
qadcrm/prod/si
|
|
QADCRMInstallDir\Webclient\backend\triggers
|
qadcrm/prod/triggers
|
Copy QADCRMInstallDir\Webclient\backend\si to your QAD CRM si folder in your AppServer environment. You do not need to compile the files in this QAD CRM si folder; these files are only required to support compilation of some other CRM backend programs.
Note: If the AppServer is installed on UNIX/Linux, use FTP or WinSCP to copy the programs.
After you copy the source program files, compile them in your AppServer environment; see
Compiling QAD CRM Backend Programs on the Application Server.
Compiling QAD CRM Backend Programs on the Application Server
1 Create a copy of your QAD CRM AppServer parameter file (.pf) file qadcrmparam_as.pf; for example, name it qadcrmcompile.pf.
Note: If you are integrating QAD Enterprise Applications with QAD CRM, you need to modify the qadcrmcompile.pf file to include connections to all the QAD Enterprise Applications databases.
2 Specify the following additional parameters in this file:
-p _comp.p -inp 32000
3 Create a compile script file to start the CRM application compiler with the above parameter file and the parameters below:
a Set following environmental variables:
DLC=ProgressInstallDir;export DLC
PATH=$DLC/bin:$PATH;export PATH
PROMSGS=$DLC/promsgs;export PROMSGS
PROTERMCAP=$DLC/protermcap;export PROTERMCAP
PS1='$$ ';export PS1
b Include the following in the PROPATH, and make sure you include the command Export PROPATH in your script:
QADERPInstallDir/xrc
QADERPInstallDir/qadcrm/prod/si/xrc
QADERPInstallDir/qadcrm/prod
QADERPInstallDir/qadcrm/prod/system
QADERPInstallDir/qadcrm/prod/dataexch
QADERPInstallDir/qadcrm/prod/progs
QADERPInstallDir/qadcrm/prod/report
QADERPInstallDir/qadcrm/prod/triggers
QADERPInstallDir/qadcrm/prod/integration/mfgpro
Note: The suggested PROPATH assumes that you are integrating QAD Enterprise Applications with QAD CRM. If you are installing QAD CRM as a stand-alone system that runs on a Linux AppServer backend, you can omit the following two PROPATH values:
QADERPInstallDir/xrc
QADERPInstalldir/qadcrm/prod/integration/mfgpro
c If you are using QAD 2011 EE above, add the following directories to the PROPATH:
QADERPInstallDir/xrc/us/bbi
QADERPInstallDir/xrc/us/so
QADERPInstallDir/xrc/us/px
QADERPInstallDir/xrc/validation
QADERPInstallDir/xrc/us/mf
QADERPInstallDir/xrc/us/fs
QADERPInstallDir/xrc/us/pp
QADERPInstallDir/xrc/us/gp
d Set Terminal type as per your environment.
e Start Progress client with parameter file:
<progress path>/bin/_progres -s 128 -pf <compile>.pf -cpinternal <codepage> -cpstream <codepage stream>
Example:
/dr01/progress/dlc/bin/_progres -s 128 -pf
QADERPInstallDir/qadcrm/qadcrmcompile.pf -cpinternal ISO8859-1 -cpstream ISO8859-1
4 Select the following directories to compile with program types *.p, *.cls,*.w :
• QADERPInstallDir/qadcrm/prod/system
• QADERPInstallDir/qadcrm/prod/dataexch
• QADERPInstallDir/qadcrm/prod/progs
• QADERPInstallDir/qadcrm/prod/report
• QADERPInstallDir/qadcrm/prod/triggers
• QADERPInstallDir/qadcrm/prod/integration/mfgpro
Note: You do not need to compile the files in this QAD CRM si folder. You can also leave out the directories QADERPInstallDir/qadcrm/prod/integration/mfgpro if you are not about to integrate QAD CRM with QAD Enterprise Applications.
5 Choose the Start Compile option. When compilation is complete, check the compilation log to make sure all the programs are compiled correctly.