Creating an authoring server
You can run an authoring server on a separate system or machine partition from
your production server.
Procedure
- Install WebSphere Commerce and its supporting software by using the custom installation option of the WebSphere Commerce installation wizard.
-
Perform one of the following tasks:
- If you have a production server available:
- Ensure that you can connect from the WebSphere Commerce authoring server node to the production database.
- Catalog the remote production database so that it is accessible from your authoring server.
- Ensure that you have the following information about your production server available:
- Database name
The database name must be the database name as cataloged on the authoring server.
- Database user name (user ID)
- Database user password
- Fully qualified database server host name
- Database server port
You might need to provide a name for the JDBC data source that is created for the production database.
This information is used to create a data source that is used by the quick publish function in workspaces.
- Database name
- If you do not have a production server available, ensure that you record the database
information that you enter on the Database and Schema
pages of the Instance Creation wizard. You need this information in order to
complete the Staging page of the Instance Creation wizard.
When you have a production server available, you can update the authoring server with the production server information by following the instructions in Updating the quick publish target.
- If you have a production server available:
- Optional:
If you plan to use custom table spaces with workspaces on your authoring server, update the
workspace enablement code. You must update this code to output the workspace creation SQL/DDL and
defer the workspace creation until the instance creation is complete.
- Go to the WC_eardir/components/Workspaces/xml directory.
- Back up the configureWorkspaces.xml file.
- Open the configureWorkspaces.xml for editing.
-
Within the file, find the
CreateWorkspaceDBMS
target. -
Edit the
generateSQLStatementsOnly
attribute to set the attribute value totrue
. -
Record the value of the
generateSQLStatementsOutputFile
property.
After you create your WebSphere Commerce instance, you must complete step 5. -
Create a WebSphere Commerce instance:
- Start the WebSphere Commerce Instance Creation wizard.
- Complete the pages of the wizard.
- On the Staging page of the wizard, ensure that you select Use staging server and Enable workspaces. If you do not select these check boxes, the resulting WebSphere Commerce instance is a production WebSphere Commerce instance. For information about how to complete the other fields on the Staging page, click Help.
When the instance creation process is complete, you have an empty authoring server instance.
- Optional:
If you updated the workspace enablement code to support the use of custom table spaces on your
authoring server, modify the generated workspace creation SQL/DDL. Modify the SQL/DDL to update any
CREATE table statements to reference your custom table spaces.
-
Locate the file that is specified by the value of the
generateSQLStatementsOutputFile
property in the configureWorkspaces.xml that you recorded. - Open the file for editing.
- Update the CREATE table statements in the file to reference your custom table spaces.
- Save and close the file.
- Apply the file against your database to complete your workspace creation.
-
Locate the file that is specified by the value of the
-
If a production server is available:
- Configure the authoring database and the production database for use with the staging utilities.
- Synchronize the new, empty authoring server instance with your production server.
- Optional:
Enable e-mail notification in workspaces.
Enabling email notification in workspaces allows WebSphere Commerce to sent email automatically in the following situations:
- Workspace Content Contributors receive email notification when a task they are assigned is part of a task group that is activated.
- Task Group Approvers receive email notification when a task group for which they are an approver is ready for approval.
- Workspace Content Contributors receive email notification if a task group approval request is rejected and their assigned tasks are reactivated.
- Create users and assign the users Workspace Manager, Workspace Content Contributor or Task Group Approver roles.
- Stop and restart the authoring server instance.