The silent deployment script is useful if you want to add the deployment of the Discover reference application to an install script, or push out the deployment on multiple machines.

The syntax to run the silent deployment is the following:

On Windows: deploy.bat –-app <FULL_PATH_TO_DESCRIPTOR_FILE> --install-config <FULL_PATH_TO_RESPONSE_FILE> --no-prompt

On UNIX: deploy.sh –-app <FULL_PATH_TO_DESCRIPTOR_FILE> --install-config <FULL_PATH_TO_RESPONSE_FILE> --no-prompt

where the options have the following values. Note that both options are required.

To deploy the Discover Electronics reference application silently:

  1. Ensure that the Content Acquisition System is installed. (See the Endeca CAS Installation Guide.)

  2. Ensure that the CAS_ROOT environment variable is set.

  3. Ensure that the Oracle Tools Service is running.

  4. If you haven't already, create a directory for deployed Endeca applications, such as C:\Endeca\Apps on Windows, or /usr/local/endeca/apps on UNIX.

  5. If you have logged into the Oracle Commerce Workbench and changed the admin password, run the manage_credentials.bat script to update credentials in the credential store.

  6. In a text editor, create the response file and save it as cas_app_install_config.xml in the C:\Users\<myname>\Downloads\OCxmgr_installer<version>-win64\cd\Disk1\install directory.

    <install app-name="Discover">
        <deployment-path>/localdisk/endeca/apps</deployment-path>
        <options>
            <option name="eac-port">8888</option>
            <option name="workbench-port">8006</option>
            <option name="dgraph1Port">15000</option>
            <option name="authoringDgraphPort">15002</option>
            <option name="logserverPort">15010</option>
            <option name="casPort">8500</option>
            <option name="casRoot">/localdisk/endeca/CAS/11.3.0</option>
            <option name="jps-config-location">/localdisk/endeca/ToolsAndFrameworks/11.3.0/server/workspace/credential_store/jps-config.xml</option>
            <option name="application-export-directory">/localdisk/endeca/ToolsAndFrameworks/11.3.0/server/workspace/state/repository</option>
            <option name="authoring-application-export-directory">/localdisk/endeca/ToolsAndFrameworks/11.3.0/server/workspace/state/generation_data</option>
            <option name="language-code">zh-CN</option>
        </options>
    </install>
    

    The CAS-based version of the Discover Electronics Reference application is available in seven languages, with English as the default language.

  7. From a command prompt, navigate to the <installation path>\ToolsAndFrameworks\<version>\deployment_template\bin directory on Windows, or the equivalent path on UNIX..

  8. Run the deploy script and specify all the options described above.



Copyright © Legal Notices