Installing the server in interactive mode
In interactive mode, you install the server by typing configuration information on the command line.
Before you begin
- If installing in a production environment, make sure that you have a license server with available licenses. See Managing Licenses for more information.
- Ensure that the system that you are installing the server on meets the system requirements. Contact HCL support for more information.
- Ensure that a supported version of a Java™ Runtime Environment (JRE) or Java™
Development Kit (JDK) is installed on the computer on which you are installing HCL Launch.Important: The HCL Launch server, agent, and relays require a Java™ Runtime Environment (JRE) or Java™ Development Kit (JDK) version 11.Important:
For best results, download and use the latest available version of Java Runtime Environment (JRE) for the HCL Launch server, agents, and relays. Be sure to set the JAVA_HOME system variable to the location of the JRE. If you are updating or changing the JRE to the latest version, see Changing or updating the JRE of servers, Changing or updating the JRE of agents, and Updating the JRE location for agent relays for instructions.
- If you are installing the server to be compliant with Federal Information Processing Standards (FIPS), the computer must use a supported version of a JRE or JDK.
- If you are installing the server in a production environment, install and configure the server database before you install the server. See Installing the server database. If you are not installing in a production environment, you can install an instance of Apache Derby during the installation steps. You can migrate the database to a different database system later, as described in Migrating the server database.
- If you are using a database other than Apache Derby for the server, place the JAR file for the database driver in the lib/ext folder of the installation program.
- If you are installing the server on AIX® platform, the unzip program is required.
- Make sure that your networks and firewalls allow communication on the required ports. See Firewall and communication configuration.
- To install and run the server on Linux™ as a non-root user, create a user to use when you install and run the server. Also, ensure that the user has read and write permission to the folder to which you are installing the server.
- Ensure that there is no limit on the maximum memory size and virtual memory size.
For example, on most Linux™ systems, you can run the
ulimit -m
andulimit -v
commands and ensure that both return the valueunlimited
. To find out how to remove the limit on the maximum memory size and virtual memory size, see the documentation for the operating system.
- Configure the high-availability cluster; see Setting up high-availability clusters.
- Ensure that the system on which you are installing the new server has a connection to the cluster network storage and that the system can connect to the database that the cluster is using.
- Each server in the cluster must run the same version of HCL Launch.
About this task
Install the server in interactive mode as follows:
Procedure
-
Download and extract the installation files for HCL Launch.
These files are available for download from the HCL FlexNet Operations portal.
- If you are using a database other than Apache Derby, place the JAR file for the database in the lib/ext folder of the installation files.
-
From the command line, run the server installer program.
- On Windows™, run the install-server.bat file.
- On Linux™, run ./install-server.sh.
- To install a FIPS-compliant server, add the switch
-fips
to the command, such asinstall-server.sh -fips
.Note: If you install a FIPS-compliant server, cloud provisioning is not available. Your JVM connects to only FIPS 140-2 certified IBM® providers.
Depending on your system settings, you might need to run this file as an administrator. -
Specify the configuration information as the installation program prompts you.
- Enter the directory of the server to upgrade(leave blank for installing to a clean directory).
- To install HCL Launch, press Enter.
- Enter the home directory for the JRE/JDK that the new server or already installed server uses.
- Specify the location of the JRE or JDK for the server. The default value is the value of the JAVA_HOME system variable.
- Read the license agreements for the software package. Press Enter to show one page at a time, or press F and then press Enter to show the entire license at once.
- If you agree to the terms of all of the license agreements, press Y and then press Enter.
-
Specify the following information as the installation program prompts you.
Accept the default values (displayed within brackets) by pressing Enter. If two options are given, such as
[Y/n]
, the capitalized option is the default value.- Enter the directory where the HCL Launch server should be installed.
- Specify the installation directory for the server. The default server installation directory is
/opt/launch/server on Linux™ and
C:\Program Files\launch\server on Windows™.Note: Do not use any shell expansions or abbreviations, such as the tilde character (
~
). - The specified directory does not exist. Do you want to create it?
- Press Y to create the installation directory.
- Will this server be used as a node in a high availability cluster?
- Press Y to add the server to a high-availability (HA) cluster, including cold standby clusters. Selecting this option sets the property com.urbancode.ds.UDeployServer.multiserver to true on the new server, which indicates that it is part of a high-availability installation.
- Where should the server store application data such as logs, plugins, and keystores?
- Type the name of the application data directory. The directory must be accessible to the server,
and you must have the appropriate permissions. If you are installing a node in a high-availability
cluster, this directory must be on the cluster network storage. The default
application data folder is /opt/launch/server/appdata on Linux™ and C:\Program
Files\launch\server\appdata on Windows™.
Depending on whether the shared folder exists or is empty, you are prompted with one of the following options:
- If the folder does not exist, you are prompted with the following option: The
specified directory for application data doesn't exist. Do you want to create it?. Press
Y to create the application data directory. If you select
N
, the installation process ends. - If the shared folder exists and is not empty, you are prompted with the following option:
The specified directory for shared resources already exists and is non-empty. Do you want
to use the existing data?. Press Y to use the data. If you select
N
, the installation process ends; in this case, you must manually clear the application data folder to use it. - If the shared folder exists but is empty, the folder is used and you are not prompted to use the existing data.
Note: Do not use any shell expansions or abbreviations, such as the tilde character (~
). - If the folder does not exist, you are prompted with the following option: The
specified directory for application data doesn't exist. Do you want to create it?. Press
Y to create the application data directory. If you select
- What host name will users access the web UI at?
- If you are installing a stand-alone server, specify the host name of the computer that hosts the server. If you are installing a stand-alone server in a production environment, consider specifying a host name that is not tied to the physical computer. By specifying such a host name, you can expand the server to a high-availability system later. If you are installing a server in a high-availability cluster, specify the host name of the load balancer for the cluster.
- Do you want the Web UI to always use secure connections using SSL?
- Press Y to use secure connections to the server. If you select this option, you must configure a certificate for the server; see Configuring SSL on Apache Tomcat and LDAP servers.
- Enter the port on which the Web UI should listen for secure HTTPS requests.
- Specify the HTTPS port for the server. The default value is
8443
. If you are installing HCL Launch, UrbanCode Velocity, and IBM® UrbanCode™ Release, be sure to use a different port for each product. If you are installing multiple instances of HCL Launch on the same computer, be sure to use a different port for each instance. - Enter the port on which the Web UI should redirect unsecured HTTP requests.
- Specify the HTTP port for the server. The default value is
8080
.If you are installing HCL Launch, UrbanCode Velocity, and IBM® UrbanCode™ Release, be sure to use a different port for each product. If you are installing multiple instances of HCL Launch on the same computer, be sure to use a different port for each instance. - Enter the initial password for the admin user.
- Specify the starting password for the administrator account on the
server. The administrator user name is
admin
. Then, type the password again to verify it. - Enter the web agent communication URL for this server.
- The WebSocket secure URL must have the format
wss://host-or-ip:port
. For example,wss://myLaunch:7919
. The default WebSocket port is7919
. Each server must have a unique URL, and every server in a HA cluster must be able to connect to this URL. Web agents use this URL to communicate with the sever. - Enter the URL of the License Server for HCL Launch, in the form of https://hclsoftware.compliance.flexnetoperations.com/instances/YOUR_SERVER_ID/request. Alternatively, you may leave this blank to begin a 60-day evaluation period.
- Specify the connection information for the license server. You can specify the
FlexNet license server path, such as
https://hclsoftware.compliance.flexnetoperations.com/instances/YOUR_SERVER_ID/request
- Alternatively, you may leave this blank to explore HCL Launch features without a license for 60 days. To continue using HCL Launch, specify license.server.url property in the server installation properties file. See Server installation properties for more information.
- Specify the connection information for the license server. You can specify the
FlexNet license server path, such as
- Create database schema?
- In most cases, press Y to create new schema definitions in the database. However, if you have a pre-populated database, such as if you are adding a server to a cluster, press N. If you are adding the server to a high-availability cluster, press N unless the server is the first node in the cluster.
- Enter the database type to use.
- Specify the type of database. If you select
derby
, the installation program installs a new instance of Apache Derby for the server to use. Depending on the type of database that you select, new fields appear for information about the database. Valid values arederby
,mysql
,oracle
,sqlserver
, anddb2
.Warning: Derby is for evaluation purposes only; do not use Derby for a production server. In addition, if you install the server as a node in a high-availability cluster, you cannot use Derby. - Enter the database username.
- Specify the user name for the database. If you are creating the database schema, this user must have permission to create tables in the database.
- Enter the database password.
- Specify the password for the database.
-
If you are installing on Windows™, the installation
program prompts you with the following questions after a pause:
- Do you want to install the Server as Windows service?
- Press Y to install the server as a Windows™ service.
- Enter a unique service name. No spaces allowed.
- Specify a name for the Windows™ service. The name must be unique on the system and must not contain spaces.
- Enter the user account name including domain path to run the service
- Specify the user account with which to run the service, including the domain path. Prefix local accounts with a period, such as .\localsystem.
- Do you want to start the service automatically?
- Press Y to start the server automatically. Otherwise, you can start and stop the server manually. See Starting and stopping the server.
- User account password
- Specify the password for the user account.
Results
If you install the server as a node in high-availability cluster, the installer loads the existing encryption keystore that is in the shared storage folder by using the default settings. If the default password is incorrect, you are prompted for the password. If after three attempts you do not enter the correct password, the installation process stops. If the keystore has more than one alias, you are prompted to specify an alias.
What to do next
- To specify a default agent, click General Settings, clear the Use Agent Tag For Integration check box. Then, select an agent in the Agent for Version Imports list. Then, at the bottom of the page, click Save. and under
- To specify a default agent tag, click General Settings, clear the Use Agent Tag For Integration check box. Then, select an agent tag in the Agent Tag for version imports list. Then, at the bottom of the page, click Save. If no tags are listed, add a tag to one or more agents on the server. and under
If you see "Out of memory" errors, increase the amount of memory that is available to the HCL Launch service. See Increasing the amount of memory that is available to the server.
[echo] waiting for db to start - 6 seconds remaining
[echo] waiting for db to start - 3 seconds remaining
[echo] Could not start database
[echo] Stopping embedded database ...
[java] Tue Feb 04 09:11:25 EST 2014 : Could not connect
to Derby Network Server on host localhost, port 11377:
Connection refused
If
you see this error, you must change the default security settings for the Java™ installation on the server:- Open the Java™ security policy file in a text editor. If you are using a Java™ Runtime Environment (JRE), this file is at the location JAVA_HOME/lib/security/java.policy, where JAVA_HOME is the base folder of the Java™ installation. If you are using a Java™ Development Kit (JDK), the file is at the location JAVA_HOME/jre/lib/security/java.policy.
- In the java.policy file, in the section that is labeled
// default permissions granted to all domains
, within thegrant{}
block, add the following code:permission java.net.SocketPermission "localhost:11377", "listen";
- Run the installation program again.