From the command line, you can generate the required configuration
XML files for the IBM® Enterprise
Records web
application profile with a single command.
About this task
When you run the
generateConfig command,
the required configuration XML files for the
IBM Enterprise
Records web application profile
are created. These files are created for a single application server
or a high availability installation.
Procedure
To generate the configuration XML files for the IBM Enterprise
Records web application profile:
- Log on to the IBM Enterprise
Records server
as a user with permissions to run the Configuration Manager. Open
a command window.
- Change the current directory to ier_install_path/configure,
where ier_install_path is the location where the IBM Enterprise
Records software is installed.
- Run one of the following commands depending
on your environment. Do not type any line breaks when you enter the
command.
- Generate the IBM Enterprise
Records web
application profile.
- For Windows, the following command generates the WSWebApplicationDeploymentFile file
for a new IBM Enterprise
Records web
application profile for deployment in the ier_install_Path\configure\profiles\ directory:
configmgr_cl.exe generateConfig -appserver appserver_name
-profiletype webapplication_deployment -profile
"C:\Program Files\IBM\EnterpriseRecords\configure
\profiles\WSWebApplicationDeploymentProfile"
- For AIX, HP-UX, Linux, and Solaris, the following command generates
the WSWebApplicationDeploymentFile file for a
new IBM Enterprise
Records web application
profile for deployment in the ier_install_Path/configure/profiles/ directory:
./configmgr_cl generateConfig -appserver appserver_name
-profiletype webapplication_deployment -deploymenttype cluster
-aextdeploymenttype cluster -profile "/opt/IBM/EnterpriseRecords
/configure/profiles/WSWebApplicationDeploymentProfile"
Important: The rest of this command-line section has only Windows
examples.
- Generate a web application deployment on a cluster environment.
- For Windows, the following command generates the WSWebApplicationDeploymentFile file
for a new IBM Enterprise
Records web
application profile for deployment on a cluster environment in the ier_install_Path\configure\profiles\ directory:
configmgr_cl.exe generateConfig -appserver appserver_name
-profiletype webapplication_deployment -deploymenttype cluster
-aextdeploymenttype cluster -profile "C:\Program Files\
IBM\EnterpriseRecords\configure\profiles
\WSWebApplicationDeploymentProfile"
- For example
- The -appserver appserver_name parameter
specifies the type of application server and must be websphere, weblogic,
or jboss.
Remember: If the path includes a directory
name with spaces, enclose the entire path in quotation marks.