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
  • For IBM i OS operating systemSolarisLinuxAIXPaths 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.
  • For IBM i OS operating systemSolarisLinuxAIXClasspaths 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 pre-configured, 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. WindowsCopy WCBD_deploy_server_dir/wcbd-setenv.bat.template as WCBD_deploy_server_dir/setenv.bat.
  2. For IBM i OS operating systemSolarisLinuxAIXCopy WCBD_deploy_server_dir/wcbd-setenv.template as WCBD_deploy_server_dir/setenv.
  3. WebSphere Commerce Version 7.0.0.3Copy 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. WebSphere Commerce Version 7.0.0.3Copy WCBD_deploy_server_dir/wcbd-deploy.properties.template as WCBD_deploy_server_dir/deploy-target-env.properties.
  5. For IBM i OS operating systemSolarisLinuxAIXChange the file permissions with the following commands:
     chmod 750 WCBD_deploy_server_dir/setenv
     chmod 640 WCBD_deploy_server_dir/deploy-target-env.*
  6. WindowsOpen 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. For IBM i OS operating systemSolarisLinuxAIXOpen 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 pre-configured, 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. Refer to the Advanced server deployment features topic to learn about, and if applicable, apply features that suit your deployment needs.