Post-installation instructions
Prerequisites
You must complete following tasks if you are migrating the Persistent Mobile Foundation (PMF) 9.0.3 and later releases on WebSphere® Application Server (WAS), WebSphere Application Server Network Deployment (WAS-ND) and WebSphere Application Server Liberty.
- Check whether the Jython is at version 2.1.
- Go to
app_server_root/bin
directory and locate the wsadmin script file. - Run the following command to open the shell for admin utility.
./wsadmin.sh
-
Run the following command.
sys.version
If reported version is 2.1 no action is needed, but if the reported version is 2.7 or higher then execute he following command on same terminal where you are going to install the PMF.
./wsadmin.sh -usejython21 true
Post-installation instructions
Release 9.0.3
Following are some mandatory steps for the above software to be completed post-installation.
Note: You do not need to follow these post-installation instructions if you are on a release that is higher than Release 9.0.2.
WebSphere Application Server (WAS)
- Go to
app_server_root/properties
folder, and locate theconfig.properties
file generated during installation. - Edit the
config.properties
file to change value of theallowed.hostname
property with the IP Address or hostname of the system where PMF is deployed. - Restart all the profiles.
WebSphere Application Server Network Deployment (WAS-ND)
- Copy the
config.properties
file generated during installation in theapp_server_root/properties
folder on the master node to any child nodes at desired location. - Edit the
config.properties
file to change value of theallowed.hostname
property with the IP Address or hostname of the system where the file was copied. - Open the WAS console, and navigate to the Servers → Server Types → Websphere Application servers path, and select same node where the file was copied and edited.
-
Navigate to the Java and Process Management → Process definition → Environment Entries path, and click on New. In general properties set Name field as
CONFIGURATION_FILE_PATH
and value should be absolute path of theconfig.properties
file on the node where file is located.Example
/opt/WebSphere/AppServer/properties/config.properties
- Repeat all the steps from #1 to #4 for other nodes.
- Save the configuration on console and restart both the nodes.
WebSphere Application Server Liberty
- Go to
app_server_root/usr/servers/SERVER_INSTANCE/
folder, and locate theconfig.properties
file generated during installation. - Edit the
config.properties
file to change value of theallowed.hostname
property with the IP Address or hostname of the system where PMF is deployed. - Repeat steps #1 and #2 for all the server instances where PMF components are installed.
- Restart all the server instances.
▲For more information on the above properties, see config.properties file parameters.