Clustering requires a Deployment Manager profile (dmgr) created on the same computer (host) as the IFS Installer is executed on and at least one Custom profile. Each custom profile need to be federated before
the installation. The Web Servers can be created either before or after the installation.
One application server (custom profile) can be created on the host machine along with the dmgr. This also applies for the webserver.
The dmgr will create a cluster for each federated node during the installation.
Example:
Machine A (the host) has one Managed profile, one Custom profile and one webserver. The custom profile has been federated to Machine A (the dmgr on the same machine)
Machine B has one Custom profile and one webserver. The custom profile has been federated with Machine A (the dmgr).
Add the desired number of nodes in the same manner.
This is just one example out of many combinations. It is possible to keep the HTTP Servers on separate machines as well if desired. However the installer only supports horizontal clustering, i.e. only
clusters that contains multiple physical machines (nodes) and not multiple server instances hosted on the same physical machine (node). If you need
a vertical cluster you need to manually add the rest of the server instances
after the installation.
Mandatory arguments: -templatePath, -enableAdminSecurity (set to true)
-adminUserName and adminPassword.
Optional arguments: -profileName
(the name of the profile, can be anything) -profilePath (the location of the profile, can be anything).
Example 1:
<was_home>/bin/manageprofiles -create -templatePath
<was_home>/profileTemplates/default -enableAdminSecurity true -adminUserName
wasAdmin -adminPassword wasAdmin
Example 2:
<was_home>/bin/manageprofiles -create -templatePath
<was_home>/profileTemplates/default -profilePath <profiles_home>/ifsprofile -profileName ifsprofile -enableAdminSecurity true -adminUserName wasAdmin -adminPassword wasAdmin
Hint: It is possible to register the server as a service using command:
<was_home>/bin/WASService -add serviceName -serverName server1 -profilePath <profiles_home>/<profile_name> -startType automatic
where serviceName can be anything
and startType can be either automatic, manual or disabled.
Deploying applications using scripting requires more memory than what is allocated by default. Increase the java maximum heap space to prevent running out of memory.
Edit wsadmin.sh (<was_home>/bin/wsadmin.sh) and increase the heap size to at least 2048
Example: (find your platform and make the change accordingly)
case $PLATFORM in <YOUR_PLATFORM>) PERF_JVM_OPTIONS="-Xms2048m -Xmx2048m -Xquickstart" ;;
Edit wsadmin.bat (<was_home>/bin/wsadmin.bat) and increase the heap size to at least 2048
Example:
SET PATH=%WAS_PATH% set CLASSPATH=%WAS_CLASSPATH%;%ITP_LOC%\batchboot.jar;%ITP_LOC%\batch2.jar set PERFJAVAOPTION=-Xms2048m -Xmx2048m -Xquickstart
This part is only applicable for user running on RedHat/aix. Windows user can skip this section.
Configuring WebSphere for ifs user is mandatory for the installation scenario to work.
The following steps needs to be done for each profiles in the cluster, including the deployment manager.
Set the <ifs user> as the owner of the profile of WebSphere Application Server:
cd <was_home>/profiles
chown -R <ifs user> <profile_name>
Example: [root@rhel profiles]# chown -R ifs:ifs AppSrv01
cd <was_home>/
chmod -R 775 lib/ext/
Example:
[root@rhel Appserver]# chmod 775 lib/ext/
<profiles_path>/<profileName>/bin/startServer.sh server1
<profiles_path>/<profileName>/bin/stopServer.sh server1 -user
<userName> -password <password>
This part is only applicable for user running on RedHat/aix. Windows user can skip this section.
Configuring WebSphere for ifs user is mandatory for the installation scenario to work.
The following steps needs to be done for each profiles in the cluster, including the deployment manager.
Set the <ifs user> as the owner of the profile of WebSphere Application Server:
cd <was_home>/profiles
chown -R <ifs user> <profile_name>
Example:
[root@rhel profiles]# chown -R ifs:ifs Dmgr01
[root@rhel profiles]# chown -R ifs:ifs Custom01
[root@rhel profiles]# chown -R ifs:ifs Custom0N
cd <was_home>/
chmod -R 775 lib/ext/
Example:
[root@rhel Appserver]# chmod 775 lib/ext/
<profiles_path>/<profileName>/bin/startServer.sh server1
<profiles_path>/<profileName>/bin/stopServer.sh server1 -user
<userName> -password <password>
![]() |
RedHat/aix: As <ifs user> make sure the server can be started and
stopped. Windows: Make sure the server can be started and stopped. |
![]() |
Check the server output logs and try to determine the cause.
RedHat/aix: Make sure that WebSphere has been configured for a non root user. |