Upgrading using console mode
Upgrading Predictive Insights using console mode.
Before you begin
- Create a directory for the upgrade software, for
example:
mkdir ~/PredictiveInsights_1.3.6
- Download and extract the Predictive Insights package from the media to the new directory.
- On each server that runs the Analytics component, log in as the analytics user, for example,
scadmin
, and stop the Analytics instance.$PI_HOME/bin/stop.sh
- Stop any instance of the Mediation Tool that is running.
- If the previous version of Predictive Insights was
configured to use LDAP authentication, you must replace the LDAP authentication with the
authentication method that was in place when you installed the previous version.
For example, if you used the ncoadmin user from an ObjectServer user repository to install version 1.3.4 and later replaced the ObjectServer user repository with an LDAP user repository, then you must switch to authenticating against an ObjectServer user repository before you start the upgrade.
To switch from LDAP to ObjectServer authentication, complete the following steps:
- Make a backup copy of the following configuration files:
- <installdir>/UI/wlp/usr/servers/piserver/ldapRegistry.xml
- <installdir>/UI/wlp/usr/servers/piserver/server.xml
- <installdir>/UI/wlp/usr/servers/piserver/taspConfig.xml
- To remove the LDAP integration and configure the UI server to use the ObjectServer user repository, restore the <installdir>/UI/wlp/usr/servers/piserver/server.xml that you backed up in step 5 of the Configuring the LDAP User Registry procedure.
- To configure the WebGUI to point to the ObjectServer, enter the following
commands:
where <WEBGUI_HOME> is /opt/IBM/netcool/omnibus_webgui by defaultcd <WEBGUI_HOME>/configtool/linux.gtk.x86_64 ./ncwConfigUI -WASUserID smadmin -WASPassword smadmin
- Make a backup copy of the following configuration files:
About this task
You must upgrade each Predictive Insights component on the server on which the component is installed. Therefore, if Predictive Insights components are installed on multiple servers, you must run the upgrade on each server.
Procedure
What to do next
- Enter the following commands to remove the older version of the JAR files:
rm -f $PI_HOME/lib/commons-lang3-3.1.jar rm -f $PI_HOME/lib/commons-math3-3.0.jar rm -f $PI_HOME/lib/org.eclipse.emf.common_2.8.0.v20130125-0546.jar rm -f $PI_HOME/lib/org.eclipse.emf.common.ui_2.7.0.v20130125-0826.jar rm -f $PI_HOME/lib/org.eclipse.emf.ecore_2.8.3.v20130125-0546.jar rm -f $PI_HOME/lib/org.eclipse.emf.ecore.xmi_2.8.1.v20130125-0546.jar
- To compile each topic, enter the following commands:
cd $PI_HOME/spl/instances/Analytics<topic> ./compile.sh
Where <topic> is the name of the topic.