Installing the Farm Master and setting up the support server
The first server where HCL Digital Experience is installed is the basis for the portal farm and is termed the Farm Master.
Procedure
-
Install HCL Digital Experience into the mounted file system.
A set of product binary files and a default configuration profile (
wp_profile
) exist. The binary files are the PortalServer, AppServer, and other directories. Ensure that all installable files go into the shared file system. The installation needs a single-server installation and no cluster. -
If you are using a shared file system, reconfigure the portal instance to use a different
TCP/IP host name. If you are using a cloned file system, skip this step.
This host name must either be localhost or a host name that is configured in the local hosts file alias localhost. This placement allows the local instance to always reference itself using the loopback address.
Complete the following steps to reconfigure the host name:
- Configure this instance to represent the baseline configuration for the entire farm, including configuring databases and configuring the user registry.
- Set up the support server to match the configuration of
your portal farm, either GPFS or non-GPFS, with the following deviations:
- Optional: If you are using HCL Web Content Manager, run the following
task, from the wp_profile_root/ConfigEngine directory, to set up the local
messaging bus and queue on the support server:
To avoid the system from receiving all content updates from the authoring system, one server outside the farm must be identified as the subscriber. This server also requires a message queue where content update messages are posted from members to the farm. All farm servers listen for these messages to update their own content caches.
Tip: Run this step once when you set up the portal farm. It is not completed on each server in the farm. This step is only run on the server that is identified as the WCM SUBSCRIBER that is used in the portal farm.- Windows™: ConfigEngine.bat create-wcm-jms-resources -DWasPassword=password
- UNIX™Linux™: ./ConfigEngine.sh create-wcm-jms-resources -DWasPassword=password
- IBM® i: ConfigEngine.sh create-wcm-jms-resources -DWasPassword=password
- Optional: If you are using Web Content Manager, complete the
following steps to set up more farm instances to listen for content
update messages:Tip: This step is complete on each server in the farm.
-
Based on your file system, complete the following steps to enable the server to run in farm
mode:
The systemTemp parameter specifies where the server-specific directory is located. This directory contains all directories and files that the running portal instance writes to, such as for logging and page-compiling.
Option Description Cloned file system Run the following task to enable the server to run in farm mode: - AIX®: ./ConfigEngine.sh enable-farm-mode -DsystemTemp=/usr/IBM/WebSphere/wp_profile -DWasPassword=password
- HP-UX: ./ConfigEngine.sh enable-farm-mode -DsystemTemp=/opt/IBM/WebSphere/wp_profile -DWasPassword=password
- Linux™: ./ConfigEngine.sh enable-farm-mode -DsystemTemp=/opt/IBM/WebSphere/wp_profile -DWasPassword=password
- IBM® i: ConfigEngine.sh enable-farm-mode -DsystemTemp=/QIBM/IBM/WebSphere/wp_profile -DWasPassword=password
- Windows™: ConfigEngine.bat enable-farm-mode -DsystemTemp=C:\IBM\WebSphere\wp_profile -DWasPassword=password
Shared file system - Create the target directory path; for example:
- AIX®: /var/log/was_tmp
- HP-UX: /var/log/was_tmp
- Linux™: /var/log/was_tmp
- IBM® i: /var/log/was_tmp
- Windows™: C:\temp\was_tmp
- Run the following task to enable the server to run in farm mode:
- AIX®: ./ConfigEngine.sh enable-farm-mode -DsystemTemp=/var/log/was_tmp -DWasPassword=password
- HP-UX: ./ConfigEngine.sh enable-farm-mode -DsystemTemp=/var/log/was_tmp -DWasPassword=password
- Linux™: ./ConfigEngine.sh enable-farm-mode -DsystemTemp=/var/log/was_tmp -DWasPassword=password
- IBM® i: ConfigEngine.sh enable-farm-mode -DsystemTemp=/var/log/was_tmp -DWasPassword=password
- Windows™: ConfigEngine.bat enable-farm-mode -DsystemTemp=C:\temp\was_tmp -DWasPassword=password
-
Each server that you add to the farm is called a Farm Worker.
Option Description Cloned file system Create a clone of the Farm Master. Go to Configuring a cloned file system for information. Shared file system On each Farm Worker, mount the network accessible file system on a new system in the same location as on the Farm Master. This step preserves the installation path configuration. - Change to the wp_profile_root/PortalServer/bin directory on the farm client.
- Run the following task to start or stop an instance of HCL Portal from a farm server:
Table 1. Steps to stop and start the HCL Portal server on any server in the farm by operating system. Operating system Tasks AIX® ./start_WebSphere_Portal.sh ./stop_WebSphere_Portal.sh
HP-UX ./start_WebSphere_Portal.sh ./stop_WebSphere_Portal.sh
IBM® i start_WebSphere_Portal.sh stop_WebSphere_Portal.sh
Linux™ ./start_WebSphere_Portal.sh ./stop_WebSphere_Portal.sh
Windows™ start_WebSphere_Portal.bat stop_WebSphere_Portal.bat
- If you plan to use a web server for load balancing, complete Setting up the HTTP server plug-in on a portal farm next.
-
The wpsScheduler is used to clean up the database for non-immediate
tasks, such as page deletions, and must be enabled only on the farm support server. Verify that
wpsScheduler is disabled on the farm master. If it is not disabled, complete
the following steps:
- Log in to the WebSphere® Integrated Solutions Console.
- Click .
- Click WPSTaskScheduler.
- Click Custom properties.
- Click New.
- Specify daemonAutoStart in the Name field.
- Set the value to false.
- Set the type to java.lang.String.
- Click OK and then click Save to save your configuration changes.
- Restart the server.
Read Scheduler daemon for more information. -
Verify that the search.service.suppress_automatic_creation property exists. This property suppresses
the automatic creation of search services. If it does not exist, complete the following steps to
create the search.service.suppress_automatic_creation
property:
- Click OK and then click Save to save your configuration changes.
- Restart the server.