Configuring Controller Web
You must configure three
IBM® Controller Web components.
Before you begin
Install
IBM Controller and select the
following check boxes:
- Controller Web
- Controller Web Frontend
- Controller GLASS UI
Note: Starting from
IBM Controller version
11.1.0, it is no longer possible to perform a distributed installation of
IBM Controller Web. All
IBM Controller Web components must be
installed on the same server.
Procedure
-
Find the server.env file in the installation directory. The default directory path is C:\Program Files\ibm\cognos\ccr_64\fcmweb\wlp\etc\.
-
Open server.env and set the
JAVA_HOMEinstallation directory to the location of the jre folder.The default location of the jre folder is JAVA_HOME=C:/Program Files/ibm/cognos/ccr_64/fcmweb/jre. -
Open a command prompt window and run SyncDBConf.bat with the following
parameters:
- UDL files folder
- Path to the folder that contains the UDL files (specifying database connections) defined for Controller
- Data source folder
- Output path for the folder that contains the data sources that are generated from the UDL files
Note: You must have administrator permission to run this file.This file synchronizes Controller Web with the Uniform Data Language (UDL) files that are defined for databases used by Controller Web.
For example,cd C:\Program Files\ibm\cognos\ccr_64\fcmweb\ SyncDBConf.bat ..\Data wlp\usr\shared\config\datasources - Locate the com.ibm.cognos.fcm.web.properties file in the installation directory.
-
Open com.ibm.cognos.fcm.web.properties and set the following values:
ccrwsUrl=<the WSSUrl to which. For example,/ccrws.asmx
is appended>ccrwsUrl=http://myControllerServer/ibmcognos/controllerserver/ccrws.asmx.loginMode=NATIVE
- Optional:
You can change the available memory by doing the following steps:
- Find the jvm.options file in the C:\Program Files\IBM\cognos\ccr_64\fcmweb\wlp\etc\ folder.
-
Change the
Xms/Xmxsettings.
- Open the Microsoft Windows Service Manager console, find IBM Controller Web, and start the service.
- Find the config.js file in C:\Program Files\IBM\cognos\ccr_64\frontend.
- Open the file in a text editor and make the following changes:
- Change the
proxies
–options
–target
–host
parameter to the FQDN of the application server that is running Controller WebThe parameterproxies
–options
–target
refers to the connection to Controller Web Backend.For example,host
:myhost.domain.com
. - Change the
expressJs
–host
parameter to the address through which you want to access Controller Web UI service (FQDN/IP/machine name).Change theexpressJs
–port
parameter to the port through which you want to access Controller Web UI service. Current default value is 9085.TheexpressJs
parameter configures the way the Controller Web UI service is exposed.For example,host
:myhost.domain.com
.Change theexpressJs
–glassHost
parameter to the FQDN of the application server that is running IBM Controller UI service (FQDN/IP/machine name).Change theexpressJs
–glassPort
parameter to the port through which you want to access IBM Controller UI service. Current default value is 9080.
- Change the
- If the
IBM Controller UI
service default installation path has changed, follow these steps:
- Find the
server.envfile offcm.glassin the installation directory. This file can be found in thefcmwebfolder. The default directory path is C:\Program Files\ibm\cognos\ccr_64\fcmweb\wlp\usr\servers\fcm.glass. Correct the values of the following variables:- Correct the values for
STATIC_RESOURCE_PATHS. It should point to thebuildfolder ofpa_controller_dataandpa_controller_home_dataseparated by a comma. The default path ofpa_controller_databuild folder is C:/Program Files/ibm/cognos/ccr_64/frontend/pa_controller_data/build. The default path ofpa_controller_home_databuild folder is C:/Program Files/ibm/cognos/ccr_64/frontend/pa_controller_home_data/build. - Correct the values for
PERSPECTIVE_PATHS. It should point to theperspectivesfolder ofpa_controller_dataandpa_controller_home_dataseparated by a comma. The default path ofpa_controller_dataperspectives folder is C:/Program Files/ibm/cognos/ccr_64/frontend/pa_controller_data/perspectives and the default path ofpa_controller_home_dataperspectives folder is C:/Program Files/ibm/cognos/ccr_64/frontend/pa_controller_home_data/perspectives.
- Correct the values for
- Find the
bootstrap.propertiesfile of thefcm.glassfile in the installation directory. This file can be found in thefcmwebfolder. The default directory path is C:\Program Files\ibm\cognos\ccr_64\fcmweb\wlp\usr\servers\fcm.glass. Edit the value for thehttp.portfile. It should point to the port on which IBM Controller UI service is supposed to be hosted. The default value of the port is9080.
- Find the
- Save the file.
- Open the Microsoft Windows Service Manager console, find IBM Controller Web, IBM Controller Web UI, and IBM Controller UI and start the services.
-
Open a web browser, enter the following URL, and log in to Controller Web:
http://[servername]:9085/