Configuring the server deployment settings

Configure your server deployment settings before running the server deployment script. These settings consist of important information like software installation paths and key information about your WebSphere Commerce server.

About this task

General rules that apply to the configuration of the settings files:
  • WindowsPaths in batch files should use the backward slash '\' as the file separator
  • LinuxAIXFor IBM i OS operating systemPaths in shell scripts should use the forward slash '/' as the file separator.
  • Paths in properties files should use the forward slash '/' as the file separator, even for Windows systems.
  • WindowsClasspaths in batch files should use semicolons ';' as entry separators.
  • LinuxAIXFor IBM i OS operating systemClasspaths in shell scripts should use colons ':' as entry separators.
Tip: To save time when configuring a new server deployment package, you can provide the following assets, and include them in WCBD_installdir/deploy/server on the build system:
  • a fully or partially preconfigured, static web assets deployment Ant script
  • a WebSphere Commerce configuration file synchronization Ant script
  • target-specific properties files

These assets are included in the server deployment package, thereby reducing the amount of configuration required.

Procedure

  1. Windows Copy WCBD_deploy_server_dir/wcbd-setenv.bat.template as WCBD_deploy_server_dir/setenv.bat.
  2. LinuxAIXFor IBM i OS operating system Copy WCBD_deploy_server_dir/wcbd-setenv.template as WCBD_deploy_server_dir/setenv.
  3. Copy WCBD_deploy_server_dir/wcbd-deploy.private.properties.template as WCBD_deploy_server_dir/deploy-target-env.private.properties, where target-env is an identifier for the target environment.
  4. Copy WCBD_deploy_server_dir/wcbd-deploy.properties.template as WCBD_deploy_server_dir/deploy-target-env.properties.
  5. LinuxAIXFor IBM i OS operating system Change the file permissions with the following commands:
     chmod 750 WCBD_deploy_server_dir/setenv
     chmod 640 WCBD_deploy_server_dir/deploy-target-env.*
  6. Windows Open WCBD_deploy_server_dir/setenv.bat with a text editor and set the following:
    • ANT_HOME to Ant_installdir
    • WAS_HOME to WAS_installdir
  7. LinuxAIXFor IBM i OS operating system Open WCBD_deploy_server_dir/setenv with a text editor and set the following:
    • ANT_HOME to Ant_installdir
    • WAS_HOME to WAS_installdir
  8. Open WCBD_deploy_server_dir/deploy-target-env.private.properties with a text editor and configure the properties in the file by referring to the Security-sensitive server deployment configuration properties topic.
  9. Open WCBD_deploy_server_dir/deploy-target-env.properties with a text editor and configure the properties in the file by referring to the Server deployment configuration properties topic.
    Tip: To save time when configuring a new server deployment package, you can provide the fully or partially preconfigured, target-environment-specific properties files and include them in the WCBD_installdir/deploy/server directory on the build system. Such assets are included in the new server deployment package, reducing the amount of configuration required.
  10. For more information, see Advanced server deployment features and apply features that suit your deployment needs.