Installing the server in silent mode

You must define the installation properties in text file for installing the server in silent mode. The silent mode installation occurs without using the command line interface.

Ensure that all prerequisites are met. To get an overview of the installation process, see Installation roadmap.

You can define the server installation properties in the install.properties file which is located in the root directory of the installation files. During the installation process, the server stores the installation properties in install.properties which is located at conf/server directory of the server installation files. If you have an already installed server, you can use the installed.properties file which is created during the installation as an example of the properties. After the server is installed, some of the properties in the file can be modified.

When the server is starting for the first time, other properties are added to the installed.properties file. Some of the properties can be modified.

  1. Download and extract the installation files for IBM® UrbanCode™ Release.
  2. Open the install.properties file from the IBM UrbanCode Release installation directory and perform the following steps:
    1. Verify that the following property is available in install.properties file:
      nonInteractive=true
      .
    2. Add or modify the installation properties for your installation environment. The following table contains installation properties and its default value. If you do not define the value for a property then the default value is used for installation.
      Table 1. Installation properties
      Property Default value Description
      database.derby.port 11377 The port for the Derby database. This property is applicable only for Derby databases.
      database.type
      derby
      The type of database.
      hibernate.connection.password The password to access the database.
      hibernate.connection.url jdbc:derby://localhost:11377/data The URL of the database.
      hibernate.connection.username ibm_ucr The user name to access the database.
      install.java.home /opt/java/jre The installation directory of the JRE.
      install.server.dir The installation directory for the server.
      install.server.web.host The host name of the server The host name to be used to access the product user interface using a web browser.
      install.server.web.https.port 8443 The HTTPS port for the server.
      install.server.web.port 8080 Specify the HTTP port for the server. If you are installing other UrbanCode products or multiple instances of IBM UrbanCode Release ensure that you use a different port number for each product and instance.
      rcl.server.url None Specify the connection information for the license server. Type the port and hostname of a Rational License Key server which contains the product licenses for IBM UrbanCode Release. Type the value in the format of port@hostname. For example, 2700@licenses.example.com. Alternatively, you can leave this field blank to begin a 60-day evaluation period.

      To avoid issues when a license server is not available, you can specify multiple license servers. In this case, separate each address with colons on Linux™ and UNIX™ or semicolons on Windows™, as in the following example: 27000@RCLServer.example.com;27000@backupRCLServer.example.com. For more information about licensing, see Managing licenses.

      Note: If adding server to existing cluster already configured with the license server, leave this field blank.
      server.initial.password None The initial password of the server administrator. The administrator user name is admin.
      Note: Ensure that value of the property install.server.dir is set to the directory where IBM UrbanCode Release is installed.

      The following is an example of installation properties file for MySQL database:
      component.name=IBM UrbanCode Release 
      component.directory=IBM/UCRelease 
      version=6.2.2 
       
      nonInteractive=true 
       
      install.server.dir=/opt/ucr/server 
      install.java.home=/opt/java/jre  
      install.server.web.host=myserver.example.com 
      install.server.web.https.port=8449  
      install.server.web.port=8089 
      database.type=mysql 
      hibernate.connection.username=ibm_ucr 
      hibernate.connection.password=ibm_ucr 
      hibernate.connection.url=jdbc:mysql://localhost:3306/ucr1 
      database.derby.port=3306 
      rcl.server.url=27000@RCLServer.example.com 
       
      server.initial.password=admin 
      
    3. Save the file.
  3. Run the following command to start the installation:
    1. For Windows, use install-server.bat.
    2. For Linux, use ./install-server.sh.
    After the completion of installation, you can access the IBM UrbanCode Release using user interface.
After the installation is complete, you can start the server from the command line. You can then access the IBM UrbanCode Release user interface.