If you want to modify the environment type that was specified
during installation, update the configuration properties in the 100Custom.xml file.
The environment type indicates howProcess Server is
used (for example, in a production, stage or test environment).
Process authors can set environment-specific variables for each process
application and then define values for each type of environment in
which a process runs.
About this task
For example, load testing might be done on a test server,
while a stage environment type might be used as a temporary location
to host changes before putting those changes into a production environment.
You might specify Stage as the Environment
type if the server you are configuring is accessed and
used to review content and new functionality.
Valid values are
as follows:
- Test
- Use Test if the server you are configuring is
to be used as a testing environment.
- Stage
- Use Stage if the server is to serve as a staging
platform to be used as a preproduction server.
- Production
- Use Production if the server is to serve in a
production capacity.
The default value is
Test.
To
change the environment type for a Process Server, perform
the following steps.
Procedure
- Stop the Process Server.
- Open the original server configuration file and your local
configuration file in text editors.
- PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\server_name\process-server\config\system\99Local.xml
- PROFILE_HOME\config\cells\cell_name\nodes\node_name\servers\server_name\process-server\config\100Custom.xml
- Copy the following section from the 99Local.xml file
to the 100Custom.xml file.
<environment-type>Production</environment-type>
- In the 100Custom.xml file, edit the
type value, setting the merge attribute to "replace" as shown in the
example below. This example specifies the server resides in a stage
environment.
<environment-type merge="replace">Stage</environment-type>
- Save your changes, and then close both the 100Custom.xml file
and the 99Local.xml file.
- Start the Process Server.