You must create a separate buildmaximoear.cmd file for each cluster. When you run the separate buildmaximoear.cmd files, you create a separate EAR file for each cluster.
The install_home variable represents the installed location of the Maximo® Asset Management folder, which by default is ibm\SMP\maximo.
copy /Y install_home\applications\maximo\properties\maximocluster.properties install_home\applications\maximo\properties\maximo.properties
For example, for the user interface cluster, you add the following shell commands:
copy /Y install_home\applications\maximo\properties\maximoui.properties install_home\applications\maximo\properties\maximo.properties
copy /Y install_home\applications\maximo\mboejb\ejbmodule\meta-inf\ejb-jarcluster.xml install_home\applications\maximo\mboejb\ejbmodule\meta-inf\ejb-jar.xml
For example, for the user interface cluster, you add the following shell commands:
copy /Y install_home\applications\maximo\mboejb\ejbmodule\meta-inf\ejb-jarui.xml install_home\applications\maximo\mboejb\ejbmodule\meta-inf\ejb-jar.xml
copy /Y install_home\applications\maximo\mboejb\ejbmodule\meta-inf\ibm-ejb-jar-bndcluster.xmi install_home\applications\maximo\mboejb\ejbmodule\meta-inf\ibm-ejb-jar-bnd.xmi
For example, for the user interface cluster, you add the following shell commands:
copy /Y install_home\applications\maximo\mboejb\ejbmodule\meta-inf\ibm-ejb-jar-bndui.xmi install_home\applications\maximo\mboejb\ejbmodule\meta-inf\ibm-ejb-jar-bnd.xmi
copy /Y install_home\applications\maximo\mboejb\ejbmodule\meta-inf\weblogic-ejb-jarcluster.xml install_home\applications\maximo\mboejb\ejbmodule\meta-inf\weblogic-ejb-jar.xml
For example, for the user interface cluster, you add the following shell commands:
copy /Y install_home\applications\maximo\mboejb\ejbmodule\meta-inf\weblogic-ejb-jarui.xml install_home\applications\maximo\mboejb\ejbmodule\meta-inf\weblogic-ejb-jar.xml
set EAR_FILENAME=maximoui.ear
When you run the build script to build the EAR file, the
resulting EAR file is named maximoui.ear.