OpenShift?
OpenShift is Red Hat’s Platform-as-a-Service (PaaS) that allows developers to quickly develop, host, and scale applications in a cloud environment. With OpenShift you have choice of offerings, including online, on premise, and open source project options.
Steps involved in install Oracle Endeca Commerce on Openshift
Creating a gear on Openshift
Installing Oracle ToolsAndFramework on gear
"$OPENSHIFT_DATA_DIR"cd/Disk1/install/runInstaller.sh ORACLE_HOSTNAME=127.156.121.31 -invPtrLoc "$OPENSHIFT_DATA_DIR"test/oraInst.loc -silent -waitforcompletion -responseFile "$OPENSHIFT_DATA_DIR"cd/Disk1/install/silent_response.rsp ORACLE_HOME_NAME=ToolsAndFrameworks ORACLE_HOME="$OPENSHIFT_DEPLOYMENTS_DIR"/endeca/ToolsAndFrameworks/ PASSWORD_VALIDATION="$1"
Make sure ORACLE_HOSTNAME is “OPENSHIFT_DIY_IP”, which can be found in .env folder of gear or use command “env | grep IP” and it will show OPENSHIFT_DIY_IP value.
3. Create a test directory at “$OPENSHIFT_DATA_DIR”
4. Create “oraInst.loc” file and add location
sh command.sh admin
“admin” is used a password for login to Endeca Experience Manager.
[endeca-demo.ose.dev.global.demo.org data]> sh command.sh admin Starting Oracle Universal Installer... Checking swap space: must be greater than 500 MB. Actual 7999 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-07-15_01-42-20PM. Please wait ...Oracle Universal Installer, Version 12.1.0.1.0 Production Copyright (C) 1999, 2013, Oracle. All rights reserved. You can find the log of this install session at: /var/lib/openshift/12d13141516m17p18s1920a2/app-root/data/test/logs/installActions2014-07-15_01-42-20PM.log For this silent installation it is assumed that you have read and accepted the license agreement located in /var/lib/openshift/12d13141516m17p18s1920a2/app-root/data/cd/Disk1/install/./license.txt. If this is not the case, please cancel this installation and read the licence agreement before resuming the installation. .................................................................................................... 100% Done. Loading Product Information ............................................................... 100% Done. Analyzing dependencies ............................................................... 100% Done. ----------------------------------------------------------------------------- Summary Global Settings Source: /var/lib/openshift/12d13141516m17p18s1920a2/app-root/data/cd/Disk1/stage/products.xml Oracle Home: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework (ToolsAndFrameworks) Installation Type: Complete Installation Product Languages English Space Requirements /var/lib/ Required 529MB : Available 193.80GB /tmp/ Required 226MB (only as temporary space) : Available 193.80GB New Installations (2 products) Oracle Commerce Tools and Frameworks With Experience Manager 11.0.0.0.0 Reference Applications 11.0.0.0.0 ----------------------------------------------------------------------------- Installation in progress (Tuesday, 05 August 2014 13:42:26 o'clock BST) ............................................................... 44% Done. ............................................... 78% Done. Install successful Linking in progress (Tuesday, 05 August 2014 13:42:43 o'clock BST) Link successful Setup in progress (Tuesday, 05 August 2014 13:42:43 o'clock BST) .........Checking Workbench Environment Settings Using ENDECA_TOOLS_ROOT: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0 Using ENDECA_TOOLS_CONF: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace Using CATALINA_HOME: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/apache-tomcat-7.0.42 Using CATALINA_BASE: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace Using JAVA_HOME: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/j2sdk Using JRE_HOME: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/j2sdk Using WORKING_DIR: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/state Using CATALINA_OPTS: -Xms256m -Xmx1024m -XX:MaxPermSize=512m -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true -Dcom.endeca.manager.endecaroot=/var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace Using JAVA_OPTS: -Djava.security.auth.login.config=/var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/Login.conf -XX:CompileCommand=exclude,org/apache/derby/impl/services/locks/LockControl,getLock -XX:CompileCommand=exclude,org/apache/derby/impl/services/locks/LockControl,addLock -XX:CompileCommand=exclude,org/apache/derby/impl/services/locks/LockControl,isGrantable -XX:+UnlockDiagnosticVMOptions -XX:-DisplayVMOutput -d64 Starting Workbench (background process) .Checking Workbench Environment Settings Using ENDECA_TOOLS_ROOT: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0 Using ENDECA_TOOLS_CONF: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace Using CATALINA_HOME: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/apache-tomcat-7.0.42 Using CATALINA_BASE: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace Using JAVA_HOME: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/j2sdk Using JRE_HOME: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/j2sdk Using WORKING_DIR: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/state Using CATALINA_OPTS: -Xms256m -Xmx1024m -XX:MaxPermSize=512m -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true -Dcom.endeca.manager.endecaroot=/var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace Using JAVA_OPTS: -Djava.security.auth.login.config=/var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/Login.conf -XX:CompileCommand=exclude,org/apache/derby/impl/services/locks/LockControl,getLock -XX:CompileCommand=exclude,org/apache/derby/impl/services/locks/LockControl,addLock -XX:CompileCommand=exclude,org/apache/derby/impl/services/locks/LockControl,isGrantable -XX:+UnlockDiagnosticVMOptions -XX:-DisplayVMOutput -d64 Stopping Workbench .. 100% Done. Setup successful Saving inventory (Tuesday, 05 August 2014 13:43:55 o'clock BST) Saving inventory complete Configuration complete End of install phases.(Tuesday, 05 August 2014 13:44:15 o'clock BST) The installation of Oracle Commerce Tools and Frameworks With Experience Manager was successful. Please check '/var/lib/openshift/12d13141516m17p18s1920a2/app-root/data/test/logs/silentInstall2014-07-15_01-42-20PM.log' for more details.
Install CAS on gear
sh cas11.0.0-Linux64_173709REL.sh --target /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/
[endeca-demo.ose.dev.global.demo.org data]> sh cas11.0.0-Linux64_173709REL.sh --target /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/ Content Acquisition System 11.0.0 install for x86_64pc-linux Copyright 2007, 2013, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. UNIX is a registered trademark of The Open Group. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing . U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivere d to U.S. Government end users are “commercial computer software” pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulation s. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Gove rnment. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently d angerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and it s affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services. Verifying archive integrity... All good. Uncompressing Content Acquisition System 11.0.0 for x86_64pc-linux ................ Please enter the port for the CAS service. The typical default is 8500. :2100 Please enter the shutdown port for the CAS service. The typical default is 8506. :18506 Creating the CAS service workspace. Configuring the CAS host and port in the workspace located at /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/endeca/CAS/11.0.0/bin/../../workspace Validating the ENDECA_TOOLS_ROOT location for the Workbench installation. is not a full path. Please enter a full path to an existing directory. : /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/ Validating the ENDECA_TOOLS_CONF location for the Workbench installation. is not a full path. Please enter a full path to an existing directory. : /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace ENDECA_TOOLS_ROOT is set to: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/. ENDECA_TOOLS_CONF is set to: /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace. Please enter the fully qualified name, including domain information, of the CAS server. :127.156.121.31 Installing casconsole.xml into /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/Standalone/localhost. Installing casconsole-infocenter.xml into /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/Standalone/localhost. Installing war files into /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0//server/webapps. Installing casconsole.properties into /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf. Installing CAS console into /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/ws-extensions.xml Backing up file /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/ws-extensions.xml to /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/ws-extensions.xml.07-15-2014-13-58 Installing CAS console into /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/ws-mainMenu.xml Backing up file /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/ws-mainMenu.xml to /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0/server/workspace/conf/ws-mainMenu.xml.07-15-2014-13-58 Installing casStubs.jar to /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0//reference/discover-data-cas/lib/casStubs.jar Installing casStubs.jar to /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0//deployment_template/app-templates/common/config/lib/java/casStubs.jar Installing casStubs.jar to /var/lib/openshift/12d13141516m17p18s1920a2/app-deployments/toolsandframework/11.0.0//reference/media-mdex-cas/lib/casStubs.jar CAS installation is complete. [endeca-demo.ose.dev.global.demo.org data]>
Installing MDEX on Gear
sh mdex6.5.0-Linux64_781329REL.sh --target /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/
[toolsandframeworks-demo.ose.dev.global.demo.org data]> sh mdex6.5.0-Linux64_781329REL.sh --target /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/ MDEX 6.5.0 install for x86_64pc-linux Copyright 2001, 2013, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. UNIX is a registered trademark of The Open Group. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, di stribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless req uired by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing . U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivere d to U.S. Government end users are “commercial computer software” pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulation s. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system , integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Gove rnment. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently d angerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any li ability for any damages caused by use of this software or hardware in dangerous applications. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affi liates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and it s affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services. About to extract 526508 KB in /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/. Available disk space in /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/: 191336352 KB. Uncompressing MDEX 6.5.0 for x86_64pc-linux......................................... Configuring Endeca MDEX 6.5.0 for x86_64pc-linux ..... Configuration of Endeca MDEX 6.5.0 for x86_64pc-linux done Please run the following command to set your environment variables: Bourne, Bash or Korn: source /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/endeca/MDEX/6.5.0/mdex_setup_sh.ini csh or tcsh: source /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/endeca/MDEX/6.5.0/mdex_setup_csh.ini [toolsandframeworks-demo.ose.dev.global.demo.org data]> source /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/endeca/MDEX/6.5.0/mdex_setup_sh.ini
Installing Platformservices on Gear
sh platformservices11.0.0-Linux64_781523REL.sh --target /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/
[toolsandframeworks-demo.ose.dev.global.demo.org data]> sh platformservices11.0.0-Linux64_781523REL.sh --target /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/ Endeca Platform Services 11.0.0 install for x86_64pc-linux COPYRIGHT Copyright 2001, 2013, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. UNIX is a registered trademark of The Open Group. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S. Government. This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications. This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services. Verifying archive integrity... All good. Uncompressing Endeca Platform Services 11.0.0 for x86_64pc-linux......... Configuring Endeca Platform Services 11.0.0 for x86_64pc-linux .... Configuring the Endeca installed Perl 5.8.3 on your environment. Configure the ports your Endeca Instance will utilize. Please enter the port number of the Endeca HTTP service. The typical default is 8888. : 27000 Please enter the shutdown port number of the Endeca HTTP service. The typical default is 8090. : 18090 Please enter the port number of the Endeca Control System JCD, or nothing if you do not plan to use a Control System environment. The typical default is 8088. : 18088 Would you like this installation configured to run the Endeca Application Controller (EAC)? (Y/N)? (Please note: this will also install the EAC Agent) : Y Please enter the root of your Endeca MDEX Engine installation. The root directory path typically includes the version number. Leave blank if there is no Endeca MDEX Engine installed. (default: /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/endeca/MDEX/6.5.0) : /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/endeca/MDEX/6.5.0 Would you like to install the reference implementations? (Y/N)? : Y Please run the following command to set your environment variables: Bourne, Bash or Korn: source /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/endeca/PlatformServices/workspace/setup/installer_sh.ini csh or tcsh: source /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/endeca/PlatformServices/workspace/setup/installer_csh.ini [toolsandframeworks-demo.ose.dev.global.demo.org data]> source /var/lib/openshift/53c7bec6982e97fc1d000052/app-deployments/endeca/PlatformServices/workspace/setup/installer_sh.ini
Configuring Oracle Endeca Commerce
Configure start/stop scripts
Open start script
Remove ruby references and add Oracle Endeca Commerce reference
#!/bin/bash # The logic to start up your application should be put in this # script. The application will work only if it binds to # $OPENSHIFT_DIY_IP:8080 nohup sh "$OPENSHIFT_DEPLOYMENTS_DIR"endeca/ToolsAndFrameworks/11.0.0/server/bin/startup.sh echo "Starting ToolsAndFrameworks" export ENDECA_ROOT="$OPENSHIFT_DEPLOYMENTS_DIR"endeca/PlatformServices/11.0.0/ export ENDECA_CONF="$OPENSHIFT_DEPLOYMENTS_DIR"endeca/PlatformServices/workspace/ nohup sh "$OPENSHIFT_DEPLOYMENTS_DIR"endeca/PlatformServices/11.0.0/tools/server/bin/startup.sh echo "Starting PlatformServices" nohup sh "$OPENSHIFT_DEPLOYMENTS_DIR"endeca/CAS/11.0.0/bin/cas-service.sh echo "Starting CAS"
Open stop script
#!/bin/bash source $OPENSHIFT_CARTRIDGE_SDK_BASH # The logic to stop your application should be put in this script. nohup sh "$OPENSHIFT_DEPLOYMENTS_DIR"endeca/ToolsAndFrameworks/11.0.0/server/bin/shutdown.sh echo "completed toolsandframeworks shutdown" export ENDECA_ROOT="$OPENSHIFT_DEPLOYMENTS_DIR"endeca/PlatformServices/11.0.0/ export ENDECA_CONF="$OPENSHIFT_DEPLOYMENTS_DIR"endeca/PlatformServices/workspace/ nohup sh "$OPENSHIFT_DEPLOYMENTS_DIR"endeca/PlatformServices/11.0.0/tools/server/bin/shutdown.sh echo "shutdown PlatformServices" nohup sh "$OPENSHIFT_DEPLOYMENTS_DIR"endeca/CAS/11.0.0/bin/cas-service-shutdown.sh echo "shutdown CAS" exit 0
Updating Endeca ToolsAndFramework
Update <Server port="<port>" shutdown="SHUTDOWN"> To <Server port="<port>" address="$OPENSHIFT_DIY_IP" shutdown="SHUTDOWN"> Here we are adding “OPENSHIFT_DIY_IP” to server shutdown Update <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000” maxPostSize="0" redirectPort="18446" URIEncoding="UTF-8"/> <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" maxPostSize="0" redirectPort="18446" URIEncoding="UTF-8"/> To <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" address=" $OPENSHIFT_DIY_IP" maxPostSize="0" redirectPort="18446" URIEncoding="UTF-8"/> <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" address="localhost" maxPostSize="0" redirectPort="18446" URIEncoding="UTF-8"/> Here we are doing port binding Update <Engine name="Standalone" defaultHost="localhost"> To <Engine name="Standalone" defaultHost="$OPENSHIFT_GEAR_DNS"> Here we are adding “OPENSHIFT_GEAR_DNS” to defaultHost Update <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> To <Host name="$OPENSHIFT_GEAR_DNS" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> Here we are adding “OPENSHIFT_GEAR_DNS”
– Edit “webstudio.properties”
# The host name of this Workbench instance com.endeca.webstudio.hostname=$OPENSHIFT_DIY_IP # This must be set to a non-SSL port, even if you are using the # SSL version of Oracle Commerce Workbench com.endeca.webstudio.port=$OPENSHIFT_DIY_PORT # The EAC Central Server that this Workbench uses com.endeca.webstudio.eac.hostname=$OPENSHIFT_DIY_IP com.endeca.webstudio.eac.port=27000
Updating Endeca PlatformServices
Update <Server port="<port>" shutdown="SHUTDOWN"> To <Server port="<port>" address="$OPENSHIFT_DIY_IP" shutdown="SHUTDOWN"> Here we are adding “OPENSHIFT_DIY_IP” to server shutdown Update <Connector port="27000" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" enableLookups="true" redirectPort="15443" acceptCount="10" connectionTimeout="60000" protocol="HTTP/1.1" disableUploadTimeout="true" URIEncoding="UTF-8"/> <Connector port="27000" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" enableLookups="true" redirectPort="15443" acceptCount="10" connectionTimeout="60000" protocol="HTTP/1.1" disableUploadTimeout="true" URIEncoding="UTF-8"/> To <Connector port="27000" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" enableLookups="true" redirectPort="15443" acceptCount="10" connectionTimeout="60000" address="$OPENSHIFT_DIY_IP" protocol="HTTP/1.1" disableUploadTimeout="true" URIEncoding="UTF-8"/> <Connector port="27000" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" enableLookups="true" redirectPort="15443" acceptCount="10" connectionTimeout="60000" address="localhost" protocol="HTTP/1.1" disableUploadTimeout="true" URIEncoding="UTF-8"/> Here we are doing port binding Update <Engine name="Standalone" defaultHost="localhost"> To <Engine name="Standalone" defaultHost="$OPENSHIFT_GEAR_DNS"> Here we are adding “OPENSHIFT_GEAR_DNS” to defaultHost Update <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> To <Host name="$OPENSHIFT_GEAR_DNS" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> Here we are adding “OPENSHIFT_GEAR_DNS”
– Edit “eaccmd.properties”
Update host=node9.ose.dev.global.demo.org port=27000 To host=127.156.121.31 port=27000
Updating Endeca CAS
Update <Call name="addConnector"> <Arg> <New class="org.mortbay.jetty.nio.SelectChannelConnector"> <Set name="port"><SystemProperty name="jetty.port" default="com.endeca.cas.ssl.por"/></Set> <Set name="maxIdleTime">600000</Set> <Set name="Acceptors">2</Set> <Set name="statsOn">false</Set> <Set name="confidentialPort"><SystemProperty name="com.endeca.cas.ssl.port" default="8505"/></Set> <Set name="lowResourcesConnections">5000</Set> <Set name="lowResourcesMaxIdleTime">5000</Set> </New> </Arg> </Call> To <Call name="addConnector"> <Arg> <New class="org.mortbay.jetty.nio.SelectChannelConnector"> <Set name="host"><SystemProperty name="jetty.host" default="127.156.121.31 "/></Set> <Set name="port"><SystemProperty name="jetty.port" default="16000"/></Set> <Set name="maxIdleTime">600000</Set> <Set name="Acceptors">2</Set> <Set name="statsOn">false</Set> <Set name="confidentialPort"><SystemProperty name="com.endeca.cas.ssl.port" default="8505"/></Set> <Set name="lowResourcesConnections">5000</Set> <Set name="lowResourcesMaxIdleTime">5000</Set> </New> </Arg> </Call>
Updating Endeca application
Connect kubernetes pod to a GCS bucket using JS
To connect from a Kubernetes pod to a Google Cloud Storage (GCS)…Easiest way to run an LLM locally on your Mac
I recently sought an efficient method for local experimentation with Language Model…EKS cluster using an existing VPC
The eksctl command line tool can create a cluster by either command-line options or…kubectl Unable to connect to the server
When working with Kubernetes if you are getting Unable to conntect to…
I’ve been surfing online more than 2 hours today, yet I never found any interesting article like yours.
It is pretty worth enough for me. Personally,
if all site owners and bloggers made good content as
you did, the internet will be much more useful than ever before.
Feel free to visit my blog wherever vegetation
Hi…Good work on Publishing this for the community….can you please let me know if you used OpenShift free account or a Paid account ?
-Naga
Used both Paid and free version of the software
Ok, Thanks. I asked this because OpenShift only gives like 3 Gears for free with less disk space on all of them, so when I tried installing Endeca before I came across your site, it just wasnt possible due to the disk space issue. Thanks anywsys.