Administer > Deploy > Overview: WebSphere Commerce Build and Deployment tool > Configure and run the server deployment process
Run the server deployment process
Overview
Now that you have generated the deployment package and configured the deployment settings, you can run the server deployment process on you WebSphere Commerce server. Ensure that you perform a system backup before proceeding with this task.
Before running the server deployment process, perform recovery measures...
- Back up the database.
- Export the WCS enterprise application into an EAR file as a backup.
- Back up the WAS administrative configuration files.
If you do not take these recovery measures, we will not be able to recover if a deployment failure occurs.
Run the server deployment process
cd $WCBD_DEPLOY
./wcbd-ant -buildfile wcbd-deploy.xml -Dtarget.env=target-env
Results
In addition to providing execution information to the console, the build process generates a log in the following location:
WCBD_DEPLOY/logs/build-label-target-env-tstamp/wcbd-deploy-server.log
Ant also provides a way to run an Ant build file with debug information to console. This can be done by specifying the -d or the -debug flag when calling wcbd-ant in the server deployment process. However, debug information is not written to the log file created by WCBD. It is suggested that you redirect the standard output and standard error streams to a separate log file when running the WCBD deployment process in debug mode.
Previous topic: Configure the server deployment settings