Installing Email Engine remotely
This topic discusses remotely installing or upgrading Email Engine on the following platforms:
Remotely installing Email Engine on Microsoft Windows
Note
If you are creating a service where the Email Engine form and arx data are not present, follow these steps first:
- Import the AR_Email_Workflow.def file located in the AREmail folder, using BMC Remedy Developer Studio.
- Import the approval_templates.arx file located in the AREmail folder, using the BMC Remedy Data Import tool.
After following these steps, continue with the following procedure.
- Copy the Email Engine binaries to the AREmail folder.
For example:C:\Program Files\BMC Software\ARSystem\AREmail
. - Update or add the following entry in the logging.properties file, located in the lib folder where JRE is installed:
com.bmc.arsys.emaildaemon.level=SEVERE
- Update or add the following entries in the javamail.providers file, located in the lib folder where JRE is installed:
protocol=mbox; type=store; class="gnu".mail.providers.mbox.MboxStore;vendor=dog@gnu.org;
protocol=mapistore;type=store;class=com.bmc.mail.mapi.MAPIStore;vendor=mapi@bmc.com;
protocol=mapitransport;type=transport;class=com.bmc.mail.mapi.MAPITransport;vendor=mapi@bmc.com;
- Set the following entries in the EmailStart.bat file (Microsoft Windows), located in the AREmail folder:
set LIBVER=<BuildVersion>
For example,<BuildVersion>
=90_build002
set JavaPath=<BinPathOfInstalledJRE>
For example,<BinPathOfInstalledJRE>
=C:\Program Files\Java\jre7\bin - Set the following entry in the EmailStop.bat file (Microsoft Windows), located in the AREmail folder:
set JavaPath=<BinPathOfInstalledJRE>
For example,<BinPathOfInstalledJRE>
=C:\Program Files\Java\jre7\bin - Update or add the following entries to the EmailDaemon.properties file, located in the AREmail folder:
com.bmc.arsys.emaildaemon.servers=<ARServerHostName>
com.bmc.arsys.emaildaemon.<ARServerHostName>.TCP=<ARServerPort>
com.bmc.arsys.emaildaemon.<ARServerHostName>.RPC=<EmailEngineRPCPort>
com.bmc.arsys.emaildaemon.<ARServerHostName>.Language=en_US
com.bmc.arsys.emaildaemon.<ARServerHostName>.Password=<EncryptedARApplicationPassword>
com.bmc.arsys.emaildaemon.<ARServerHostName>.Interval=30
com.bmc.arsys.emaildaemon.<ARServerHostName>.Authentication=
- Create an empty logs folder under the AREmail folder.
- Open the command prompt and navigate to the AREmail folder.
- Create the Email Engine Service using the armaild.bat file, located in the AREmail folder.
- Pass the following arguments to the batch file in the specified sequence:
- Action: either "install" or "uninstall".
- The full path to the Java VM .dll file; that is, C:\Program Files\Java\jre7\bin\client\jvm.dll.
- The Email daemon installation directory where the libraries are located; for example, emaildaemon.jar,arapi90_build002.jar, and other .jar files).
- The AR library version; for example, 90_build002.
The AR Server name where the Email Engine is configured.
For example:
C:\Program Files\BMC Software\ARSystem\AREmail>armaild.bat install "C:\Program Files\Java\jre6\bin\client\jvm.dll" "C:\Program Files\BMC Software\ARSystem\AREmail" 90_build002 VW-PUN-REM-QA5L.bmc.comYou must run the command with administrator privileges; otherwise, the following error is displayed in the command prompt:
Error while checking to see if service is installed: Access is denied.
- Start the Email Engine service.
Remotely installing Email Engine on UNIX
Note
If you are creating a service where the Email Engine form and arx data is not present, follow these steps first:
- Import the AR_Email_Workflow.def file located in the AREmail folder, using BMC Remedy Developer Studio.
- Import the approval_templates.arx file located in the AREmail folder, using the BMC Remedy Data Import tool.
After following the preceding steps, continue with the following procedure.
- Copy the AREmail folder from the installed UNIX system to the other UNIX system. For example, the Email Engine Install Directory will be /opt/bmc/ARSystem/AREmail.
- Update or add the following entry in the logging.properties file, located in the lib folder where JRE is installed:
com.bmc.arsys.emaildaemon.level=SEVERE
- Update or add the following entries in the javamail.providers file, located in the lib folder where JRE is installed:
protocol=mbox; type=store; class="gnu".mail.providers.mbox.MboxStore;vendor=dog@gnu.org;
protocol=mapistore;type=store;class=com.bmc.mail.mapi.MAPIStore;vendor=mapi@bmc.com;
protocol=mapitransport;type=transport;class=com.bmc.mail.mapi.MAPITransport;vendor=mapi@bmc.com;
- Update the following entries to the EmailDaemon.properties file, located in the AREmail folder. For example,/opt/bmc/ARSystem/AREmail:
com.bmc.arsys.emaildaemon.servers=<ARServerHostName>
com.bmc.arsys.emaildaemon.<ARServerHostName>.TCP=<ARServerPort>
com.bmc.arsys.emaildaemon.<ARServerHostName>.RPC=<EmailEngineRPCPort>
com.bmc.arsys.emaildaemon.<ARServerHostName>.Language=en_US
com.bmc.arsys.emaildaemon.<ARServerHostName>.Password=<EncryptedARApplicationPassword>
com.bmc.arsys.emaildaemon.<ARServerHostName>.Interval=30
com.bmc.arsys.emaildaemon.<ARServerHostName>.Authentication=
- Update the following entries in the emaild.sh (UNIX) file, located in the AREmail folder:
JAVA_DIR=<HomePathOfInstalledJRE>
For example: /usr/jdk/jdk1.7.0_55/jreJAVA_BIN=<BinPathOfInstalledJRE>
For example: /usr/jdk/jdk1.7.0_55/jre/bin/sparcv9InstallPath=<EmailEngineInstallLocation>
For example: /opt/bmc/ARSystem/AREmailLIBVER=<BuildVersion>
For example: 90_build002
- Start the Email Engine service by running the
./emaild.sh start &
command.
Comments
Log in or register to comment.